Debian Codegraph @

docs/dyn/ces_v1.projects.locations.apps.conversations.html

raw
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="ces_v1.html">Gemini Enterprise for Customer Experience API</a> . <a href="ces_v1.projects.html">projects</a> . <a href="ces_v1.projects.locations.html">locations</a> . <a href="ces_v1.projects.locations.apps.html">apps</a> . <a href="ces_v1.projects.locations.apps.conversations.html">conversations</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#batchDelete">batchDelete(parent, body=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Batch deletes the specified conversations.</p>
80 <p class="toc_element">
81 <code><a href="#close">close()</a></code></p>
82 <p class="firstline">Close httplib2 connections.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, source=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes the specified conversation.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, source=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets details of the specified conversation.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, source=None, sources=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists conversations in the given app.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="batchDelete">batchDelete(parent, body=None, x__xgafv=None)</code>
98 <pre>Batch deletes the specified conversations.
99
100 Args:
101 parent: string, Required. The resource name of the app to delete conversations from. Format: `projects/{project}/locations/{location}/apps/{app}` (required)
102 body: object, The request body.
103 The object takes the form of:
104
105 { # Request message for AgentService.BatchDeleteConversations.
106 &quot;conversations&quot;: [ # Required. The resource names of the conversations to delete.
107 &quot;A String&quot;,
108 ],
109 }
110
111 x__xgafv: string, V1 error format.
112 Allowed values
113 1 - v1 error format
114 2 - v2 error format
115
116 Returns:
117 An object of the form:
118
119 { # This resource represents a long-running operation that is the result of a network API call.
120 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
121 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
122 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
123 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
124 {
125 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
126 },
127 ],
128 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
129 },
130 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
131 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
132 },
133 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
134 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
135 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
136 },
137 }</pre>
138 </div>
139
140 <div class="method">
141 <code class="details" id="close">close()</code>
142 <pre>Close httplib2 connections.</pre>
143 </div>
144
145 <div class="method">
146 <code class="details" id="delete">delete(name, source=None, x__xgafv=None)</code>
147 <pre>Deletes the specified conversation.
148
149 Args:
150 name: string, Required. The resource name of the conversation to delete. (required)
151 source: string, Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default.
152 Allowed values
153 SOURCE_UNSPECIFIED - Unspecified source.
154 LIVE - The conversation is from the live end user.
155 SIMULATOR - The conversation is from the simulator.
156 EVAL - The conversation is from the evaluation.
157 AGENT_TOOL - The conversation is from an agent tool. Agent tool runs the agent in a separate session, which is persisted for testing and debugging purposes.
158 x__xgafv: string, V1 error format.
159 Allowed values
160 1 - v1 error format
161 2 - v2 error format
162
163 Returns:
164 An object of the form:
165
166 { # 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); }
167 }</pre>
168 </div>
169
170 <div class="method">
171 <code class="details" id="get">get(name, source=None, x__xgafv=None)</code>
172 <pre>Gets details of the specified conversation.
173
174 Args:
175 name: string, Required. The resource name of the conversation to retrieve. (required)
176 source: string, Optional. Indicate the source of the conversation. If not set, all source will be searched.
177 Allowed values
178 SOURCE_UNSPECIFIED - Unspecified source.
179 LIVE - The conversation is from the live end user.
180 SIMULATOR - The conversation is from the simulator.
181 EVAL - The conversation is from the evaluation.
182 AGENT_TOOL - The conversation is from an agent tool. Agent tool runs the agent in a separate session, which is persisted for testing and debugging purposes.
183 x__xgafv: string, V1 error format.
184 Allowed values
185 1 - v1 error format
186 2 - v2 error format
187
188 Returns:
189 An object of the form:
190
191 { # A conversation represents an interaction between an end user and the CES app.
192 &quot;appVersion&quot;: &quot;A String&quot;, # Output only. The version of the app used for processing the conversation. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`
193 &quot;channelType&quot;: &quot;A String&quot;, # DEPRECATED. Please use input_types instead.
194 &quot;deployment&quot;: &quot;A String&quot;, # Output only. The deployment of the app used for processing the conversation. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
195 &quot;endTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the conversation was completed.
196 &quot;entryAgent&quot;: &quot;A String&quot;, # Output only. The agent that initially handles the conversation. If not specified, the conversation is handled by the root agent. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
197 &quot;inputTypes&quot;: [ # Output only. The input types of the conversation.
198 &quot;A String&quot;,
199 ],
200 &quot;languageCode&quot;: &quot;A String&quot;, # Output only. The language code of the conversation.
201 &quot;messages&quot;: [ # Deprecated. Use turns instead.
202 { # A message within a conversation.
203 &quot;chunks&quot;: [ # Optional. Content of the message as a series of chunks.
204 { # A chunk of content within a message.
205 &quot;agentTransfer&quot;: { # Represents an event indicating the transfer of a conversation to a different agent. # Optional. Agent transfer event.
206 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name of the agent.
207 &quot;targetAgent&quot;: &quot;A String&quot;, # Required. The agent to which the conversation is being transferred. The agent will handle the conversation from this point forward. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
208 },
209 &quot;blob&quot;: { # Represents a blob input or output in the conversation. # Optional. Blob data.
210 &quot;data&quot;: &quot;A String&quot;, # Required. Raw bytes of the blob.
211 &quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
212 },
213 &quot;defaultVariables&quot;: { # A struct represents default variables at the start of the conversation, keyed by variable names.
214 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
215 },
216 &quot;image&quot;: { # Represents an image input or output in the conversation. # Optional. Image data.
217 &quot;data&quot;: &quot;A String&quot;, # Required. Raw bytes of the image.
218 &quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data. Supported image types includes: * image/png * image/jpeg * image/webp
219 },
220 &quot;payload&quot;: { # Optional. Custom payload data.
221 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
222 },
223 &quot;text&quot;: &quot;A String&quot;, # Optional. Text data.
224 &quot;toolCall&quot;: { # Request for the client or the agent to execute the specified tool. # Optional. Tool execution request.
225 &quot;args&quot;: { # Optional. The input parameters and values for the tool in JSON object format.
226 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
227 },
228 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name of the tool.
229 &quot;id&quot;: &quot;A String&quot;, # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse.
230 &quot;tool&quot;: &quot;A String&quot;, # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
231 &quot;toolsetTool&quot;: { # A tool that is created from a toolset. # Optional. The toolset tool to execute.
232 &quot;toolId&quot;: &quot;A String&quot;, # Optional. The tool ID to filter the tools to retrieve the schema for.
233 &quot;toolset&quot;: &quot;A String&quot;, # Required. The resource name of the Toolset from which this tool is derived. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`
234 },
235 },
236 &quot;toolResponse&quot;: { # The execution result of a specific tool from the client or the agent. # Optional. Tool execution response.
237 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name of the tool.
238 &quot;id&quot;: &quot;A String&quot;, # Optional. The matching ID of the tool call the response is for.
239 &quot;response&quot;: { # Required. The tool execution result in JSON object format. Use &quot;output&quot; key to specify tool response and &quot;error&quot; key to specify error details (if any). If &quot;output&quot; and &quot;error&quot; keys are not specified, then whole &quot;response&quot; is treated as tool execution result.
240 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
241 },
242 &quot;tool&quot;: &quot;A String&quot;, # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
243 &quot;toolsetTool&quot;: { # A tool that is created from a toolset. # Optional. The toolset tool that got executed.
244 &quot;toolId&quot;: &quot;A String&quot;, # Optional. The tool ID to filter the tools to retrieve the schema for.
245 &quot;toolset&quot;: &quot;A String&quot;, # Required. The resource name of the Toolset from which this tool is derived. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`
246 },
247 },
248 &quot;transcript&quot;: &quot;A String&quot;, # Optional. Transcript associated with the audio.
249 &quot;updatedVariables&quot;: { # A struct represents variables that were updated in the conversation, keyed by variable names.
250 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
251 },
252 },
253 ],
254 &quot;eventTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example.
255 &quot;role&quot;: &quot;A String&quot;, # Optional. The role within the conversation, e.g., user, agent.
256 },
257 ],
258 &quot;name&quot;: &quot;A String&quot;, # Identifier. The unique identifier of the conversation. Format: `projects/{project}/locations/{location}/apps/{app}/conversations/{conversation}`
259 &quot;source&quot;: &quot;A String&quot;, # Output only. Indicate the source of the conversation.
260 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the conversation was created.
261 &quot;turnCount&quot;: 42, # Output only. The number of turns in the conversation.
262 &quot;turns&quot;: [ # Required. The turns in the conversation.
263 { # All information about a single turn in the conversation.
264 &quot;messages&quot;: [ # Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.
265 { # A message within a conversation.
266 &quot;chunks&quot;: [ # Optional. Content of the message as a series of chunks.
267 { # A chunk of content within a message.
268 &quot;agentTransfer&quot;: { # Represents an event indicating the transfer of a conversation to a different agent. # Optional. Agent transfer event.
269 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name of the agent.
270 &quot;targetAgent&quot;: &quot;A String&quot;, # Required. The agent to which the conversation is being transferred. The agent will handle the conversation from this point forward. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
271 },
272 &quot;blob&quot;: { # Represents a blob input or output in the conversation. # Optional. Blob data.
273 &quot;data&quot;: &quot;A String&quot;, # Required. Raw bytes of the blob.
274 &quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
275 },
276 &quot;defaultVariables&quot;: { # A struct represents default variables at the start of the conversation, keyed by variable names.
277 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
278 },
279 &quot;image&quot;: { # Represents an image input or output in the conversation. # Optional. Image data.
280 &quot;data&quot;: &quot;A String&quot;, # Required. Raw bytes of the image.
281 &quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data. Supported image types includes: * image/png * image/jpeg * image/webp
282 },
283 &quot;payload&quot;: { # Optional. Custom payload data.
284 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
285 },
286 &quot;text&quot;: &quot;A String&quot;, # Optional. Text data.
287 &quot;toolCall&quot;: { # Request for the client or the agent to execute the specified tool. # Optional. Tool execution request.
288 &quot;args&quot;: { # Optional. The input parameters and values for the tool in JSON object format.
289 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
290 },
291 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name of the tool.
292 &quot;id&quot;: &quot;A String&quot;, # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse.
293 &quot;tool&quot;: &quot;A String&quot;, # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
294 &quot;toolsetTool&quot;: { # A tool that is created from a toolset. # Optional. The toolset tool to execute.
295 &quot;toolId&quot;: &quot;A String&quot;, # Optional. The tool ID to filter the tools to retrieve the schema for.
296 &quot;toolset&quot;: &quot;A String&quot;, # Required. The resource name of the Toolset from which this tool is derived. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`
297 },
298 },
299 &quot;toolResponse&quot;: { # The execution result of a specific tool from the client or the agent. # Optional. Tool execution response.
300 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name of the tool.
301 &quot;id&quot;: &quot;A String&quot;, # Optional. The matching ID of the tool call the response is for.
302 &quot;response&quot;: { # Required. The tool execution result in JSON object format. Use &quot;output&quot; key to specify tool response and &quot;error&quot; key to specify error details (if any). If &quot;output&quot; and &quot;error&quot; keys are not specified, then whole &quot;response&quot; is treated as tool execution result.
303 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
304 },
305 &quot;tool&quot;: &quot;A String&quot;, # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
306 &quot;toolsetTool&quot;: { # A tool that is created from a toolset. # Optional. The toolset tool that got executed.
307 &quot;toolId&quot;: &quot;A String&quot;, # Optional. The tool ID to filter the tools to retrieve the schema for.
308 &quot;toolset&quot;: &quot;A String&quot;, # Required. The resource name of the Toolset from which this tool is derived. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`
309 },
310 },
311 &quot;transcript&quot;: &quot;A String&quot;, # Optional. Transcript associated with the audio.
312 &quot;updatedVariables&quot;: { # A struct represents variables that were updated in the conversation, keyed by variable names.
313 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
314 },
315 },
316 ],
317 &quot;eventTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example.
318 &quot;role&quot;: &quot;A String&quot;, # Optional. The role within the conversation, e.g., user, agent.
319 },
320 ],
321 &quot;rootSpan&quot;: { # A span is a unit of work or a single operation during the request processing. # Optional. The root span of the action processing.
322 &quot;attributes&quot;: { # Output only. Key-value attributes associated with the span.
323 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
324 },
325 &quot;childSpans&quot;: [ # Output only. The child spans that are nested under this span.
326 # Object with schema name: Span
327 ],
328 &quot;duration&quot;: &quot;A String&quot;, # Output only. The duration of the span.
329 &quot;endTime&quot;: &quot;A String&quot;, # Output only. The end time of the span.
330 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the span.
331 &quot;startTime&quot;: &quot;A String&quot;, # Output only. The start time of the span.
332 },
333 },
334 ],
335 }</pre>
336 </div>
337
338 <div class="method">
339 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, source=None, sources=None, x__xgafv=None)</code>
340 <pre>Lists conversations in the given app.
341
342 Args:
343 parent: string, Required. The resource name of the app to list conversations from. (required)
344 filter: string, Optional. Filter to be applied when listing the conversations. See https://google.aip.dev/160 for more details.
345 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
346 pageToken: string, Optional. The next_page_token value returned from a previous list AgentService.ListConversations call.
347 source: string, Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default. Will be deprecated in favor of `sources` field.
348 Allowed values
349 SOURCE_UNSPECIFIED - Unspecified source.
350 LIVE - The conversation is from the live end user.
351 SIMULATOR - The conversation is from the simulator.
352 EVAL - The conversation is from the evaluation.
353 AGENT_TOOL - The conversation is from an agent tool. Agent tool runs the agent in a separate session, which is persisted for testing and debugging purposes.
354 sources: string, Optional. Indicate the sources of the conversations. If not set, all available sources will be applied by default. (repeated)
355 Allowed values
356 SOURCE_UNSPECIFIED - Unspecified source.
357 LIVE - The conversation is from the live end user.
358 SIMULATOR - The conversation is from the simulator.
359 EVAL - The conversation is from the evaluation.
360 AGENT_TOOL - The conversation is from an agent tool. Agent tool runs the agent in a separate session, which is persisted for testing and debugging purposes.
361 x__xgafv: string, V1 error format.
362 Allowed values
363 1 - v1 error format
364 2 - v2 error format
365
366 Returns:
367 An object of the form:
368
369 { # Response message for AgentService.ListConversations.
370 &quot;conversations&quot;: [ # The list of conversations.
371 { # A conversation represents an interaction between an end user and the CES app.
372 &quot;appVersion&quot;: &quot;A String&quot;, # Output only. The version of the app used for processing the conversation. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`
373 &quot;channelType&quot;: &quot;A String&quot;, # DEPRECATED. Please use input_types instead.
374 &quot;deployment&quot;: &quot;A String&quot;, # Output only. The deployment of the app used for processing the conversation. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
375 &quot;endTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the conversation was completed.
376 &quot;entryAgent&quot;: &quot;A String&quot;, # Output only. The agent that initially handles the conversation. If not specified, the conversation is handled by the root agent. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
377 &quot;inputTypes&quot;: [ # Output only. The input types of the conversation.
378 &quot;A String&quot;,
379 ],
380 &quot;languageCode&quot;: &quot;A String&quot;, # Output only. The language code of the conversation.
381 &quot;messages&quot;: [ # Deprecated. Use turns instead.
382 { # A message within a conversation.
383 &quot;chunks&quot;: [ # Optional. Content of the message as a series of chunks.
384 { # A chunk of content within a message.
385 &quot;agentTransfer&quot;: { # Represents an event indicating the transfer of a conversation to a different agent. # Optional. Agent transfer event.
386 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name of the agent.
387 &quot;targetAgent&quot;: &quot;A String&quot;, # Required. The agent to which the conversation is being transferred. The agent will handle the conversation from this point forward. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
388 },
389 &quot;blob&quot;: { # Represents a blob input or output in the conversation. # Optional. Blob data.
390 &quot;data&quot;: &quot;A String&quot;, # Required. Raw bytes of the blob.
391 &quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
392 },
393 &quot;defaultVariables&quot;: { # A struct represents default variables at the start of the conversation, keyed by variable names.
394 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
395 },
396 &quot;image&quot;: { # Represents an image input or output in the conversation. # Optional. Image data.
397 &quot;data&quot;: &quot;A String&quot;, # Required. Raw bytes of the image.
398 &quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data. Supported image types includes: * image/png * image/jpeg * image/webp
399 },
400 &quot;payload&quot;: { # Optional. Custom payload data.
401 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
402 },
403 &quot;text&quot;: &quot;A String&quot;, # Optional. Text data.
404 &quot;toolCall&quot;: { # Request for the client or the agent to execute the specified tool. # Optional. Tool execution request.
405 &quot;args&quot;: { # Optional. The input parameters and values for the tool in JSON object format.
406 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
407 },
408 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name of the tool.
409 &quot;id&quot;: &quot;A String&quot;, # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse.
410 &quot;tool&quot;: &quot;A String&quot;, # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
411 &quot;toolsetTool&quot;: { # A tool that is created from a toolset. # Optional. The toolset tool to execute.
412 &quot;toolId&quot;: &quot;A String&quot;, # Optional. The tool ID to filter the tools to retrieve the schema for.
413 &quot;toolset&quot;: &quot;A String&quot;, # Required. The resource name of the Toolset from which this tool is derived. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`
414 },
415 },
416 &quot;toolResponse&quot;: { # The execution result of a specific tool from the client or the agent. # Optional. Tool execution response.
417 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name of the tool.
418 &quot;id&quot;: &quot;A String&quot;, # Optional. The matching ID of the tool call the response is for.
419 &quot;response&quot;: { # Required. The tool execution result in JSON object format. Use &quot;output&quot; key to specify tool response and &quot;error&quot; key to specify error details (if any). If &quot;output&quot; and &quot;error&quot; keys are not specified, then whole &quot;response&quot; is treated as tool execution result.
420 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
421 },
422 &quot;tool&quot;: &quot;A String&quot;, # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
423 &quot;toolsetTool&quot;: { # A tool that is created from a toolset. # Optional. The toolset tool that got executed.
424 &quot;toolId&quot;: &quot;A String&quot;, # Optional. The tool ID to filter the tools to retrieve the schema for.
425 &quot;toolset&quot;: &quot;A String&quot;, # Required. The resource name of the Toolset from which this tool is derived. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`
426 },
427 },
428 &quot;transcript&quot;: &quot;A String&quot;, # Optional. Transcript associated with the audio.
429 &quot;updatedVariables&quot;: { # A struct represents variables that were updated in the conversation, keyed by variable names.
430 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
431 },
432 },
433 ],
434 &quot;eventTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example.
435 &quot;role&quot;: &quot;A String&quot;, # Optional. The role within the conversation, e.g., user, agent.
436 },
437 ],
438 &quot;name&quot;: &quot;A String&quot;, # Identifier. The unique identifier of the conversation. Format: `projects/{project}/locations/{location}/apps/{app}/conversations/{conversation}`
439 &quot;source&quot;: &quot;A String&quot;, # Output only. Indicate the source of the conversation.
440 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the conversation was created.
441 &quot;turnCount&quot;: 42, # Output only. The number of turns in the conversation.
442 &quot;turns&quot;: [ # Required. The turns in the conversation.
443 { # All information about a single turn in the conversation.
444 &quot;messages&quot;: [ # Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.
445 { # A message within a conversation.
446 &quot;chunks&quot;: [ # Optional. Content of the message as a series of chunks.
447 { # A chunk of content within a message.
448 &quot;agentTransfer&quot;: { # Represents an event indicating the transfer of a conversation to a different agent. # Optional. Agent transfer event.
449 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name of the agent.
450 &quot;targetAgent&quot;: &quot;A String&quot;, # Required. The agent to which the conversation is being transferred. The agent will handle the conversation from this point forward. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
451 },
452 &quot;blob&quot;: { # Represents a blob input or output in the conversation. # Optional. Blob data.
453 &quot;data&quot;: &quot;A String&quot;, # Required. Raw bytes of the blob.
454 &quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
455 },
456 &quot;defaultVariables&quot;: { # A struct represents default variables at the start of the conversation, keyed by variable names.
457 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
458 },
459 &quot;image&quot;: { # Represents an image input or output in the conversation. # Optional. Image data.
460 &quot;data&quot;: &quot;A String&quot;, # Required. Raw bytes of the image.
461 &quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data. Supported image types includes: * image/png * image/jpeg * image/webp
462 },
463 &quot;payload&quot;: { # Optional. Custom payload data.
464 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
465 },
466 &quot;text&quot;: &quot;A String&quot;, # Optional. Text data.
467 &quot;toolCall&quot;: { # Request for the client or the agent to execute the specified tool. # Optional. Tool execution request.
468 &quot;args&quot;: { # Optional. The input parameters and values for the tool in JSON object format.
469 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
470 },
471 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name of the tool.
472 &quot;id&quot;: &quot;A String&quot;, # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse.
473 &quot;tool&quot;: &quot;A String&quot;, # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
474 &quot;toolsetTool&quot;: { # A tool that is created from a toolset. # Optional. The toolset tool to execute.
475 &quot;toolId&quot;: &quot;A String&quot;, # Optional. The tool ID to filter the tools to retrieve the schema for.
476 &quot;toolset&quot;: &quot;A String&quot;, # Required. The resource name of the Toolset from which this tool is derived. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`
477 },
478 },
479 &quot;toolResponse&quot;: { # The execution result of a specific tool from the client or the agent. # Optional. Tool execution response.
480 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name of the tool.
481 &quot;id&quot;: &quot;A String&quot;, # Optional. The matching ID of the tool call the response is for.
482 &quot;response&quot;: { # Required. The tool execution result in JSON object format. Use &quot;output&quot; key to specify tool response and &quot;error&quot; key to specify error details (if any). If &quot;output&quot; and &quot;error&quot; keys are not specified, then whole &quot;response&quot; is treated as tool execution result.
483 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
484 },
485 &quot;tool&quot;: &quot;A String&quot;, # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`
486 &quot;toolsetTool&quot;: { # A tool that is created from a toolset. # Optional. The toolset tool that got executed.
487 &quot;toolId&quot;: &quot;A String&quot;, # Optional. The tool ID to filter the tools to retrieve the schema for.
488 &quot;toolset&quot;: &quot;A String&quot;, # Required. The resource name of the Toolset from which this tool is derived. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`
489 },
490 },
491 &quot;transcript&quot;: &quot;A String&quot;, # Optional. Transcript associated with the audio.
492 &quot;updatedVariables&quot;: { # A struct represents variables that were updated in the conversation, keyed by variable names.
493 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
494 },
495 },
496 ],
497 &quot;eventTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example.
498 &quot;role&quot;: &quot;A String&quot;, # Optional. The role within the conversation, e.g., user, agent.
499 },
500 ],
501 &quot;rootSpan&quot;: { # A span is a unit of work or a single operation during the request processing. # Optional. The root span of the action processing.
502 &quot;attributes&quot;: { # Output only. Key-value attributes associated with the span.
503 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
504 },
505 &quot;childSpans&quot;: [ # Output only. The child spans that are nested under this span.
506 # Object with schema name: Span
507 ],
508 &quot;duration&quot;: &quot;A String&quot;, # Output only. The duration of the span.
509 &quot;endTime&quot;: &quot;A String&quot;, # Output only. The end time of the span.
510 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the span.
511 &quot;startTime&quot;: &quot;A String&quot;, # Output only. The start time of the span.
512 },
513 },
514 ],
515 },
516 ],
517 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as ListConversationsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
518 }</pre>
519 </div>
520
521 <div class="method">
522 <code class="details" id="list_next">list_next()</code>
523 <pre>Retrieves the next page of results.
524
525 Args:
526 previous_request: The request for the previous page. (required)
527 previous_response: The response from the request for the previous page. (required)
528
529 Returns:
530 A request object that you can call &#x27;execute()&#x27; on to request the next
531 page. Returns None if there are no more items in the collection.
532 </pre>
533 </div>
534
535 </body></html>