29
29
@ SuppressWarnings ("javadoc" )
30
30
public final class GoogleCloudDiscoveryengineV1Assistant extends com .google .api .client .json .GenericJson {
31
31
32
+ /**
33
+ * Optional. Customer policy for the assistant.
34
+ * The value may be {@code null}.
35
+ */
36
+ @ com .google .api .client .util .Key
37
+ private GoogleCloudDiscoveryengineV1AssistantCustomerPolicy customerPolicy ;
38
+
39
+ /**
40
+ * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this
41
+ * assistant. The keys are connector name, for example
42
+ * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The
43
+ * values consist of admin enabled tools towards the connector instance. Admin can selectively
44
+ * enable multiple tools on any of the connector instances that they created in the project. For
45
+ * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")],
46
+ * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] }
47
+ * The value may be {@code null}.
48
+ */
49
+ @ com .google .api .client .util .Key
50
+ private java .util .Map <String , GoogleCloudDiscoveryengineV1AssistantToolList > enabledTools ;
51
+
52
+ /**
53
+ * Optional. Configuration for the generation of the assistant response.
54
+ * The value may be {@code null}.
55
+ */
56
+ @ com .google .api .client .util .Key
57
+ private GoogleCloudDiscoveryengineV1AssistantGenerationConfig generationConfig ;
58
+
32
59
/**
33
60
* Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/col
34
61
* lections/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded
@@ -38,6 +65,76 @@ public final class GoogleCloudDiscoveryengineV1Assistant extends com.google.api.
38
65
@ com .google .api .client .util .Key
39
66
private java .lang .String name ;
40
67
68
+ /**
69
+ * Optional. The type of web grounding to use.
70
+ * The value may be {@code null}.
71
+ */
72
+ @ com .google .api .client .util .Key
73
+ private java .lang .String webGroundingType ;
74
+
75
+ /**
76
+ * Optional. Customer policy for the assistant.
77
+ * @return value or {@code null} for none
78
+ */
79
+ public GoogleCloudDiscoveryengineV1AssistantCustomerPolicy getCustomerPolicy () {
80
+ return customerPolicy ;
81
+ }
82
+
83
+ /**
84
+ * Optional. Customer policy for the assistant.
85
+ * @param customerPolicy customerPolicy or {@code null} for none
86
+ */
87
+ public GoogleCloudDiscoveryengineV1Assistant setCustomerPolicy (GoogleCloudDiscoveryengineV1AssistantCustomerPolicy customerPolicy ) {
88
+ this .customerPolicy = customerPolicy ;
89
+ return this ;
90
+ }
91
+
92
+ /**
93
+ * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this
94
+ * assistant. The keys are connector name, for example
95
+ * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The
96
+ * values consist of admin enabled tools towards the connector instance. Admin can selectively
97
+ * enable multiple tools on any of the connector instances that they created in the project. For
98
+ * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")],
99
+ * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] }
100
+ * @return value or {@code null} for none
101
+ */
102
+ public java .util .Map <String , GoogleCloudDiscoveryengineV1AssistantToolList > getEnabledTools () {
103
+ return enabledTools ;
104
+ }
105
+
106
+ /**
107
+ * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this
108
+ * assistant. The keys are connector name, for example
109
+ * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The
110
+ * values consist of admin enabled tools towards the connector instance. Admin can selectively
111
+ * enable multiple tools on any of the connector instances that they created in the project. For
112
+ * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")],
113
+ * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] }
114
+ * @param enabledTools enabledTools or {@code null} for none
115
+ */
116
+ public GoogleCloudDiscoveryengineV1Assistant setEnabledTools (java .util .Map <String , GoogleCloudDiscoveryengineV1AssistantToolList > enabledTools ) {
117
+ this .enabledTools = enabledTools ;
118
+ return this ;
119
+ }
120
+
121
+ /**
122
+ * Optional. Configuration for the generation of the assistant response.
123
+ * @return value or {@code null} for none
124
+ */
125
+ public GoogleCloudDiscoveryengineV1AssistantGenerationConfig getGenerationConfig () {
126
+ return generationConfig ;
127
+ }
128
+
129
+ /**
130
+ * Optional. Configuration for the generation of the assistant response.
131
+ * @param generationConfig generationConfig or {@code null} for none
132
+ */
133
+ public GoogleCloudDiscoveryengineV1Assistant setGenerationConfig (GoogleCloudDiscoveryengineV1AssistantGenerationConfig generationConfig ) {
134
+ this .generationConfig = generationConfig ;
135
+ return this ;
136
+ }
137
+
41
138
/**
42
139
* Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/col
43
140
* lections/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded
@@ -59,6 +156,23 @@ public GoogleCloudDiscoveryengineV1Assistant setName(java.lang.String name) {
59
156
return this ;
60
157
}
61
158
159
+ /**
160
+ * Optional. The type of web grounding to use.
161
+ * @return value or {@code null} for none
162
+ */
163
+ public java .lang .String getWebGroundingType () {
164
+ return webGroundingType ;
165
+ }
166
+
167
+ /**
168
+ * Optional. The type of web grounding to use.
169
+ * @param webGroundingType webGroundingType or {@code null} for none
170
+ */
171
+ public GoogleCloudDiscoveryengineV1Assistant setWebGroundingType (java .lang .String webGroundingType ) {
172
+ this .webGroundingType = webGroundingType ;
173
+ return this ;
174
+ }
175
+
62
176
@ Override
63
177
public GoogleCloudDiscoveryengineV1Assistant set (String fieldName , Object value ) {
64
178
return (GoogleCloudDiscoveryengineV1Assistant ) super .set (fieldName , value );
0 commit comments