1
+ < html > < body >
2
+ < style >
3
+
4
+ body , h1 , h2 , h3 , div , span , p , pre , a {
5
+ margin : 0 ;
6
+ padding : 0 ;
7
+ border : 0 ;
8
+ font-weight : inherit;
9
+ font-style : inherit;
10
+ font-size : 100% ;
11
+ font-family : inherit;
12
+ vertical-align : baseline;
13
+ }
14
+
15
+ body {
16
+ font-size : 13px ;
17
+ padding : 1em ;
18
+ }
19
+
20
+ h1 {
21
+ font-size : 26px ;
22
+ margin-bottom : 1em ;
23
+ }
24
+
25
+ h2 {
26
+ font-size : 24px ;
27
+ margin-bottom : 1em ;
28
+ }
29
+
30
+ h3 {
31
+ font-size : 20px ;
32
+ margin-bottom : 1em ;
33
+ margin-top : 1em ;
34
+ }
35
+
36
+ pre , code {
37
+ line-height : 1.5 ;
38
+ font-family : Monaco, 'DejaVu Sans Mono' , 'Bitstream Vera Sans Mono' , 'Lucida Console' , monospace;
39
+ }
40
+
41
+ pre {
42
+ margin-top : 0.5em ;
43
+ }
44
+
45
+ h1 , h2 , h3 , p {
46
+ font-family : Arial, sans serif;
47
+ }
48
+
49
+ h1 , h2 , h3 {
50
+ border-bottom : solid # CCC 1px ;
51
+ }
52
+
53
+ .toc_element {
54
+ margin-top : 0.5em ;
55
+ }
56
+
57
+ .firstline {
58
+ margin-left : 2 em;
59
+ }
60
+
61
+ .method {
62
+ margin-top : 1em ;
63
+ border : solid 1px # CCC ;
64
+ padding : 1em ;
65
+ background : # EEE ;
66
+ }
67
+
68
+ .details {
69
+ font-weight : bold;
70
+ font-size : 14px ;
71
+ }
72
+
73
+ </ style >
74
+
75
+ < h1 > < a href ="integrations_v1.html "> Application Integration API</ a > . < a href ="integrations_v1.projects.html "> projects</ a > . < a href ="integrations_v1.projects.locations.html "> locations</ a > . < a href ="integrations_v1.projects.locations.collections.html "> collections</ a > . < a href ="integrations_v1.projects.locations.collections.engines.html "> engines</ a > . < a href ="integrations_v1.projects.locations.collections.engines.assistants.html "> assistants</ a > . < a href ="integrations_v1.projects.locations.collections.engines.assistants.agentFlows.html "> agentFlows</ a > </ h1 >
76
+ < h2 > Instance Methods</ h2 >
77
+ < p class ="toc_element ">
78
+ < code > < a href ="#close "> close()</ a > </ code > </ p >
79
+ < p class ="firstline "> Close httplib2 connections.</ p >
80
+ < p class ="toc_element ">
81
+ < code > < a href ="#create "> create(parent, body=None, x__xgafv=None)</ a > </ code > </ p >
82
+ < p class ="firstline "> Request to create a new AgentFlow with user-provided flow configuration.</ p >
83
+ < p class ="toc_element ">
84
+ < code > < a href ="#delete "> delete(name, x__xgafv=None)</ a > </ code > </ p >
85
+ < p class ="firstline "> Deletes an existing AgentFlow.</ p >
86
+ < p class ="toc_element ">
87
+ < code > < a href ="#generate "> generate(parent, body=None, x__xgafv=None)</ a > </ code > </ p >
88
+ < p class ="firstline "> Uses Natural Language (NL) to generate an AgentFlow configuration and create a new AgentFlow.</ p >
89
+ < p class ="toc_element ">
90
+ < code > < a href ="#generateAndUpdate "> generateAndUpdate(name, body=None, x__xgafv=None)</ a > </ code > </ p >
91
+ < p class ="firstline "> Uses Natural Language (NL) to generate an AgentFlow configuration and update an existing AgentFlow.</ p >
92
+ < p class ="toc_element ">
93
+ < code > < a href ="#get "> get(name, x__xgafv=None)</ a > </ code > </ p >
94
+ < p class ="firstline "> Gets an existing AgentFlow.</ p >
95
+ < p class ="toc_element ">
96
+ < code > < a href ="#list "> list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</ a > </ code > </ p >
97
+ < p class ="firstline "> Lists all AgentFlows.</ p >
98
+ < p class ="toc_element ">
99
+ < code > < a href ="#list_next "> list_next()</ a > </ code > </ p >
100
+ < p class ="firstline "> Retrieves the next page of results.</ p >
101
+ < p class ="toc_element ">
102
+ < code > < a href ="#patch "> patch(name, body=None, updateMask=None, x__xgafv=None)</ a > </ code > </ p >
103
+ < p class ="firstline "> Updates an existing AgentFlow.</ p >
104
+ < h3 > Method Details</ h3 >
105
+ < div class ="method ">
106
+ < code class ="details " id ="close "> close()</ code >
107
+ < pre > Close httplib2 connections.</ pre >
108
+ </ div >
109
+
110
+ < div class ="method ">
111
+ < code class ="details " id ="create "> create(parent, body=None, x__xgafv=None)</ code >
112
+ < pre > Request to create a new AgentFlow with user-provided flow configuration.
113
+
114
+ Args:
115
+ parent: string, Required. Parent resource name where this AgentFlow will be created. (required)
116
+ body: object, The request body.
117
+ The object takes the form of:
118
+
119
+ { # AgentFlow configurations.
120
+ "createTime": "A String", # Output only. The timestamp when the agent flow was created.
121
+ "creator": "A String", # Output only. The user who created the agent flow.
122
+ "description": "A String", # Optional. Description of the agent flow.
123
+ "displayName": "A String", # Optional. Display name of the agent flow.
124
+ "flowConfig": "A String", # Required. The flow configuration, represented as a string.
125
+ "name": "A String", # Required. Resource name of the agent flow.
126
+ "noCodeAgent": "A String", # Optional. Name of the NoCodeAgent.
127
+ "updateTime": "A String", # Output only. The timestamp when the agent flow was last updated.
128
+ }
129
+
130
+ x__xgafv: string, V1 error format.
131
+ Allowed values
132
+ 1 - v1 error format
133
+ 2 - v2 error format
134
+
135
+ Returns:
136
+ An object of the form:
137
+
138
+ { # AgentFlow configurations.
139
+ "createTime": "A String", # Output only. The timestamp when the agent flow was created.
140
+ "creator": "A String", # Output only. The user who created the agent flow.
141
+ "description": "A String", # Optional. Description of the agent flow.
142
+ "displayName": "A String", # Optional. Display name of the agent flow.
143
+ "flowConfig": "A String", # Required. The flow configuration, represented as a string.
144
+ "name": "A String", # Required. Resource name of the agent flow.
145
+ "noCodeAgent": "A String", # Optional. Name of the NoCodeAgent.
146
+ "updateTime": "A String", # Output only. The timestamp when the agent flow was last updated.
147
+ }</ pre >
148
+ </ div >
149
+
150
+ < div class ="method ">
151
+ < code class ="details " id ="delete "> delete(name, x__xgafv=None)</ code >
152
+ < pre > Deletes an existing AgentFlow.
153
+
154
+ Args:
155
+ name: string, Required. The resource name of the AgentFlow to delete. (required)
156
+ x__xgafv: string, V1 error format.
157
+ Allowed values
158
+ 1 - v1 error format
159
+ 2 - v2 error format
160
+
161
+ Returns:
162
+ An object of the form:
163
+
164
+ { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
165
+ }</ pre >
166
+ </ div >
167
+
168
+ < div class ="method ">
169
+ < code class ="details " id ="generate "> generate(parent, body=None, x__xgafv=None)</ code >
170
+ < pre > Uses Natural Language (NL) to generate an AgentFlow configuration and create a new AgentFlow.
171
+
172
+ Args:
173
+ parent: string, Required. Parent resource name where this AgentFlow will be created. (required)
174
+ body: object, The request body.
175
+ The object takes the form of:
176
+
177
+ { # Request message for GenerateAgentFlow.
178
+ "creator": "A String", # Optional. The creator id;
179
+ "description": "A String", # Optional. The description of the AgentFlow to be generated.
180
+ "displayName": "A String", # Optional. The display name of the AgentFlow to be generated.
181
+ "intent": "A String", # Required. The intent, described in natural language, for the AgentFlow to generate.
182
+ }
183
+
184
+ x__xgafv: string, V1 error format.
185
+ Allowed values
186
+ 1 - v1 error format
187
+ 2 - v2 error format
188
+
189
+ Returns:
190
+ An object of the form:
191
+
192
+ { # Response message for GenerateAgentFlow.
193
+ "agentFlow": { # AgentFlow configurations. # Output only. AgentFlow that gets generated.
194
+ "createTime": "A String", # Output only. The timestamp when the agent flow was created.
195
+ "creator": "A String", # Output only. The user who created the agent flow.
196
+ "description": "A String", # Optional. Description of the agent flow.
197
+ "displayName": "A String", # Optional. Display name of the agent flow.
198
+ "flowConfig": "A String", # Required. The flow configuration, represented as a string.
199
+ "name": "A String", # Required. Resource name of the agent flow.
200
+ "noCodeAgent": "A String", # Optional. Name of the NoCodeAgent.
201
+ "updateTime": "A String", # Output only. The timestamp when the agent flow was last updated.
202
+ },
203
+ }</ pre >
204
+ </ div >
205
+
206
+ < div class ="method ">
207
+ < code class ="details " id ="generateAndUpdate "> generateAndUpdate(name, body=None, x__xgafv=None)</ code >
208
+ < pre > Uses Natural Language (NL) to generate an AgentFlow configuration and update an existing AgentFlow.
209
+
210
+ Args:
211
+ name: string, Required. The resource name of the AgentFlow to update. (required)
212
+ body: object, The request body.
213
+ The object takes the form of:
214
+
215
+ { # Request message for GenerateAndUpdateAgentFlow.
216
+ "intent": "A String", # Required. The intent, described in natural language, for the AgentFlow to update.
217
+ "updater": "A String", # Optional. The updater id;
218
+ }
219
+
220
+ x__xgafv: string, V1 error format.
221
+ Allowed values
222
+ 1 - v1 error format
223
+ 2 - v2 error format
224
+
225
+ Returns:
226
+ An object of the form:
227
+
228
+ { # Response message for GenerateAndUpdateAgentFlow.
229
+ "agentFlow": { # AgentFlow configurations. # Output only. AgentFlow that gets updated.
230
+ "createTime": "A String", # Output only. The timestamp when the agent flow was created.
231
+ "creator": "A String", # Output only. The user who created the agent flow.
232
+ "description": "A String", # Optional. Description of the agent flow.
233
+ "displayName": "A String", # Optional. Display name of the agent flow.
234
+ "flowConfig": "A String", # Required. The flow configuration, represented as a string.
235
+ "name": "A String", # Required. Resource name of the agent flow.
236
+ "noCodeAgent": "A String", # Optional. Name of the NoCodeAgent.
237
+ "updateTime": "A String", # Output only. The timestamp when the agent flow was last updated.
238
+ },
239
+ }</ pre >
240
+ </ div >
241
+
242
+ < div class ="method ">
243
+ < code class ="details " id ="get "> get(name, x__xgafv=None)</ code >
244
+ < pre > Gets an existing AgentFlow.
245
+
246
+ Args:
247
+ name: string, Required. The resource name of the AgentFlow to get. (required)
248
+ x__xgafv: string, V1 error format.
249
+ Allowed values
250
+ 1 - v1 error format
251
+ 2 - v2 error format
252
+
253
+ Returns:
254
+ An object of the form:
255
+
256
+ { # AgentFlow configurations.
257
+ "createTime": "A String", # Output only. The timestamp when the agent flow was created.
258
+ "creator": "A String", # Output only. The user who created the agent flow.
259
+ "description": "A String", # Optional. Description of the agent flow.
260
+ "displayName": "A String", # Optional. Display name of the agent flow.
261
+ "flowConfig": "A String", # Required. The flow configuration, represented as a string.
262
+ "name": "A String", # Required. Resource name of the agent flow.
263
+ "noCodeAgent": "A String", # Optional. Name of the NoCodeAgent.
264
+ "updateTime": "A String", # Output only. The timestamp when the agent flow was last updated.
265
+ }</ pre >
266
+ </ div >
267
+
268
+ < div class ="method ">
269
+ < code class ="details " id ="list "> list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</ code >
270
+ < pre > Lists all AgentFlows.
271
+
272
+ Args:
273
+ parent: string, Required. The parent resource where this AgentFlow was created. (required)
274
+ filter: string, Optional. Standard filter field. Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.
275
+ orderBy: string, Optional. The results would be returned in order specified here. Currently supported sort keys are: Descending sort order for "create_time", "update_time". Ascending sort order for "agent_flow_id", "display_name".
276
+ pageSize: integer, Optional. The maximum number of AgentFlows to return. The service may return fewer than this value. If unspecified, at most 100 AgentFlows will be returned.
277
+ pageToken: string, Optional. A page token, received from a previous `ListAgentFlows` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAgentFlows` must match the call that provided the page token.
278
+ readMask: string, Optional. The mask which specifies fields that need to be returned in the AgentFlow's response.
279
+ x__xgafv: string, V1 error format.
280
+ Allowed values
281
+ 1 - v1 error format
282
+ 2 - v2 error format
283
+
284
+ Returns:
285
+ An object of the form:
286
+
287
+ { # Response for ListAgentFlows.
288
+ "agentFlows": [ # Output only. The AgentFlows from the specified collection.
289
+ { # AgentFlow configurations.
290
+ "createTime": "A String", # Output only. The timestamp when the agent flow was created.
291
+ "creator": "A String", # Output only. The user who created the agent flow.
292
+ "description": "A String", # Optional. Description of the agent flow.
293
+ "displayName": "A String", # Optional. Display name of the agent flow.
294
+ "flowConfig": "A String", # Required. The flow configuration, represented as a string.
295
+ "name": "A String", # Required. Resource name of the agent flow.
296
+ "noCodeAgent": "A String", # Optional. Name of the NoCodeAgent.
297
+ "updateTime": "A String", # Output only. The timestamp when the agent flow was last updated.
298
+ },
299
+ ],
300
+ "nextPageToken": "A String", # Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
301
+ }</ pre >
302
+ </ div >
303
+
304
+ < div class ="method ">
305
+ < code class ="details " id ="list_next "> list_next()</ code >
306
+ < pre > Retrieves the next page of results.
307
+
308
+ Args:
309
+ previous_request: The request for the previous page. (required)
310
+ previous_response: The response from the request for the previous page. (required)
311
+
312
+ Returns:
313
+ A request object that you can call 'execute()' on to request the next
314
+ page. Returns None if there are no more items in the collection.
315
+ </ pre >
316
+ </ div >
317
+
318
+ < div class ="method ">
319
+ < code class ="details " id ="patch "> patch(name, body=None, updateMask=None, x__xgafv=None)</ code >
320
+ < pre > Updates an existing AgentFlow.
321
+
322
+ Args:
323
+ name: string, Required. Resource name of the agent flow. (required)
324
+ body: object, The request body.
325
+ The object takes the form of:
326
+
327
+ { # AgentFlow configurations.
328
+ "createTime": "A String", # Output only. The timestamp when the agent flow was created.
329
+ "creator": "A String", # Output only. The user who created the agent flow.
330
+ "description": "A String", # Optional. Description of the agent flow.
331
+ "displayName": "A String", # Optional. Display name of the agent flow.
332
+ "flowConfig": "A String", # Required. The flow configuration, represented as a string.
333
+ "name": "A String", # Required. Resource name of the agent flow.
334
+ "noCodeAgent": "A String", # Optional. Name of the NoCodeAgent.
335
+ "updateTime": "A String", # Output only. The timestamp when the agent flow was last updated.
336
+ }
337
+
338
+ updateMask: string, Optional. Field mask specifying the fields in the above AgentFlow that have been modified and need to be updated.
339
+ x__xgafv: string, V1 error format.
340
+ Allowed values
341
+ 1 - v1 error format
342
+ 2 - v2 error format
343
+
344
+ Returns:
345
+ An object of the form:
346
+
347
+ { # AgentFlow configurations.
348
+ "createTime": "A String", # Output only. The timestamp when the agent flow was created.
349
+ "creator": "A String", # Output only. The user who created the agent flow.
350
+ "description": "A String", # Optional. Description of the agent flow.
351
+ "displayName": "A String", # Optional. Display name of the agent flow.
352
+ "flowConfig": "A String", # Required. The flow configuration, represented as a string.
353
+ "name": "A String", # Required. Resource name of the agent flow.
354
+ "noCodeAgent": "A String", # Optional. Name of the NoCodeAgent.
355
+ "updateTime": "A String", # Output only. The timestamp when the agent flow was last updated.
356
+ }</ pre >
357
+ </ div >
358
+
359
+ </ body > </ html >
0 commit comments