Debian Codegraph @

docs/dyn/aiplatform_v1beta1.interactions.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="aiplatform_v1beta1.html">Agent Platform API</a> . <a href="aiplatform_v1beta1.interactions.html">interactions</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#cancel">cancel(name, x__xgafv=None)</a></code></p>
79 <p class="firstline">Cancels an interaction.</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="#getPoll">getPoll(name, includeInput=None, lastEventId=None, stream=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Fully typed proto, unary version of GetInteraction that returns Interaction proto.</p>
86 <p class="toc_element">
87 <code><a href="#getStream">getStream(name, includeInput=None, lastEventId=None, stream=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Fully typed proto, streaming version of GetInteraction that returns Interaction proto.</p>
89 <h3>Method Details</h3>
90 <div class="method">
91 <code class="details" id="cancel">cancel(name, x__xgafv=None)</code>
92 <pre>Cancels an interaction.
93
94 Args:
95 name: string, Required. The name of the interaction to cancel. Format: `interactions/{interaction}`. (required)
96 x__xgafv: string, V1 error format.
97 Allowed values
98 1 - v1 error format
99 2 - v2 error format
100
101 Returns:
102 An object of the form:
103
104 { # Response for InteractionService.CreateInteraction.
105 &quot;agentInteraction&quot;: { # Interaction for generating the completion using agents. # Interaction for generating the completion using agents.
106 &quot;agent&quot;: &quot;A String&quot;, # The name of the `Agent` used for generating the completion.
107 &quot;code_mender_config&quot;: { # Configuration for the CodeMender agent.
108 &quot;find_request&quot;: { # Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. # Parameters for finding vulnerabilities.
109 &quot;description&quot;: &quot;A String&quot;, # Additional context or custom instructions provided by the user to guide the vulnerability analysis.
110 &quot;finding_id&quot;: &quot;A String&quot;, # The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent&#x27;s execution-based validation on a single vulnerability.
111 &quot;source_files&quot;: [ # A list of source files to provide as context for the scan.
112 { # Content of a single file in the codebase.
113 &quot;content&quot;: &quot;A String&quot;, # The UTF-8 encoded text content of the file.
114 &quot;path&quot;: &quot;A String&quot;, # The relative path of the file from the project root.
115 },
116 ],
117 },
118 &quot;fix_request&quot;: { # Request parameters specific to FIX sessions, used for generating and validating security patches. # Parameters for fixing vulnerabilities.
119 &quot;description&quot;: &quot;A String&quot;, # Additional context or custom instructions provided by the user to guide the patch generation process.
120 &quot;finding_id&quot;: &quot;A String&quot;, # The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.
121 &quot;source_files&quot;: [ # A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.
122 { # Content of a single file in the codebase.
123 &quot;content&quot;: &quot;A String&quot;, # The UTF-8 encoded text content of the file.
124 &quot;path&quot;: &quot;A String&quot;, # The relative path of the file from the project root.
125 },
126 ],
127 },
128 &quot;model&quot;: &quot;A String&quot;, # The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.
129 &quot;session_config&quot;: { # The configuration of CodeMender sessions. # Optional session-specific configurations to override default agent behavior.
130 &quot;max_rounds&quot;: 42, # The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
131 &quot;pipeline_mode&quot;: &quot;A String&quot;, # The pipeline mode of a CodeMender session. It can only be used for a find session.
132 &quot;topology&quot;: &quot;A String&quot;, # The cognitive architecture or &quot;thinking&quot; topology used by the agent (e.g. &quot;default&quot;, &quot;deep&quot;).
133 },
134 &quot;session_id&quot;: &quot;A String&quot;, # Parameter for grouping multiple interactions that belong to the same CodeMender session.
135 },
136 &quot;deepResearchConfig&quot;: { # Configuration for the Deep Research agent.
137 &quot;collaborativePlanning&quot;: True or False, # Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.
138 &quot;enableBigqueryTool&quot;: True or False, # Enables bigquery tool for the Deep Research agent.
139 &quot;thinkingSummaries&quot;: &quot;A String&quot;, # Whether to include thought summaries in the response.
140 &quot;visualization&quot;: &quot;A String&quot;, # Whether to include visualizations in the response.
141 },
142 &quot;dynamicConfig&quot;: { # Configuration for dynamic agents.
143 &quot;config&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # For agents that are not supported statically in the API definition.
144 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
145 { # Represents a single field in a struct.
146 &quot;name&quot;: &quot;A String&quot;,
147 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
148 &quot;boolValue&quot;: True or False, # Represents a boolean value.
149 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
150 &quot;values&quot;: [ # Repeated field of dynamically typed values.
151 # Object with schema name: GenaiVertexV1beta1Value
152 ],
153 },
154 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
155 &quot;numberValue&quot;: 3.14, # Represents a double value.
156 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
157 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
158 },
159 },
160 ],
161 },
162 },
163 },
164 &quot;content&quot;: { # The content of the response. # The content for the interaction.
165 &quot;audio&quot;: { # An audio content block.
166 &quot;channels&quot;: 42, # The number of audio channels.
167 &quot;data&quot;: &quot;A String&quot;, # The audio content.
168 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
169 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
170 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
171 },
172 &quot;document&quot;: { # A document content block.
173 &quot;data&quot;: &quot;A String&quot;, # The document content.
174 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
175 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
176 },
177 &quot;image&quot;: { # An image content block.
178 &quot;data&quot;: &quot;A String&quot;, # The image content.
179 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
180 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
181 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
182 },
183 &quot;text&quot;: { # A text content block.
184 &quot;annotations&quot;: [ # Citation information for model-generated content.
185 { # Citation information for model-generated content.
186 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
187 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
188 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
189 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
190 { # Represents a single field in a struct.
191 &quot;name&quot;: &quot;A String&quot;,
192 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
193 &quot;boolValue&quot;: True or False, # Represents a boolean value.
194 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
195 &quot;values&quot;: [ # Repeated field of dynamically typed values.
196 # Object with schema name: GenaiVertexV1beta1Value
197 ],
198 },
199 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
200 &quot;numberValue&quot;: 3.14, # Represents a double value.
201 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
202 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
203 },
204 },
205 ],
206 },
207 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
208 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
209 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
210 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
211 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
212 },
213 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
214 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
215 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
216 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
217 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
218 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
219 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
220 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
221 },
222 ],
223 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
224 },
225 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
226 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
227 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
228 &quot;url&quot;: &quot;A String&quot;, # The URL.
229 },
230 },
231 ],
232 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
233 },
234 &quot;thought&quot;: { # A thought content block.
235 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
236 &quot;summary&quot;: [ # A summary of the thought.
237 {
238 &quot;image&quot;: { # An image content block.
239 &quot;data&quot;: &quot;A String&quot;, # The image content.
240 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
241 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
242 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
243 },
244 &quot;text&quot;: { # A text content block.
245 &quot;annotations&quot;: [ # Citation information for model-generated content.
246 { # Citation information for model-generated content.
247 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
248 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
249 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
250 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
251 { # Represents a single field in a struct.
252 &quot;name&quot;: &quot;A String&quot;,
253 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
254 &quot;boolValue&quot;: True or False, # Represents a boolean value.
255 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
256 &quot;values&quot;: [ # Repeated field of dynamically typed values.
257 # Object with schema name: GenaiVertexV1beta1Value
258 ],
259 },
260 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
261 &quot;numberValue&quot;: 3.14, # Represents a double value.
262 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
263 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
264 },
265 },
266 ],
267 },
268 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
269 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
270 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
271 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
272 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
273 },
274 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
275 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
276 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
277 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
278 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
279 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
280 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
281 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
282 },
283 ],
284 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
285 },
286 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
287 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
288 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
289 &quot;url&quot;: &quot;A String&quot;, # The URL.
290 },
291 },
292 ],
293 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
294 },
295 },
296 ],
297 },
298 &quot;toolCall&quot;: { # Tool call content.
299 &quot;codeExecutionCall&quot;: { # Code execution content.
300 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
301 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
302 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
303 },
304 },
305 &quot;fileSearchCall&quot;: { # File Search content.
306 },
307 &quot;functionCall&quot;: { # A function tool call content block.
308 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
309 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
310 { # Represents a single field in a struct.
311 &quot;name&quot;: &quot;A String&quot;,
312 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
313 &quot;boolValue&quot;: True or False, # Represents a boolean value.
314 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
315 &quot;values&quot;: [ # Repeated field of dynamically typed values.
316 # Object with schema name: GenaiVertexV1beta1Value
317 ],
318 },
319 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
320 &quot;numberValue&quot;: 3.14, # Represents a double value.
321 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
322 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
323 },
324 },
325 ],
326 },
327 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
328 },
329 &quot;googleMapsCall&quot;: { # Google Maps content.
330 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
331 &quot;queries&quot;: [ # The queries to be executed.
332 &quot;A String&quot;,
333 ],
334 },
335 },
336 &quot;googleSearchCall&quot;: { # Google Search content.
337 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
338 &quot;queries&quot;: [ # Web search queries for the following-up web search.
339 &quot;A String&quot;,
340 ],
341 },
342 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
343 },
344 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
345 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
346 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
347 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
348 { # Represents a single field in a struct.
349 &quot;name&quot;: &quot;A String&quot;,
350 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
351 &quot;boolValue&quot;: True or False, # Represents a boolean value.
352 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
353 &quot;values&quot;: [ # Repeated field of dynamically typed values.
354 # Object with schema name: GenaiVertexV1beta1Value
355 ],
356 },
357 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
358 &quot;numberValue&quot;: 3.14, # Represents a double value.
359 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
360 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
361 },
362 },
363 ],
364 },
365 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
366 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
367 },
368 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
369 &quot;urlContextCall&quot;: { # URL context content.
370 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
371 &quot;urls&quot;: [ # The URLs to fetch.
372 &quot;A String&quot;,
373 ],
374 },
375 },
376 },
377 &quot;toolResult&quot;: { # Tool result content.
378 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
379 &quot;codeExecutionResult&quot;: { # Code execution result content.
380 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
381 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
382 },
383 &quot;fileSearchResult&quot;: { # File Search result content.
384 &quot;result&quot;: [ # Optional. The results of the File Search.
385 { # The result of the File Search.
386 },
387 ],
388 },
389 &quot;functionResult&quot;: { # A function tool result content block.
390 &quot;contentList&quot;: {
391 &quot;contents&quot;: [
392 {
393 &quot;image&quot;: { # An image content block.
394 &quot;data&quot;: &quot;A String&quot;, # The image content.
395 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
396 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
397 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
398 },
399 &quot;text&quot;: { # A text content block.
400 &quot;annotations&quot;: [ # Citation information for model-generated content.
401 { # Citation information for model-generated content.
402 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
403 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
404 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
405 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
406 { # Represents a single field in a struct.
407 &quot;name&quot;: &quot;A String&quot;,
408 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
409 &quot;boolValue&quot;: True or False, # Represents a boolean value.
410 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
411 &quot;values&quot;: [ # Repeated field of dynamically typed values.
412 # Object with schema name: GenaiVertexV1beta1Value
413 ],
414 },
415 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
416 &quot;numberValue&quot;: 3.14, # Represents a double value.
417 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
418 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
419 },
420 },
421 ],
422 },
423 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
424 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
425 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
426 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
427 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
428 },
429 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
430 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
431 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
432 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
433 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
434 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
435 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
436 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
437 },
438 ],
439 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
440 },
441 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
442 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
443 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
444 &quot;url&quot;: &quot;A String&quot;, # The URL.
445 },
446 },
447 ],
448 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
449 },
450 },
451 ],
452 },
453 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
454 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
455 &quot;stringResult&quot;: &quot;A String&quot;,
456 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
457 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
458 { # Represents a single field in a struct.
459 &quot;name&quot;: &quot;A String&quot;,
460 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
461 &quot;boolValue&quot;: True or False, # Represents a boolean value.
462 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
463 &quot;values&quot;: [ # Repeated field of dynamically typed values.
464 # Object with schema name: GenaiVertexV1beta1Value
465 ],
466 },
467 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
468 &quot;numberValue&quot;: 3.14, # Represents a double value.
469 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
470 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
471 },
472 },
473 ],
474 },
475 },
476 &quot;googleMapsResult&quot;: { # Google Maps result content.
477 &quot;result&quot;: [ # Required. The results of the Google Maps.
478 { # The result of the Google Maps.
479 &quot;places&quot;: [ # The places that were found.
480 {
481 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
482 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
483 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
484 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
485 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
486 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
487 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
488 },
489 ],
490 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
491 },
492 ],
493 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
494 },
495 ],
496 },
497 &quot;googleSearchResult&quot;: { # Google Search result content.
498 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
499 &quot;result&quot;: [ # Required. The results of the Google Search.
500 { # The result of the Google Search.
501 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
502 },
503 ],
504 },
505 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
506 &quot;contentList&quot;: {
507 &quot;contents&quot;: [
508 {
509 &quot;image&quot;: { # An image content block.
510 &quot;data&quot;: &quot;A String&quot;, # The image content.
511 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
512 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
513 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
514 },
515 &quot;text&quot;: { # A text content block.
516 &quot;annotations&quot;: [ # Citation information for model-generated content.
517 { # Citation information for model-generated content.
518 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
519 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
520 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
521 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
522 { # Represents a single field in a struct.
523 &quot;name&quot;: &quot;A String&quot;,
524 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
525 &quot;boolValue&quot;: True or False, # Represents a boolean value.
526 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
527 &quot;values&quot;: [ # Repeated field of dynamically typed values.
528 # Object with schema name: GenaiVertexV1beta1Value
529 ],
530 },
531 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
532 &quot;numberValue&quot;: 3.14, # Represents a double value.
533 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
534 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
535 },
536 },
537 ],
538 },
539 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
540 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
541 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
542 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
543 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
544 },
545 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
546 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
547 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
548 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
549 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
550 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
551 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
552 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
553 },
554 ],
555 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
556 },
557 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
558 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
559 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
560 &quot;url&quot;: &quot;A String&quot;, # The URL.
561 },
562 },
563 ],
564 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
565 },
566 },
567 ],
568 },
569 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
570 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
571 &quot;stringResult&quot;: &quot;A String&quot;,
572 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
573 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
574 { # Represents a single field in a struct.
575 &quot;name&quot;: &quot;A String&quot;,
576 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
577 &quot;boolValue&quot;: True or False, # Represents a boolean value.
578 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
579 &quot;values&quot;: [ # Repeated field of dynamically typed values.
580 # Object with schema name: GenaiVertexV1beta1Value
581 ],
582 },
583 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
584 &quot;numberValue&quot;: 3.14, # Represents a double value.
585 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
586 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
587 },
588 },
589 ],
590 },
591 },
592 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
593 &quot;urlContextResult&quot;: { # URL context result content.
594 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
595 &quot;result&quot;: [ # Required. The results of the URL context.
596 { # The result of the URL context.
597 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
598 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
599 },
600 ],
601 },
602 },
603 &quot;video&quot;: { # A video content block.
604 &quot;data&quot;: &quot;A String&quot;, # The video content.
605 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
606 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
607 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
608 },
609 },
610 &quot;contentList&quot;: { # A list of Content. # The inputs for the interaction.
611 &quot;contents&quot;: [ # The contents of the list.
612 { # The content of the response.
613 &quot;audio&quot;: { # An audio content block.
614 &quot;channels&quot;: 42, # The number of audio channels.
615 &quot;data&quot;: &quot;A String&quot;, # The audio content.
616 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
617 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
618 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
619 },
620 &quot;document&quot;: { # A document content block.
621 &quot;data&quot;: &quot;A String&quot;, # The document content.
622 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
623 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
624 },
625 &quot;image&quot;: { # An image content block.
626 &quot;data&quot;: &quot;A String&quot;, # The image content.
627 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
628 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
629 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
630 },
631 &quot;text&quot;: { # A text content block.
632 &quot;annotations&quot;: [ # Citation information for model-generated content.
633 { # Citation information for model-generated content.
634 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
635 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
636 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
637 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
638 { # Represents a single field in a struct.
639 &quot;name&quot;: &quot;A String&quot;,
640 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
641 &quot;boolValue&quot;: True or False, # Represents a boolean value.
642 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
643 &quot;values&quot;: [ # Repeated field of dynamically typed values.
644 # Object with schema name: GenaiVertexV1beta1Value
645 ],
646 },
647 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
648 &quot;numberValue&quot;: 3.14, # Represents a double value.
649 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
650 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
651 },
652 },
653 ],
654 },
655 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
656 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
657 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
658 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
659 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
660 },
661 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
662 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
663 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
664 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
665 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
666 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
667 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
668 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
669 },
670 ],
671 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
672 },
673 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
674 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
675 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
676 &quot;url&quot;: &quot;A String&quot;, # The URL.
677 },
678 },
679 ],
680 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
681 },
682 &quot;thought&quot;: { # A thought content block.
683 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
684 &quot;summary&quot;: [ # A summary of the thought.
685 {
686 &quot;image&quot;: { # An image content block.
687 &quot;data&quot;: &quot;A String&quot;, # The image content.
688 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
689 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
690 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
691 },
692 &quot;text&quot;: { # A text content block.
693 &quot;annotations&quot;: [ # Citation information for model-generated content.
694 { # Citation information for model-generated content.
695 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
696 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
697 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
698 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
699 { # Represents a single field in a struct.
700 &quot;name&quot;: &quot;A String&quot;,
701 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
702 &quot;boolValue&quot;: True or False, # Represents a boolean value.
703 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
704 &quot;values&quot;: [ # Repeated field of dynamically typed values.
705 # Object with schema name: GenaiVertexV1beta1Value
706 ],
707 },
708 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
709 &quot;numberValue&quot;: 3.14, # Represents a double value.
710 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
711 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
712 },
713 },
714 ],
715 },
716 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
717 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
718 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
719 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
720 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
721 },
722 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
723 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
724 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
725 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
726 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
727 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
728 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
729 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
730 },
731 ],
732 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
733 },
734 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
735 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
736 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
737 &quot;url&quot;: &quot;A String&quot;, # The URL.
738 },
739 },
740 ],
741 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
742 },
743 },
744 ],
745 },
746 &quot;toolCall&quot;: { # Tool call content.
747 &quot;codeExecutionCall&quot;: { # Code execution content.
748 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
749 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
750 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
751 },
752 },
753 &quot;fileSearchCall&quot;: { # File Search content.
754 },
755 &quot;functionCall&quot;: { # A function tool call content block.
756 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
757 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
758 { # Represents a single field in a struct.
759 &quot;name&quot;: &quot;A String&quot;,
760 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
761 &quot;boolValue&quot;: True or False, # Represents a boolean value.
762 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
763 &quot;values&quot;: [ # Repeated field of dynamically typed values.
764 # Object with schema name: GenaiVertexV1beta1Value
765 ],
766 },
767 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
768 &quot;numberValue&quot;: 3.14, # Represents a double value.
769 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
770 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
771 },
772 },
773 ],
774 },
775 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
776 },
777 &quot;googleMapsCall&quot;: { # Google Maps content.
778 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
779 &quot;queries&quot;: [ # The queries to be executed.
780 &quot;A String&quot;,
781 ],
782 },
783 },
784 &quot;googleSearchCall&quot;: { # Google Search content.
785 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
786 &quot;queries&quot;: [ # Web search queries for the following-up web search.
787 &quot;A String&quot;,
788 ],
789 },
790 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
791 },
792 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
793 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
794 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
795 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
796 { # Represents a single field in a struct.
797 &quot;name&quot;: &quot;A String&quot;,
798 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
799 &quot;boolValue&quot;: True or False, # Represents a boolean value.
800 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
801 &quot;values&quot;: [ # Repeated field of dynamically typed values.
802 # Object with schema name: GenaiVertexV1beta1Value
803 ],
804 },
805 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
806 &quot;numberValue&quot;: 3.14, # Represents a double value.
807 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
808 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
809 },
810 },
811 ],
812 },
813 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
814 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
815 },
816 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
817 &quot;urlContextCall&quot;: { # URL context content.
818 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
819 &quot;urls&quot;: [ # The URLs to fetch.
820 &quot;A String&quot;,
821 ],
822 },
823 },
824 },
825 &quot;toolResult&quot;: { # Tool result content.
826 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
827 &quot;codeExecutionResult&quot;: { # Code execution result content.
828 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
829 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
830 },
831 &quot;fileSearchResult&quot;: { # File Search result content.
832 &quot;result&quot;: [ # Optional. The results of the File Search.
833 { # The result of the File Search.
834 },
835 ],
836 },
837 &quot;functionResult&quot;: { # A function tool result content block.
838 &quot;contentList&quot;: {
839 &quot;contents&quot;: [
840 {
841 &quot;image&quot;: { # An image content block.
842 &quot;data&quot;: &quot;A String&quot;, # The image content.
843 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
844 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
845 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
846 },
847 &quot;text&quot;: { # A text content block.
848 &quot;annotations&quot;: [ # Citation information for model-generated content.
849 { # Citation information for model-generated content.
850 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
851 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
852 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
853 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
854 { # Represents a single field in a struct.
855 &quot;name&quot;: &quot;A String&quot;,
856 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
857 &quot;boolValue&quot;: True or False, # Represents a boolean value.
858 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
859 &quot;values&quot;: [ # Repeated field of dynamically typed values.
860 # Object with schema name: GenaiVertexV1beta1Value
861 ],
862 },
863 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
864 &quot;numberValue&quot;: 3.14, # Represents a double value.
865 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
866 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
867 },
868 },
869 ],
870 },
871 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
872 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
873 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
874 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
875 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
876 },
877 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
878 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
879 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
880 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
881 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
882 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
883 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
884 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
885 },
886 ],
887 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
888 },
889 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
890 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
891 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
892 &quot;url&quot;: &quot;A String&quot;, # The URL.
893 },
894 },
895 ],
896 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
897 },
898 },
899 ],
900 },
901 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
902 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
903 &quot;stringResult&quot;: &quot;A String&quot;,
904 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
905 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
906 { # Represents a single field in a struct.
907 &quot;name&quot;: &quot;A String&quot;,
908 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
909 &quot;boolValue&quot;: True or False, # Represents a boolean value.
910 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
911 &quot;values&quot;: [ # Repeated field of dynamically typed values.
912 # Object with schema name: GenaiVertexV1beta1Value
913 ],
914 },
915 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
916 &quot;numberValue&quot;: 3.14, # Represents a double value.
917 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
918 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
919 },
920 },
921 ],
922 },
923 },
924 &quot;googleMapsResult&quot;: { # Google Maps result content.
925 &quot;result&quot;: [ # Required. The results of the Google Maps.
926 { # The result of the Google Maps.
927 &quot;places&quot;: [ # The places that were found.
928 {
929 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
930 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
931 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
932 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
933 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
934 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
935 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
936 },
937 ],
938 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
939 },
940 ],
941 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
942 },
943 ],
944 },
945 &quot;googleSearchResult&quot;: { # Google Search result content.
946 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
947 &quot;result&quot;: [ # Required. The results of the Google Search.
948 { # The result of the Google Search.
949 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
950 },
951 ],
952 },
953 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
954 &quot;contentList&quot;: {
955 &quot;contents&quot;: [
956 {
957 &quot;image&quot;: { # An image content block.
958 &quot;data&quot;: &quot;A String&quot;, # The image content.
959 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
960 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
961 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
962 },
963 &quot;text&quot;: { # A text content block.
964 &quot;annotations&quot;: [ # Citation information for model-generated content.
965 { # Citation information for model-generated content.
966 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
967 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
968 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
969 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
970 { # Represents a single field in a struct.
971 &quot;name&quot;: &quot;A String&quot;,
972 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
973 &quot;boolValue&quot;: True or False, # Represents a boolean value.
974 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
975 &quot;values&quot;: [ # Repeated field of dynamically typed values.
976 # Object with schema name: GenaiVertexV1beta1Value
977 ],
978 },
979 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
980 &quot;numberValue&quot;: 3.14, # Represents a double value.
981 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
982 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
983 },
984 },
985 ],
986 },
987 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
988 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
989 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
990 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
991 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
992 },
993 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
994 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
995 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
996 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
997 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
998 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
999 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
1000 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
1001 },
1002 ],
1003 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
1004 },
1005 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
1006 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
1007 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
1008 &quot;url&quot;: &quot;A String&quot;, # The URL.
1009 },
1010 },
1011 ],
1012 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
1013 },
1014 },
1015 ],
1016 },
1017 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
1018 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
1019 &quot;stringResult&quot;: &quot;A String&quot;,
1020 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
1021 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1022 { # Represents a single field in a struct.
1023 &quot;name&quot;: &quot;A String&quot;,
1024 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1025 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1026 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1027 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1028 # Object with schema name: GenaiVertexV1beta1Value
1029 ],
1030 },
1031 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1032 &quot;numberValue&quot;: 3.14, # Represents a double value.
1033 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1034 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1035 },
1036 },
1037 ],
1038 },
1039 },
1040 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
1041 &quot;urlContextResult&quot;: { # URL context result content.
1042 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
1043 &quot;result&quot;: [ # Required. The results of the URL context.
1044 { # The result of the URL context.
1045 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
1046 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
1047 },
1048 ],
1049 },
1050 },
1051 &quot;video&quot;: { # A video content block.
1052 &quot;data&quot;: &quot;A String&quot;, # The video content.
1053 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
1054 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
1055 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
1056 },
1057 },
1058 ],
1059 },
1060 &quot;created&quot;: &quot;A String&quot;, # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
1061 &quot;envId&quot;: &quot;A String&quot;, # The environment ID for the interaction. Can be &#x27;remote&#x27; for default environment.
1062 &quot;environmentId&quot;: &quot;A String&quot;, # Output only. The environment ID for the interaction. Only populated if environment config is set in the request.
1063 &quot;id&quot;: &quot;A String&quot;, # Required. Output only. A unique identifier for the interaction completion.
1064 &quot;modelInteraction&quot;: { # Interaction for generating the completion using models. # Interaction for generating the completion using models.
1065 &quot;cached_content&quot;: &quot;A String&quot;, # The name of the cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings. Format: `projects/{project}/locations/{location}/cachedContents/{cachedContent}`
1066 &quot;generationConfig&quot;: { # Configuration parameters for model interactions. # Input only. Configuration parameters for the model interaction.
1067 &quot;frequency_penalty&quot;: 3.14, # Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0].
1068 &quot;imageConfig&quot;: { # The configuration for image interaction. # Configuration for image interaction.
1069 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio of the image to generate. Supported aspect ratios: 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9. If not specified, the model will choose a default aspect ratio based on any reference images provided.
1070 &quot;imageSize&quot;: &quot;A String&quot;, # Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
1071 },
1072 &quot;maxOutputTokens&quot;: 42, # The maximum number of tokens to include in the response.
1073 &quot;presence_penalty&quot;: 3.14, # Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0].
1074 &quot;seed&quot;: 42, # Seed used in decoding for reproducibility.
1075 &quot;speechConfig&quot;: [ # Configuration for speech interaction.
1076 { # The configuration for speech interaction.
1077 &quot;language&quot;: &quot;A String&quot;, # The language of the speech.
1078 &quot;speaker&quot;: &quot;A String&quot;, # The speaker&#x27;s name, it should match the speaker name given in the prompt.
1079 &quot;voice&quot;: &quot;A String&quot;, # The voice of the speaker.
1080 },
1081 ],
1082 &quot;stopSequences&quot;: [ # A list of character sequences that will stop output interaction.
1083 &quot;A String&quot;,
1084 ],
1085 &quot;temperature&quot;: 3.14, # Controls the randomness of the output.
1086 &quot;thinkingLevel&quot;: &quot;A String&quot;, # The level of thought tokens that the model should generate.
1087 &quot;thinkingSummaries&quot;: &quot;A String&quot;, # Whether to include thought summaries in the response.
1088 &quot;toolChoiceConfig&quot;: { # The tool choice configuration containing allowed tools. # The config for the tool choice.
1089 &quot;allowedTools&quot;: { # The configuration for allowed tools. # The allowed tools.
1090 &quot;mode&quot;: &quot;A String&quot;, # The mode of the tool choice.
1091 &quot;tools&quot;: [ # The names of the allowed tools.
1092 &quot;A String&quot;,
1093 ],
1094 },
1095 },
1096 &quot;toolChoiceMode&quot;: &quot;A String&quot;, # The mode of the tool choice.
1097 &quot;topP&quot;: 3.14, # The maximum cumulative probability of tokens to consider when sampling.
1098 },
1099 &quot;model&quot;: &quot;A String&quot;, # The name of the `Model` used for generating the completion.
1100 },
1101 &quot;outputs&quot;: [ # Output only. Responses from the model.
1102 { # The content of the response.
1103 &quot;audio&quot;: { # An audio content block.
1104 &quot;channels&quot;: 42, # The number of audio channels.
1105 &quot;data&quot;: &quot;A String&quot;, # The audio content.
1106 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
1107 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
1108 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
1109 },
1110 &quot;document&quot;: { # A document content block.
1111 &quot;data&quot;: &quot;A String&quot;, # The document content.
1112 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
1113 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
1114 },
1115 &quot;image&quot;: { # An image content block.
1116 &quot;data&quot;: &quot;A String&quot;, # The image content.
1117 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
1118 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
1119 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
1120 },
1121 &quot;text&quot;: { # A text content block.
1122 &quot;annotations&quot;: [ # Citation information for model-generated content.
1123 { # Citation information for model-generated content.
1124 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
1125 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
1126 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
1127 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1128 { # Represents a single field in a struct.
1129 &quot;name&quot;: &quot;A String&quot;,
1130 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1131 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1132 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1133 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1134 # Object with schema name: GenaiVertexV1beta1Value
1135 ],
1136 },
1137 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1138 &quot;numberValue&quot;: 3.14, # Represents a double value.
1139 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1140 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1141 },
1142 },
1143 ],
1144 },
1145 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
1146 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
1147 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
1148 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
1149 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
1150 },
1151 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
1152 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
1153 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
1154 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
1155 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
1156 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
1157 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
1158 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
1159 },
1160 ],
1161 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
1162 },
1163 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
1164 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
1165 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
1166 &quot;url&quot;: &quot;A String&quot;, # The URL.
1167 },
1168 },
1169 ],
1170 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
1171 },
1172 &quot;thought&quot;: { # A thought content block.
1173 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
1174 &quot;summary&quot;: [ # A summary of the thought.
1175 {
1176 &quot;image&quot;: { # An image content block.
1177 &quot;data&quot;: &quot;A String&quot;, # The image content.
1178 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
1179 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
1180 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
1181 },
1182 &quot;text&quot;: { # A text content block.
1183 &quot;annotations&quot;: [ # Citation information for model-generated content.
1184 { # Citation information for model-generated content.
1185 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
1186 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
1187 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
1188 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1189 { # Represents a single field in a struct.
1190 &quot;name&quot;: &quot;A String&quot;,
1191 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1192 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1193 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1194 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1195 # Object with schema name: GenaiVertexV1beta1Value
1196 ],
1197 },
1198 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1199 &quot;numberValue&quot;: 3.14, # Represents a double value.
1200 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1201 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1202 },
1203 },
1204 ],
1205 },
1206 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
1207 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
1208 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
1209 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
1210 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
1211 },
1212 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
1213 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
1214 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
1215 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
1216 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
1217 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
1218 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
1219 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
1220 },
1221 ],
1222 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
1223 },
1224 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
1225 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
1226 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
1227 &quot;url&quot;: &quot;A String&quot;, # The URL.
1228 },
1229 },
1230 ],
1231 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
1232 },
1233 },
1234 ],
1235 },
1236 &quot;toolCall&quot;: { # Tool call content.
1237 &quot;codeExecutionCall&quot;: { # Code execution content.
1238 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
1239 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
1240 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
1241 },
1242 },
1243 &quot;fileSearchCall&quot;: { # File Search content.
1244 },
1245 &quot;functionCall&quot;: { # A function tool call content block.
1246 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
1247 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1248 { # Represents a single field in a struct.
1249 &quot;name&quot;: &quot;A String&quot;,
1250 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1251 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1252 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1253 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1254 # Object with schema name: GenaiVertexV1beta1Value
1255 ],
1256 },
1257 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1258 &quot;numberValue&quot;: 3.14, # Represents a double value.
1259 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1260 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1261 },
1262 },
1263 ],
1264 },
1265 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
1266 },
1267 &quot;googleMapsCall&quot;: { # Google Maps content.
1268 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
1269 &quot;queries&quot;: [ # The queries to be executed.
1270 &quot;A String&quot;,
1271 ],
1272 },
1273 },
1274 &quot;googleSearchCall&quot;: { # Google Search content.
1275 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
1276 &quot;queries&quot;: [ # Web search queries for the following-up web search.
1277 &quot;A String&quot;,
1278 ],
1279 },
1280 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
1281 },
1282 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
1283 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
1284 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
1285 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1286 { # Represents a single field in a struct.
1287 &quot;name&quot;: &quot;A String&quot;,
1288 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1289 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1290 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1291 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1292 # Object with schema name: GenaiVertexV1beta1Value
1293 ],
1294 },
1295 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1296 &quot;numberValue&quot;: 3.14, # Represents a double value.
1297 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1298 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1299 },
1300 },
1301 ],
1302 },
1303 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
1304 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
1305 },
1306 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
1307 &quot;urlContextCall&quot;: { # URL context content.
1308 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
1309 &quot;urls&quot;: [ # The URLs to fetch.
1310 &quot;A String&quot;,
1311 ],
1312 },
1313 },
1314 },
1315 &quot;toolResult&quot;: { # Tool result content.
1316 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
1317 &quot;codeExecutionResult&quot;: { # Code execution result content.
1318 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
1319 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
1320 },
1321 &quot;fileSearchResult&quot;: { # File Search result content.
1322 &quot;result&quot;: [ # Optional. The results of the File Search.
1323 { # The result of the File Search.
1324 },
1325 ],
1326 },
1327 &quot;functionResult&quot;: { # A function tool result content block.
1328 &quot;contentList&quot;: {
1329 &quot;contents&quot;: [
1330 {
1331 &quot;image&quot;: { # An image content block.
1332 &quot;data&quot;: &quot;A String&quot;, # The image content.
1333 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
1334 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
1335 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
1336 },
1337 &quot;text&quot;: { # A text content block.
1338 &quot;annotations&quot;: [ # Citation information for model-generated content.
1339 { # Citation information for model-generated content.
1340 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
1341 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
1342 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
1343 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1344 { # Represents a single field in a struct.
1345 &quot;name&quot;: &quot;A String&quot;,
1346 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1347 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1348 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1349 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1350 # Object with schema name: GenaiVertexV1beta1Value
1351 ],
1352 },
1353 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1354 &quot;numberValue&quot;: 3.14, # Represents a double value.
1355 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1356 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1357 },
1358 },
1359 ],
1360 },
1361 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
1362 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
1363 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
1364 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
1365 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
1366 },
1367 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
1368 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
1369 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
1370 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
1371 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
1372 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
1373 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
1374 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
1375 },
1376 ],
1377 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
1378 },
1379 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
1380 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
1381 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
1382 &quot;url&quot;: &quot;A String&quot;, # The URL.
1383 },
1384 },
1385 ],
1386 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
1387 },
1388 },
1389 ],
1390 },
1391 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
1392 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
1393 &quot;stringResult&quot;: &quot;A String&quot;,
1394 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
1395 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1396 { # Represents a single field in a struct.
1397 &quot;name&quot;: &quot;A String&quot;,
1398 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1399 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1400 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1401 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1402 # Object with schema name: GenaiVertexV1beta1Value
1403 ],
1404 },
1405 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1406 &quot;numberValue&quot;: 3.14, # Represents a double value.
1407 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1408 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1409 },
1410 },
1411 ],
1412 },
1413 },
1414 &quot;googleMapsResult&quot;: { # Google Maps result content.
1415 &quot;result&quot;: [ # Required. The results of the Google Maps.
1416 { # The result of the Google Maps.
1417 &quot;places&quot;: [ # The places that were found.
1418 {
1419 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
1420 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
1421 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
1422 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
1423 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
1424 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
1425 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
1426 },
1427 ],
1428 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
1429 },
1430 ],
1431 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
1432 },
1433 ],
1434 },
1435 &quot;googleSearchResult&quot;: { # Google Search result content.
1436 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
1437 &quot;result&quot;: [ # Required. The results of the Google Search.
1438 { # The result of the Google Search.
1439 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
1440 },
1441 ],
1442 },
1443 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
1444 &quot;contentList&quot;: {
1445 &quot;contents&quot;: [
1446 {
1447 &quot;image&quot;: { # An image content block.
1448 &quot;data&quot;: &quot;A String&quot;, # The image content.
1449 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
1450 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
1451 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
1452 },
1453 &quot;text&quot;: { # A text content block.
1454 &quot;annotations&quot;: [ # Citation information for model-generated content.
1455 { # Citation information for model-generated content.
1456 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
1457 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
1458 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
1459 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1460 { # Represents a single field in a struct.
1461 &quot;name&quot;: &quot;A String&quot;,
1462 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1463 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1464 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1465 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1466 # Object with schema name: GenaiVertexV1beta1Value
1467 ],
1468 },
1469 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1470 &quot;numberValue&quot;: 3.14, # Represents a double value.
1471 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1472 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1473 },
1474 },
1475 ],
1476 },
1477 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
1478 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
1479 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
1480 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
1481 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
1482 },
1483 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
1484 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
1485 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
1486 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
1487 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
1488 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
1489 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
1490 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
1491 },
1492 ],
1493 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
1494 },
1495 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
1496 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
1497 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
1498 &quot;url&quot;: &quot;A String&quot;, # The URL.
1499 },
1500 },
1501 ],
1502 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
1503 },
1504 },
1505 ],
1506 },
1507 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
1508 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
1509 &quot;stringResult&quot;: &quot;A String&quot;,
1510 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
1511 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1512 { # Represents a single field in a struct.
1513 &quot;name&quot;: &quot;A String&quot;,
1514 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1515 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1516 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1517 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1518 # Object with schema name: GenaiVertexV1beta1Value
1519 ],
1520 },
1521 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1522 &quot;numberValue&quot;: 3.14, # Represents a double value.
1523 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1524 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1525 },
1526 },
1527 ],
1528 },
1529 },
1530 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
1531 &quot;urlContextResult&quot;: { # URL context result content.
1532 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
1533 &quot;result&quot;: [ # Required. The results of the URL context.
1534 { # The result of the URL context.
1535 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
1536 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
1537 },
1538 ],
1539 },
1540 },
1541 &quot;video&quot;: { # A video content block.
1542 &quot;data&quot;: &quot;A String&quot;, # The video content.
1543 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
1544 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
1545 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
1546 },
1547 },
1548 ],
1549 &quot;previousInteractionId&quot;: &quot;A String&quot;, # The ID of the previous interaction, if any.
1550 &quot;remoteEnvironment&quot;: { # Configuration for a custom environment.
1551 &quot;networkAllowlist&quot;: { # Network egress configuration for the environment. # Allow only specific domains.
1552 &quot;allowlist&quot;: [ # List of allowed domains and their configurations.
1553 { # A network egress rule that controls which external domains the environment is allowed to reach. Each rule identifies a target domain and, optionally, a set of HTTP headers to inject into every matching outbound request.
1554 &quot;domain&quot;: &quot;A String&quot;, # The domain pattern to match for this rule. Use an exact hostname (e.g., `github.com`), a wildcard prefix (e.g., `*.googleapis.com`), or `*` to match all domains.
1555 &quot;transform&quot;: { # Headers to inject into requests matching this rule. Key: header name (e.g., &quot;Authorization&quot;). Value: header value (e.g., &quot;Bearer your-token&quot;).
1556 &quot;a_key&quot;: &quot;A String&quot;,
1557 },
1558 },
1559 ],
1560 },
1561 &quot;networkMode&quot;: &quot;A String&quot;, # Network egress mode.
1562 &quot;sources&quot;: [
1563 { # A source to be mounted into the environment.
1564 &quot;content&quot;: &quot;A String&quot;, # The inline content if `type` is `INLINE`.
1565 &quot;encoding&quot;: &quot;A String&quot;, # Optional encoding for inline content (e.g. `base64`).
1566 &quot;source&quot;: &quot;A String&quot;, # The source of the environment. For GCS, this is the GCS path. For GitHub, this is the GitHub path.
1567 &quot;target&quot;: &quot;A String&quot;, # Where the source should appear in the environment.
1568 &quot;type&quot;: &quot;A String&quot;,
1569 },
1570 ],
1571 },
1572 &quot;responseFormat&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
1573 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1574 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1575 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1576 # Object with schema name: GenaiVertexV1beta1Value
1577 ],
1578 },
1579 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1580 &quot;numberValue&quot;: 3.14, # Represents a double value.
1581 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1582 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1583 },
1584 &quot;responseFormatList&quot;: {
1585 &quot;responseFormats&quot;: [
1586 {
1587 &quot;audio&quot;: { # Configuration for audio output format.
1588 &quot;bitRate&quot;: 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
1589 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the audio output.
1590 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the audio output.
1591 &quot;sampleRate&quot;: 42, # Sample rate in Hz.
1592 },
1593 &quot;image&quot;: { # Configuration for image output format.
1594 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio for the image output.
1595 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the image output.
1596 &quot;imageSize&quot;: &quot;A String&quot;, # The size of the image output.
1597 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the image output.
1598 },
1599 &quot;structValue&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
1600 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1601 { # Represents a single field in a struct.
1602 &quot;name&quot;: &quot;A String&quot;,
1603 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1604 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1605 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1606 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1607 # Object with schema name: GenaiVertexV1beta1Value
1608 ],
1609 },
1610 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1611 &quot;numberValue&quot;: 3.14, # Represents a double value.
1612 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1613 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1614 },
1615 },
1616 ],
1617 },
1618 &quot;text&quot;: { # Configuration for text output format.
1619 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the text output.
1620 &quot;schema&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
1621 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1622 { # Represents a single field in a struct.
1623 &quot;name&quot;: &quot;A String&quot;,
1624 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1625 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1626 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1627 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1628 # Object with schema name: GenaiVertexV1beta1Value
1629 ],
1630 },
1631 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1632 &quot;numberValue&quot;: 3.14, # Represents a double value.
1633 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1634 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1635 },
1636 },
1637 ],
1638 },
1639 },
1640 },
1641 ],
1642 },
1643 &quot;responseFormatSingleton&quot;: {
1644 &quot;audio&quot;: { # Configuration for audio output format.
1645 &quot;bitRate&quot;: 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
1646 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the audio output.
1647 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the audio output.
1648 &quot;sampleRate&quot;: 42, # Sample rate in Hz.
1649 },
1650 &quot;image&quot;: { # Configuration for image output format.
1651 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio for the image output.
1652 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the image output.
1653 &quot;imageSize&quot;: &quot;A String&quot;, # The size of the image output.
1654 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the image output.
1655 },
1656 &quot;structValue&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
1657 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1658 { # Represents a single field in a struct.
1659 &quot;name&quot;: &quot;A String&quot;,
1660 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1661 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1662 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1663 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1664 # Object with schema name: GenaiVertexV1beta1Value
1665 ],
1666 },
1667 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1668 &quot;numberValue&quot;: 3.14, # Represents a double value.
1669 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1670 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1671 },
1672 },
1673 ],
1674 },
1675 &quot;text&quot;: { # Configuration for text output format.
1676 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the text output.
1677 &quot;schema&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
1678 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1679 { # Represents a single field in a struct.
1680 &quot;name&quot;: &quot;A String&quot;,
1681 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1682 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1683 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1684 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1685 # Object with schema name: GenaiVertexV1beta1Value
1686 ],
1687 },
1688 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1689 &quot;numberValue&quot;: 3.14, # Represents a double value.
1690 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1691 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1692 },
1693 },
1694 ],
1695 },
1696 },
1697 },
1698 &quot;responseMimeType&quot;: &quot;A String&quot;, # The mime type of the response. This is required if response_format is set.
1699 &quot;responseModalities&quot;: [ # The requested modalities of the response (TEXT, IMAGE, AUDIO).
1700 &quot;A String&quot;,
1701 ],
1702 &quot;role&quot;: &quot;A String&quot;, # Output only. The role of the interaction.
1703 &quot;status&quot;: &quot;A String&quot;, # Required. Output only. The status of the interaction.
1704 &quot;stepList&quot;: { # A list of Steps. # Input only. The steps for the interaction.
1705 &quot;steps&quot;: [ # The steps of the list.
1706 { # A step in the interaction.
1707 &quot;modelOutput&quot;: { # Output generated by the model.
1708 &quot;content&quot;: [
1709 { # The content of the response.
1710 &quot;audio&quot;: { # An audio content block.
1711 &quot;channels&quot;: 42, # The number of audio channels.
1712 &quot;data&quot;: &quot;A String&quot;, # The audio content.
1713 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
1714 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
1715 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
1716 },
1717 &quot;document&quot;: { # A document content block.
1718 &quot;data&quot;: &quot;A String&quot;, # The document content.
1719 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
1720 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
1721 },
1722 &quot;image&quot;: { # An image content block.
1723 &quot;data&quot;: &quot;A String&quot;, # The image content.
1724 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
1725 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
1726 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
1727 },
1728 &quot;text&quot;: { # A text content block.
1729 &quot;annotations&quot;: [ # Citation information for model-generated content.
1730 { # Citation information for model-generated content.
1731 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
1732 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
1733 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
1734 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1735 { # Represents a single field in a struct.
1736 &quot;name&quot;: &quot;A String&quot;,
1737 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1738 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1739 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1740 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1741 # Object with schema name: GenaiVertexV1beta1Value
1742 ],
1743 },
1744 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1745 &quot;numberValue&quot;: 3.14, # Represents a double value.
1746 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1747 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1748 },
1749 },
1750 ],
1751 },
1752 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
1753 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
1754 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
1755 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
1756 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
1757 },
1758 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
1759 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
1760 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
1761 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
1762 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
1763 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
1764 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
1765 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
1766 },
1767 ],
1768 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
1769 },
1770 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
1771 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
1772 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
1773 &quot;url&quot;: &quot;A String&quot;, # The URL.
1774 },
1775 },
1776 ],
1777 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
1778 },
1779 &quot;thought&quot;: { # A thought content block.
1780 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
1781 &quot;summary&quot;: [ # A summary of the thought.
1782 {
1783 &quot;image&quot;: { # An image content block.
1784 &quot;data&quot;: &quot;A String&quot;, # The image content.
1785 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
1786 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
1787 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
1788 },
1789 &quot;text&quot;: { # A text content block.
1790 &quot;annotations&quot;: [ # Citation information for model-generated content.
1791 { # Citation information for model-generated content.
1792 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
1793 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
1794 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
1795 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1796 { # Represents a single field in a struct.
1797 &quot;name&quot;: &quot;A String&quot;,
1798 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1799 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1800 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1801 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1802 # Object with schema name: GenaiVertexV1beta1Value
1803 ],
1804 },
1805 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1806 &quot;numberValue&quot;: 3.14, # Represents a double value.
1807 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1808 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1809 },
1810 },
1811 ],
1812 },
1813 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
1814 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
1815 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
1816 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
1817 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
1818 },
1819 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
1820 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
1821 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
1822 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
1823 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
1824 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
1825 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
1826 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
1827 },
1828 ],
1829 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
1830 },
1831 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
1832 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
1833 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
1834 &quot;url&quot;: &quot;A String&quot;, # The URL.
1835 },
1836 },
1837 ],
1838 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
1839 },
1840 },
1841 ],
1842 },
1843 &quot;toolCall&quot;: { # Tool call content.
1844 &quot;codeExecutionCall&quot;: { # Code execution content.
1845 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
1846 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
1847 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
1848 },
1849 },
1850 &quot;fileSearchCall&quot;: { # File Search content.
1851 },
1852 &quot;functionCall&quot;: { # A function tool call content block.
1853 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
1854 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1855 { # Represents a single field in a struct.
1856 &quot;name&quot;: &quot;A String&quot;,
1857 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1858 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1859 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1860 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1861 # Object with schema name: GenaiVertexV1beta1Value
1862 ],
1863 },
1864 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1865 &quot;numberValue&quot;: 3.14, # Represents a double value.
1866 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1867 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1868 },
1869 },
1870 ],
1871 },
1872 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
1873 },
1874 &quot;googleMapsCall&quot;: { # Google Maps content.
1875 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
1876 &quot;queries&quot;: [ # The queries to be executed.
1877 &quot;A String&quot;,
1878 ],
1879 },
1880 },
1881 &quot;googleSearchCall&quot;: { # Google Search content.
1882 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
1883 &quot;queries&quot;: [ # Web search queries for the following-up web search.
1884 &quot;A String&quot;,
1885 ],
1886 },
1887 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
1888 },
1889 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
1890 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
1891 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
1892 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1893 { # Represents a single field in a struct.
1894 &quot;name&quot;: &quot;A String&quot;,
1895 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1896 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1897 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1898 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1899 # Object with schema name: GenaiVertexV1beta1Value
1900 ],
1901 },
1902 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1903 &quot;numberValue&quot;: 3.14, # Represents a double value.
1904 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1905 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1906 },
1907 },
1908 ],
1909 },
1910 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
1911 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
1912 },
1913 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
1914 &quot;urlContextCall&quot;: { # URL context content.
1915 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
1916 &quot;urls&quot;: [ # The URLs to fetch.
1917 &quot;A String&quot;,
1918 ],
1919 },
1920 },
1921 },
1922 &quot;toolResult&quot;: { # Tool result content.
1923 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
1924 &quot;codeExecutionResult&quot;: { # Code execution result content.
1925 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
1926 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
1927 },
1928 &quot;fileSearchResult&quot;: { # File Search result content.
1929 &quot;result&quot;: [ # Optional. The results of the File Search.
1930 { # The result of the File Search.
1931 },
1932 ],
1933 },
1934 &quot;functionResult&quot;: { # A function tool result content block.
1935 &quot;contentList&quot;: {
1936 &quot;contents&quot;: [
1937 {
1938 &quot;image&quot;: { # An image content block.
1939 &quot;data&quot;: &quot;A String&quot;, # The image content.
1940 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
1941 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
1942 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
1943 },
1944 &quot;text&quot;: { # A text content block.
1945 &quot;annotations&quot;: [ # Citation information for model-generated content.
1946 { # Citation information for model-generated content.
1947 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
1948 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
1949 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
1950 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
1951 { # Represents a single field in a struct.
1952 &quot;name&quot;: &quot;A String&quot;,
1953 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
1954 &quot;boolValue&quot;: True or False, # Represents a boolean value.
1955 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
1956 &quot;values&quot;: [ # Repeated field of dynamically typed values.
1957 # Object with schema name: GenaiVertexV1beta1Value
1958 ],
1959 },
1960 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
1961 &quot;numberValue&quot;: 3.14, # Represents a double value.
1962 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
1963 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
1964 },
1965 },
1966 ],
1967 },
1968 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
1969 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
1970 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
1971 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
1972 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
1973 },
1974 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
1975 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
1976 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
1977 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
1978 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
1979 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
1980 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
1981 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
1982 },
1983 ],
1984 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
1985 },
1986 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
1987 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
1988 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
1989 &quot;url&quot;: &quot;A String&quot;, # The URL.
1990 },
1991 },
1992 ],
1993 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
1994 },
1995 },
1996 ],
1997 },
1998 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
1999 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
2000 &quot;stringResult&quot;: &quot;A String&quot;,
2001 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
2002 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2003 { # Represents a single field in a struct.
2004 &quot;name&quot;: &quot;A String&quot;,
2005 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2006 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2007 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2008 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2009 # Object with schema name: GenaiVertexV1beta1Value
2010 ],
2011 },
2012 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2013 &quot;numberValue&quot;: 3.14, # Represents a double value.
2014 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2015 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2016 },
2017 },
2018 ],
2019 },
2020 },
2021 &quot;googleMapsResult&quot;: { # Google Maps result content.
2022 &quot;result&quot;: [ # Required. The results of the Google Maps.
2023 { # The result of the Google Maps.
2024 &quot;places&quot;: [ # The places that were found.
2025 {
2026 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
2027 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
2028 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
2029 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
2030 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
2031 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
2032 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
2033 },
2034 ],
2035 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
2036 },
2037 ],
2038 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
2039 },
2040 ],
2041 },
2042 &quot;googleSearchResult&quot;: { # Google Search result content.
2043 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
2044 &quot;result&quot;: [ # Required. The results of the Google Search.
2045 { # The result of the Google Search.
2046 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
2047 },
2048 ],
2049 },
2050 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
2051 &quot;contentList&quot;: {
2052 &quot;contents&quot;: [
2053 {
2054 &quot;image&quot;: { # An image content block.
2055 &quot;data&quot;: &quot;A String&quot;, # The image content.
2056 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
2057 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
2058 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
2059 },
2060 &quot;text&quot;: { # A text content block.
2061 &quot;annotations&quot;: [ # Citation information for model-generated content.
2062 { # Citation information for model-generated content.
2063 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
2064 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
2065 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
2066 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2067 { # Represents a single field in a struct.
2068 &quot;name&quot;: &quot;A String&quot;,
2069 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2070 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2071 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2072 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2073 # Object with schema name: GenaiVertexV1beta1Value
2074 ],
2075 },
2076 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2077 &quot;numberValue&quot;: 3.14, # Represents a double value.
2078 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2079 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2080 },
2081 },
2082 ],
2083 },
2084 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
2085 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
2086 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
2087 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
2088 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
2089 },
2090 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
2091 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
2092 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
2093 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
2094 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
2095 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
2096 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
2097 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
2098 },
2099 ],
2100 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
2101 },
2102 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
2103 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
2104 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
2105 &quot;url&quot;: &quot;A String&quot;, # The URL.
2106 },
2107 },
2108 ],
2109 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
2110 },
2111 },
2112 ],
2113 },
2114 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
2115 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
2116 &quot;stringResult&quot;: &quot;A String&quot;,
2117 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
2118 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2119 { # Represents a single field in a struct.
2120 &quot;name&quot;: &quot;A String&quot;,
2121 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2122 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2123 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2124 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2125 # Object with schema name: GenaiVertexV1beta1Value
2126 ],
2127 },
2128 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2129 &quot;numberValue&quot;: 3.14, # Represents a double value.
2130 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2131 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2132 },
2133 },
2134 ],
2135 },
2136 },
2137 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
2138 &quot;urlContextResult&quot;: { # URL context result content.
2139 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
2140 &quot;result&quot;: [ # Required. The results of the URL context.
2141 { # The result of the URL context.
2142 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
2143 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
2144 },
2145 ],
2146 },
2147 },
2148 &quot;video&quot;: { # A video content block.
2149 &quot;data&quot;: &quot;A String&quot;, # The video content.
2150 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
2151 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
2152 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
2153 },
2154 },
2155 ],
2156 },
2157 &quot;thought&quot;: { # A thought step.
2158 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
2159 &quot;summary&quot;: [ # A summary of the thought.
2160 { # The content of the response.
2161 &quot;audio&quot;: { # An audio content block.
2162 &quot;channels&quot;: 42, # The number of audio channels.
2163 &quot;data&quot;: &quot;A String&quot;, # The audio content.
2164 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
2165 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
2166 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
2167 },
2168 &quot;document&quot;: { # A document content block.
2169 &quot;data&quot;: &quot;A String&quot;, # The document content.
2170 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
2171 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
2172 },
2173 &quot;image&quot;: { # An image content block.
2174 &quot;data&quot;: &quot;A String&quot;, # The image content.
2175 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
2176 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
2177 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
2178 },
2179 &quot;text&quot;: { # A text content block.
2180 &quot;annotations&quot;: [ # Citation information for model-generated content.
2181 { # Citation information for model-generated content.
2182 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
2183 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
2184 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
2185 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2186 { # Represents a single field in a struct.
2187 &quot;name&quot;: &quot;A String&quot;,
2188 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2189 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2190 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2191 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2192 # Object with schema name: GenaiVertexV1beta1Value
2193 ],
2194 },
2195 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2196 &quot;numberValue&quot;: 3.14, # Represents a double value.
2197 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2198 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2199 },
2200 },
2201 ],
2202 },
2203 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
2204 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
2205 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
2206 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
2207 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
2208 },
2209 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
2210 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
2211 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
2212 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
2213 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
2214 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
2215 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
2216 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
2217 },
2218 ],
2219 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
2220 },
2221 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
2222 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
2223 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
2224 &quot;url&quot;: &quot;A String&quot;, # The URL.
2225 },
2226 },
2227 ],
2228 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
2229 },
2230 &quot;thought&quot;: { # A thought content block.
2231 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
2232 &quot;summary&quot;: [ # A summary of the thought.
2233 {
2234 &quot;image&quot;: { # An image content block.
2235 &quot;data&quot;: &quot;A String&quot;, # The image content.
2236 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
2237 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
2238 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
2239 },
2240 &quot;text&quot;: { # A text content block.
2241 &quot;annotations&quot;: [ # Citation information for model-generated content.
2242 { # Citation information for model-generated content.
2243 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
2244 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
2245 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
2246 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2247 { # Represents a single field in a struct.
2248 &quot;name&quot;: &quot;A String&quot;,
2249 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2250 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2251 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2252 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2253 # Object with schema name: GenaiVertexV1beta1Value
2254 ],
2255 },
2256 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2257 &quot;numberValue&quot;: 3.14, # Represents a double value.
2258 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2259 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2260 },
2261 },
2262 ],
2263 },
2264 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
2265 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
2266 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
2267 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
2268 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
2269 },
2270 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
2271 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
2272 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
2273 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
2274 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
2275 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
2276 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
2277 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
2278 },
2279 ],
2280 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
2281 },
2282 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
2283 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
2284 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
2285 &quot;url&quot;: &quot;A String&quot;, # The URL.
2286 },
2287 },
2288 ],
2289 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
2290 },
2291 },
2292 ],
2293 },
2294 &quot;toolCall&quot;: { # Tool call content.
2295 &quot;codeExecutionCall&quot;: { # Code execution content.
2296 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
2297 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
2298 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
2299 },
2300 },
2301 &quot;fileSearchCall&quot;: { # File Search content.
2302 },
2303 &quot;functionCall&quot;: { # A function tool call content block.
2304 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
2305 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2306 { # Represents a single field in a struct.
2307 &quot;name&quot;: &quot;A String&quot;,
2308 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2309 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2310 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2311 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2312 # Object with schema name: GenaiVertexV1beta1Value
2313 ],
2314 },
2315 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2316 &quot;numberValue&quot;: 3.14, # Represents a double value.
2317 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2318 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2319 },
2320 },
2321 ],
2322 },
2323 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
2324 },
2325 &quot;googleMapsCall&quot;: { # Google Maps content.
2326 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
2327 &quot;queries&quot;: [ # The queries to be executed.
2328 &quot;A String&quot;,
2329 ],
2330 },
2331 },
2332 &quot;googleSearchCall&quot;: { # Google Search content.
2333 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
2334 &quot;queries&quot;: [ # Web search queries for the following-up web search.
2335 &quot;A String&quot;,
2336 ],
2337 },
2338 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
2339 },
2340 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
2341 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
2342 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
2343 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2344 { # Represents a single field in a struct.
2345 &quot;name&quot;: &quot;A String&quot;,
2346 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2347 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2348 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2349 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2350 # Object with schema name: GenaiVertexV1beta1Value
2351 ],
2352 },
2353 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2354 &quot;numberValue&quot;: 3.14, # Represents a double value.
2355 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2356 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2357 },
2358 },
2359 ],
2360 },
2361 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
2362 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
2363 },
2364 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
2365 &quot;urlContextCall&quot;: { # URL context content.
2366 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
2367 &quot;urls&quot;: [ # The URLs to fetch.
2368 &quot;A String&quot;,
2369 ],
2370 },
2371 },
2372 },
2373 &quot;toolResult&quot;: { # Tool result content.
2374 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
2375 &quot;codeExecutionResult&quot;: { # Code execution result content.
2376 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
2377 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
2378 },
2379 &quot;fileSearchResult&quot;: { # File Search result content.
2380 &quot;result&quot;: [ # Optional. The results of the File Search.
2381 { # The result of the File Search.
2382 },
2383 ],
2384 },
2385 &quot;functionResult&quot;: { # A function tool result content block.
2386 &quot;contentList&quot;: {
2387 &quot;contents&quot;: [
2388 {
2389 &quot;image&quot;: { # An image content block.
2390 &quot;data&quot;: &quot;A String&quot;, # The image content.
2391 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
2392 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
2393 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
2394 },
2395 &quot;text&quot;: { # A text content block.
2396 &quot;annotations&quot;: [ # Citation information for model-generated content.
2397 { # Citation information for model-generated content.
2398 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
2399 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
2400 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
2401 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2402 { # Represents a single field in a struct.
2403 &quot;name&quot;: &quot;A String&quot;,
2404 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2405 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2406 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2407 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2408 # Object with schema name: GenaiVertexV1beta1Value
2409 ],
2410 },
2411 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2412 &quot;numberValue&quot;: 3.14, # Represents a double value.
2413 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2414 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2415 },
2416 },
2417 ],
2418 },
2419 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
2420 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
2421 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
2422 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
2423 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
2424 },
2425 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
2426 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
2427 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
2428 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
2429 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
2430 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
2431 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
2432 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
2433 },
2434 ],
2435 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
2436 },
2437 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
2438 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
2439 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
2440 &quot;url&quot;: &quot;A String&quot;, # The URL.
2441 },
2442 },
2443 ],
2444 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
2445 },
2446 },
2447 ],
2448 },
2449 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
2450 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
2451 &quot;stringResult&quot;: &quot;A String&quot;,
2452 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
2453 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2454 { # Represents a single field in a struct.
2455 &quot;name&quot;: &quot;A String&quot;,
2456 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2457 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2458 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2459 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2460 # Object with schema name: GenaiVertexV1beta1Value
2461 ],
2462 },
2463 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2464 &quot;numberValue&quot;: 3.14, # Represents a double value.
2465 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2466 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2467 },
2468 },
2469 ],
2470 },
2471 },
2472 &quot;googleMapsResult&quot;: { # Google Maps result content.
2473 &quot;result&quot;: [ # Required. The results of the Google Maps.
2474 { # The result of the Google Maps.
2475 &quot;places&quot;: [ # The places that were found.
2476 {
2477 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
2478 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
2479 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
2480 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
2481 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
2482 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
2483 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
2484 },
2485 ],
2486 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
2487 },
2488 ],
2489 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
2490 },
2491 ],
2492 },
2493 &quot;googleSearchResult&quot;: { # Google Search result content.
2494 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
2495 &quot;result&quot;: [ # Required. The results of the Google Search.
2496 { # The result of the Google Search.
2497 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
2498 },
2499 ],
2500 },
2501 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
2502 &quot;contentList&quot;: {
2503 &quot;contents&quot;: [
2504 {
2505 &quot;image&quot;: { # An image content block.
2506 &quot;data&quot;: &quot;A String&quot;, # The image content.
2507 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
2508 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
2509 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
2510 },
2511 &quot;text&quot;: { # A text content block.
2512 &quot;annotations&quot;: [ # Citation information for model-generated content.
2513 { # Citation information for model-generated content.
2514 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
2515 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
2516 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
2517 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2518 { # Represents a single field in a struct.
2519 &quot;name&quot;: &quot;A String&quot;,
2520 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2521 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2522 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2523 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2524 # Object with schema name: GenaiVertexV1beta1Value
2525 ],
2526 },
2527 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2528 &quot;numberValue&quot;: 3.14, # Represents a double value.
2529 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2530 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2531 },
2532 },
2533 ],
2534 },
2535 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
2536 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
2537 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
2538 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
2539 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
2540 },
2541 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
2542 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
2543 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
2544 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
2545 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
2546 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
2547 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
2548 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
2549 },
2550 ],
2551 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
2552 },
2553 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
2554 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
2555 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
2556 &quot;url&quot;: &quot;A String&quot;, # The URL.
2557 },
2558 },
2559 ],
2560 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
2561 },
2562 },
2563 ],
2564 },
2565 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
2566 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
2567 &quot;stringResult&quot;: &quot;A String&quot;,
2568 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
2569 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2570 { # Represents a single field in a struct.
2571 &quot;name&quot;: &quot;A String&quot;,
2572 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2573 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2574 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2575 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2576 # Object with schema name: GenaiVertexV1beta1Value
2577 ],
2578 },
2579 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2580 &quot;numberValue&quot;: 3.14, # Represents a double value.
2581 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2582 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2583 },
2584 },
2585 ],
2586 },
2587 },
2588 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
2589 &quot;urlContextResult&quot;: { # URL context result content.
2590 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
2591 &quot;result&quot;: [ # Required. The results of the URL context.
2592 { # The result of the URL context.
2593 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
2594 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
2595 },
2596 ],
2597 },
2598 },
2599 &quot;video&quot;: { # A video content block.
2600 &quot;data&quot;: &quot;A String&quot;, # The video content.
2601 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
2602 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
2603 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
2604 },
2605 },
2606 ],
2607 },
2608 &quot;toolCall&quot;: { # Tool call step.
2609 &quot;codeExecutionCall&quot;: { # Code execution call step.
2610 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
2611 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
2612 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
2613 },
2614 },
2615 &quot;fileSearchCall&quot;: { # File Search call step.
2616 },
2617 &quot;functionCall&quot;: { # A function tool call step.
2618 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
2619 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2620 { # Represents a single field in a struct.
2621 &quot;name&quot;: &quot;A String&quot;,
2622 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2623 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2624 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2625 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2626 # Object with schema name: GenaiVertexV1beta1Value
2627 ],
2628 },
2629 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2630 &quot;numberValue&quot;: 3.14, # Represents a double value.
2631 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2632 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2633 },
2634 },
2635 ],
2636 },
2637 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
2638 },
2639 &quot;googleMapsCall&quot;: { # Google Maps call step.
2640 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
2641 &quot;queries&quot;: [ # The queries to be executed.
2642 &quot;A String&quot;,
2643 ],
2644 },
2645 },
2646 &quot;googleSearchCall&quot;: { # Google Search call step.
2647 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
2648 &quot;queries&quot;: [ # Web search queries for the following-up web search.
2649 &quot;A String&quot;,
2650 ],
2651 },
2652 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
2653 },
2654 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
2655 &quot;mcpServerToolCall&quot;: { # MCPServer tool call step.
2656 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
2657 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2658 { # Represents a single field in a struct.
2659 &quot;name&quot;: &quot;A String&quot;,
2660 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2661 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2662 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2663 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2664 # Object with schema name: GenaiVertexV1beta1Value
2665 ],
2666 },
2667 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2668 &quot;numberValue&quot;: 3.14, # Represents a double value.
2669 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2670 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2671 },
2672 },
2673 ],
2674 },
2675 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
2676 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
2677 },
2678 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
2679 &quot;urlContextCall&quot;: { # URL context call step.
2680 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
2681 &quot;urls&quot;: [ # The URLs to fetch.
2682 &quot;A String&quot;,
2683 ],
2684 },
2685 },
2686 },
2687 &quot;toolResult&quot;: { # Tool result step.
2688 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
2689 &quot;codeExecutionResult&quot;: { # Code execution result step.
2690 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
2691 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
2692 },
2693 &quot;fileSearchResult&quot;: { # File Search result step.
2694 },
2695 &quot;functionResult&quot;: { # Result of a function tool call.
2696 &quot;contentList&quot;: { # A list of Content.
2697 &quot;contents&quot;: [ # The contents of the list.
2698 { # The content of the response.
2699 &quot;audio&quot;: { # An audio content block.
2700 &quot;channels&quot;: 42, # The number of audio channels.
2701 &quot;data&quot;: &quot;A String&quot;, # The audio content.
2702 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
2703 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
2704 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
2705 },
2706 &quot;document&quot;: { # A document content block.
2707 &quot;data&quot;: &quot;A String&quot;, # The document content.
2708 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
2709 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
2710 },
2711 &quot;image&quot;: { # An image content block.
2712 &quot;data&quot;: &quot;A String&quot;, # The image content.
2713 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
2714 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
2715 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
2716 },
2717 &quot;text&quot;: { # A text content block.
2718 &quot;annotations&quot;: [ # Citation information for model-generated content.
2719 { # Citation information for model-generated content.
2720 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
2721 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
2722 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
2723 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2724 { # Represents a single field in a struct.
2725 &quot;name&quot;: &quot;A String&quot;,
2726 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2727 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2728 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2729 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2730 # Object with schema name: GenaiVertexV1beta1Value
2731 ],
2732 },
2733 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2734 &quot;numberValue&quot;: 3.14, # Represents a double value.
2735 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2736 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2737 },
2738 },
2739 ],
2740 },
2741 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
2742 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
2743 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
2744 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
2745 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
2746 },
2747 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
2748 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
2749 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
2750 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
2751 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
2752 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
2753 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
2754 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
2755 },
2756 ],
2757 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
2758 },
2759 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
2760 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
2761 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
2762 &quot;url&quot;: &quot;A String&quot;, # The URL.
2763 },
2764 },
2765 ],
2766 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
2767 },
2768 &quot;thought&quot;: { # A thought content block.
2769 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
2770 &quot;summary&quot;: [ # A summary of the thought.
2771 {
2772 &quot;image&quot;: { # An image content block.
2773 &quot;data&quot;: &quot;A String&quot;, # The image content.
2774 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
2775 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
2776 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
2777 },
2778 &quot;text&quot;: { # A text content block.
2779 &quot;annotations&quot;: [ # Citation information for model-generated content.
2780 { # Citation information for model-generated content.
2781 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
2782 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
2783 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
2784 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2785 { # Represents a single field in a struct.
2786 &quot;name&quot;: &quot;A String&quot;,
2787 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2788 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2789 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2790 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2791 # Object with schema name: GenaiVertexV1beta1Value
2792 ],
2793 },
2794 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2795 &quot;numberValue&quot;: 3.14, # Represents a double value.
2796 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2797 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2798 },
2799 },
2800 ],
2801 },
2802 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
2803 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
2804 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
2805 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
2806 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
2807 },
2808 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
2809 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
2810 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
2811 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
2812 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
2813 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
2814 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
2815 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
2816 },
2817 ],
2818 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
2819 },
2820 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
2821 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
2822 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
2823 &quot;url&quot;: &quot;A String&quot;, # The URL.
2824 },
2825 },
2826 ],
2827 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
2828 },
2829 },
2830 ],
2831 },
2832 &quot;toolCall&quot;: { # Tool call content.
2833 &quot;codeExecutionCall&quot;: { # Code execution content.
2834 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
2835 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
2836 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
2837 },
2838 },
2839 &quot;fileSearchCall&quot;: { # File Search content.
2840 },
2841 &quot;functionCall&quot;: { # A function tool call content block.
2842 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
2843 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2844 { # Represents a single field in a struct.
2845 &quot;name&quot;: &quot;A String&quot;,
2846 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2847 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2848 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2849 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2850 # Object with schema name: GenaiVertexV1beta1Value
2851 ],
2852 },
2853 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2854 &quot;numberValue&quot;: 3.14, # Represents a double value.
2855 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2856 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2857 },
2858 },
2859 ],
2860 },
2861 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
2862 },
2863 &quot;googleMapsCall&quot;: { # Google Maps content.
2864 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
2865 &quot;queries&quot;: [ # The queries to be executed.
2866 &quot;A String&quot;,
2867 ],
2868 },
2869 },
2870 &quot;googleSearchCall&quot;: { # Google Search content.
2871 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
2872 &quot;queries&quot;: [ # Web search queries for the following-up web search.
2873 &quot;A String&quot;,
2874 ],
2875 },
2876 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
2877 },
2878 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
2879 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
2880 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
2881 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2882 { # Represents a single field in a struct.
2883 &quot;name&quot;: &quot;A String&quot;,
2884 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2885 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2886 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2887 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2888 # Object with schema name: GenaiVertexV1beta1Value
2889 ],
2890 },
2891 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2892 &quot;numberValue&quot;: 3.14, # Represents a double value.
2893 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2894 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2895 },
2896 },
2897 ],
2898 },
2899 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
2900 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
2901 },
2902 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
2903 &quot;urlContextCall&quot;: { # URL context content.
2904 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
2905 &quot;urls&quot;: [ # The URLs to fetch.
2906 &quot;A String&quot;,
2907 ],
2908 },
2909 },
2910 },
2911 &quot;toolResult&quot;: { # Tool result content.
2912 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
2913 &quot;codeExecutionResult&quot;: { # Code execution result content.
2914 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
2915 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
2916 },
2917 &quot;fileSearchResult&quot;: { # File Search result content.
2918 &quot;result&quot;: [ # Optional. The results of the File Search.
2919 { # The result of the File Search.
2920 },
2921 ],
2922 },
2923 &quot;functionResult&quot;: { # A function tool result content block.
2924 &quot;contentList&quot;: {
2925 &quot;contents&quot;: [
2926 {
2927 &quot;image&quot;: { # An image content block.
2928 &quot;data&quot;: &quot;A String&quot;, # The image content.
2929 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
2930 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
2931 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
2932 },
2933 &quot;text&quot;: { # A text content block.
2934 &quot;annotations&quot;: [ # Citation information for model-generated content.
2935 { # Citation information for model-generated content.
2936 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
2937 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
2938 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
2939 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2940 { # Represents a single field in a struct.
2941 &quot;name&quot;: &quot;A String&quot;,
2942 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2943 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2944 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2945 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2946 # Object with schema name: GenaiVertexV1beta1Value
2947 ],
2948 },
2949 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
2950 &quot;numberValue&quot;: 3.14, # Represents a double value.
2951 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
2952 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
2953 },
2954 },
2955 ],
2956 },
2957 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
2958 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
2959 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
2960 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
2961 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
2962 },
2963 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
2964 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
2965 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
2966 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
2967 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
2968 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
2969 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
2970 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
2971 },
2972 ],
2973 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
2974 },
2975 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
2976 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
2977 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
2978 &quot;url&quot;: &quot;A String&quot;, # The URL.
2979 },
2980 },
2981 ],
2982 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
2983 },
2984 },
2985 ],
2986 },
2987 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
2988 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
2989 &quot;stringResult&quot;: &quot;A String&quot;,
2990 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
2991 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
2992 { # Represents a single field in a struct.
2993 &quot;name&quot;: &quot;A String&quot;,
2994 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
2995 &quot;boolValue&quot;: True or False, # Represents a boolean value.
2996 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
2997 &quot;values&quot;: [ # Repeated field of dynamically typed values.
2998 # Object with schema name: GenaiVertexV1beta1Value
2999 ],
3000 },
3001 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3002 &quot;numberValue&quot;: 3.14, # Represents a double value.
3003 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3004 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3005 },
3006 },
3007 ],
3008 },
3009 },
3010 &quot;googleMapsResult&quot;: { # Google Maps result content.
3011 &quot;result&quot;: [ # Required. The results of the Google Maps.
3012 { # The result of the Google Maps.
3013 &quot;places&quot;: [ # The places that were found.
3014 {
3015 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
3016 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
3017 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
3018 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
3019 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
3020 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
3021 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
3022 },
3023 ],
3024 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
3025 },
3026 ],
3027 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
3028 },
3029 ],
3030 },
3031 &quot;googleSearchResult&quot;: { # Google Search result content.
3032 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
3033 &quot;result&quot;: [ # Required. The results of the Google Search.
3034 { # The result of the Google Search.
3035 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
3036 },
3037 ],
3038 },
3039 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
3040 &quot;contentList&quot;: {
3041 &quot;contents&quot;: [
3042 {
3043 &quot;image&quot;: { # An image content block.
3044 &quot;data&quot;: &quot;A String&quot;, # The image content.
3045 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
3046 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
3047 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
3048 },
3049 &quot;text&quot;: { # A text content block.
3050 &quot;annotations&quot;: [ # Citation information for model-generated content.
3051 { # Citation information for model-generated content.
3052 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
3053 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
3054 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
3055 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3056 { # Represents a single field in a struct.
3057 &quot;name&quot;: &quot;A String&quot;,
3058 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3059 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3060 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3061 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3062 # Object with schema name: GenaiVertexV1beta1Value
3063 ],
3064 },
3065 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3066 &quot;numberValue&quot;: 3.14, # Represents a double value.
3067 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3068 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3069 },
3070 },
3071 ],
3072 },
3073 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
3074 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
3075 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
3076 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
3077 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
3078 },
3079 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
3080 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
3081 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
3082 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
3083 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
3084 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
3085 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
3086 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
3087 },
3088 ],
3089 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
3090 },
3091 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
3092 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
3093 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
3094 &quot;url&quot;: &quot;A String&quot;, # The URL.
3095 },
3096 },
3097 ],
3098 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
3099 },
3100 },
3101 ],
3102 },
3103 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
3104 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
3105 &quot;stringResult&quot;: &quot;A String&quot;,
3106 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
3107 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3108 { # Represents a single field in a struct.
3109 &quot;name&quot;: &quot;A String&quot;,
3110 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3111 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3112 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3113 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3114 # Object with schema name: GenaiVertexV1beta1Value
3115 ],
3116 },
3117 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3118 &quot;numberValue&quot;: 3.14, # Represents a double value.
3119 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3120 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3121 },
3122 },
3123 ],
3124 },
3125 },
3126 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
3127 &quot;urlContextResult&quot;: { # URL context result content.
3128 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
3129 &quot;result&quot;: [ # Required. The results of the URL context.
3130 { # The result of the URL context.
3131 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
3132 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
3133 },
3134 ],
3135 },
3136 },
3137 &quot;video&quot;: { # A video content block.
3138 &quot;data&quot;: &quot;A String&quot;, # The video content.
3139 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
3140 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
3141 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
3142 },
3143 },
3144 ],
3145 },
3146 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
3147 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
3148 &quot;stringResult&quot;: &quot;A String&quot;,
3149 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
3150 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3151 { # Represents a single field in a struct.
3152 &quot;name&quot;: &quot;A String&quot;,
3153 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3154 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3155 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3156 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3157 # Object with schema name: GenaiVertexV1beta1Value
3158 ],
3159 },
3160 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3161 &quot;numberValue&quot;: 3.14, # Represents a double value.
3162 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3163 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3164 },
3165 },
3166 ],
3167 },
3168 },
3169 &quot;googleMapsResult&quot;: { # Google Maps result step.
3170 &quot;result&quot;: [
3171 { # The result of the Google Maps.
3172 &quot;places&quot;: [
3173 {
3174 &quot;name&quot;: &quot;A String&quot;,
3175 &quot;placeId&quot;: &quot;A String&quot;,
3176 &quot;reviewSnippets&quot;: [
3177 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
3178 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
3179 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
3180 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
3181 },
3182 ],
3183 &quot;url&quot;: &quot;A String&quot;,
3184 },
3185 ],
3186 &quot;widgetContextToken&quot;: &quot;A String&quot;,
3187 },
3188 ],
3189 },
3190 &quot;googleSearchResult&quot;: { # Google Search result step.
3191 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
3192 &quot;result&quot;: [ # Required. The results of the Google Search.
3193 { # The result of the Google Search.
3194 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
3195 },
3196 ],
3197 },
3198 &quot;mcpServerToolResult&quot;: { # MCPServer tool result step.
3199 &quot;contentList&quot;: { # A list of Content.
3200 &quot;contents&quot;: [ # The contents of the list.
3201 { # The content of the response.
3202 &quot;audio&quot;: { # An audio content block.
3203 &quot;channels&quot;: 42, # The number of audio channels.
3204 &quot;data&quot;: &quot;A String&quot;, # The audio content.
3205 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
3206 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
3207 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
3208 },
3209 &quot;document&quot;: { # A document content block.
3210 &quot;data&quot;: &quot;A String&quot;, # The document content.
3211 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
3212 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
3213 },
3214 &quot;image&quot;: { # An image content block.
3215 &quot;data&quot;: &quot;A String&quot;, # The image content.
3216 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
3217 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
3218 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
3219 },
3220 &quot;text&quot;: { # A text content block.
3221 &quot;annotations&quot;: [ # Citation information for model-generated content.
3222 { # Citation information for model-generated content.
3223 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
3224 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
3225 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
3226 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3227 { # Represents a single field in a struct.
3228 &quot;name&quot;: &quot;A String&quot;,
3229 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3230 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3231 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3232 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3233 # Object with schema name: GenaiVertexV1beta1Value
3234 ],
3235 },
3236 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3237 &quot;numberValue&quot;: 3.14, # Represents a double value.
3238 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3239 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3240 },
3241 },
3242 ],
3243 },
3244 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
3245 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
3246 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
3247 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
3248 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
3249 },
3250 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
3251 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
3252 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
3253 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
3254 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
3255 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
3256 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
3257 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
3258 },
3259 ],
3260 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
3261 },
3262 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
3263 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
3264 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
3265 &quot;url&quot;: &quot;A String&quot;, # The URL.
3266 },
3267 },
3268 ],
3269 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
3270 },
3271 &quot;thought&quot;: { # A thought content block.
3272 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
3273 &quot;summary&quot;: [ # A summary of the thought.
3274 {
3275 &quot;image&quot;: { # An image content block.
3276 &quot;data&quot;: &quot;A String&quot;, # The image content.
3277 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
3278 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
3279 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
3280 },
3281 &quot;text&quot;: { # A text content block.
3282 &quot;annotations&quot;: [ # Citation information for model-generated content.
3283 { # Citation information for model-generated content.
3284 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
3285 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
3286 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
3287 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3288 { # Represents a single field in a struct.
3289 &quot;name&quot;: &quot;A String&quot;,
3290 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3291 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3292 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3293 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3294 # Object with schema name: GenaiVertexV1beta1Value
3295 ],
3296 },
3297 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3298 &quot;numberValue&quot;: 3.14, # Represents a double value.
3299 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3300 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3301 },
3302 },
3303 ],
3304 },
3305 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
3306 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
3307 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
3308 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
3309 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
3310 },
3311 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
3312 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
3313 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
3314 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
3315 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
3316 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
3317 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
3318 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
3319 },
3320 ],
3321 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
3322 },
3323 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
3324 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
3325 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
3326 &quot;url&quot;: &quot;A String&quot;, # The URL.
3327 },
3328 },
3329 ],
3330 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
3331 },
3332 },
3333 ],
3334 },
3335 &quot;toolCall&quot;: { # Tool call content.
3336 &quot;codeExecutionCall&quot;: { # Code execution content.
3337 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
3338 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
3339 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
3340 },
3341 },
3342 &quot;fileSearchCall&quot;: { # File Search content.
3343 },
3344 &quot;functionCall&quot;: { # A function tool call content block.
3345 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
3346 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3347 { # Represents a single field in a struct.
3348 &quot;name&quot;: &quot;A String&quot;,
3349 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3350 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3351 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3352 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3353 # Object with schema name: GenaiVertexV1beta1Value
3354 ],
3355 },
3356 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3357 &quot;numberValue&quot;: 3.14, # Represents a double value.
3358 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3359 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3360 },
3361 },
3362 ],
3363 },
3364 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
3365 },
3366 &quot;googleMapsCall&quot;: { # Google Maps content.
3367 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
3368 &quot;queries&quot;: [ # The queries to be executed.
3369 &quot;A String&quot;,
3370 ],
3371 },
3372 },
3373 &quot;googleSearchCall&quot;: { # Google Search content.
3374 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
3375 &quot;queries&quot;: [ # Web search queries for the following-up web search.
3376 &quot;A String&quot;,
3377 ],
3378 },
3379 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
3380 },
3381 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
3382 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
3383 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
3384 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3385 { # Represents a single field in a struct.
3386 &quot;name&quot;: &quot;A String&quot;,
3387 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3388 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3389 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3390 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3391 # Object with schema name: GenaiVertexV1beta1Value
3392 ],
3393 },
3394 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3395 &quot;numberValue&quot;: 3.14, # Represents a double value.
3396 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3397 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3398 },
3399 },
3400 ],
3401 },
3402 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
3403 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
3404 },
3405 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
3406 &quot;urlContextCall&quot;: { # URL context content.
3407 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
3408 &quot;urls&quot;: [ # The URLs to fetch.
3409 &quot;A String&quot;,
3410 ],
3411 },
3412 },
3413 },
3414 &quot;toolResult&quot;: { # Tool result content.
3415 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
3416 &quot;codeExecutionResult&quot;: { # Code execution result content.
3417 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
3418 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
3419 },
3420 &quot;fileSearchResult&quot;: { # File Search result content.
3421 &quot;result&quot;: [ # Optional. The results of the File Search.
3422 { # The result of the File Search.
3423 },
3424 ],
3425 },
3426 &quot;functionResult&quot;: { # A function tool result content block.
3427 &quot;contentList&quot;: {
3428 &quot;contents&quot;: [
3429 {
3430 &quot;image&quot;: { # An image content block.
3431 &quot;data&quot;: &quot;A String&quot;, # The image content.
3432 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
3433 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
3434 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
3435 },
3436 &quot;text&quot;: { # A text content block.
3437 &quot;annotations&quot;: [ # Citation information for model-generated content.
3438 { # Citation information for model-generated content.
3439 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
3440 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
3441 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
3442 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3443 { # Represents a single field in a struct.
3444 &quot;name&quot;: &quot;A String&quot;,
3445 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3446 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3447 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3448 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3449 # Object with schema name: GenaiVertexV1beta1Value
3450 ],
3451 },
3452 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3453 &quot;numberValue&quot;: 3.14, # Represents a double value.
3454 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3455 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3456 },
3457 },
3458 ],
3459 },
3460 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
3461 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
3462 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
3463 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
3464 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
3465 },
3466 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
3467 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
3468 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
3469 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
3470 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
3471 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
3472 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
3473 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
3474 },
3475 ],
3476 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
3477 },
3478 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
3479 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
3480 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
3481 &quot;url&quot;: &quot;A String&quot;, # The URL.
3482 },
3483 },
3484 ],
3485 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
3486 },
3487 },
3488 ],
3489 },
3490 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
3491 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
3492 &quot;stringResult&quot;: &quot;A String&quot;,
3493 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
3494 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3495 { # Represents a single field in a struct.
3496 &quot;name&quot;: &quot;A String&quot;,
3497 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3498 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3499 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3500 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3501 # Object with schema name: GenaiVertexV1beta1Value
3502 ],
3503 },
3504 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3505 &quot;numberValue&quot;: 3.14, # Represents a double value.
3506 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3507 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3508 },
3509 },
3510 ],
3511 },
3512 },
3513 &quot;googleMapsResult&quot;: { # Google Maps result content.
3514 &quot;result&quot;: [ # Required. The results of the Google Maps.
3515 { # The result of the Google Maps.
3516 &quot;places&quot;: [ # The places that were found.
3517 {
3518 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
3519 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
3520 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
3521 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
3522 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
3523 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
3524 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
3525 },
3526 ],
3527 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
3528 },
3529 ],
3530 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
3531 },
3532 ],
3533 },
3534 &quot;googleSearchResult&quot;: { # Google Search result content.
3535 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
3536 &quot;result&quot;: [ # Required. The results of the Google Search.
3537 { # The result of the Google Search.
3538 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
3539 },
3540 ],
3541 },
3542 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
3543 &quot;contentList&quot;: {
3544 &quot;contents&quot;: [
3545 {
3546 &quot;image&quot;: { # An image content block.
3547 &quot;data&quot;: &quot;A String&quot;, # The image content.
3548 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
3549 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
3550 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
3551 },
3552 &quot;text&quot;: { # A text content block.
3553 &quot;annotations&quot;: [ # Citation information for model-generated content.
3554 { # Citation information for model-generated content.
3555 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
3556 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
3557 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
3558 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3559 { # Represents a single field in a struct.
3560 &quot;name&quot;: &quot;A String&quot;,
3561 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3562 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3563 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3564 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3565 # Object with schema name: GenaiVertexV1beta1Value
3566 ],
3567 },
3568 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3569 &quot;numberValue&quot;: 3.14, # Represents a double value.
3570 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3571 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3572 },
3573 },
3574 ],
3575 },
3576 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
3577 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
3578 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
3579 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
3580 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
3581 },
3582 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
3583 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
3584 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
3585 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
3586 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
3587 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
3588 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
3589 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
3590 },
3591 ],
3592 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
3593 },
3594 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
3595 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
3596 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
3597 &quot;url&quot;: &quot;A String&quot;, # The URL.
3598 },
3599 },
3600 ],
3601 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
3602 },
3603 },
3604 ],
3605 },
3606 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
3607 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
3608 &quot;stringResult&quot;: &quot;A String&quot;,
3609 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
3610 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3611 { # Represents a single field in a struct.
3612 &quot;name&quot;: &quot;A String&quot;,
3613 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3614 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3615 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3616 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3617 # Object with schema name: GenaiVertexV1beta1Value
3618 ],
3619 },
3620 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3621 &quot;numberValue&quot;: 3.14, # Represents a double value.
3622 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3623 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3624 },
3625 },
3626 ],
3627 },
3628 },
3629 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
3630 &quot;urlContextResult&quot;: { # URL context result content.
3631 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
3632 &quot;result&quot;: [ # Required. The results of the URL context.
3633 { # The result of the URL context.
3634 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
3635 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
3636 },
3637 ],
3638 },
3639 },
3640 &quot;video&quot;: { # A video content block.
3641 &quot;data&quot;: &quot;A String&quot;, # The video content.
3642 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
3643 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
3644 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
3645 },
3646 },
3647 ],
3648 },
3649 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
3650 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
3651 &quot;stringResult&quot;: &quot;A String&quot;,
3652 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
3653 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3654 { # Represents a single field in a struct.
3655 &quot;name&quot;: &quot;A String&quot;,
3656 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3657 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3658 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3659 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3660 # Object with schema name: GenaiVertexV1beta1Value
3661 ],
3662 },
3663 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3664 &quot;numberValue&quot;: 3.14, # Represents a double value.
3665 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3666 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3667 },
3668 },
3669 ],
3670 },
3671 },
3672 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
3673 &quot;urlContextResult&quot;: { # URL context result step.
3674 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
3675 &quot;result&quot;: [ # Required. The results of the URL context.
3676 { # The result of the URL context.
3677 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
3678 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
3679 },
3680 ],
3681 },
3682 },
3683 &quot;userInput&quot;: { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
3684 &quot;contentList&quot;: { # A list of Content. # The content of the step. An array of Content objects.
3685 &quot;contents&quot;: [ # The contents of the list.
3686 { # The content of the response.
3687 &quot;audio&quot;: { # An audio content block.
3688 &quot;channels&quot;: 42, # The number of audio channels.
3689 &quot;data&quot;: &quot;A String&quot;, # The audio content.
3690 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
3691 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
3692 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
3693 },
3694 &quot;document&quot;: { # A document content block.
3695 &quot;data&quot;: &quot;A String&quot;, # The document content.
3696 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
3697 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
3698 },
3699 &quot;image&quot;: { # An image content block.
3700 &quot;data&quot;: &quot;A String&quot;, # The image content.
3701 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
3702 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
3703 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
3704 },
3705 &quot;text&quot;: { # A text content block.
3706 &quot;annotations&quot;: [ # Citation information for model-generated content.
3707 { # Citation information for model-generated content.
3708 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
3709 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
3710 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
3711 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3712 { # Represents a single field in a struct.
3713 &quot;name&quot;: &quot;A String&quot;,
3714 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3715 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3716 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3717 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3718 # Object with schema name: GenaiVertexV1beta1Value
3719 ],
3720 },
3721 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3722 &quot;numberValue&quot;: 3.14, # Represents a double value.
3723 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3724 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3725 },
3726 },
3727 ],
3728 },
3729 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
3730 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
3731 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
3732 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
3733 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
3734 },
3735 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
3736 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
3737 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
3738 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
3739 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
3740 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
3741 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
3742 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
3743 },
3744 ],
3745 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
3746 },
3747 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
3748 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
3749 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
3750 &quot;url&quot;: &quot;A String&quot;, # The URL.
3751 },
3752 },
3753 ],
3754 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
3755 },
3756 &quot;thought&quot;: { # A thought content block.
3757 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
3758 &quot;summary&quot;: [ # A summary of the thought.
3759 {
3760 &quot;image&quot;: { # An image content block.
3761 &quot;data&quot;: &quot;A String&quot;, # The image content.
3762 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
3763 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
3764 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
3765 },
3766 &quot;text&quot;: { # A text content block.
3767 &quot;annotations&quot;: [ # Citation information for model-generated content.
3768 { # Citation information for model-generated content.
3769 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
3770 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
3771 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
3772 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3773 { # Represents a single field in a struct.
3774 &quot;name&quot;: &quot;A String&quot;,
3775 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3776 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3777 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3778 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3779 # Object with schema name: GenaiVertexV1beta1Value
3780 ],
3781 },
3782 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3783 &quot;numberValue&quot;: 3.14, # Represents a double value.
3784 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3785 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3786 },
3787 },
3788 ],
3789 },
3790 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
3791 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
3792 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
3793 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
3794 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
3795 },
3796 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
3797 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
3798 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
3799 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
3800 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
3801 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
3802 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
3803 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
3804 },
3805 ],
3806 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
3807 },
3808 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
3809 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
3810 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
3811 &quot;url&quot;: &quot;A String&quot;, # The URL.
3812 },
3813 },
3814 ],
3815 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
3816 },
3817 },
3818 ],
3819 },
3820 &quot;toolCall&quot;: { # Tool call content.
3821 &quot;codeExecutionCall&quot;: { # Code execution content.
3822 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
3823 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
3824 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
3825 },
3826 },
3827 &quot;fileSearchCall&quot;: { # File Search content.
3828 },
3829 &quot;functionCall&quot;: { # A function tool call content block.
3830 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
3831 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3832 { # Represents a single field in a struct.
3833 &quot;name&quot;: &quot;A String&quot;,
3834 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3835 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3836 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3837 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3838 # Object with schema name: GenaiVertexV1beta1Value
3839 ],
3840 },
3841 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3842 &quot;numberValue&quot;: 3.14, # Represents a double value.
3843 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3844 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3845 },
3846 },
3847 ],
3848 },
3849 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
3850 },
3851 &quot;googleMapsCall&quot;: { # Google Maps content.
3852 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
3853 &quot;queries&quot;: [ # The queries to be executed.
3854 &quot;A String&quot;,
3855 ],
3856 },
3857 },
3858 &quot;googleSearchCall&quot;: { # Google Search content.
3859 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
3860 &quot;queries&quot;: [ # Web search queries for the following-up web search.
3861 &quot;A String&quot;,
3862 ],
3863 },
3864 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
3865 },
3866 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
3867 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
3868 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
3869 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3870 { # Represents a single field in a struct.
3871 &quot;name&quot;: &quot;A String&quot;,
3872 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3873 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3874 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3875 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3876 # Object with schema name: GenaiVertexV1beta1Value
3877 ],
3878 },
3879 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3880 &quot;numberValue&quot;: 3.14, # Represents a double value.
3881 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3882 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3883 },
3884 },
3885 ],
3886 },
3887 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
3888 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
3889 },
3890 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
3891 &quot;urlContextCall&quot;: { # URL context content.
3892 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
3893 &quot;urls&quot;: [ # The URLs to fetch.
3894 &quot;A String&quot;,
3895 ],
3896 },
3897 },
3898 },
3899 &quot;toolResult&quot;: { # Tool result content.
3900 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
3901 &quot;codeExecutionResult&quot;: { # Code execution result content.
3902 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
3903 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
3904 },
3905 &quot;fileSearchResult&quot;: { # File Search result content.
3906 &quot;result&quot;: [ # Optional. The results of the File Search.
3907 { # The result of the File Search.
3908 },
3909 ],
3910 },
3911 &quot;functionResult&quot;: { # A function tool result content block.
3912 &quot;contentList&quot;: {
3913 &quot;contents&quot;: [
3914 {
3915 &quot;image&quot;: { # An image content block.
3916 &quot;data&quot;: &quot;A String&quot;, # The image content.
3917 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
3918 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
3919 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
3920 },
3921 &quot;text&quot;: { # A text content block.
3922 &quot;annotations&quot;: [ # Citation information for model-generated content.
3923 { # Citation information for model-generated content.
3924 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
3925 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
3926 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
3927 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3928 { # Represents a single field in a struct.
3929 &quot;name&quot;: &quot;A String&quot;,
3930 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3931 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3932 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3933 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3934 # Object with schema name: GenaiVertexV1beta1Value
3935 ],
3936 },
3937 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3938 &quot;numberValue&quot;: 3.14, # Represents a double value.
3939 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3940 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3941 },
3942 },
3943 ],
3944 },
3945 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
3946 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
3947 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
3948 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
3949 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
3950 },
3951 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
3952 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
3953 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
3954 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
3955 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
3956 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
3957 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
3958 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
3959 },
3960 ],
3961 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
3962 },
3963 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
3964 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
3965 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
3966 &quot;url&quot;: &quot;A String&quot;, # The URL.
3967 },
3968 },
3969 ],
3970 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
3971 },
3972 },
3973 ],
3974 },
3975 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
3976 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
3977 &quot;stringResult&quot;: &quot;A String&quot;,
3978 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
3979 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
3980 { # Represents a single field in a struct.
3981 &quot;name&quot;: &quot;A String&quot;,
3982 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
3983 &quot;boolValue&quot;: True or False, # Represents a boolean value.
3984 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
3985 &quot;values&quot;: [ # Repeated field of dynamically typed values.
3986 # Object with schema name: GenaiVertexV1beta1Value
3987 ],
3988 },
3989 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
3990 &quot;numberValue&quot;: 3.14, # Represents a double value.
3991 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
3992 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
3993 },
3994 },
3995 ],
3996 },
3997 },
3998 &quot;googleMapsResult&quot;: { # Google Maps result content.
3999 &quot;result&quot;: [ # Required. The results of the Google Maps.
4000 { # The result of the Google Maps.
4001 &quot;places&quot;: [ # The places that were found.
4002 {
4003 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
4004 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
4005 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
4006 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
4007 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
4008 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
4009 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
4010 },
4011 ],
4012 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
4013 },
4014 ],
4015 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
4016 },
4017 ],
4018 },
4019 &quot;googleSearchResult&quot;: { # Google Search result content.
4020 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
4021 &quot;result&quot;: [ # Required. The results of the Google Search.
4022 { # The result of the Google Search.
4023 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
4024 },
4025 ],
4026 },
4027 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
4028 &quot;contentList&quot;: {
4029 &quot;contents&quot;: [
4030 {
4031 &quot;image&quot;: { # An image content block.
4032 &quot;data&quot;: &quot;A String&quot;, # The image content.
4033 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
4034 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
4035 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
4036 },
4037 &quot;text&quot;: { # A text content block.
4038 &quot;annotations&quot;: [ # Citation information for model-generated content.
4039 { # Citation information for model-generated content.
4040 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
4041 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
4042 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
4043 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4044 { # Represents a single field in a struct.
4045 &quot;name&quot;: &quot;A String&quot;,
4046 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4047 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4048 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4049 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4050 # Object with schema name: GenaiVertexV1beta1Value
4051 ],
4052 },
4053 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4054 &quot;numberValue&quot;: 3.14, # Represents a double value.
4055 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4056 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4057 },
4058 },
4059 ],
4060 },
4061 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
4062 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
4063 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
4064 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
4065 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
4066 },
4067 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
4068 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
4069 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
4070 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
4071 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
4072 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
4073 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
4074 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
4075 },
4076 ],
4077 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
4078 },
4079 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
4080 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
4081 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
4082 &quot;url&quot;: &quot;A String&quot;, # The URL.
4083 },
4084 },
4085 ],
4086 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
4087 },
4088 },
4089 ],
4090 },
4091 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
4092 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
4093 &quot;stringResult&quot;: &quot;A String&quot;,
4094 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
4095 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4096 { # Represents a single field in a struct.
4097 &quot;name&quot;: &quot;A String&quot;,
4098 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4099 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4100 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4101 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4102 # Object with schema name: GenaiVertexV1beta1Value
4103 ],
4104 },
4105 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4106 &quot;numberValue&quot;: 3.14, # Represents a double value.
4107 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4108 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4109 },
4110 },
4111 ],
4112 },
4113 },
4114 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
4115 &quot;urlContextResult&quot;: { # URL context result content.
4116 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
4117 &quot;result&quot;: [ # Required. The results of the URL context.
4118 { # The result of the URL context.
4119 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
4120 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
4121 },
4122 ],
4123 },
4124 },
4125 &quot;video&quot;: { # A video content block.
4126 &quot;data&quot;: &quot;A String&quot;, # The video content.
4127 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
4128 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
4129 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
4130 },
4131 },
4132 ],
4133 },
4134 &quot;contentString&quot;: &quot;A String&quot;, # The content of the step. A single string.
4135 },
4136 },
4137 ],
4138 },
4139 &quot;steps&quot;: [ # Required. Output only. The steps that make up the interaction.
4140 { # A step in the interaction.
4141 &quot;modelOutput&quot;: { # Output generated by the model.
4142 &quot;content&quot;: [
4143 { # The content of the response.
4144 &quot;audio&quot;: { # An audio content block.
4145 &quot;channels&quot;: 42, # The number of audio channels.
4146 &quot;data&quot;: &quot;A String&quot;, # The audio content.
4147 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
4148 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
4149 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
4150 },
4151 &quot;document&quot;: { # A document content block.
4152 &quot;data&quot;: &quot;A String&quot;, # The document content.
4153 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
4154 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
4155 },
4156 &quot;image&quot;: { # An image content block.
4157 &quot;data&quot;: &quot;A String&quot;, # The image content.
4158 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
4159 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
4160 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
4161 },
4162 &quot;text&quot;: { # A text content block.
4163 &quot;annotations&quot;: [ # Citation information for model-generated content.
4164 { # Citation information for model-generated content.
4165 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
4166 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
4167 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
4168 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4169 { # Represents a single field in a struct.
4170 &quot;name&quot;: &quot;A String&quot;,
4171 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4172 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4173 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4174 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4175 # Object with schema name: GenaiVertexV1beta1Value
4176 ],
4177 },
4178 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4179 &quot;numberValue&quot;: 3.14, # Represents a double value.
4180 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4181 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4182 },
4183 },
4184 ],
4185 },
4186 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
4187 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
4188 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
4189 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
4190 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
4191 },
4192 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
4193 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
4194 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
4195 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
4196 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
4197 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
4198 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
4199 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
4200 },
4201 ],
4202 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
4203 },
4204 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
4205 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
4206 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
4207 &quot;url&quot;: &quot;A String&quot;, # The URL.
4208 },
4209 },
4210 ],
4211 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
4212 },
4213 &quot;thought&quot;: { # A thought content block.
4214 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
4215 &quot;summary&quot;: [ # A summary of the thought.
4216 {
4217 &quot;image&quot;: { # An image content block.
4218 &quot;data&quot;: &quot;A String&quot;, # The image content.
4219 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
4220 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
4221 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
4222 },
4223 &quot;text&quot;: { # A text content block.
4224 &quot;annotations&quot;: [ # Citation information for model-generated content.
4225 { # Citation information for model-generated content.
4226 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
4227 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
4228 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
4229 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4230 { # Represents a single field in a struct.
4231 &quot;name&quot;: &quot;A String&quot;,
4232 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4233 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4234 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4235 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4236 # Object with schema name: GenaiVertexV1beta1Value
4237 ],
4238 },
4239 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4240 &quot;numberValue&quot;: 3.14, # Represents a double value.
4241 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4242 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4243 },
4244 },
4245 ],
4246 },
4247 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
4248 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
4249 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
4250 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
4251 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
4252 },
4253 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
4254 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
4255 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
4256 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
4257 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
4258 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
4259 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
4260 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
4261 },
4262 ],
4263 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
4264 },
4265 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
4266 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
4267 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
4268 &quot;url&quot;: &quot;A String&quot;, # The URL.
4269 },
4270 },
4271 ],
4272 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
4273 },
4274 },
4275 ],
4276 },
4277 &quot;toolCall&quot;: { # Tool call content.
4278 &quot;codeExecutionCall&quot;: { # Code execution content.
4279 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
4280 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
4281 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
4282 },
4283 },
4284 &quot;fileSearchCall&quot;: { # File Search content.
4285 },
4286 &quot;functionCall&quot;: { # A function tool call content block.
4287 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
4288 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4289 { # Represents a single field in a struct.
4290 &quot;name&quot;: &quot;A String&quot;,
4291 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4292 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4293 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4294 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4295 # Object with schema name: GenaiVertexV1beta1Value
4296 ],
4297 },
4298 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4299 &quot;numberValue&quot;: 3.14, # Represents a double value.
4300 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4301 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4302 },
4303 },
4304 ],
4305 },
4306 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
4307 },
4308 &quot;googleMapsCall&quot;: { # Google Maps content.
4309 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
4310 &quot;queries&quot;: [ # The queries to be executed.
4311 &quot;A String&quot;,
4312 ],
4313 },
4314 },
4315 &quot;googleSearchCall&quot;: { # Google Search content.
4316 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
4317 &quot;queries&quot;: [ # Web search queries for the following-up web search.
4318 &quot;A String&quot;,
4319 ],
4320 },
4321 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
4322 },
4323 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
4324 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
4325 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
4326 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4327 { # Represents a single field in a struct.
4328 &quot;name&quot;: &quot;A String&quot;,
4329 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4330 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4331 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4332 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4333 # Object with schema name: GenaiVertexV1beta1Value
4334 ],
4335 },
4336 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4337 &quot;numberValue&quot;: 3.14, # Represents a double value.
4338 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4339 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4340 },
4341 },
4342 ],
4343 },
4344 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
4345 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
4346 },
4347 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
4348 &quot;urlContextCall&quot;: { # URL context content.
4349 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
4350 &quot;urls&quot;: [ # The URLs to fetch.
4351 &quot;A String&quot;,
4352 ],
4353 },
4354 },
4355 },
4356 &quot;toolResult&quot;: { # Tool result content.
4357 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
4358 &quot;codeExecutionResult&quot;: { # Code execution result content.
4359 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
4360 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
4361 },
4362 &quot;fileSearchResult&quot;: { # File Search result content.
4363 &quot;result&quot;: [ # Optional. The results of the File Search.
4364 { # The result of the File Search.
4365 },
4366 ],
4367 },
4368 &quot;functionResult&quot;: { # A function tool result content block.
4369 &quot;contentList&quot;: {
4370 &quot;contents&quot;: [
4371 {
4372 &quot;image&quot;: { # An image content block.
4373 &quot;data&quot;: &quot;A String&quot;, # The image content.
4374 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
4375 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
4376 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
4377 },
4378 &quot;text&quot;: { # A text content block.
4379 &quot;annotations&quot;: [ # Citation information for model-generated content.
4380 { # Citation information for model-generated content.
4381 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
4382 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
4383 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
4384 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4385 { # Represents a single field in a struct.
4386 &quot;name&quot;: &quot;A String&quot;,
4387 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4388 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4389 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4390 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4391 # Object with schema name: GenaiVertexV1beta1Value
4392 ],
4393 },
4394 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4395 &quot;numberValue&quot;: 3.14, # Represents a double value.
4396 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4397 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4398 },
4399 },
4400 ],
4401 },
4402 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
4403 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
4404 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
4405 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
4406 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
4407 },
4408 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
4409 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
4410 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
4411 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
4412 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
4413 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
4414 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
4415 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
4416 },
4417 ],
4418 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
4419 },
4420 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
4421 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
4422 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
4423 &quot;url&quot;: &quot;A String&quot;, # The URL.
4424 },
4425 },
4426 ],
4427 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
4428 },
4429 },
4430 ],
4431 },
4432 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
4433 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
4434 &quot;stringResult&quot;: &quot;A String&quot;,
4435 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
4436 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4437 { # Represents a single field in a struct.
4438 &quot;name&quot;: &quot;A String&quot;,
4439 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4440 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4441 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4442 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4443 # Object with schema name: GenaiVertexV1beta1Value
4444 ],
4445 },
4446 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4447 &quot;numberValue&quot;: 3.14, # Represents a double value.
4448 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4449 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4450 },
4451 },
4452 ],
4453 },
4454 },
4455 &quot;googleMapsResult&quot;: { # Google Maps result content.
4456 &quot;result&quot;: [ # Required. The results of the Google Maps.
4457 { # The result of the Google Maps.
4458 &quot;places&quot;: [ # The places that were found.
4459 {
4460 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
4461 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
4462 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
4463 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
4464 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
4465 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
4466 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
4467 },
4468 ],
4469 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
4470 },
4471 ],
4472 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
4473 },
4474 ],
4475 },
4476 &quot;googleSearchResult&quot;: { # Google Search result content.
4477 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
4478 &quot;result&quot;: [ # Required. The results of the Google Search.
4479 { # The result of the Google Search.
4480 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
4481 },
4482 ],
4483 },
4484 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
4485 &quot;contentList&quot;: {
4486 &quot;contents&quot;: [
4487 {
4488 &quot;image&quot;: { # An image content block.
4489 &quot;data&quot;: &quot;A String&quot;, # The image content.
4490 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
4491 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
4492 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
4493 },
4494 &quot;text&quot;: { # A text content block.
4495 &quot;annotations&quot;: [ # Citation information for model-generated content.
4496 { # Citation information for model-generated content.
4497 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
4498 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
4499 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
4500 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4501 { # Represents a single field in a struct.
4502 &quot;name&quot;: &quot;A String&quot;,
4503 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4504 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4505 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4506 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4507 # Object with schema name: GenaiVertexV1beta1Value
4508 ],
4509 },
4510 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4511 &quot;numberValue&quot;: 3.14, # Represents a double value.
4512 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4513 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4514 },
4515 },
4516 ],
4517 },
4518 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
4519 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
4520 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
4521 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
4522 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
4523 },
4524 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
4525 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
4526 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
4527 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
4528 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
4529 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
4530 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
4531 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
4532 },
4533 ],
4534 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
4535 },
4536 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
4537 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
4538 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
4539 &quot;url&quot;: &quot;A String&quot;, # The URL.
4540 },
4541 },
4542 ],
4543 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
4544 },
4545 },
4546 ],
4547 },
4548 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
4549 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
4550 &quot;stringResult&quot;: &quot;A String&quot;,
4551 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
4552 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4553 { # Represents a single field in a struct.
4554 &quot;name&quot;: &quot;A String&quot;,
4555 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4556 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4557 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4558 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4559 # Object with schema name: GenaiVertexV1beta1Value
4560 ],
4561 },
4562 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4563 &quot;numberValue&quot;: 3.14, # Represents a double value.
4564 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4565 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4566 },
4567 },
4568 ],
4569 },
4570 },
4571 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
4572 &quot;urlContextResult&quot;: { # URL context result content.
4573 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
4574 &quot;result&quot;: [ # Required. The results of the URL context.
4575 { # The result of the URL context.
4576 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
4577 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
4578 },
4579 ],
4580 },
4581 },
4582 &quot;video&quot;: { # A video content block.
4583 &quot;data&quot;: &quot;A String&quot;, # The video content.
4584 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
4585 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
4586 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
4587 },
4588 },
4589 ],
4590 },
4591 &quot;thought&quot;: { # A thought step.
4592 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
4593 &quot;summary&quot;: [ # A summary of the thought.
4594 { # The content of the response.
4595 &quot;audio&quot;: { # An audio content block.
4596 &quot;channels&quot;: 42, # The number of audio channels.
4597 &quot;data&quot;: &quot;A String&quot;, # The audio content.
4598 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
4599 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
4600 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
4601 },
4602 &quot;document&quot;: { # A document content block.
4603 &quot;data&quot;: &quot;A String&quot;, # The document content.
4604 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
4605 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
4606 },
4607 &quot;image&quot;: { # An image content block.
4608 &quot;data&quot;: &quot;A String&quot;, # The image content.
4609 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
4610 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
4611 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
4612 },
4613 &quot;text&quot;: { # A text content block.
4614 &quot;annotations&quot;: [ # Citation information for model-generated content.
4615 { # Citation information for model-generated content.
4616 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
4617 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
4618 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
4619 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4620 { # Represents a single field in a struct.
4621 &quot;name&quot;: &quot;A String&quot;,
4622 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4623 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4624 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4625 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4626 # Object with schema name: GenaiVertexV1beta1Value
4627 ],
4628 },
4629 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4630 &quot;numberValue&quot;: 3.14, # Represents a double value.
4631 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4632 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4633 },
4634 },
4635 ],
4636 },
4637 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
4638 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
4639 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
4640 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
4641 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
4642 },
4643 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
4644 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
4645 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
4646 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
4647 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
4648 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
4649 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
4650 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
4651 },
4652 ],
4653 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
4654 },
4655 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
4656 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
4657 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
4658 &quot;url&quot;: &quot;A String&quot;, # The URL.
4659 },
4660 },
4661 ],
4662 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
4663 },
4664 &quot;thought&quot;: { # A thought content block.
4665 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
4666 &quot;summary&quot;: [ # A summary of the thought.
4667 {
4668 &quot;image&quot;: { # An image content block.
4669 &quot;data&quot;: &quot;A String&quot;, # The image content.
4670 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
4671 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
4672 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
4673 },
4674 &quot;text&quot;: { # A text content block.
4675 &quot;annotations&quot;: [ # Citation information for model-generated content.
4676 { # Citation information for model-generated content.
4677 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
4678 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
4679 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
4680 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4681 { # Represents a single field in a struct.
4682 &quot;name&quot;: &quot;A String&quot;,
4683 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4684 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4685 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4686 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4687 # Object with schema name: GenaiVertexV1beta1Value
4688 ],
4689 },
4690 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4691 &quot;numberValue&quot;: 3.14, # Represents a double value.
4692 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4693 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4694 },
4695 },
4696 ],
4697 },
4698 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
4699 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
4700 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
4701 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
4702 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
4703 },
4704 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
4705 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
4706 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
4707 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
4708 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
4709 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
4710 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
4711 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
4712 },
4713 ],
4714 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
4715 },
4716 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
4717 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
4718 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
4719 &quot;url&quot;: &quot;A String&quot;, # The URL.
4720 },
4721 },
4722 ],
4723 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
4724 },
4725 },
4726 ],
4727 },
4728 &quot;toolCall&quot;: { # Tool call content.
4729 &quot;codeExecutionCall&quot;: { # Code execution content.
4730 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
4731 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
4732 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
4733 },
4734 },
4735 &quot;fileSearchCall&quot;: { # File Search content.
4736 },
4737 &quot;functionCall&quot;: { # A function tool call content block.
4738 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
4739 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4740 { # Represents a single field in a struct.
4741 &quot;name&quot;: &quot;A String&quot;,
4742 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4743 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4744 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4745 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4746 # Object with schema name: GenaiVertexV1beta1Value
4747 ],
4748 },
4749 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4750 &quot;numberValue&quot;: 3.14, # Represents a double value.
4751 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4752 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4753 },
4754 },
4755 ],
4756 },
4757 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
4758 },
4759 &quot;googleMapsCall&quot;: { # Google Maps content.
4760 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
4761 &quot;queries&quot;: [ # The queries to be executed.
4762 &quot;A String&quot;,
4763 ],
4764 },
4765 },
4766 &quot;googleSearchCall&quot;: { # Google Search content.
4767 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
4768 &quot;queries&quot;: [ # Web search queries for the following-up web search.
4769 &quot;A String&quot;,
4770 ],
4771 },
4772 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
4773 },
4774 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
4775 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
4776 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
4777 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4778 { # Represents a single field in a struct.
4779 &quot;name&quot;: &quot;A String&quot;,
4780 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4781 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4782 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4783 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4784 # Object with schema name: GenaiVertexV1beta1Value
4785 ],
4786 },
4787 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4788 &quot;numberValue&quot;: 3.14, # Represents a double value.
4789 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4790 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4791 },
4792 },
4793 ],
4794 },
4795 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
4796 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
4797 },
4798 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
4799 &quot;urlContextCall&quot;: { # URL context content.
4800 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
4801 &quot;urls&quot;: [ # The URLs to fetch.
4802 &quot;A String&quot;,
4803 ],
4804 },
4805 },
4806 },
4807 &quot;toolResult&quot;: { # Tool result content.
4808 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
4809 &quot;codeExecutionResult&quot;: { # Code execution result content.
4810 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
4811 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
4812 },
4813 &quot;fileSearchResult&quot;: { # File Search result content.
4814 &quot;result&quot;: [ # Optional. The results of the File Search.
4815 { # The result of the File Search.
4816 },
4817 ],
4818 },
4819 &quot;functionResult&quot;: { # A function tool result content block.
4820 &quot;contentList&quot;: {
4821 &quot;contents&quot;: [
4822 {
4823 &quot;image&quot;: { # An image content block.
4824 &quot;data&quot;: &quot;A String&quot;, # The image content.
4825 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
4826 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
4827 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
4828 },
4829 &quot;text&quot;: { # A text content block.
4830 &quot;annotations&quot;: [ # Citation information for model-generated content.
4831 { # Citation information for model-generated content.
4832 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
4833 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
4834 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
4835 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4836 { # Represents a single field in a struct.
4837 &quot;name&quot;: &quot;A String&quot;,
4838 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4839 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4840 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4841 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4842 # Object with schema name: GenaiVertexV1beta1Value
4843 ],
4844 },
4845 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4846 &quot;numberValue&quot;: 3.14, # Represents a double value.
4847 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4848 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4849 },
4850 },
4851 ],
4852 },
4853 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
4854 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
4855 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
4856 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
4857 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
4858 },
4859 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
4860 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
4861 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
4862 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
4863 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
4864 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
4865 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
4866 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
4867 },
4868 ],
4869 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
4870 },
4871 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
4872 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
4873 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
4874 &quot;url&quot;: &quot;A String&quot;, # The URL.
4875 },
4876 },
4877 ],
4878 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
4879 },
4880 },
4881 ],
4882 },
4883 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
4884 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
4885 &quot;stringResult&quot;: &quot;A String&quot;,
4886 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
4887 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4888 { # Represents a single field in a struct.
4889 &quot;name&quot;: &quot;A String&quot;,
4890 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4891 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4892 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4893 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4894 # Object with schema name: GenaiVertexV1beta1Value
4895 ],
4896 },
4897 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4898 &quot;numberValue&quot;: 3.14, # Represents a double value.
4899 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4900 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4901 },
4902 },
4903 ],
4904 },
4905 },
4906 &quot;googleMapsResult&quot;: { # Google Maps result content.
4907 &quot;result&quot;: [ # Required. The results of the Google Maps.
4908 { # The result of the Google Maps.
4909 &quot;places&quot;: [ # The places that were found.
4910 {
4911 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
4912 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
4913 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
4914 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
4915 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
4916 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
4917 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
4918 },
4919 ],
4920 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
4921 },
4922 ],
4923 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
4924 },
4925 ],
4926 },
4927 &quot;googleSearchResult&quot;: { # Google Search result content.
4928 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
4929 &quot;result&quot;: [ # Required. The results of the Google Search.
4930 { # The result of the Google Search.
4931 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
4932 },
4933 ],
4934 },
4935 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
4936 &quot;contentList&quot;: {
4937 &quot;contents&quot;: [
4938 {
4939 &quot;image&quot;: { # An image content block.
4940 &quot;data&quot;: &quot;A String&quot;, # The image content.
4941 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
4942 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
4943 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
4944 },
4945 &quot;text&quot;: { # A text content block.
4946 &quot;annotations&quot;: [ # Citation information for model-generated content.
4947 { # Citation information for model-generated content.
4948 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
4949 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
4950 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
4951 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
4952 { # Represents a single field in a struct.
4953 &quot;name&quot;: &quot;A String&quot;,
4954 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
4955 &quot;boolValue&quot;: True or False, # Represents a boolean value.
4956 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
4957 &quot;values&quot;: [ # Repeated field of dynamically typed values.
4958 # Object with schema name: GenaiVertexV1beta1Value
4959 ],
4960 },
4961 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
4962 &quot;numberValue&quot;: 3.14, # Represents a double value.
4963 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
4964 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
4965 },
4966 },
4967 ],
4968 },
4969 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
4970 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
4971 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
4972 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
4973 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
4974 },
4975 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
4976 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
4977 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
4978 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
4979 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
4980 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
4981 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
4982 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
4983 },
4984 ],
4985 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
4986 },
4987 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
4988 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
4989 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
4990 &quot;url&quot;: &quot;A String&quot;, # The URL.
4991 },
4992 },
4993 ],
4994 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
4995 },
4996 },
4997 ],
4998 },
4999 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
5000 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
5001 &quot;stringResult&quot;: &quot;A String&quot;,
5002 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
5003 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5004 { # Represents a single field in a struct.
5005 &quot;name&quot;: &quot;A String&quot;,
5006 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5007 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5008 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5009 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5010 # Object with schema name: GenaiVertexV1beta1Value
5011 ],
5012 },
5013 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5014 &quot;numberValue&quot;: 3.14, # Represents a double value.
5015 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5016 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5017 },
5018 },
5019 ],
5020 },
5021 },
5022 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
5023 &quot;urlContextResult&quot;: { # URL context result content.
5024 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
5025 &quot;result&quot;: [ # Required. The results of the URL context.
5026 { # The result of the URL context.
5027 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
5028 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
5029 },
5030 ],
5031 },
5032 },
5033 &quot;video&quot;: { # A video content block.
5034 &quot;data&quot;: &quot;A String&quot;, # The video content.
5035 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
5036 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
5037 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
5038 },
5039 },
5040 ],
5041 },
5042 &quot;toolCall&quot;: { # Tool call step.
5043 &quot;codeExecutionCall&quot;: { # Code execution call step.
5044 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
5045 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
5046 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
5047 },
5048 },
5049 &quot;fileSearchCall&quot;: { # File Search call step.
5050 },
5051 &quot;functionCall&quot;: { # A function tool call step.
5052 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
5053 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5054 { # Represents a single field in a struct.
5055 &quot;name&quot;: &quot;A String&quot;,
5056 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5057 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5058 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5059 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5060 # Object with schema name: GenaiVertexV1beta1Value
5061 ],
5062 },
5063 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5064 &quot;numberValue&quot;: 3.14, # Represents a double value.
5065 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5066 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5067 },
5068 },
5069 ],
5070 },
5071 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
5072 },
5073 &quot;googleMapsCall&quot;: { # Google Maps call step.
5074 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
5075 &quot;queries&quot;: [ # The queries to be executed.
5076 &quot;A String&quot;,
5077 ],
5078 },
5079 },
5080 &quot;googleSearchCall&quot;: { # Google Search call step.
5081 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
5082 &quot;queries&quot;: [ # Web search queries for the following-up web search.
5083 &quot;A String&quot;,
5084 ],
5085 },
5086 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
5087 },
5088 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
5089 &quot;mcpServerToolCall&quot;: { # MCPServer tool call step.
5090 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
5091 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5092 { # Represents a single field in a struct.
5093 &quot;name&quot;: &quot;A String&quot;,
5094 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5095 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5096 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5097 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5098 # Object with schema name: GenaiVertexV1beta1Value
5099 ],
5100 },
5101 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5102 &quot;numberValue&quot;: 3.14, # Represents a double value.
5103 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5104 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5105 },
5106 },
5107 ],
5108 },
5109 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
5110 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
5111 },
5112 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
5113 &quot;urlContextCall&quot;: { # URL context call step.
5114 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
5115 &quot;urls&quot;: [ # The URLs to fetch.
5116 &quot;A String&quot;,
5117 ],
5118 },
5119 },
5120 },
5121 &quot;toolResult&quot;: { # Tool result step.
5122 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
5123 &quot;codeExecutionResult&quot;: { # Code execution result step.
5124 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
5125 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
5126 },
5127 &quot;fileSearchResult&quot;: { # File Search result step.
5128 },
5129 &quot;functionResult&quot;: { # Result of a function tool call.
5130 &quot;contentList&quot;: { # A list of Content.
5131 &quot;contents&quot;: [ # The contents of the list.
5132 { # The content of the response.
5133 &quot;audio&quot;: { # An audio content block.
5134 &quot;channels&quot;: 42, # The number of audio channels.
5135 &quot;data&quot;: &quot;A String&quot;, # The audio content.
5136 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
5137 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
5138 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
5139 },
5140 &quot;document&quot;: { # A document content block.
5141 &quot;data&quot;: &quot;A String&quot;, # The document content.
5142 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
5143 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
5144 },
5145 &quot;image&quot;: { # An image content block.
5146 &quot;data&quot;: &quot;A String&quot;, # The image content.
5147 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
5148 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
5149 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
5150 },
5151 &quot;text&quot;: { # A text content block.
5152 &quot;annotations&quot;: [ # Citation information for model-generated content.
5153 { # Citation information for model-generated content.
5154 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
5155 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
5156 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
5157 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5158 { # Represents a single field in a struct.
5159 &quot;name&quot;: &quot;A String&quot;,
5160 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5161 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5162 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5163 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5164 # Object with schema name: GenaiVertexV1beta1Value
5165 ],
5166 },
5167 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5168 &quot;numberValue&quot;: 3.14, # Represents a double value.
5169 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5170 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5171 },
5172 },
5173 ],
5174 },
5175 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
5176 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
5177 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
5178 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
5179 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
5180 },
5181 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
5182 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
5183 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
5184 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
5185 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
5186 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
5187 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
5188 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
5189 },
5190 ],
5191 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
5192 },
5193 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
5194 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
5195 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
5196 &quot;url&quot;: &quot;A String&quot;, # The URL.
5197 },
5198 },
5199 ],
5200 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
5201 },
5202 &quot;thought&quot;: { # A thought content block.
5203 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
5204 &quot;summary&quot;: [ # A summary of the thought.
5205 {
5206 &quot;image&quot;: { # An image content block.
5207 &quot;data&quot;: &quot;A String&quot;, # The image content.
5208 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
5209 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
5210 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
5211 },
5212 &quot;text&quot;: { # A text content block.
5213 &quot;annotations&quot;: [ # Citation information for model-generated content.
5214 { # Citation information for model-generated content.
5215 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
5216 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
5217 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
5218 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5219 { # Represents a single field in a struct.
5220 &quot;name&quot;: &quot;A String&quot;,
5221 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5222 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5223 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5224 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5225 # Object with schema name: GenaiVertexV1beta1Value
5226 ],
5227 },
5228 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5229 &quot;numberValue&quot;: 3.14, # Represents a double value.
5230 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5231 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5232 },
5233 },
5234 ],
5235 },
5236 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
5237 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
5238 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
5239 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
5240 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
5241 },
5242 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
5243 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
5244 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
5245 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
5246 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
5247 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
5248 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
5249 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
5250 },
5251 ],
5252 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
5253 },
5254 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
5255 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
5256 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
5257 &quot;url&quot;: &quot;A String&quot;, # The URL.
5258 },
5259 },
5260 ],
5261 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
5262 },
5263 },
5264 ],
5265 },
5266 &quot;toolCall&quot;: { # Tool call content.
5267 &quot;codeExecutionCall&quot;: { # Code execution content.
5268 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
5269 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
5270 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
5271 },
5272 },
5273 &quot;fileSearchCall&quot;: { # File Search content.
5274 },
5275 &quot;functionCall&quot;: { # A function tool call content block.
5276 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
5277 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5278 { # Represents a single field in a struct.
5279 &quot;name&quot;: &quot;A String&quot;,
5280 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5281 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5282 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5283 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5284 # Object with schema name: GenaiVertexV1beta1Value
5285 ],
5286 },
5287 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5288 &quot;numberValue&quot;: 3.14, # Represents a double value.
5289 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5290 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5291 },
5292 },
5293 ],
5294 },
5295 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
5296 },
5297 &quot;googleMapsCall&quot;: { # Google Maps content.
5298 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
5299 &quot;queries&quot;: [ # The queries to be executed.
5300 &quot;A String&quot;,
5301 ],
5302 },
5303 },
5304 &quot;googleSearchCall&quot;: { # Google Search content.
5305 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
5306 &quot;queries&quot;: [ # Web search queries for the following-up web search.
5307 &quot;A String&quot;,
5308 ],
5309 },
5310 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
5311 },
5312 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
5313 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
5314 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
5315 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5316 { # Represents a single field in a struct.
5317 &quot;name&quot;: &quot;A String&quot;,
5318 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5319 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5320 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5321 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5322 # Object with schema name: GenaiVertexV1beta1Value
5323 ],
5324 },
5325 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5326 &quot;numberValue&quot;: 3.14, # Represents a double value.
5327 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5328 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5329 },
5330 },
5331 ],
5332 },
5333 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
5334 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
5335 },
5336 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
5337 &quot;urlContextCall&quot;: { # URL context content.
5338 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
5339 &quot;urls&quot;: [ # The URLs to fetch.
5340 &quot;A String&quot;,
5341 ],
5342 },
5343 },
5344 },
5345 &quot;toolResult&quot;: { # Tool result content.
5346 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
5347 &quot;codeExecutionResult&quot;: { # Code execution result content.
5348 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
5349 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
5350 },
5351 &quot;fileSearchResult&quot;: { # File Search result content.
5352 &quot;result&quot;: [ # Optional. The results of the File Search.
5353 { # The result of the File Search.
5354 },
5355 ],
5356 },
5357 &quot;functionResult&quot;: { # A function tool result content block.
5358 &quot;contentList&quot;: {
5359 &quot;contents&quot;: [
5360 {
5361 &quot;image&quot;: { # An image content block.
5362 &quot;data&quot;: &quot;A String&quot;, # The image content.
5363 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
5364 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
5365 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
5366 },
5367 &quot;text&quot;: { # A text content block.
5368 &quot;annotations&quot;: [ # Citation information for model-generated content.
5369 { # Citation information for model-generated content.
5370 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
5371 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
5372 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
5373 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5374 { # Represents a single field in a struct.
5375 &quot;name&quot;: &quot;A String&quot;,
5376 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5377 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5378 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5379 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5380 # Object with schema name: GenaiVertexV1beta1Value
5381 ],
5382 },
5383 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5384 &quot;numberValue&quot;: 3.14, # Represents a double value.
5385 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5386 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5387 },
5388 },
5389 ],
5390 },
5391 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
5392 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
5393 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
5394 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
5395 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
5396 },
5397 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
5398 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
5399 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
5400 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
5401 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
5402 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
5403 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
5404 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
5405 },
5406 ],
5407 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
5408 },
5409 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
5410 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
5411 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
5412 &quot;url&quot;: &quot;A String&quot;, # The URL.
5413 },
5414 },
5415 ],
5416 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
5417 },
5418 },
5419 ],
5420 },
5421 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
5422 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
5423 &quot;stringResult&quot;: &quot;A String&quot;,
5424 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
5425 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5426 { # Represents a single field in a struct.
5427 &quot;name&quot;: &quot;A String&quot;,
5428 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5429 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5430 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5431 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5432 # Object with schema name: GenaiVertexV1beta1Value
5433 ],
5434 },
5435 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5436 &quot;numberValue&quot;: 3.14, # Represents a double value.
5437 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5438 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5439 },
5440 },
5441 ],
5442 },
5443 },
5444 &quot;googleMapsResult&quot;: { # Google Maps result content.
5445 &quot;result&quot;: [ # Required. The results of the Google Maps.
5446 { # The result of the Google Maps.
5447 &quot;places&quot;: [ # The places that were found.
5448 {
5449 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
5450 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
5451 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
5452 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
5453 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
5454 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
5455 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
5456 },
5457 ],
5458 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
5459 },
5460 ],
5461 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
5462 },
5463 ],
5464 },
5465 &quot;googleSearchResult&quot;: { # Google Search result content.
5466 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
5467 &quot;result&quot;: [ # Required. The results of the Google Search.
5468 { # The result of the Google Search.
5469 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
5470 },
5471 ],
5472 },
5473 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
5474 &quot;contentList&quot;: {
5475 &quot;contents&quot;: [
5476 {
5477 &quot;image&quot;: { # An image content block.
5478 &quot;data&quot;: &quot;A String&quot;, # The image content.
5479 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
5480 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
5481 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
5482 },
5483 &quot;text&quot;: { # A text content block.
5484 &quot;annotations&quot;: [ # Citation information for model-generated content.
5485 { # Citation information for model-generated content.
5486 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
5487 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
5488 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
5489 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5490 { # Represents a single field in a struct.
5491 &quot;name&quot;: &quot;A String&quot;,
5492 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5493 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5494 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5495 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5496 # Object with schema name: GenaiVertexV1beta1Value
5497 ],
5498 },
5499 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5500 &quot;numberValue&quot;: 3.14, # Represents a double value.
5501 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5502 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5503 },
5504 },
5505 ],
5506 },
5507 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
5508 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
5509 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
5510 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
5511 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
5512 },
5513 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
5514 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
5515 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
5516 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
5517 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
5518 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
5519 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
5520 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
5521 },
5522 ],
5523 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
5524 },
5525 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
5526 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
5527 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
5528 &quot;url&quot;: &quot;A String&quot;, # The URL.
5529 },
5530 },
5531 ],
5532 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
5533 },
5534 },
5535 ],
5536 },
5537 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
5538 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
5539 &quot;stringResult&quot;: &quot;A String&quot;,
5540 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
5541 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5542 { # Represents a single field in a struct.
5543 &quot;name&quot;: &quot;A String&quot;,
5544 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5545 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5546 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5547 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5548 # Object with schema name: GenaiVertexV1beta1Value
5549 ],
5550 },
5551 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5552 &quot;numberValue&quot;: 3.14, # Represents a double value.
5553 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5554 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5555 },
5556 },
5557 ],
5558 },
5559 },
5560 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
5561 &quot;urlContextResult&quot;: { # URL context result content.
5562 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
5563 &quot;result&quot;: [ # Required. The results of the URL context.
5564 { # The result of the URL context.
5565 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
5566 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
5567 },
5568 ],
5569 },
5570 },
5571 &quot;video&quot;: { # A video content block.
5572 &quot;data&quot;: &quot;A String&quot;, # The video content.
5573 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
5574 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
5575 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
5576 },
5577 },
5578 ],
5579 },
5580 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
5581 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
5582 &quot;stringResult&quot;: &quot;A String&quot;,
5583 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
5584 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5585 { # Represents a single field in a struct.
5586 &quot;name&quot;: &quot;A String&quot;,
5587 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5588 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5589 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5590 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5591 # Object with schema name: GenaiVertexV1beta1Value
5592 ],
5593 },
5594 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5595 &quot;numberValue&quot;: 3.14, # Represents a double value.
5596 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5597 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5598 },
5599 },
5600 ],
5601 },
5602 },
5603 &quot;googleMapsResult&quot;: { # Google Maps result step.
5604 &quot;result&quot;: [
5605 { # The result of the Google Maps.
5606 &quot;places&quot;: [
5607 {
5608 &quot;name&quot;: &quot;A String&quot;,
5609 &quot;placeId&quot;: &quot;A String&quot;,
5610 &quot;reviewSnippets&quot;: [
5611 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
5612 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
5613 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
5614 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
5615 },
5616 ],
5617 &quot;url&quot;: &quot;A String&quot;,
5618 },
5619 ],
5620 &quot;widgetContextToken&quot;: &quot;A String&quot;,
5621 },
5622 ],
5623 },
5624 &quot;googleSearchResult&quot;: { # Google Search result step.
5625 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
5626 &quot;result&quot;: [ # Required. The results of the Google Search.
5627 { # The result of the Google Search.
5628 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
5629 },
5630 ],
5631 },
5632 &quot;mcpServerToolResult&quot;: { # MCPServer tool result step.
5633 &quot;contentList&quot;: { # A list of Content.
5634 &quot;contents&quot;: [ # The contents of the list.
5635 { # The content of the response.
5636 &quot;audio&quot;: { # An audio content block.
5637 &quot;channels&quot;: 42, # The number of audio channels.
5638 &quot;data&quot;: &quot;A String&quot;, # The audio content.
5639 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
5640 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
5641 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
5642 },
5643 &quot;document&quot;: { # A document content block.
5644 &quot;data&quot;: &quot;A String&quot;, # The document content.
5645 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
5646 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
5647 },
5648 &quot;image&quot;: { # An image content block.
5649 &quot;data&quot;: &quot;A String&quot;, # The image content.
5650 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
5651 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
5652 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
5653 },
5654 &quot;text&quot;: { # A text content block.
5655 &quot;annotations&quot;: [ # Citation information for model-generated content.
5656 { # Citation information for model-generated content.
5657 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
5658 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
5659 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
5660 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5661 { # Represents a single field in a struct.
5662 &quot;name&quot;: &quot;A String&quot;,
5663 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5664 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5665 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5666 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5667 # Object with schema name: GenaiVertexV1beta1Value
5668 ],
5669 },
5670 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5671 &quot;numberValue&quot;: 3.14, # Represents a double value.
5672 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5673 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5674 },
5675 },
5676 ],
5677 },
5678 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
5679 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
5680 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
5681 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
5682 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
5683 },
5684 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
5685 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
5686 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
5687 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
5688 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
5689 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
5690 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
5691 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
5692 },
5693 ],
5694 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
5695 },
5696 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
5697 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
5698 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
5699 &quot;url&quot;: &quot;A String&quot;, # The URL.
5700 },
5701 },
5702 ],
5703 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
5704 },
5705 &quot;thought&quot;: { # A thought content block.
5706 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
5707 &quot;summary&quot;: [ # A summary of the thought.
5708 {
5709 &quot;image&quot;: { # An image content block.
5710 &quot;data&quot;: &quot;A String&quot;, # The image content.
5711 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
5712 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
5713 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
5714 },
5715 &quot;text&quot;: { # A text content block.
5716 &quot;annotations&quot;: [ # Citation information for model-generated content.
5717 { # Citation information for model-generated content.
5718 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
5719 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
5720 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
5721 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5722 { # Represents a single field in a struct.
5723 &quot;name&quot;: &quot;A String&quot;,
5724 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5725 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5726 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5727 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5728 # Object with schema name: GenaiVertexV1beta1Value
5729 ],
5730 },
5731 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5732 &quot;numberValue&quot;: 3.14, # Represents a double value.
5733 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5734 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5735 },
5736 },
5737 ],
5738 },
5739 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
5740 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
5741 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
5742 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
5743 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
5744 },
5745 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
5746 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
5747 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
5748 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
5749 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
5750 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
5751 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
5752 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
5753 },
5754 ],
5755 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
5756 },
5757 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
5758 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
5759 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
5760 &quot;url&quot;: &quot;A String&quot;, # The URL.
5761 },
5762 },
5763 ],
5764 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
5765 },
5766 },
5767 ],
5768 },
5769 &quot;toolCall&quot;: { # Tool call content.
5770 &quot;codeExecutionCall&quot;: { # Code execution content.
5771 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
5772 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
5773 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
5774 },
5775 },
5776 &quot;fileSearchCall&quot;: { # File Search content.
5777 },
5778 &quot;functionCall&quot;: { # A function tool call content block.
5779 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
5780 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5781 { # Represents a single field in a struct.
5782 &quot;name&quot;: &quot;A String&quot;,
5783 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5784 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5785 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5786 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5787 # Object with schema name: GenaiVertexV1beta1Value
5788 ],
5789 },
5790 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5791 &quot;numberValue&quot;: 3.14, # Represents a double value.
5792 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5793 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5794 },
5795 },
5796 ],
5797 },
5798 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
5799 },
5800 &quot;googleMapsCall&quot;: { # Google Maps content.
5801 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
5802 &quot;queries&quot;: [ # The queries to be executed.
5803 &quot;A String&quot;,
5804 ],
5805 },
5806 },
5807 &quot;googleSearchCall&quot;: { # Google Search content.
5808 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
5809 &quot;queries&quot;: [ # Web search queries for the following-up web search.
5810 &quot;A String&quot;,
5811 ],
5812 },
5813 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
5814 },
5815 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
5816 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
5817 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
5818 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5819 { # Represents a single field in a struct.
5820 &quot;name&quot;: &quot;A String&quot;,
5821 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5822 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5823 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5824 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5825 # Object with schema name: GenaiVertexV1beta1Value
5826 ],
5827 },
5828 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5829 &quot;numberValue&quot;: 3.14, # Represents a double value.
5830 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5831 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5832 },
5833 },
5834 ],
5835 },
5836 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
5837 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
5838 },
5839 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
5840 &quot;urlContextCall&quot;: { # URL context content.
5841 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
5842 &quot;urls&quot;: [ # The URLs to fetch.
5843 &quot;A String&quot;,
5844 ],
5845 },
5846 },
5847 },
5848 &quot;toolResult&quot;: { # Tool result content.
5849 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
5850 &quot;codeExecutionResult&quot;: { # Code execution result content.
5851 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
5852 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
5853 },
5854 &quot;fileSearchResult&quot;: { # File Search result content.
5855 &quot;result&quot;: [ # Optional. The results of the File Search.
5856 { # The result of the File Search.
5857 },
5858 ],
5859 },
5860 &quot;functionResult&quot;: { # A function tool result content block.
5861 &quot;contentList&quot;: {
5862 &quot;contents&quot;: [
5863 {
5864 &quot;image&quot;: { # An image content block.
5865 &quot;data&quot;: &quot;A String&quot;, # The image content.
5866 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
5867 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
5868 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
5869 },
5870 &quot;text&quot;: { # A text content block.
5871 &quot;annotations&quot;: [ # Citation information for model-generated content.
5872 { # Citation information for model-generated content.
5873 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
5874 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
5875 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
5876 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5877 { # Represents a single field in a struct.
5878 &quot;name&quot;: &quot;A String&quot;,
5879 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5880 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5881 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5882 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5883 # Object with schema name: GenaiVertexV1beta1Value
5884 ],
5885 },
5886 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5887 &quot;numberValue&quot;: 3.14, # Represents a double value.
5888 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5889 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5890 },
5891 },
5892 ],
5893 },
5894 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
5895 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
5896 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
5897 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
5898 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
5899 },
5900 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
5901 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
5902 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
5903 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
5904 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
5905 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
5906 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
5907 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
5908 },
5909 ],
5910 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
5911 },
5912 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
5913 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
5914 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
5915 &quot;url&quot;: &quot;A String&quot;, # The URL.
5916 },
5917 },
5918 ],
5919 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
5920 },
5921 },
5922 ],
5923 },
5924 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
5925 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
5926 &quot;stringResult&quot;: &quot;A String&quot;,
5927 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
5928 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5929 { # Represents a single field in a struct.
5930 &quot;name&quot;: &quot;A String&quot;,
5931 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5932 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5933 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5934 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5935 # Object with schema name: GenaiVertexV1beta1Value
5936 ],
5937 },
5938 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
5939 &quot;numberValue&quot;: 3.14, # Represents a double value.
5940 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
5941 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
5942 },
5943 },
5944 ],
5945 },
5946 },
5947 &quot;googleMapsResult&quot;: { # Google Maps result content.
5948 &quot;result&quot;: [ # Required. The results of the Google Maps.
5949 { # The result of the Google Maps.
5950 &quot;places&quot;: [ # The places that were found.
5951 {
5952 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
5953 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
5954 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
5955 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
5956 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
5957 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
5958 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
5959 },
5960 ],
5961 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
5962 },
5963 ],
5964 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
5965 },
5966 ],
5967 },
5968 &quot;googleSearchResult&quot;: { # Google Search result content.
5969 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
5970 &quot;result&quot;: [ # Required. The results of the Google Search.
5971 { # The result of the Google Search.
5972 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
5973 },
5974 ],
5975 },
5976 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
5977 &quot;contentList&quot;: {
5978 &quot;contents&quot;: [
5979 {
5980 &quot;image&quot;: { # An image content block.
5981 &quot;data&quot;: &quot;A String&quot;, # The image content.
5982 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
5983 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
5984 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
5985 },
5986 &quot;text&quot;: { # A text content block.
5987 &quot;annotations&quot;: [ # Citation information for model-generated content.
5988 { # Citation information for model-generated content.
5989 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
5990 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
5991 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
5992 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
5993 { # Represents a single field in a struct.
5994 &quot;name&quot;: &quot;A String&quot;,
5995 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
5996 &quot;boolValue&quot;: True or False, # Represents a boolean value.
5997 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
5998 &quot;values&quot;: [ # Repeated field of dynamically typed values.
5999 # Object with schema name: GenaiVertexV1beta1Value
6000 ],
6001 },
6002 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6003 &quot;numberValue&quot;: 3.14, # Represents a double value.
6004 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6005 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6006 },
6007 },
6008 ],
6009 },
6010 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
6011 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
6012 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
6013 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
6014 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
6015 },
6016 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
6017 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
6018 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
6019 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
6020 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
6021 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
6022 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
6023 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
6024 },
6025 ],
6026 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
6027 },
6028 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
6029 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
6030 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
6031 &quot;url&quot;: &quot;A String&quot;, # The URL.
6032 },
6033 },
6034 ],
6035 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
6036 },
6037 },
6038 ],
6039 },
6040 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
6041 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
6042 &quot;stringResult&quot;: &quot;A String&quot;,
6043 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
6044 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
6045 { # Represents a single field in a struct.
6046 &quot;name&quot;: &quot;A String&quot;,
6047 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
6048 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6049 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6050 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6051 # Object with schema name: GenaiVertexV1beta1Value
6052 ],
6053 },
6054 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6055 &quot;numberValue&quot;: 3.14, # Represents a double value.
6056 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6057 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6058 },
6059 },
6060 ],
6061 },
6062 },
6063 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
6064 &quot;urlContextResult&quot;: { # URL context result content.
6065 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
6066 &quot;result&quot;: [ # Required. The results of the URL context.
6067 { # The result of the URL context.
6068 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
6069 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
6070 },
6071 ],
6072 },
6073 },
6074 &quot;video&quot;: { # A video content block.
6075 &quot;data&quot;: &quot;A String&quot;, # The video content.
6076 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
6077 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
6078 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
6079 },
6080 },
6081 ],
6082 },
6083 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
6084 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
6085 &quot;stringResult&quot;: &quot;A String&quot;,
6086 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
6087 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
6088 { # Represents a single field in a struct.
6089 &quot;name&quot;: &quot;A String&quot;,
6090 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
6091 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6092 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6093 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6094 # Object with schema name: GenaiVertexV1beta1Value
6095 ],
6096 },
6097 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6098 &quot;numberValue&quot;: 3.14, # Represents a double value.
6099 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6100 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6101 },
6102 },
6103 ],
6104 },
6105 },
6106 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
6107 &quot;urlContextResult&quot;: { # URL context result step.
6108 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
6109 &quot;result&quot;: [ # Required. The results of the URL context.
6110 { # The result of the URL context.
6111 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
6112 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
6113 },
6114 ],
6115 },
6116 },
6117 &quot;userInput&quot;: { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
6118 &quot;contentList&quot;: { # A list of Content. # The content of the step. An array of Content objects.
6119 &quot;contents&quot;: [ # The contents of the list.
6120 { # The content of the response.
6121 &quot;audio&quot;: { # An audio content block.
6122 &quot;channels&quot;: 42, # The number of audio channels.
6123 &quot;data&quot;: &quot;A String&quot;, # The audio content.
6124 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
6125 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
6126 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
6127 },
6128 &quot;document&quot;: { # A document content block.
6129 &quot;data&quot;: &quot;A String&quot;, # The document content.
6130 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
6131 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
6132 },
6133 &quot;image&quot;: { # An image content block.
6134 &quot;data&quot;: &quot;A String&quot;, # The image content.
6135 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
6136 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
6137 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
6138 },
6139 &quot;text&quot;: { # A text content block.
6140 &quot;annotations&quot;: [ # Citation information for model-generated content.
6141 { # Citation information for model-generated content.
6142 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
6143 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
6144 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
6145 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
6146 { # Represents a single field in a struct.
6147 &quot;name&quot;: &quot;A String&quot;,
6148 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
6149 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6150 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6151 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6152 # Object with schema name: GenaiVertexV1beta1Value
6153 ],
6154 },
6155 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6156 &quot;numberValue&quot;: 3.14, # Represents a double value.
6157 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6158 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6159 },
6160 },
6161 ],
6162 },
6163 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
6164 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
6165 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
6166 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
6167 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
6168 },
6169 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
6170 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
6171 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
6172 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
6173 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
6174 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
6175 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
6176 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
6177 },
6178 ],
6179 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
6180 },
6181 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
6182 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
6183 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
6184 &quot;url&quot;: &quot;A String&quot;, # The URL.
6185 },
6186 },
6187 ],
6188 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
6189 },
6190 &quot;thought&quot;: { # A thought content block.
6191 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
6192 &quot;summary&quot;: [ # A summary of the thought.
6193 {
6194 &quot;image&quot;: { # An image content block.
6195 &quot;data&quot;: &quot;A String&quot;, # The image content.
6196 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
6197 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
6198 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
6199 },
6200 &quot;text&quot;: { # A text content block.
6201 &quot;annotations&quot;: [ # Citation information for model-generated content.
6202 { # Citation information for model-generated content.
6203 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
6204 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
6205 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
6206 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
6207 { # Represents a single field in a struct.
6208 &quot;name&quot;: &quot;A String&quot;,
6209 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
6210 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6211 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6212 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6213 # Object with schema name: GenaiVertexV1beta1Value
6214 ],
6215 },
6216 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6217 &quot;numberValue&quot;: 3.14, # Represents a double value.
6218 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6219 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6220 },
6221 },
6222 ],
6223 },
6224 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
6225 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
6226 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
6227 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
6228 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
6229 },
6230 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
6231 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
6232 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
6233 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
6234 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
6235 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
6236 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
6237 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
6238 },
6239 ],
6240 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
6241 },
6242 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
6243 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
6244 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
6245 &quot;url&quot;: &quot;A String&quot;, # The URL.
6246 },
6247 },
6248 ],
6249 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
6250 },
6251 },
6252 ],
6253 },
6254 &quot;toolCall&quot;: { # Tool call content.
6255 &quot;codeExecutionCall&quot;: { # Code execution content.
6256 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
6257 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
6258 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
6259 },
6260 },
6261 &quot;fileSearchCall&quot;: { # File Search content.
6262 },
6263 &quot;functionCall&quot;: { # A function tool call content block.
6264 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
6265 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
6266 { # Represents a single field in a struct.
6267 &quot;name&quot;: &quot;A String&quot;,
6268 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
6269 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6270 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6271 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6272 # Object with schema name: GenaiVertexV1beta1Value
6273 ],
6274 },
6275 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6276 &quot;numberValue&quot;: 3.14, # Represents a double value.
6277 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6278 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6279 },
6280 },
6281 ],
6282 },
6283 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
6284 },
6285 &quot;googleMapsCall&quot;: { # Google Maps content.
6286 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
6287 &quot;queries&quot;: [ # The queries to be executed.
6288 &quot;A String&quot;,
6289 ],
6290 },
6291 },
6292 &quot;googleSearchCall&quot;: { # Google Search content.
6293 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
6294 &quot;queries&quot;: [ # Web search queries for the following-up web search.
6295 &quot;A String&quot;,
6296 ],
6297 },
6298 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
6299 },
6300 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
6301 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
6302 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
6303 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
6304 { # Represents a single field in a struct.
6305 &quot;name&quot;: &quot;A String&quot;,
6306 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
6307 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6308 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6309 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6310 # Object with schema name: GenaiVertexV1beta1Value
6311 ],
6312 },
6313 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6314 &quot;numberValue&quot;: 3.14, # Represents a double value.
6315 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6316 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6317 },
6318 },
6319 ],
6320 },
6321 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
6322 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
6323 },
6324 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
6325 &quot;urlContextCall&quot;: { # URL context content.
6326 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
6327 &quot;urls&quot;: [ # The URLs to fetch.
6328 &quot;A String&quot;,
6329 ],
6330 },
6331 },
6332 },
6333 &quot;toolResult&quot;: { # Tool result content.
6334 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
6335 &quot;codeExecutionResult&quot;: { # Code execution result content.
6336 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
6337 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
6338 },
6339 &quot;fileSearchResult&quot;: { # File Search result content.
6340 &quot;result&quot;: [ # Optional. The results of the File Search.
6341 { # The result of the File Search.
6342 },
6343 ],
6344 },
6345 &quot;functionResult&quot;: { # A function tool result content block.
6346 &quot;contentList&quot;: {
6347 &quot;contents&quot;: [
6348 {
6349 &quot;image&quot;: { # An image content block.
6350 &quot;data&quot;: &quot;A String&quot;, # The image content.
6351 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
6352 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
6353 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
6354 },
6355 &quot;text&quot;: { # A text content block.
6356 &quot;annotations&quot;: [ # Citation information for model-generated content.
6357 { # Citation information for model-generated content.
6358 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
6359 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
6360 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
6361 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
6362 { # Represents a single field in a struct.
6363 &quot;name&quot;: &quot;A String&quot;,
6364 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
6365 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6366 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6367 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6368 # Object with schema name: GenaiVertexV1beta1Value
6369 ],
6370 },
6371 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6372 &quot;numberValue&quot;: 3.14, # Represents a double value.
6373 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6374 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6375 },
6376 },
6377 ],
6378 },
6379 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
6380 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
6381 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
6382 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
6383 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
6384 },
6385 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
6386 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
6387 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
6388 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
6389 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
6390 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
6391 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
6392 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
6393 },
6394 ],
6395 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
6396 },
6397 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
6398 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
6399 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
6400 &quot;url&quot;: &quot;A String&quot;, # The URL.
6401 },
6402 },
6403 ],
6404 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
6405 },
6406 },
6407 ],
6408 },
6409 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
6410 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
6411 &quot;stringResult&quot;: &quot;A String&quot;,
6412 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
6413 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
6414 { # Represents a single field in a struct.
6415 &quot;name&quot;: &quot;A String&quot;,
6416 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
6417 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6418 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6419 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6420 # Object with schema name: GenaiVertexV1beta1Value
6421 ],
6422 },
6423 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6424 &quot;numberValue&quot;: 3.14, # Represents a double value.
6425 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6426 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6427 },
6428 },
6429 ],
6430 },
6431 },
6432 &quot;googleMapsResult&quot;: { # Google Maps result content.
6433 &quot;result&quot;: [ # Required. The results of the Google Maps.
6434 { # The result of the Google Maps.
6435 &quot;places&quot;: [ # The places that were found.
6436 {
6437 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
6438 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
6439 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
6440 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
6441 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
6442 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
6443 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
6444 },
6445 ],
6446 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
6447 },
6448 ],
6449 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
6450 },
6451 ],
6452 },
6453 &quot;googleSearchResult&quot;: { # Google Search result content.
6454 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
6455 &quot;result&quot;: [ # Required. The results of the Google Search.
6456 { # The result of the Google Search.
6457 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
6458 },
6459 ],
6460 },
6461 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
6462 &quot;contentList&quot;: {
6463 &quot;contents&quot;: [
6464 {
6465 &quot;image&quot;: { # An image content block.
6466 &quot;data&quot;: &quot;A String&quot;, # The image content.
6467 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
6468 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
6469 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
6470 },
6471 &quot;text&quot;: { # A text content block.
6472 &quot;annotations&quot;: [ # Citation information for model-generated content.
6473 { # Citation information for model-generated content.
6474 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
6475 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
6476 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
6477 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
6478 { # Represents a single field in a struct.
6479 &quot;name&quot;: &quot;A String&quot;,
6480 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
6481 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6482 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6483 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6484 # Object with schema name: GenaiVertexV1beta1Value
6485 ],
6486 },
6487 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6488 &quot;numberValue&quot;: 3.14, # Represents a double value.
6489 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6490 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6491 },
6492 },
6493 ],
6494 },
6495 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
6496 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
6497 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
6498 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
6499 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
6500 },
6501 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
6502 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
6503 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
6504 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
6505 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
6506 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
6507 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
6508 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
6509 },
6510 ],
6511 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
6512 },
6513 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
6514 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
6515 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
6516 &quot;url&quot;: &quot;A String&quot;, # The URL.
6517 },
6518 },
6519 ],
6520 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
6521 },
6522 },
6523 ],
6524 },
6525 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
6526 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
6527 &quot;stringResult&quot;: &quot;A String&quot;,
6528 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
6529 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
6530 { # Represents a single field in a struct.
6531 &quot;name&quot;: &quot;A String&quot;,
6532 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
6533 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6534 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6535 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6536 # Object with schema name: GenaiVertexV1beta1Value
6537 ],
6538 },
6539 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6540 &quot;numberValue&quot;: 3.14, # Represents a double value.
6541 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6542 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6543 },
6544 },
6545 ],
6546 },
6547 },
6548 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
6549 &quot;urlContextResult&quot;: { # URL context result content.
6550 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
6551 &quot;result&quot;: [ # Required. The results of the URL context.
6552 { # The result of the URL context.
6553 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
6554 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
6555 },
6556 ],
6557 },
6558 },
6559 &quot;video&quot;: { # A video content block.
6560 &quot;data&quot;: &quot;A String&quot;, # The video content.
6561 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
6562 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
6563 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
6564 },
6565 },
6566 ],
6567 },
6568 &quot;contentString&quot;: &quot;A String&quot;, # The content of the step. A single string.
6569 },
6570 },
6571 ],
6572 &quot;stringContent&quot;: &quot;A String&quot;, # A string input for the interaction, it will be processed as a single text input.
6573 &quot;systemInstruction&quot;: &quot;A String&quot;, # System instruction for the interaction.
6574 &quot;tools&quot;: [ # A list of tool declarations the model may call during interaction.
6575 { # A tool that can be used by the model.
6576 &quot;codeExecution&quot;: { # A tool that can be used by the model to execute code. # A tool that can be used by the model to execute code.
6577 },
6578 &quot;computerUse&quot;: { # A tool that can be used by the model to interact with the computer. # Tool to support the model interacting directly with the computer.
6579 &quot;environment&quot;: &quot;A String&quot;, # The environment being operated.
6580 &quot;excludedPredefinedFunctions&quot;: [ # The list of predefined functions that are excluded from the model call.
6581 &quot;A String&quot;,
6582 ],
6583 },
6584 &quot;fileSearch&quot;: { # A tool that can be used by the model to search files. # A tool that can be used by the model to search files.
6585 &quot;fileSearchStoreNames&quot;: [ # The file search store names to search.
6586 &quot;A String&quot;,
6587 ],
6588 &quot;metadataFilter&quot;: &quot;A String&quot;, # Metadata filter to apply to the semantic retrieval documents and chunks.
6589 &quot;topK&quot;: 42, # The number of semantic retrieval chunks to retrieve.
6590 },
6591 &quot;function&quot;: { # A tool that can be used by the model. # A function that can be used by the model.
6592 &quot;description&quot;: &quot;A String&quot;, # A description of the function.
6593 &quot;name&quot;: &quot;A String&quot;, # The name of the function.
6594 &quot;parameters&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # The JSON Schema for the function&#x27;s parameters.
6595 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6596 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6597 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6598 # Object with schema name: GenaiVertexV1beta1Value
6599 ],
6600 },
6601 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6602 &quot;numberValue&quot;: 3.14, # Represents a double value.
6603 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6604 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6605 },
6606 },
6607 &quot;googleMaps&quot;: { # A tool that can be used by the model to call Google Maps. # A tool that can be used by the model to search Google Maps.
6608 &quot;enableWidget&quot;: True or False, # Whether to return a widget context token in the tool call result of the response.
6609 &quot;latitude&quot;: 3.14, # The latitude of the user&#x27;s location.
6610 &quot;longitude&quot;: 3.14, # The longitude of the user&#x27;s location.
6611 },
6612 &quot;googleSearch&quot;: { # A tool that can be used by the model to search Google. # A tool that can be used by the model to search Google.
6613 &quot;searchTypes&quot;: [ # The types of search grounding to enable.
6614 &quot;A String&quot;,
6615 ],
6616 },
6617 &quot;mcpServer&quot;: { # A MCPServer is a server that can be called by the model to perform actions. # A MCPServer is a server that can be called by the model to perform actions.
6618 &quot;allowedTools&quot;: [ # The allowed tools.
6619 { # The configuration for allowed tools.
6620 &quot;mode&quot;: &quot;A String&quot;, # The mode of the tool choice.
6621 &quot;tools&quot;: [ # The names of the allowed tools.
6622 &quot;A String&quot;,
6623 ],
6624 },
6625 ],
6626 &quot;headers&quot;: { # Optional: Fields for authentication headers, timeouts, etc., if needed.
6627 &quot;a_key&quot;: &quot;A String&quot;,
6628 },
6629 &quot;name&quot;: &quot;A String&quot;, # The name of the MCPServer.
6630 &quot;url&quot;: &quot;A String&quot;, # The full URL for the MCPServer endpoint. Example: &quot;https://api.example.com/mcp&quot;
6631 },
6632 &quot;retrieval&quot;: { # A tool that can be used by the model to retrieve files. # A tool that can be used by the model to retrieve files.
6633 &quot;exa_ai_search_config&quot;: { # Used to specify configuration for ExaAISearch. # Used to specify configuration for ExaAISearch.
6634 &quot;api_key&quot;: &quot;A String&quot;, # Required. The API key for ExaAiSearch.
6635 &quot;custom_config&quot;: { # Optional. This field can be used to pass any parameter from the Exa.ai Search API.
6636 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
6637 },
6638 },
6639 &quot;parallel_ai_search_config&quot;: { # Used to specify configuration for ParallelAISearch. # Used to specify configuration for ParallelAISearch.
6640 &quot;api_key&quot;: &quot;A String&quot;, # Optional. The API key for ParallelAiSearch.
6641 &quot;custom_config&quot;: { # Optional. Custom configs for ParallelAiSearch.
6642 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
6643 },
6644 },
6645 &quot;rag_store_config&quot;: { # Use to specify configuration for RAG Store. # Used to specify configuration for RagStore.
6646 &quot;rag_resources&quot;: [ # Optional. The representation of the rag source.
6647 { # The definition of the Rag resource.
6648 &quot;rag_corpus&quot;: &quot;A String&quot;, # Optional. RagCorpora resource name.
6649 &quot;rag_file_ids&quot;: [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
6650 &quot;A String&quot;,
6651 ],
6652 },
6653 ],
6654 &quot;rag_retrieval_config&quot;: { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
6655 &quot;filter&quot;: { # Config for filters. # Optional. Config for filters.
6656 &quot;metadata_filter&quot;: &quot;A String&quot;, # Optional. String for metadata filtering.
6657 &quot;vector_distance_threshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
6658 &quot;vector_similarity_threshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
6659 },
6660 &quot;hybrid_search&quot;: { # Config for Hybrid Search. # Optional. Config for Hybrid Search.
6661 &quot;alpha&quot;: 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results.
6662 },
6663 &quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
6664 &quot;rank_service&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
6665 &quot;model_name&quot;: &quot;A String&quot;, # Optional. The model name of the rank service.
6666 },
6667 },
6668 &quot;top_k&quot;: 42, # Optional. The number of contexts to retrieve.
6669 },
6670 &quot;similarity_top_k&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
6671 &quot;vector_distance_threshold&quot;: 3.14, # Optional. Only return results with vector distance smaller than the threshold.
6672 },
6673 &quot;retrievalTypes&quot;: [ # The types of file retrieval to enable.
6674 &quot;A String&quot;,
6675 ],
6676 &quot;vertex_ai_search_config&quot;: { # Used to specify configuration for VertexAISearch. # Used to specify configuration for VertexAISearch.
6677 &quot;datastores&quot;: [ # Optional. Used to specify Vertex AI Search datastores.
6678 &quot;A String&quot;,
6679 ],
6680 &quot;engine&quot;: &quot;A String&quot;, # Optional. Used to specify Vertex AI Search engine.
6681 },
6682 },
6683 &quot;urlContext&quot;: { # A tool that can be used by the model to fetch URL context. # A tool that can be used by the model to fetch URL context.
6684 },
6685 },
6686 ],
6687 &quot;turnList&quot;: { # A list of Turns. # The turns for the interaction.
6688 &quot;turns&quot;: [
6689 {
6690 &quot;contentList&quot;: { # A list of Content. # The content of the turn. An array of Content objects.
6691 &quot;contents&quot;: [ # The contents of the list.
6692 { # The content of the response.
6693 &quot;audio&quot;: { # An audio content block.
6694 &quot;channels&quot;: 42, # The number of audio channels.
6695 &quot;data&quot;: &quot;A String&quot;, # The audio content.
6696 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
6697 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
6698 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
6699 },
6700 &quot;document&quot;: { # A document content block.
6701 &quot;data&quot;: &quot;A String&quot;, # The document content.
6702 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
6703 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
6704 },
6705 &quot;image&quot;: { # An image content block.
6706 &quot;data&quot;: &quot;A String&quot;, # The image content.
6707 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
6708 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
6709 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
6710 },
6711 &quot;text&quot;: { # A text content block.
6712 &quot;annotations&quot;: [ # Citation information for model-generated content.
6713 { # Citation information for model-generated content.
6714 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
6715 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
6716 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
6717 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
6718 { # Represents a single field in a struct.
6719 &quot;name&quot;: &quot;A String&quot;,
6720 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
6721 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6722 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6723 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6724 # Object with schema name: GenaiVertexV1beta1Value
6725 ],
6726 },
6727 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6728 &quot;numberValue&quot;: 3.14, # Represents a double value.
6729 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6730 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6731 },
6732 },
6733 ],
6734 },
6735 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
6736 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
6737 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
6738 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
6739 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
6740 },
6741 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
6742 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
6743 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
6744 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
6745 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
6746 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
6747 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
6748 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
6749 },
6750 ],
6751 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
6752 },
6753 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
6754 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
6755 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
6756 &quot;url&quot;: &quot;A String&quot;, # The URL.
6757 },
6758 },
6759 ],
6760 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
6761 },
6762 &quot;thought&quot;: { # A thought content block.
6763 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
6764 &quot;summary&quot;: [ # A summary of the thought.
6765 {
6766 &quot;image&quot;: { # An image content block.
6767 &quot;data&quot;: &quot;A String&quot;, # The image content.
6768 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
6769 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
6770 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
6771 },
6772 &quot;text&quot;: { # A text content block.
6773 &quot;annotations&quot;: [ # Citation information for model-generated content.
6774 { # Citation information for model-generated content.
6775 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
6776 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
6777 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
6778 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
6779 { # Represents a single field in a struct.
6780 &quot;name&quot;: &quot;A String&quot;,
6781 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
6782 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6783 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6784 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6785 # Object with schema name: GenaiVertexV1beta1Value
6786 ],
6787 },
6788 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6789 &quot;numberValue&quot;: 3.14, # Represents a double value.
6790 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6791 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6792 },
6793 },
6794 ],
6795 },
6796 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
6797 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
6798 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
6799 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
6800 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
6801 },
6802 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
6803 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
6804 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
6805 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
6806 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
6807 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
6808 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
6809 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
6810 },
6811 ],
6812 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
6813 },
6814 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
6815 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
6816 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
6817 &quot;url&quot;: &quot;A String&quot;, # The URL.
6818 },
6819 },
6820 ],
6821 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
6822 },
6823 },
6824 ],
6825 },
6826 &quot;toolCall&quot;: { # Tool call content.
6827 &quot;codeExecutionCall&quot;: { # Code execution content.
6828 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
6829 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
6830 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
6831 },
6832 },
6833 &quot;fileSearchCall&quot;: { # File Search content.
6834 },
6835 &quot;functionCall&quot;: { # A function tool call content block.
6836 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
6837 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
6838 { # Represents a single field in a struct.
6839 &quot;name&quot;: &quot;A String&quot;,
6840 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
6841 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6842 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6843 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6844 # Object with schema name: GenaiVertexV1beta1Value
6845 ],
6846 },
6847 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6848 &quot;numberValue&quot;: 3.14, # Represents a double value.
6849 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6850 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6851 },
6852 },
6853 ],
6854 },
6855 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
6856 },
6857 &quot;googleMapsCall&quot;: { # Google Maps content.
6858 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
6859 &quot;queries&quot;: [ # The queries to be executed.
6860 &quot;A String&quot;,
6861 ],
6862 },
6863 },
6864 &quot;googleSearchCall&quot;: { # Google Search content.
6865 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
6866 &quot;queries&quot;: [ # Web search queries for the following-up web search.
6867 &quot;A String&quot;,
6868 ],
6869 },
6870 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
6871 },
6872 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
6873 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
6874 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
6875 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
6876 { # Represents a single field in a struct.
6877 &quot;name&quot;: &quot;A String&quot;,
6878 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
6879 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6880 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6881 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6882 # Object with schema name: GenaiVertexV1beta1Value
6883 ],
6884 },
6885 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6886 &quot;numberValue&quot;: 3.14, # Represents a double value.
6887 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6888 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6889 },
6890 },
6891 ],
6892 },
6893 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
6894 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
6895 },
6896 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
6897 &quot;urlContextCall&quot;: { # URL context content.
6898 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
6899 &quot;urls&quot;: [ # The URLs to fetch.
6900 &quot;A String&quot;,
6901 ],
6902 },
6903 },
6904 },
6905 &quot;toolResult&quot;: { # Tool result content.
6906 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
6907 &quot;codeExecutionResult&quot;: { # Code execution result content.
6908 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
6909 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
6910 },
6911 &quot;fileSearchResult&quot;: { # File Search result content.
6912 &quot;result&quot;: [ # Optional. The results of the File Search.
6913 { # The result of the File Search.
6914 },
6915 ],
6916 },
6917 &quot;functionResult&quot;: { # A function tool result content block.
6918 &quot;contentList&quot;: {
6919 &quot;contents&quot;: [
6920 {
6921 &quot;image&quot;: { # An image content block.
6922 &quot;data&quot;: &quot;A String&quot;, # The image content.
6923 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
6924 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
6925 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
6926 },
6927 &quot;text&quot;: { # A text content block.
6928 &quot;annotations&quot;: [ # Citation information for model-generated content.
6929 { # Citation information for model-generated content.
6930 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
6931 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
6932 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
6933 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
6934 { # Represents a single field in a struct.
6935 &quot;name&quot;: &quot;A String&quot;,
6936 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
6937 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6938 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6939 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6940 # Object with schema name: GenaiVertexV1beta1Value
6941 ],
6942 },
6943 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6944 &quot;numberValue&quot;: 3.14, # Represents a double value.
6945 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6946 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6947 },
6948 },
6949 ],
6950 },
6951 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
6952 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
6953 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
6954 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
6955 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
6956 },
6957 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
6958 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
6959 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
6960 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
6961 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
6962 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
6963 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
6964 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
6965 },
6966 ],
6967 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
6968 },
6969 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
6970 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
6971 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
6972 &quot;url&quot;: &quot;A String&quot;, # The URL.
6973 },
6974 },
6975 ],
6976 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
6977 },
6978 },
6979 ],
6980 },
6981 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
6982 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
6983 &quot;stringResult&quot;: &quot;A String&quot;,
6984 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
6985 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
6986 { # Represents a single field in a struct.
6987 &quot;name&quot;: &quot;A String&quot;,
6988 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
6989 &quot;boolValue&quot;: True or False, # Represents a boolean value.
6990 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
6991 &quot;values&quot;: [ # Repeated field of dynamically typed values.
6992 # Object with schema name: GenaiVertexV1beta1Value
6993 ],
6994 },
6995 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
6996 &quot;numberValue&quot;: 3.14, # Represents a double value.
6997 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
6998 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
6999 },
7000 },
7001 ],
7002 },
7003 },
7004 &quot;googleMapsResult&quot;: { # Google Maps result content.
7005 &quot;result&quot;: [ # Required. The results of the Google Maps.
7006 { # The result of the Google Maps.
7007 &quot;places&quot;: [ # The places that were found.
7008 {
7009 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
7010 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
7011 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
7012 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
7013 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
7014 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
7015 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
7016 },
7017 ],
7018 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
7019 },
7020 ],
7021 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
7022 },
7023 ],
7024 },
7025 &quot;googleSearchResult&quot;: { # Google Search result content.
7026 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
7027 &quot;result&quot;: [ # Required. The results of the Google Search.
7028 { # The result of the Google Search.
7029 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
7030 },
7031 ],
7032 },
7033 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
7034 &quot;contentList&quot;: {
7035 &quot;contents&quot;: [
7036 {
7037 &quot;image&quot;: { # An image content block.
7038 &quot;data&quot;: &quot;A String&quot;, # The image content.
7039 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
7040 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
7041 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
7042 },
7043 &quot;text&quot;: { # A text content block.
7044 &quot;annotations&quot;: [ # Citation information for model-generated content.
7045 { # Citation information for model-generated content.
7046 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
7047 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
7048 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
7049 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
7050 { # Represents a single field in a struct.
7051 &quot;name&quot;: &quot;A String&quot;,
7052 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
7053 &quot;boolValue&quot;: True or False, # Represents a boolean value.
7054 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
7055 &quot;values&quot;: [ # Repeated field of dynamically typed values.
7056 # Object with schema name: GenaiVertexV1beta1Value
7057 ],
7058 },
7059 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
7060 &quot;numberValue&quot;: 3.14, # Represents a double value.
7061 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
7062 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
7063 },
7064 },
7065 ],
7066 },
7067 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
7068 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
7069 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
7070 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
7071 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
7072 },
7073 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
7074 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
7075 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
7076 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
7077 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
7078 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
7079 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
7080 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
7081 },
7082 ],
7083 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
7084 },
7085 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
7086 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
7087 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
7088 &quot;url&quot;: &quot;A String&quot;, # The URL.
7089 },
7090 },
7091 ],
7092 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
7093 },
7094 },
7095 ],
7096 },
7097 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
7098 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
7099 &quot;stringResult&quot;: &quot;A String&quot;,
7100 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
7101 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
7102 { # Represents a single field in a struct.
7103 &quot;name&quot;: &quot;A String&quot;,
7104 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
7105 &quot;boolValue&quot;: True or False, # Represents a boolean value.
7106 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
7107 &quot;values&quot;: [ # Repeated field of dynamically typed values.
7108 # Object with schema name: GenaiVertexV1beta1Value
7109 ],
7110 },
7111 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
7112 &quot;numberValue&quot;: 3.14, # Represents a double value.
7113 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
7114 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
7115 },
7116 },
7117 ],
7118 },
7119 },
7120 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
7121 &quot;urlContextResult&quot;: { # URL context result content.
7122 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
7123 &quot;result&quot;: [ # Required. The results of the URL context.
7124 { # The result of the URL context.
7125 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
7126 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
7127 },
7128 ],
7129 },
7130 },
7131 &quot;video&quot;: { # A video content block.
7132 &quot;data&quot;: &quot;A String&quot;, # The video content.
7133 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
7134 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
7135 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
7136 },
7137 },
7138 ],
7139 },
7140 &quot;contentString&quot;: &quot;A String&quot;, # The content of the turn. A single string.
7141 &quot;role&quot;: &quot;A String&quot;, # The originator of this turn. Must be user for input or model for model output.
7142 },
7143 ],
7144 },
7145 &quot;updated&quot;: &quot;A String&quot;, # Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
7146 &quot;usage&quot;: { # Statistics on the interaction request&#x27;s token usage. # Output only. Statistics on the interaction request&#x27;s token usage.
7147 &quot;cachedTokensByModality&quot;: [ # A breakdown of cached token usage by modality.
7148 { # The token count for a single response modality.
7149 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
7150 &quot;tokens&quot;: 42, # Number of tokens for the modality.
7151 },
7152 ],
7153 &quot;groundingToolCount&quot;: [ # Grounding tool count.
7154 { # The number of grounding tool counts.
7155 &quot;count&quot;: 42, # The number of grounding tool counts.
7156 &quot;type&quot;: &quot;A String&quot;, # The grounding tool type associated with the count.
7157 },
7158 ],
7159 &quot;inputTokensByModality&quot;: [ # A breakdown of input token usage by modality.
7160 { # The token count for a single response modality.
7161 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
7162 &quot;tokens&quot;: 42, # Number of tokens for the modality.
7163 },
7164 ],
7165 &quot;outputTokensByModality&quot;: [ # A breakdown of output token usage by modality.
7166 { # The token count for a single response modality.
7167 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
7168 &quot;tokens&quot;: 42, # Number of tokens for the modality.
7169 },
7170 ],
7171 &quot;toolUseTokensByModality&quot;: [ # A breakdown of tool-use token usage by modality.
7172 { # The token count for a single response modality.
7173 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
7174 &quot;tokens&quot;: 42, # Number of tokens for the modality.
7175 },
7176 ],
7177 &quot;totalCachedTokens&quot;: 42, # Number of tokens in the cached part of the prompt (the cached content).
7178 &quot;totalInputTokens&quot;: 42, # Number of tokens in the prompt (context).
7179 &quot;totalOutputTokens&quot;: 42, # Total number of tokens across all the generated responses.
7180 &quot;totalThoughtTokens&quot;: 42, # Number of tokens of thoughts for thinking models.
7181 &quot;totalTokens&quot;: 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
7182 &quot;totalToolUseTokens&quot;: 42, # Number of tokens present in tool-use prompt(s).
7183 },
7184 }</pre>
7185 </div>
7186
7187 <div class="method">
7188 <code class="details" id="close">close()</code>
7189 <pre>Close httplib2 connections.</pre>
7190 </div>
7191
7192 <div class="method">
7193 <code class="details" id="getPoll">getPoll(name, includeInput=None, lastEventId=None, stream=None, x__xgafv=None)</code>
7194 <pre>Fully typed proto, unary version of GetInteraction that returns Interaction proto.
7195
7196 Args:
7197 name: string, Required. The name of the interaction to retrieve. Format: interactions/{interaction} (required)
7198 includeInput: boolean, Optional. If true, includes the input in the response.
7199 lastEventId: string, Optional. If set, resumes the interaction stream from the chunk after the event marked by the event id. Can only be used if `stream` is true.
7200 stream: boolean, Optional. If true, streams the interaction events as Server-Sent Events.
7201 x__xgafv: string, V1 error format.
7202 Allowed values
7203 1 - v1 error format
7204 2 - v2 error format
7205
7206 Returns:
7207 An object of the form:
7208
7209 { # Response for InteractionService.CreateInteraction.
7210 &quot;agentInteraction&quot;: { # Interaction for generating the completion using agents. # Interaction for generating the completion using agents.
7211 &quot;agent&quot;: &quot;A String&quot;, # The name of the `Agent` used for generating the completion.
7212 &quot;code_mender_config&quot;: { # Configuration for the CodeMender agent.
7213 &quot;find_request&quot;: { # Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. # Parameters for finding vulnerabilities.
7214 &quot;description&quot;: &quot;A String&quot;, # Additional context or custom instructions provided by the user to guide the vulnerability analysis.
7215 &quot;finding_id&quot;: &quot;A String&quot;, # The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent&#x27;s execution-based validation on a single vulnerability.
7216 &quot;source_files&quot;: [ # A list of source files to provide as context for the scan.
7217 { # Content of a single file in the codebase.
7218 &quot;content&quot;: &quot;A String&quot;, # The UTF-8 encoded text content of the file.
7219 &quot;path&quot;: &quot;A String&quot;, # The relative path of the file from the project root.
7220 },
7221 ],
7222 },
7223 &quot;fix_request&quot;: { # Request parameters specific to FIX sessions, used for generating and validating security patches. # Parameters for fixing vulnerabilities.
7224 &quot;description&quot;: &quot;A String&quot;, # Additional context or custom instructions provided by the user to guide the patch generation process.
7225 &quot;finding_id&quot;: &quot;A String&quot;, # The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.
7226 &quot;source_files&quot;: [ # A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.
7227 { # Content of a single file in the codebase.
7228 &quot;content&quot;: &quot;A String&quot;, # The UTF-8 encoded text content of the file.
7229 &quot;path&quot;: &quot;A String&quot;, # The relative path of the file from the project root.
7230 },
7231 ],
7232 },
7233 &quot;model&quot;: &quot;A String&quot;, # The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.
7234 &quot;session_config&quot;: { # The configuration of CodeMender sessions. # Optional session-specific configurations to override default agent behavior.
7235 &quot;max_rounds&quot;: 42, # The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
7236 &quot;pipeline_mode&quot;: &quot;A String&quot;, # The pipeline mode of a CodeMender session. It can only be used for a find session.
7237 &quot;topology&quot;: &quot;A String&quot;, # The cognitive architecture or &quot;thinking&quot; topology used by the agent (e.g. &quot;default&quot;, &quot;deep&quot;).
7238 },
7239 &quot;session_id&quot;: &quot;A String&quot;, # Parameter for grouping multiple interactions that belong to the same CodeMender session.
7240 },
7241 &quot;deepResearchConfig&quot;: { # Configuration for the Deep Research agent.
7242 &quot;collaborativePlanning&quot;: True or False, # Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.
7243 &quot;enableBigqueryTool&quot;: True or False, # Enables bigquery tool for the Deep Research agent.
7244 &quot;thinkingSummaries&quot;: &quot;A String&quot;, # Whether to include thought summaries in the response.
7245 &quot;visualization&quot;: &quot;A String&quot;, # Whether to include visualizations in the response.
7246 },
7247 &quot;dynamicConfig&quot;: { # Configuration for dynamic agents.
7248 &quot;config&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # For agents that are not supported statically in the API definition.
7249 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
7250 { # Represents a single field in a struct.
7251 &quot;name&quot;: &quot;A String&quot;,
7252 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
7253 &quot;boolValue&quot;: True or False, # Represents a boolean value.
7254 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
7255 &quot;values&quot;: [ # Repeated field of dynamically typed values.
7256 # Object with schema name: GenaiVertexV1beta1Value
7257 ],
7258 },
7259 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
7260 &quot;numberValue&quot;: 3.14, # Represents a double value.
7261 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
7262 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
7263 },
7264 },
7265 ],
7266 },
7267 },
7268 },
7269 &quot;content&quot;: { # The content of the response. # The content for the interaction.
7270 &quot;audio&quot;: { # An audio content block.
7271 &quot;channels&quot;: 42, # The number of audio channels.
7272 &quot;data&quot;: &quot;A String&quot;, # The audio content.
7273 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
7274 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
7275 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
7276 },
7277 &quot;document&quot;: { # A document content block.
7278 &quot;data&quot;: &quot;A String&quot;, # The document content.
7279 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
7280 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
7281 },
7282 &quot;image&quot;: { # An image content block.
7283 &quot;data&quot;: &quot;A String&quot;, # The image content.
7284 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
7285 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
7286 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
7287 },
7288 &quot;text&quot;: { # A text content block.
7289 &quot;annotations&quot;: [ # Citation information for model-generated content.
7290 { # Citation information for model-generated content.
7291 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
7292 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
7293 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
7294 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
7295 { # Represents a single field in a struct.
7296 &quot;name&quot;: &quot;A String&quot;,
7297 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
7298 &quot;boolValue&quot;: True or False, # Represents a boolean value.
7299 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
7300 &quot;values&quot;: [ # Repeated field of dynamically typed values.
7301 # Object with schema name: GenaiVertexV1beta1Value
7302 ],
7303 },
7304 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
7305 &quot;numberValue&quot;: 3.14, # Represents a double value.
7306 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
7307 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
7308 },
7309 },
7310 ],
7311 },
7312 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
7313 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
7314 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
7315 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
7316 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
7317 },
7318 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
7319 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
7320 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
7321 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
7322 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
7323 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
7324 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
7325 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
7326 },
7327 ],
7328 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
7329 },
7330 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
7331 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
7332 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
7333 &quot;url&quot;: &quot;A String&quot;, # The URL.
7334 },
7335 },
7336 ],
7337 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
7338 },
7339 &quot;thought&quot;: { # A thought content block.
7340 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
7341 &quot;summary&quot;: [ # A summary of the thought.
7342 {
7343 &quot;image&quot;: { # An image content block.
7344 &quot;data&quot;: &quot;A String&quot;, # The image content.
7345 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
7346 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
7347 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
7348 },
7349 &quot;text&quot;: { # A text content block.
7350 &quot;annotations&quot;: [ # Citation information for model-generated content.
7351 { # Citation information for model-generated content.
7352 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
7353 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
7354 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
7355 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
7356 { # Represents a single field in a struct.
7357 &quot;name&quot;: &quot;A String&quot;,
7358 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
7359 &quot;boolValue&quot;: True or False, # Represents a boolean value.
7360 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
7361 &quot;values&quot;: [ # Repeated field of dynamically typed values.
7362 # Object with schema name: GenaiVertexV1beta1Value
7363 ],
7364 },
7365 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
7366 &quot;numberValue&quot;: 3.14, # Represents a double value.
7367 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
7368 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
7369 },
7370 },
7371 ],
7372 },
7373 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
7374 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
7375 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
7376 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
7377 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
7378 },
7379 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
7380 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
7381 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
7382 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
7383 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
7384 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
7385 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
7386 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
7387 },
7388 ],
7389 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
7390 },
7391 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
7392 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
7393 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
7394 &quot;url&quot;: &quot;A String&quot;, # The URL.
7395 },
7396 },
7397 ],
7398 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
7399 },
7400 },
7401 ],
7402 },
7403 &quot;toolCall&quot;: { # Tool call content.
7404 &quot;codeExecutionCall&quot;: { # Code execution content.
7405 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
7406 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
7407 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
7408 },
7409 },
7410 &quot;fileSearchCall&quot;: { # File Search content.
7411 },
7412 &quot;functionCall&quot;: { # A function tool call content block.
7413 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
7414 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
7415 { # Represents a single field in a struct.
7416 &quot;name&quot;: &quot;A String&quot;,
7417 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
7418 &quot;boolValue&quot;: True or False, # Represents a boolean value.
7419 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
7420 &quot;values&quot;: [ # Repeated field of dynamically typed values.
7421 # Object with schema name: GenaiVertexV1beta1Value
7422 ],
7423 },
7424 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
7425 &quot;numberValue&quot;: 3.14, # Represents a double value.
7426 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
7427 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
7428 },
7429 },
7430 ],
7431 },
7432 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
7433 },
7434 &quot;googleMapsCall&quot;: { # Google Maps content.
7435 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
7436 &quot;queries&quot;: [ # The queries to be executed.
7437 &quot;A String&quot;,
7438 ],
7439 },
7440 },
7441 &quot;googleSearchCall&quot;: { # Google Search content.
7442 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
7443 &quot;queries&quot;: [ # Web search queries for the following-up web search.
7444 &quot;A String&quot;,
7445 ],
7446 },
7447 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
7448 },
7449 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
7450 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
7451 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
7452 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
7453 { # Represents a single field in a struct.
7454 &quot;name&quot;: &quot;A String&quot;,
7455 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
7456 &quot;boolValue&quot;: True or False, # Represents a boolean value.
7457 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
7458 &quot;values&quot;: [ # Repeated field of dynamically typed values.
7459 # Object with schema name: GenaiVertexV1beta1Value
7460 ],
7461 },
7462 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
7463 &quot;numberValue&quot;: 3.14, # Represents a double value.
7464 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
7465 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
7466 },
7467 },
7468 ],
7469 },
7470 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
7471 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
7472 },
7473 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
7474 &quot;urlContextCall&quot;: { # URL context content.
7475 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
7476 &quot;urls&quot;: [ # The URLs to fetch.
7477 &quot;A String&quot;,
7478 ],
7479 },
7480 },
7481 },
7482 &quot;toolResult&quot;: { # Tool result content.
7483 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
7484 &quot;codeExecutionResult&quot;: { # Code execution result content.
7485 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
7486 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
7487 },
7488 &quot;fileSearchResult&quot;: { # File Search result content.
7489 &quot;result&quot;: [ # Optional. The results of the File Search.
7490 { # The result of the File Search.
7491 },
7492 ],
7493 },
7494 &quot;functionResult&quot;: { # A function tool result content block.
7495 &quot;contentList&quot;: {
7496 &quot;contents&quot;: [
7497 {
7498 &quot;image&quot;: { # An image content block.
7499 &quot;data&quot;: &quot;A String&quot;, # The image content.
7500 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
7501 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
7502 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
7503 },
7504 &quot;text&quot;: { # A text content block.
7505 &quot;annotations&quot;: [ # Citation information for model-generated content.
7506 { # Citation information for model-generated content.
7507 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
7508 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
7509 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
7510 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
7511 { # Represents a single field in a struct.
7512 &quot;name&quot;: &quot;A String&quot;,
7513 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
7514 &quot;boolValue&quot;: True or False, # Represents a boolean value.
7515 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
7516 &quot;values&quot;: [ # Repeated field of dynamically typed values.
7517 # Object with schema name: GenaiVertexV1beta1Value
7518 ],
7519 },
7520 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
7521 &quot;numberValue&quot;: 3.14, # Represents a double value.
7522 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
7523 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
7524 },
7525 },
7526 ],
7527 },
7528 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
7529 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
7530 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
7531 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
7532 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
7533 },
7534 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
7535 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
7536 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
7537 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
7538 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
7539 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
7540 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
7541 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
7542 },
7543 ],
7544 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
7545 },
7546 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
7547 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
7548 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
7549 &quot;url&quot;: &quot;A String&quot;, # The URL.
7550 },
7551 },
7552 ],
7553 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
7554 },
7555 },
7556 ],
7557 },
7558 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
7559 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
7560 &quot;stringResult&quot;: &quot;A String&quot;,
7561 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
7562 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
7563 { # Represents a single field in a struct.
7564 &quot;name&quot;: &quot;A String&quot;,
7565 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
7566 &quot;boolValue&quot;: True or False, # Represents a boolean value.
7567 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
7568 &quot;values&quot;: [ # Repeated field of dynamically typed values.
7569 # Object with schema name: GenaiVertexV1beta1Value
7570 ],
7571 },
7572 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
7573 &quot;numberValue&quot;: 3.14, # Represents a double value.
7574 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
7575 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
7576 },
7577 },
7578 ],
7579 },
7580 },
7581 &quot;googleMapsResult&quot;: { # Google Maps result content.
7582 &quot;result&quot;: [ # Required. The results of the Google Maps.
7583 { # The result of the Google Maps.
7584 &quot;places&quot;: [ # The places that were found.
7585 {
7586 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
7587 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
7588 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
7589 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
7590 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
7591 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
7592 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
7593 },
7594 ],
7595 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
7596 },
7597 ],
7598 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
7599 },
7600 ],
7601 },
7602 &quot;googleSearchResult&quot;: { # Google Search result content.
7603 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
7604 &quot;result&quot;: [ # Required. The results of the Google Search.
7605 { # The result of the Google Search.
7606 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
7607 },
7608 ],
7609 },
7610 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
7611 &quot;contentList&quot;: {
7612 &quot;contents&quot;: [
7613 {
7614 &quot;image&quot;: { # An image content block.
7615 &quot;data&quot;: &quot;A String&quot;, # The image content.
7616 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
7617 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
7618 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
7619 },
7620 &quot;text&quot;: { # A text content block.
7621 &quot;annotations&quot;: [ # Citation information for model-generated content.
7622 { # Citation information for model-generated content.
7623 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
7624 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
7625 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
7626 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
7627 { # Represents a single field in a struct.
7628 &quot;name&quot;: &quot;A String&quot;,
7629 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
7630 &quot;boolValue&quot;: True or False, # Represents a boolean value.
7631 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
7632 &quot;values&quot;: [ # Repeated field of dynamically typed values.
7633 # Object with schema name: GenaiVertexV1beta1Value
7634 ],
7635 },
7636 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
7637 &quot;numberValue&quot;: 3.14, # Represents a double value.
7638 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
7639 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
7640 },
7641 },
7642 ],
7643 },
7644 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
7645 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
7646 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
7647 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
7648 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
7649 },
7650 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
7651 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
7652 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
7653 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
7654 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
7655 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
7656 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
7657 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
7658 },
7659 ],
7660 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
7661 },
7662 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
7663 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
7664 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
7665 &quot;url&quot;: &quot;A String&quot;, # The URL.
7666 },
7667 },
7668 ],
7669 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
7670 },
7671 },
7672 ],
7673 },
7674 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
7675 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
7676 &quot;stringResult&quot;: &quot;A String&quot;,
7677 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
7678 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
7679 { # Represents a single field in a struct.
7680 &quot;name&quot;: &quot;A String&quot;,
7681 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
7682 &quot;boolValue&quot;: True or False, # Represents a boolean value.
7683 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
7684 &quot;values&quot;: [ # Repeated field of dynamically typed values.
7685 # Object with schema name: GenaiVertexV1beta1Value
7686 ],
7687 },
7688 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
7689 &quot;numberValue&quot;: 3.14, # Represents a double value.
7690 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
7691 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
7692 },
7693 },
7694 ],
7695 },
7696 },
7697 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
7698 &quot;urlContextResult&quot;: { # URL context result content.
7699 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
7700 &quot;result&quot;: [ # Required. The results of the URL context.
7701 { # The result of the URL context.
7702 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
7703 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
7704 },
7705 ],
7706 },
7707 },
7708 &quot;video&quot;: { # A video content block.
7709 &quot;data&quot;: &quot;A String&quot;, # The video content.
7710 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
7711 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
7712 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
7713 },
7714 },
7715 &quot;contentList&quot;: { # A list of Content. # The inputs for the interaction.
7716 &quot;contents&quot;: [ # The contents of the list.
7717 { # The content of the response.
7718 &quot;audio&quot;: { # An audio content block.
7719 &quot;channels&quot;: 42, # The number of audio channels.
7720 &quot;data&quot;: &quot;A String&quot;, # The audio content.
7721 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
7722 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
7723 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
7724 },
7725 &quot;document&quot;: { # A document content block.
7726 &quot;data&quot;: &quot;A String&quot;, # The document content.
7727 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
7728 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
7729 },
7730 &quot;image&quot;: { # An image content block.
7731 &quot;data&quot;: &quot;A String&quot;, # The image content.
7732 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
7733 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
7734 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
7735 },
7736 &quot;text&quot;: { # A text content block.
7737 &quot;annotations&quot;: [ # Citation information for model-generated content.
7738 { # Citation information for model-generated content.
7739 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
7740 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
7741 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
7742 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
7743 { # Represents a single field in a struct.
7744 &quot;name&quot;: &quot;A String&quot;,
7745 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
7746 &quot;boolValue&quot;: True or False, # Represents a boolean value.
7747 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
7748 &quot;values&quot;: [ # Repeated field of dynamically typed values.
7749 # Object with schema name: GenaiVertexV1beta1Value
7750 ],
7751 },
7752 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
7753 &quot;numberValue&quot;: 3.14, # Represents a double value.
7754 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
7755 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
7756 },
7757 },
7758 ],
7759 },
7760 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
7761 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
7762 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
7763 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
7764 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
7765 },
7766 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
7767 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
7768 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
7769 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
7770 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
7771 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
7772 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
7773 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
7774 },
7775 ],
7776 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
7777 },
7778 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
7779 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
7780 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
7781 &quot;url&quot;: &quot;A String&quot;, # The URL.
7782 },
7783 },
7784 ],
7785 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
7786 },
7787 &quot;thought&quot;: { # A thought content block.
7788 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
7789 &quot;summary&quot;: [ # A summary of the thought.
7790 {
7791 &quot;image&quot;: { # An image content block.
7792 &quot;data&quot;: &quot;A String&quot;, # The image content.
7793 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
7794 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
7795 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
7796 },
7797 &quot;text&quot;: { # A text content block.
7798 &quot;annotations&quot;: [ # Citation information for model-generated content.
7799 { # Citation information for model-generated content.
7800 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
7801 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
7802 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
7803 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
7804 { # Represents a single field in a struct.
7805 &quot;name&quot;: &quot;A String&quot;,
7806 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
7807 &quot;boolValue&quot;: True or False, # Represents a boolean value.
7808 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
7809 &quot;values&quot;: [ # Repeated field of dynamically typed values.
7810 # Object with schema name: GenaiVertexV1beta1Value
7811 ],
7812 },
7813 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
7814 &quot;numberValue&quot;: 3.14, # Represents a double value.
7815 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
7816 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
7817 },
7818 },
7819 ],
7820 },
7821 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
7822 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
7823 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
7824 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
7825 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
7826 },
7827 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
7828 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
7829 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
7830 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
7831 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
7832 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
7833 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
7834 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
7835 },
7836 ],
7837 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
7838 },
7839 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
7840 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
7841 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
7842 &quot;url&quot;: &quot;A String&quot;, # The URL.
7843 },
7844 },
7845 ],
7846 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
7847 },
7848 },
7849 ],
7850 },
7851 &quot;toolCall&quot;: { # Tool call content.
7852 &quot;codeExecutionCall&quot;: { # Code execution content.
7853 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
7854 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
7855 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
7856 },
7857 },
7858 &quot;fileSearchCall&quot;: { # File Search content.
7859 },
7860 &quot;functionCall&quot;: { # A function tool call content block.
7861 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
7862 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
7863 { # Represents a single field in a struct.
7864 &quot;name&quot;: &quot;A String&quot;,
7865 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
7866 &quot;boolValue&quot;: True or False, # Represents a boolean value.
7867 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
7868 &quot;values&quot;: [ # Repeated field of dynamically typed values.
7869 # Object with schema name: GenaiVertexV1beta1Value
7870 ],
7871 },
7872 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
7873 &quot;numberValue&quot;: 3.14, # Represents a double value.
7874 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
7875 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
7876 },
7877 },
7878 ],
7879 },
7880 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
7881 },
7882 &quot;googleMapsCall&quot;: { # Google Maps content.
7883 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
7884 &quot;queries&quot;: [ # The queries to be executed.
7885 &quot;A String&quot;,
7886 ],
7887 },
7888 },
7889 &quot;googleSearchCall&quot;: { # Google Search content.
7890 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
7891 &quot;queries&quot;: [ # Web search queries for the following-up web search.
7892 &quot;A String&quot;,
7893 ],
7894 },
7895 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
7896 },
7897 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
7898 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
7899 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
7900 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
7901 { # Represents a single field in a struct.
7902 &quot;name&quot;: &quot;A String&quot;,
7903 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
7904 &quot;boolValue&quot;: True or False, # Represents a boolean value.
7905 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
7906 &quot;values&quot;: [ # Repeated field of dynamically typed values.
7907 # Object with schema name: GenaiVertexV1beta1Value
7908 ],
7909 },
7910 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
7911 &quot;numberValue&quot;: 3.14, # Represents a double value.
7912 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
7913 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
7914 },
7915 },
7916 ],
7917 },
7918 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
7919 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
7920 },
7921 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
7922 &quot;urlContextCall&quot;: { # URL context content.
7923 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
7924 &quot;urls&quot;: [ # The URLs to fetch.
7925 &quot;A String&quot;,
7926 ],
7927 },
7928 },
7929 },
7930 &quot;toolResult&quot;: { # Tool result content.
7931 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
7932 &quot;codeExecutionResult&quot;: { # Code execution result content.
7933 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
7934 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
7935 },
7936 &quot;fileSearchResult&quot;: { # File Search result content.
7937 &quot;result&quot;: [ # Optional. The results of the File Search.
7938 { # The result of the File Search.
7939 },
7940 ],
7941 },
7942 &quot;functionResult&quot;: { # A function tool result content block.
7943 &quot;contentList&quot;: {
7944 &quot;contents&quot;: [
7945 {
7946 &quot;image&quot;: { # An image content block.
7947 &quot;data&quot;: &quot;A String&quot;, # The image content.
7948 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
7949 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
7950 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
7951 },
7952 &quot;text&quot;: { # A text content block.
7953 &quot;annotations&quot;: [ # Citation information for model-generated content.
7954 { # Citation information for model-generated content.
7955 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
7956 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
7957 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
7958 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
7959 { # Represents a single field in a struct.
7960 &quot;name&quot;: &quot;A String&quot;,
7961 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
7962 &quot;boolValue&quot;: True or False, # Represents a boolean value.
7963 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
7964 &quot;values&quot;: [ # Repeated field of dynamically typed values.
7965 # Object with schema name: GenaiVertexV1beta1Value
7966 ],
7967 },
7968 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
7969 &quot;numberValue&quot;: 3.14, # Represents a double value.
7970 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
7971 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
7972 },
7973 },
7974 ],
7975 },
7976 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
7977 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
7978 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
7979 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
7980 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
7981 },
7982 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
7983 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
7984 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
7985 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
7986 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
7987 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
7988 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
7989 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
7990 },
7991 ],
7992 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
7993 },
7994 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
7995 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
7996 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
7997 &quot;url&quot;: &quot;A String&quot;, # The URL.
7998 },
7999 },
8000 ],
8001 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
8002 },
8003 },
8004 ],
8005 },
8006 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
8007 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
8008 &quot;stringResult&quot;: &quot;A String&quot;,
8009 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
8010 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8011 { # Represents a single field in a struct.
8012 &quot;name&quot;: &quot;A String&quot;,
8013 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8014 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8015 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8016 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8017 # Object with schema name: GenaiVertexV1beta1Value
8018 ],
8019 },
8020 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8021 &quot;numberValue&quot;: 3.14, # Represents a double value.
8022 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8023 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8024 },
8025 },
8026 ],
8027 },
8028 },
8029 &quot;googleMapsResult&quot;: { # Google Maps result content.
8030 &quot;result&quot;: [ # Required. The results of the Google Maps.
8031 { # The result of the Google Maps.
8032 &quot;places&quot;: [ # The places that were found.
8033 {
8034 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
8035 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
8036 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
8037 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
8038 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
8039 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
8040 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
8041 },
8042 ],
8043 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
8044 },
8045 ],
8046 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
8047 },
8048 ],
8049 },
8050 &quot;googleSearchResult&quot;: { # Google Search result content.
8051 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
8052 &quot;result&quot;: [ # Required. The results of the Google Search.
8053 { # The result of the Google Search.
8054 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
8055 },
8056 ],
8057 },
8058 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
8059 &quot;contentList&quot;: {
8060 &quot;contents&quot;: [
8061 {
8062 &quot;image&quot;: { # An image content block.
8063 &quot;data&quot;: &quot;A String&quot;, # The image content.
8064 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
8065 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
8066 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
8067 },
8068 &quot;text&quot;: { # A text content block.
8069 &quot;annotations&quot;: [ # Citation information for model-generated content.
8070 { # Citation information for model-generated content.
8071 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
8072 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
8073 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
8074 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8075 { # Represents a single field in a struct.
8076 &quot;name&quot;: &quot;A String&quot;,
8077 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8078 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8079 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8080 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8081 # Object with schema name: GenaiVertexV1beta1Value
8082 ],
8083 },
8084 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8085 &quot;numberValue&quot;: 3.14, # Represents a double value.
8086 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8087 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8088 },
8089 },
8090 ],
8091 },
8092 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
8093 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
8094 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
8095 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
8096 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
8097 },
8098 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
8099 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
8100 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
8101 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
8102 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
8103 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
8104 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
8105 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
8106 },
8107 ],
8108 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
8109 },
8110 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
8111 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
8112 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
8113 &quot;url&quot;: &quot;A String&quot;, # The URL.
8114 },
8115 },
8116 ],
8117 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
8118 },
8119 },
8120 ],
8121 },
8122 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
8123 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
8124 &quot;stringResult&quot;: &quot;A String&quot;,
8125 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
8126 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8127 { # Represents a single field in a struct.
8128 &quot;name&quot;: &quot;A String&quot;,
8129 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8130 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8131 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8132 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8133 # Object with schema name: GenaiVertexV1beta1Value
8134 ],
8135 },
8136 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8137 &quot;numberValue&quot;: 3.14, # Represents a double value.
8138 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8139 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8140 },
8141 },
8142 ],
8143 },
8144 },
8145 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
8146 &quot;urlContextResult&quot;: { # URL context result content.
8147 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
8148 &quot;result&quot;: [ # Required. The results of the URL context.
8149 { # The result of the URL context.
8150 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
8151 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
8152 },
8153 ],
8154 },
8155 },
8156 &quot;video&quot;: { # A video content block.
8157 &quot;data&quot;: &quot;A String&quot;, # The video content.
8158 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
8159 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
8160 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
8161 },
8162 },
8163 ],
8164 },
8165 &quot;created&quot;: &quot;A String&quot;, # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
8166 &quot;envId&quot;: &quot;A String&quot;, # The environment ID for the interaction. Can be &#x27;remote&#x27; for default environment.
8167 &quot;environmentId&quot;: &quot;A String&quot;, # Output only. The environment ID for the interaction. Only populated if environment config is set in the request.
8168 &quot;id&quot;: &quot;A String&quot;, # Required. Output only. A unique identifier for the interaction completion.
8169 &quot;modelInteraction&quot;: { # Interaction for generating the completion using models. # Interaction for generating the completion using models.
8170 &quot;cached_content&quot;: &quot;A String&quot;, # The name of the cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings. Format: `projects/{project}/locations/{location}/cachedContents/{cachedContent}`
8171 &quot;generationConfig&quot;: { # Configuration parameters for model interactions. # Input only. Configuration parameters for the model interaction.
8172 &quot;frequency_penalty&quot;: 3.14, # Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0].
8173 &quot;imageConfig&quot;: { # The configuration for image interaction. # Configuration for image interaction.
8174 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio of the image to generate. Supported aspect ratios: 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9. If not specified, the model will choose a default aspect ratio based on any reference images provided.
8175 &quot;imageSize&quot;: &quot;A String&quot;, # Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
8176 },
8177 &quot;maxOutputTokens&quot;: 42, # The maximum number of tokens to include in the response.
8178 &quot;presence_penalty&quot;: 3.14, # Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0].
8179 &quot;seed&quot;: 42, # Seed used in decoding for reproducibility.
8180 &quot;speechConfig&quot;: [ # Configuration for speech interaction.
8181 { # The configuration for speech interaction.
8182 &quot;language&quot;: &quot;A String&quot;, # The language of the speech.
8183 &quot;speaker&quot;: &quot;A String&quot;, # The speaker&#x27;s name, it should match the speaker name given in the prompt.
8184 &quot;voice&quot;: &quot;A String&quot;, # The voice of the speaker.
8185 },
8186 ],
8187 &quot;stopSequences&quot;: [ # A list of character sequences that will stop output interaction.
8188 &quot;A String&quot;,
8189 ],
8190 &quot;temperature&quot;: 3.14, # Controls the randomness of the output.
8191 &quot;thinkingLevel&quot;: &quot;A String&quot;, # The level of thought tokens that the model should generate.
8192 &quot;thinkingSummaries&quot;: &quot;A String&quot;, # Whether to include thought summaries in the response.
8193 &quot;toolChoiceConfig&quot;: { # The tool choice configuration containing allowed tools. # The config for the tool choice.
8194 &quot;allowedTools&quot;: { # The configuration for allowed tools. # The allowed tools.
8195 &quot;mode&quot;: &quot;A String&quot;, # The mode of the tool choice.
8196 &quot;tools&quot;: [ # The names of the allowed tools.
8197 &quot;A String&quot;,
8198 ],
8199 },
8200 },
8201 &quot;toolChoiceMode&quot;: &quot;A String&quot;, # The mode of the tool choice.
8202 &quot;topP&quot;: 3.14, # The maximum cumulative probability of tokens to consider when sampling.
8203 },
8204 &quot;model&quot;: &quot;A String&quot;, # The name of the `Model` used for generating the completion.
8205 },
8206 &quot;outputs&quot;: [ # Output only. Responses from the model.
8207 { # The content of the response.
8208 &quot;audio&quot;: { # An audio content block.
8209 &quot;channels&quot;: 42, # The number of audio channels.
8210 &quot;data&quot;: &quot;A String&quot;, # The audio content.
8211 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
8212 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
8213 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
8214 },
8215 &quot;document&quot;: { # A document content block.
8216 &quot;data&quot;: &quot;A String&quot;, # The document content.
8217 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
8218 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
8219 },
8220 &quot;image&quot;: { # An image content block.
8221 &quot;data&quot;: &quot;A String&quot;, # The image content.
8222 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
8223 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
8224 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
8225 },
8226 &quot;text&quot;: { # A text content block.
8227 &quot;annotations&quot;: [ # Citation information for model-generated content.
8228 { # Citation information for model-generated content.
8229 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
8230 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
8231 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
8232 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8233 { # Represents a single field in a struct.
8234 &quot;name&quot;: &quot;A String&quot;,
8235 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8236 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8237 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8238 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8239 # Object with schema name: GenaiVertexV1beta1Value
8240 ],
8241 },
8242 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8243 &quot;numberValue&quot;: 3.14, # Represents a double value.
8244 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8245 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8246 },
8247 },
8248 ],
8249 },
8250 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
8251 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
8252 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
8253 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
8254 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
8255 },
8256 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
8257 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
8258 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
8259 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
8260 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
8261 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
8262 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
8263 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
8264 },
8265 ],
8266 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
8267 },
8268 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
8269 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
8270 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
8271 &quot;url&quot;: &quot;A String&quot;, # The URL.
8272 },
8273 },
8274 ],
8275 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
8276 },
8277 &quot;thought&quot;: { # A thought content block.
8278 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
8279 &quot;summary&quot;: [ # A summary of the thought.
8280 {
8281 &quot;image&quot;: { # An image content block.
8282 &quot;data&quot;: &quot;A String&quot;, # The image content.
8283 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
8284 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
8285 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
8286 },
8287 &quot;text&quot;: { # A text content block.
8288 &quot;annotations&quot;: [ # Citation information for model-generated content.
8289 { # Citation information for model-generated content.
8290 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
8291 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
8292 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
8293 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8294 { # Represents a single field in a struct.
8295 &quot;name&quot;: &quot;A String&quot;,
8296 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8297 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8298 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8299 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8300 # Object with schema name: GenaiVertexV1beta1Value
8301 ],
8302 },
8303 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8304 &quot;numberValue&quot;: 3.14, # Represents a double value.
8305 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8306 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8307 },
8308 },
8309 ],
8310 },
8311 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
8312 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
8313 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
8314 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
8315 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
8316 },
8317 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
8318 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
8319 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
8320 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
8321 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
8322 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
8323 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
8324 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
8325 },
8326 ],
8327 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
8328 },
8329 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
8330 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
8331 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
8332 &quot;url&quot;: &quot;A String&quot;, # The URL.
8333 },
8334 },
8335 ],
8336 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
8337 },
8338 },
8339 ],
8340 },
8341 &quot;toolCall&quot;: { # Tool call content.
8342 &quot;codeExecutionCall&quot;: { # Code execution content.
8343 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
8344 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
8345 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
8346 },
8347 },
8348 &quot;fileSearchCall&quot;: { # File Search content.
8349 },
8350 &quot;functionCall&quot;: { # A function tool call content block.
8351 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
8352 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8353 { # Represents a single field in a struct.
8354 &quot;name&quot;: &quot;A String&quot;,
8355 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8356 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8357 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8358 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8359 # Object with schema name: GenaiVertexV1beta1Value
8360 ],
8361 },
8362 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8363 &quot;numberValue&quot;: 3.14, # Represents a double value.
8364 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8365 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8366 },
8367 },
8368 ],
8369 },
8370 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
8371 },
8372 &quot;googleMapsCall&quot;: { # Google Maps content.
8373 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
8374 &quot;queries&quot;: [ # The queries to be executed.
8375 &quot;A String&quot;,
8376 ],
8377 },
8378 },
8379 &quot;googleSearchCall&quot;: { # Google Search content.
8380 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
8381 &quot;queries&quot;: [ # Web search queries for the following-up web search.
8382 &quot;A String&quot;,
8383 ],
8384 },
8385 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
8386 },
8387 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
8388 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
8389 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
8390 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8391 { # Represents a single field in a struct.
8392 &quot;name&quot;: &quot;A String&quot;,
8393 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8394 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8395 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8396 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8397 # Object with schema name: GenaiVertexV1beta1Value
8398 ],
8399 },
8400 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8401 &quot;numberValue&quot;: 3.14, # Represents a double value.
8402 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8403 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8404 },
8405 },
8406 ],
8407 },
8408 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
8409 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
8410 },
8411 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
8412 &quot;urlContextCall&quot;: { # URL context content.
8413 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
8414 &quot;urls&quot;: [ # The URLs to fetch.
8415 &quot;A String&quot;,
8416 ],
8417 },
8418 },
8419 },
8420 &quot;toolResult&quot;: { # Tool result content.
8421 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
8422 &quot;codeExecutionResult&quot;: { # Code execution result content.
8423 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
8424 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
8425 },
8426 &quot;fileSearchResult&quot;: { # File Search result content.
8427 &quot;result&quot;: [ # Optional. The results of the File Search.
8428 { # The result of the File Search.
8429 },
8430 ],
8431 },
8432 &quot;functionResult&quot;: { # A function tool result content block.
8433 &quot;contentList&quot;: {
8434 &quot;contents&quot;: [
8435 {
8436 &quot;image&quot;: { # An image content block.
8437 &quot;data&quot;: &quot;A String&quot;, # The image content.
8438 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
8439 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
8440 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
8441 },
8442 &quot;text&quot;: { # A text content block.
8443 &quot;annotations&quot;: [ # Citation information for model-generated content.
8444 { # Citation information for model-generated content.
8445 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
8446 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
8447 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
8448 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8449 { # Represents a single field in a struct.
8450 &quot;name&quot;: &quot;A String&quot;,
8451 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8452 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8453 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8454 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8455 # Object with schema name: GenaiVertexV1beta1Value
8456 ],
8457 },
8458 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8459 &quot;numberValue&quot;: 3.14, # Represents a double value.
8460 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8461 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8462 },
8463 },
8464 ],
8465 },
8466 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
8467 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
8468 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
8469 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
8470 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
8471 },
8472 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
8473 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
8474 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
8475 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
8476 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
8477 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
8478 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
8479 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
8480 },
8481 ],
8482 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
8483 },
8484 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
8485 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
8486 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
8487 &quot;url&quot;: &quot;A String&quot;, # The URL.
8488 },
8489 },
8490 ],
8491 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
8492 },
8493 },
8494 ],
8495 },
8496 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
8497 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
8498 &quot;stringResult&quot;: &quot;A String&quot;,
8499 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
8500 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8501 { # Represents a single field in a struct.
8502 &quot;name&quot;: &quot;A String&quot;,
8503 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8504 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8505 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8506 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8507 # Object with schema name: GenaiVertexV1beta1Value
8508 ],
8509 },
8510 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8511 &quot;numberValue&quot;: 3.14, # Represents a double value.
8512 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8513 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8514 },
8515 },
8516 ],
8517 },
8518 },
8519 &quot;googleMapsResult&quot;: { # Google Maps result content.
8520 &quot;result&quot;: [ # Required. The results of the Google Maps.
8521 { # The result of the Google Maps.
8522 &quot;places&quot;: [ # The places that were found.
8523 {
8524 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
8525 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
8526 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
8527 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
8528 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
8529 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
8530 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
8531 },
8532 ],
8533 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
8534 },
8535 ],
8536 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
8537 },
8538 ],
8539 },
8540 &quot;googleSearchResult&quot;: { # Google Search result content.
8541 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
8542 &quot;result&quot;: [ # Required. The results of the Google Search.
8543 { # The result of the Google Search.
8544 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
8545 },
8546 ],
8547 },
8548 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
8549 &quot;contentList&quot;: {
8550 &quot;contents&quot;: [
8551 {
8552 &quot;image&quot;: { # An image content block.
8553 &quot;data&quot;: &quot;A String&quot;, # The image content.
8554 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
8555 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
8556 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
8557 },
8558 &quot;text&quot;: { # A text content block.
8559 &quot;annotations&quot;: [ # Citation information for model-generated content.
8560 { # Citation information for model-generated content.
8561 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
8562 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
8563 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
8564 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8565 { # Represents a single field in a struct.
8566 &quot;name&quot;: &quot;A String&quot;,
8567 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8568 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8569 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8570 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8571 # Object with schema name: GenaiVertexV1beta1Value
8572 ],
8573 },
8574 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8575 &quot;numberValue&quot;: 3.14, # Represents a double value.
8576 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8577 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8578 },
8579 },
8580 ],
8581 },
8582 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
8583 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
8584 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
8585 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
8586 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
8587 },
8588 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
8589 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
8590 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
8591 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
8592 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
8593 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
8594 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
8595 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
8596 },
8597 ],
8598 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
8599 },
8600 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
8601 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
8602 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
8603 &quot;url&quot;: &quot;A String&quot;, # The URL.
8604 },
8605 },
8606 ],
8607 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
8608 },
8609 },
8610 ],
8611 },
8612 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
8613 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
8614 &quot;stringResult&quot;: &quot;A String&quot;,
8615 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
8616 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8617 { # Represents a single field in a struct.
8618 &quot;name&quot;: &quot;A String&quot;,
8619 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8620 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8621 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8622 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8623 # Object with schema name: GenaiVertexV1beta1Value
8624 ],
8625 },
8626 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8627 &quot;numberValue&quot;: 3.14, # Represents a double value.
8628 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8629 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8630 },
8631 },
8632 ],
8633 },
8634 },
8635 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
8636 &quot;urlContextResult&quot;: { # URL context result content.
8637 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
8638 &quot;result&quot;: [ # Required. The results of the URL context.
8639 { # The result of the URL context.
8640 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
8641 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
8642 },
8643 ],
8644 },
8645 },
8646 &quot;video&quot;: { # A video content block.
8647 &quot;data&quot;: &quot;A String&quot;, # The video content.
8648 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
8649 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
8650 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
8651 },
8652 },
8653 ],
8654 &quot;previousInteractionId&quot;: &quot;A String&quot;, # The ID of the previous interaction, if any.
8655 &quot;remoteEnvironment&quot;: { # Configuration for a custom environment.
8656 &quot;networkAllowlist&quot;: { # Network egress configuration for the environment. # Allow only specific domains.
8657 &quot;allowlist&quot;: [ # List of allowed domains and their configurations.
8658 { # A network egress rule that controls which external domains the environment is allowed to reach. Each rule identifies a target domain and, optionally, a set of HTTP headers to inject into every matching outbound request.
8659 &quot;domain&quot;: &quot;A String&quot;, # The domain pattern to match for this rule. Use an exact hostname (e.g., `github.com`), a wildcard prefix (e.g., `*.googleapis.com`), or `*` to match all domains.
8660 &quot;transform&quot;: { # Headers to inject into requests matching this rule. Key: header name (e.g., &quot;Authorization&quot;). Value: header value (e.g., &quot;Bearer your-token&quot;).
8661 &quot;a_key&quot;: &quot;A String&quot;,
8662 },
8663 },
8664 ],
8665 },
8666 &quot;networkMode&quot;: &quot;A String&quot;, # Network egress mode.
8667 &quot;sources&quot;: [
8668 { # A source to be mounted into the environment.
8669 &quot;content&quot;: &quot;A String&quot;, # The inline content if `type` is `INLINE`.
8670 &quot;encoding&quot;: &quot;A String&quot;, # Optional encoding for inline content (e.g. `base64`).
8671 &quot;source&quot;: &quot;A String&quot;, # The source of the environment. For GCS, this is the GCS path. For GitHub, this is the GitHub path.
8672 &quot;target&quot;: &quot;A String&quot;, # Where the source should appear in the environment.
8673 &quot;type&quot;: &quot;A String&quot;,
8674 },
8675 ],
8676 },
8677 &quot;responseFormat&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
8678 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8679 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8680 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8681 # Object with schema name: GenaiVertexV1beta1Value
8682 ],
8683 },
8684 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8685 &quot;numberValue&quot;: 3.14, # Represents a double value.
8686 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8687 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8688 },
8689 &quot;responseFormatList&quot;: {
8690 &quot;responseFormats&quot;: [
8691 {
8692 &quot;audio&quot;: { # Configuration for audio output format.
8693 &quot;bitRate&quot;: 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
8694 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the audio output.
8695 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the audio output.
8696 &quot;sampleRate&quot;: 42, # Sample rate in Hz.
8697 },
8698 &quot;image&quot;: { # Configuration for image output format.
8699 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio for the image output.
8700 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the image output.
8701 &quot;imageSize&quot;: &quot;A String&quot;, # The size of the image output.
8702 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the image output.
8703 },
8704 &quot;structValue&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
8705 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8706 { # Represents a single field in a struct.
8707 &quot;name&quot;: &quot;A String&quot;,
8708 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8709 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8710 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8711 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8712 # Object with schema name: GenaiVertexV1beta1Value
8713 ],
8714 },
8715 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8716 &quot;numberValue&quot;: 3.14, # Represents a double value.
8717 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8718 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8719 },
8720 },
8721 ],
8722 },
8723 &quot;text&quot;: { # Configuration for text output format.
8724 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the text output.
8725 &quot;schema&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
8726 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8727 { # Represents a single field in a struct.
8728 &quot;name&quot;: &quot;A String&quot;,
8729 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8730 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8731 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8732 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8733 # Object with schema name: GenaiVertexV1beta1Value
8734 ],
8735 },
8736 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8737 &quot;numberValue&quot;: 3.14, # Represents a double value.
8738 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8739 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8740 },
8741 },
8742 ],
8743 },
8744 },
8745 },
8746 ],
8747 },
8748 &quot;responseFormatSingleton&quot;: {
8749 &quot;audio&quot;: { # Configuration for audio output format.
8750 &quot;bitRate&quot;: 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
8751 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the audio output.
8752 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the audio output.
8753 &quot;sampleRate&quot;: 42, # Sample rate in Hz.
8754 },
8755 &quot;image&quot;: { # Configuration for image output format.
8756 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio for the image output.
8757 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the image output.
8758 &quot;imageSize&quot;: &quot;A String&quot;, # The size of the image output.
8759 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the image output.
8760 },
8761 &quot;structValue&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
8762 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8763 { # Represents a single field in a struct.
8764 &quot;name&quot;: &quot;A String&quot;,
8765 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8766 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8767 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8768 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8769 # Object with schema name: GenaiVertexV1beta1Value
8770 ],
8771 },
8772 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8773 &quot;numberValue&quot;: 3.14, # Represents a double value.
8774 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8775 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8776 },
8777 },
8778 ],
8779 },
8780 &quot;text&quot;: { # Configuration for text output format.
8781 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the text output.
8782 &quot;schema&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
8783 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8784 { # Represents a single field in a struct.
8785 &quot;name&quot;: &quot;A String&quot;,
8786 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8787 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8788 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8789 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8790 # Object with schema name: GenaiVertexV1beta1Value
8791 ],
8792 },
8793 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8794 &quot;numberValue&quot;: 3.14, # Represents a double value.
8795 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8796 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8797 },
8798 },
8799 ],
8800 },
8801 },
8802 },
8803 &quot;responseMimeType&quot;: &quot;A String&quot;, # The mime type of the response. This is required if response_format is set.
8804 &quot;responseModalities&quot;: [ # The requested modalities of the response (TEXT, IMAGE, AUDIO).
8805 &quot;A String&quot;,
8806 ],
8807 &quot;role&quot;: &quot;A String&quot;, # Output only. The role of the interaction.
8808 &quot;status&quot;: &quot;A String&quot;, # Required. Output only. The status of the interaction.
8809 &quot;stepList&quot;: { # A list of Steps. # Input only. The steps for the interaction.
8810 &quot;steps&quot;: [ # The steps of the list.
8811 { # A step in the interaction.
8812 &quot;modelOutput&quot;: { # Output generated by the model.
8813 &quot;content&quot;: [
8814 { # The content of the response.
8815 &quot;audio&quot;: { # An audio content block.
8816 &quot;channels&quot;: 42, # The number of audio channels.
8817 &quot;data&quot;: &quot;A String&quot;, # The audio content.
8818 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
8819 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
8820 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
8821 },
8822 &quot;document&quot;: { # A document content block.
8823 &quot;data&quot;: &quot;A String&quot;, # The document content.
8824 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
8825 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
8826 },
8827 &quot;image&quot;: { # An image content block.
8828 &quot;data&quot;: &quot;A String&quot;, # The image content.
8829 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
8830 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
8831 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
8832 },
8833 &quot;text&quot;: { # A text content block.
8834 &quot;annotations&quot;: [ # Citation information for model-generated content.
8835 { # Citation information for model-generated content.
8836 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
8837 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
8838 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
8839 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8840 { # Represents a single field in a struct.
8841 &quot;name&quot;: &quot;A String&quot;,
8842 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8843 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8844 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8845 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8846 # Object with schema name: GenaiVertexV1beta1Value
8847 ],
8848 },
8849 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8850 &quot;numberValue&quot;: 3.14, # Represents a double value.
8851 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8852 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8853 },
8854 },
8855 ],
8856 },
8857 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
8858 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
8859 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
8860 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
8861 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
8862 },
8863 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
8864 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
8865 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
8866 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
8867 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
8868 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
8869 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
8870 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
8871 },
8872 ],
8873 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
8874 },
8875 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
8876 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
8877 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
8878 &quot;url&quot;: &quot;A String&quot;, # The URL.
8879 },
8880 },
8881 ],
8882 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
8883 },
8884 &quot;thought&quot;: { # A thought content block.
8885 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
8886 &quot;summary&quot;: [ # A summary of the thought.
8887 {
8888 &quot;image&quot;: { # An image content block.
8889 &quot;data&quot;: &quot;A String&quot;, # The image content.
8890 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
8891 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
8892 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
8893 },
8894 &quot;text&quot;: { # A text content block.
8895 &quot;annotations&quot;: [ # Citation information for model-generated content.
8896 { # Citation information for model-generated content.
8897 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
8898 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
8899 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
8900 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8901 { # Represents a single field in a struct.
8902 &quot;name&quot;: &quot;A String&quot;,
8903 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8904 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8905 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8906 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8907 # Object with schema name: GenaiVertexV1beta1Value
8908 ],
8909 },
8910 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8911 &quot;numberValue&quot;: 3.14, # Represents a double value.
8912 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8913 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8914 },
8915 },
8916 ],
8917 },
8918 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
8919 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
8920 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
8921 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
8922 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
8923 },
8924 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
8925 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
8926 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
8927 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
8928 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
8929 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
8930 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
8931 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
8932 },
8933 ],
8934 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
8935 },
8936 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
8937 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
8938 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
8939 &quot;url&quot;: &quot;A String&quot;, # The URL.
8940 },
8941 },
8942 ],
8943 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
8944 },
8945 },
8946 ],
8947 },
8948 &quot;toolCall&quot;: { # Tool call content.
8949 &quot;codeExecutionCall&quot;: { # Code execution content.
8950 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
8951 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
8952 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
8953 },
8954 },
8955 &quot;fileSearchCall&quot;: { # File Search content.
8956 },
8957 &quot;functionCall&quot;: { # A function tool call content block.
8958 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
8959 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8960 { # Represents a single field in a struct.
8961 &quot;name&quot;: &quot;A String&quot;,
8962 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
8963 &quot;boolValue&quot;: True or False, # Represents a boolean value.
8964 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
8965 &quot;values&quot;: [ # Repeated field of dynamically typed values.
8966 # Object with schema name: GenaiVertexV1beta1Value
8967 ],
8968 },
8969 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
8970 &quot;numberValue&quot;: 3.14, # Represents a double value.
8971 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
8972 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
8973 },
8974 },
8975 ],
8976 },
8977 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
8978 },
8979 &quot;googleMapsCall&quot;: { # Google Maps content.
8980 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
8981 &quot;queries&quot;: [ # The queries to be executed.
8982 &quot;A String&quot;,
8983 ],
8984 },
8985 },
8986 &quot;googleSearchCall&quot;: { # Google Search content.
8987 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
8988 &quot;queries&quot;: [ # Web search queries for the following-up web search.
8989 &quot;A String&quot;,
8990 ],
8991 },
8992 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
8993 },
8994 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
8995 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
8996 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
8997 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
8998 { # Represents a single field in a struct.
8999 &quot;name&quot;: &quot;A String&quot;,
9000 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9001 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9002 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9003 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9004 # Object with schema name: GenaiVertexV1beta1Value
9005 ],
9006 },
9007 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9008 &quot;numberValue&quot;: 3.14, # Represents a double value.
9009 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9010 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9011 },
9012 },
9013 ],
9014 },
9015 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
9016 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
9017 },
9018 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
9019 &quot;urlContextCall&quot;: { # URL context content.
9020 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
9021 &quot;urls&quot;: [ # The URLs to fetch.
9022 &quot;A String&quot;,
9023 ],
9024 },
9025 },
9026 },
9027 &quot;toolResult&quot;: { # Tool result content.
9028 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
9029 &quot;codeExecutionResult&quot;: { # Code execution result content.
9030 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
9031 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
9032 },
9033 &quot;fileSearchResult&quot;: { # File Search result content.
9034 &quot;result&quot;: [ # Optional. The results of the File Search.
9035 { # The result of the File Search.
9036 },
9037 ],
9038 },
9039 &quot;functionResult&quot;: { # A function tool result content block.
9040 &quot;contentList&quot;: {
9041 &quot;contents&quot;: [
9042 {
9043 &quot;image&quot;: { # An image content block.
9044 &quot;data&quot;: &quot;A String&quot;, # The image content.
9045 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
9046 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
9047 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
9048 },
9049 &quot;text&quot;: { # A text content block.
9050 &quot;annotations&quot;: [ # Citation information for model-generated content.
9051 { # Citation information for model-generated content.
9052 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
9053 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
9054 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
9055 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9056 { # Represents a single field in a struct.
9057 &quot;name&quot;: &quot;A String&quot;,
9058 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9059 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9060 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9061 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9062 # Object with schema name: GenaiVertexV1beta1Value
9063 ],
9064 },
9065 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9066 &quot;numberValue&quot;: 3.14, # Represents a double value.
9067 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9068 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9069 },
9070 },
9071 ],
9072 },
9073 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
9074 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
9075 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
9076 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
9077 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
9078 },
9079 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
9080 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
9081 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
9082 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
9083 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
9084 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
9085 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
9086 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
9087 },
9088 ],
9089 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
9090 },
9091 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
9092 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
9093 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
9094 &quot;url&quot;: &quot;A String&quot;, # The URL.
9095 },
9096 },
9097 ],
9098 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
9099 },
9100 },
9101 ],
9102 },
9103 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
9104 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
9105 &quot;stringResult&quot;: &quot;A String&quot;,
9106 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
9107 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9108 { # Represents a single field in a struct.
9109 &quot;name&quot;: &quot;A String&quot;,
9110 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9111 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9112 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9113 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9114 # Object with schema name: GenaiVertexV1beta1Value
9115 ],
9116 },
9117 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9118 &quot;numberValue&quot;: 3.14, # Represents a double value.
9119 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9120 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9121 },
9122 },
9123 ],
9124 },
9125 },
9126 &quot;googleMapsResult&quot;: { # Google Maps result content.
9127 &quot;result&quot;: [ # Required. The results of the Google Maps.
9128 { # The result of the Google Maps.
9129 &quot;places&quot;: [ # The places that were found.
9130 {
9131 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
9132 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
9133 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
9134 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
9135 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
9136 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
9137 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
9138 },
9139 ],
9140 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
9141 },
9142 ],
9143 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
9144 },
9145 ],
9146 },
9147 &quot;googleSearchResult&quot;: { # Google Search result content.
9148 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
9149 &quot;result&quot;: [ # Required. The results of the Google Search.
9150 { # The result of the Google Search.
9151 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
9152 },
9153 ],
9154 },
9155 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
9156 &quot;contentList&quot;: {
9157 &quot;contents&quot;: [
9158 {
9159 &quot;image&quot;: { # An image content block.
9160 &quot;data&quot;: &quot;A String&quot;, # The image content.
9161 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
9162 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
9163 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
9164 },
9165 &quot;text&quot;: { # A text content block.
9166 &quot;annotations&quot;: [ # Citation information for model-generated content.
9167 { # Citation information for model-generated content.
9168 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
9169 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
9170 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
9171 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9172 { # Represents a single field in a struct.
9173 &quot;name&quot;: &quot;A String&quot;,
9174 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9175 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9176 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9177 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9178 # Object with schema name: GenaiVertexV1beta1Value
9179 ],
9180 },
9181 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9182 &quot;numberValue&quot;: 3.14, # Represents a double value.
9183 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9184 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9185 },
9186 },
9187 ],
9188 },
9189 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
9190 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
9191 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
9192 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
9193 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
9194 },
9195 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
9196 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
9197 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
9198 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
9199 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
9200 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
9201 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
9202 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
9203 },
9204 ],
9205 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
9206 },
9207 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
9208 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
9209 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
9210 &quot;url&quot;: &quot;A String&quot;, # The URL.
9211 },
9212 },
9213 ],
9214 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
9215 },
9216 },
9217 ],
9218 },
9219 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
9220 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
9221 &quot;stringResult&quot;: &quot;A String&quot;,
9222 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
9223 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9224 { # Represents a single field in a struct.
9225 &quot;name&quot;: &quot;A String&quot;,
9226 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9227 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9228 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9229 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9230 # Object with schema name: GenaiVertexV1beta1Value
9231 ],
9232 },
9233 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9234 &quot;numberValue&quot;: 3.14, # Represents a double value.
9235 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9236 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9237 },
9238 },
9239 ],
9240 },
9241 },
9242 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
9243 &quot;urlContextResult&quot;: { # URL context result content.
9244 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
9245 &quot;result&quot;: [ # Required. The results of the URL context.
9246 { # The result of the URL context.
9247 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
9248 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
9249 },
9250 ],
9251 },
9252 },
9253 &quot;video&quot;: { # A video content block.
9254 &quot;data&quot;: &quot;A String&quot;, # The video content.
9255 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
9256 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
9257 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
9258 },
9259 },
9260 ],
9261 },
9262 &quot;thought&quot;: { # A thought step.
9263 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
9264 &quot;summary&quot;: [ # A summary of the thought.
9265 { # The content of the response.
9266 &quot;audio&quot;: { # An audio content block.
9267 &quot;channels&quot;: 42, # The number of audio channels.
9268 &quot;data&quot;: &quot;A String&quot;, # The audio content.
9269 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
9270 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
9271 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
9272 },
9273 &quot;document&quot;: { # A document content block.
9274 &quot;data&quot;: &quot;A String&quot;, # The document content.
9275 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
9276 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
9277 },
9278 &quot;image&quot;: { # An image content block.
9279 &quot;data&quot;: &quot;A String&quot;, # The image content.
9280 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
9281 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
9282 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
9283 },
9284 &quot;text&quot;: { # A text content block.
9285 &quot;annotations&quot;: [ # Citation information for model-generated content.
9286 { # Citation information for model-generated content.
9287 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
9288 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
9289 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
9290 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9291 { # Represents a single field in a struct.
9292 &quot;name&quot;: &quot;A String&quot;,
9293 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9294 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9295 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9296 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9297 # Object with schema name: GenaiVertexV1beta1Value
9298 ],
9299 },
9300 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9301 &quot;numberValue&quot;: 3.14, # Represents a double value.
9302 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9303 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9304 },
9305 },
9306 ],
9307 },
9308 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
9309 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
9310 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
9311 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
9312 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
9313 },
9314 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
9315 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
9316 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
9317 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
9318 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
9319 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
9320 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
9321 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
9322 },
9323 ],
9324 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
9325 },
9326 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
9327 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
9328 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
9329 &quot;url&quot;: &quot;A String&quot;, # The URL.
9330 },
9331 },
9332 ],
9333 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
9334 },
9335 &quot;thought&quot;: { # A thought content block.
9336 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
9337 &quot;summary&quot;: [ # A summary of the thought.
9338 {
9339 &quot;image&quot;: { # An image content block.
9340 &quot;data&quot;: &quot;A String&quot;, # The image content.
9341 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
9342 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
9343 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
9344 },
9345 &quot;text&quot;: { # A text content block.
9346 &quot;annotations&quot;: [ # Citation information for model-generated content.
9347 { # Citation information for model-generated content.
9348 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
9349 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
9350 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
9351 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9352 { # Represents a single field in a struct.
9353 &quot;name&quot;: &quot;A String&quot;,
9354 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9355 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9356 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9357 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9358 # Object with schema name: GenaiVertexV1beta1Value
9359 ],
9360 },
9361 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9362 &quot;numberValue&quot;: 3.14, # Represents a double value.
9363 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9364 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9365 },
9366 },
9367 ],
9368 },
9369 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
9370 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
9371 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
9372 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
9373 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
9374 },
9375 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
9376 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
9377 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
9378 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
9379 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
9380 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
9381 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
9382 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
9383 },
9384 ],
9385 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
9386 },
9387 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
9388 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
9389 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
9390 &quot;url&quot;: &quot;A String&quot;, # The URL.
9391 },
9392 },
9393 ],
9394 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
9395 },
9396 },
9397 ],
9398 },
9399 &quot;toolCall&quot;: { # Tool call content.
9400 &quot;codeExecutionCall&quot;: { # Code execution content.
9401 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
9402 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
9403 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
9404 },
9405 },
9406 &quot;fileSearchCall&quot;: { # File Search content.
9407 },
9408 &quot;functionCall&quot;: { # A function tool call content block.
9409 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
9410 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9411 { # Represents a single field in a struct.
9412 &quot;name&quot;: &quot;A String&quot;,
9413 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9414 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9415 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9416 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9417 # Object with schema name: GenaiVertexV1beta1Value
9418 ],
9419 },
9420 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9421 &quot;numberValue&quot;: 3.14, # Represents a double value.
9422 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9423 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9424 },
9425 },
9426 ],
9427 },
9428 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
9429 },
9430 &quot;googleMapsCall&quot;: { # Google Maps content.
9431 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
9432 &quot;queries&quot;: [ # The queries to be executed.
9433 &quot;A String&quot;,
9434 ],
9435 },
9436 },
9437 &quot;googleSearchCall&quot;: { # Google Search content.
9438 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
9439 &quot;queries&quot;: [ # Web search queries for the following-up web search.
9440 &quot;A String&quot;,
9441 ],
9442 },
9443 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
9444 },
9445 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
9446 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
9447 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
9448 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9449 { # Represents a single field in a struct.
9450 &quot;name&quot;: &quot;A String&quot;,
9451 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9452 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9453 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9454 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9455 # Object with schema name: GenaiVertexV1beta1Value
9456 ],
9457 },
9458 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9459 &quot;numberValue&quot;: 3.14, # Represents a double value.
9460 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9461 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9462 },
9463 },
9464 ],
9465 },
9466 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
9467 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
9468 },
9469 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
9470 &quot;urlContextCall&quot;: { # URL context content.
9471 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
9472 &quot;urls&quot;: [ # The URLs to fetch.
9473 &quot;A String&quot;,
9474 ],
9475 },
9476 },
9477 },
9478 &quot;toolResult&quot;: { # Tool result content.
9479 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
9480 &quot;codeExecutionResult&quot;: { # Code execution result content.
9481 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
9482 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
9483 },
9484 &quot;fileSearchResult&quot;: { # File Search result content.
9485 &quot;result&quot;: [ # Optional. The results of the File Search.
9486 { # The result of the File Search.
9487 },
9488 ],
9489 },
9490 &quot;functionResult&quot;: { # A function tool result content block.
9491 &quot;contentList&quot;: {
9492 &quot;contents&quot;: [
9493 {
9494 &quot;image&quot;: { # An image content block.
9495 &quot;data&quot;: &quot;A String&quot;, # The image content.
9496 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
9497 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
9498 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
9499 },
9500 &quot;text&quot;: { # A text content block.
9501 &quot;annotations&quot;: [ # Citation information for model-generated content.
9502 { # Citation information for model-generated content.
9503 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
9504 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
9505 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
9506 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9507 { # Represents a single field in a struct.
9508 &quot;name&quot;: &quot;A String&quot;,
9509 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9510 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9511 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9512 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9513 # Object with schema name: GenaiVertexV1beta1Value
9514 ],
9515 },
9516 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9517 &quot;numberValue&quot;: 3.14, # Represents a double value.
9518 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9519 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9520 },
9521 },
9522 ],
9523 },
9524 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
9525 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
9526 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
9527 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
9528 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
9529 },
9530 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
9531 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
9532 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
9533 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
9534 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
9535 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
9536 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
9537 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
9538 },
9539 ],
9540 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
9541 },
9542 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
9543 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
9544 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
9545 &quot;url&quot;: &quot;A String&quot;, # The URL.
9546 },
9547 },
9548 ],
9549 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
9550 },
9551 },
9552 ],
9553 },
9554 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
9555 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
9556 &quot;stringResult&quot;: &quot;A String&quot;,
9557 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
9558 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9559 { # Represents a single field in a struct.
9560 &quot;name&quot;: &quot;A String&quot;,
9561 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9562 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9563 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9564 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9565 # Object with schema name: GenaiVertexV1beta1Value
9566 ],
9567 },
9568 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9569 &quot;numberValue&quot;: 3.14, # Represents a double value.
9570 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9571 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9572 },
9573 },
9574 ],
9575 },
9576 },
9577 &quot;googleMapsResult&quot;: { # Google Maps result content.
9578 &quot;result&quot;: [ # Required. The results of the Google Maps.
9579 { # The result of the Google Maps.
9580 &quot;places&quot;: [ # The places that were found.
9581 {
9582 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
9583 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
9584 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
9585 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
9586 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
9587 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
9588 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
9589 },
9590 ],
9591 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
9592 },
9593 ],
9594 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
9595 },
9596 ],
9597 },
9598 &quot;googleSearchResult&quot;: { # Google Search result content.
9599 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
9600 &quot;result&quot;: [ # Required. The results of the Google Search.
9601 { # The result of the Google Search.
9602 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
9603 },
9604 ],
9605 },
9606 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
9607 &quot;contentList&quot;: {
9608 &quot;contents&quot;: [
9609 {
9610 &quot;image&quot;: { # An image content block.
9611 &quot;data&quot;: &quot;A String&quot;, # The image content.
9612 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
9613 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
9614 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
9615 },
9616 &quot;text&quot;: { # A text content block.
9617 &quot;annotations&quot;: [ # Citation information for model-generated content.
9618 { # Citation information for model-generated content.
9619 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
9620 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
9621 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
9622 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9623 { # Represents a single field in a struct.
9624 &quot;name&quot;: &quot;A String&quot;,
9625 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9626 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9627 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9628 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9629 # Object with schema name: GenaiVertexV1beta1Value
9630 ],
9631 },
9632 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9633 &quot;numberValue&quot;: 3.14, # Represents a double value.
9634 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9635 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9636 },
9637 },
9638 ],
9639 },
9640 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
9641 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
9642 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
9643 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
9644 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
9645 },
9646 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
9647 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
9648 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
9649 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
9650 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
9651 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
9652 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
9653 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
9654 },
9655 ],
9656 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
9657 },
9658 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
9659 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
9660 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
9661 &quot;url&quot;: &quot;A String&quot;, # The URL.
9662 },
9663 },
9664 ],
9665 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
9666 },
9667 },
9668 ],
9669 },
9670 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
9671 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
9672 &quot;stringResult&quot;: &quot;A String&quot;,
9673 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
9674 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9675 { # Represents a single field in a struct.
9676 &quot;name&quot;: &quot;A String&quot;,
9677 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9678 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9679 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9680 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9681 # Object with schema name: GenaiVertexV1beta1Value
9682 ],
9683 },
9684 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9685 &quot;numberValue&quot;: 3.14, # Represents a double value.
9686 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9687 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9688 },
9689 },
9690 ],
9691 },
9692 },
9693 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
9694 &quot;urlContextResult&quot;: { # URL context result content.
9695 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
9696 &quot;result&quot;: [ # Required. The results of the URL context.
9697 { # The result of the URL context.
9698 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
9699 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
9700 },
9701 ],
9702 },
9703 },
9704 &quot;video&quot;: { # A video content block.
9705 &quot;data&quot;: &quot;A String&quot;, # The video content.
9706 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
9707 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
9708 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
9709 },
9710 },
9711 ],
9712 },
9713 &quot;toolCall&quot;: { # Tool call step.
9714 &quot;codeExecutionCall&quot;: { # Code execution call step.
9715 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
9716 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
9717 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
9718 },
9719 },
9720 &quot;fileSearchCall&quot;: { # File Search call step.
9721 },
9722 &quot;functionCall&quot;: { # A function tool call step.
9723 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
9724 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9725 { # Represents a single field in a struct.
9726 &quot;name&quot;: &quot;A String&quot;,
9727 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9728 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9729 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9730 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9731 # Object with schema name: GenaiVertexV1beta1Value
9732 ],
9733 },
9734 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9735 &quot;numberValue&quot;: 3.14, # Represents a double value.
9736 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9737 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9738 },
9739 },
9740 ],
9741 },
9742 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
9743 },
9744 &quot;googleMapsCall&quot;: { # Google Maps call step.
9745 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
9746 &quot;queries&quot;: [ # The queries to be executed.
9747 &quot;A String&quot;,
9748 ],
9749 },
9750 },
9751 &quot;googleSearchCall&quot;: { # Google Search call step.
9752 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
9753 &quot;queries&quot;: [ # Web search queries for the following-up web search.
9754 &quot;A String&quot;,
9755 ],
9756 },
9757 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
9758 },
9759 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
9760 &quot;mcpServerToolCall&quot;: { # MCPServer tool call step.
9761 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
9762 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9763 { # Represents a single field in a struct.
9764 &quot;name&quot;: &quot;A String&quot;,
9765 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9766 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9767 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9768 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9769 # Object with schema name: GenaiVertexV1beta1Value
9770 ],
9771 },
9772 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9773 &quot;numberValue&quot;: 3.14, # Represents a double value.
9774 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9775 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9776 },
9777 },
9778 ],
9779 },
9780 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
9781 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
9782 },
9783 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
9784 &quot;urlContextCall&quot;: { # URL context call step.
9785 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
9786 &quot;urls&quot;: [ # The URLs to fetch.
9787 &quot;A String&quot;,
9788 ],
9789 },
9790 },
9791 },
9792 &quot;toolResult&quot;: { # Tool result step.
9793 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
9794 &quot;codeExecutionResult&quot;: { # Code execution result step.
9795 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
9796 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
9797 },
9798 &quot;fileSearchResult&quot;: { # File Search result step.
9799 },
9800 &quot;functionResult&quot;: { # Result of a function tool call.
9801 &quot;contentList&quot;: { # A list of Content.
9802 &quot;contents&quot;: [ # The contents of the list.
9803 { # The content of the response.
9804 &quot;audio&quot;: { # An audio content block.
9805 &quot;channels&quot;: 42, # The number of audio channels.
9806 &quot;data&quot;: &quot;A String&quot;, # The audio content.
9807 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
9808 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
9809 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
9810 },
9811 &quot;document&quot;: { # A document content block.
9812 &quot;data&quot;: &quot;A String&quot;, # The document content.
9813 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
9814 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
9815 },
9816 &quot;image&quot;: { # An image content block.
9817 &quot;data&quot;: &quot;A String&quot;, # The image content.
9818 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
9819 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
9820 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
9821 },
9822 &quot;text&quot;: { # A text content block.
9823 &quot;annotations&quot;: [ # Citation information for model-generated content.
9824 { # Citation information for model-generated content.
9825 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
9826 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
9827 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
9828 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9829 { # Represents a single field in a struct.
9830 &quot;name&quot;: &quot;A String&quot;,
9831 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9832 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9833 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9834 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9835 # Object with schema name: GenaiVertexV1beta1Value
9836 ],
9837 },
9838 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9839 &quot;numberValue&quot;: 3.14, # Represents a double value.
9840 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9841 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9842 },
9843 },
9844 ],
9845 },
9846 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
9847 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
9848 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
9849 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
9850 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
9851 },
9852 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
9853 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
9854 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
9855 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
9856 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
9857 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
9858 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
9859 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
9860 },
9861 ],
9862 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
9863 },
9864 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
9865 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
9866 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
9867 &quot;url&quot;: &quot;A String&quot;, # The URL.
9868 },
9869 },
9870 ],
9871 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
9872 },
9873 &quot;thought&quot;: { # A thought content block.
9874 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
9875 &quot;summary&quot;: [ # A summary of the thought.
9876 {
9877 &quot;image&quot;: { # An image content block.
9878 &quot;data&quot;: &quot;A String&quot;, # The image content.
9879 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
9880 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
9881 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
9882 },
9883 &quot;text&quot;: { # A text content block.
9884 &quot;annotations&quot;: [ # Citation information for model-generated content.
9885 { # Citation information for model-generated content.
9886 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
9887 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
9888 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
9889 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9890 { # Represents a single field in a struct.
9891 &quot;name&quot;: &quot;A String&quot;,
9892 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9893 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9894 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9895 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9896 # Object with schema name: GenaiVertexV1beta1Value
9897 ],
9898 },
9899 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9900 &quot;numberValue&quot;: 3.14, # Represents a double value.
9901 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9902 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9903 },
9904 },
9905 ],
9906 },
9907 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
9908 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
9909 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
9910 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
9911 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
9912 },
9913 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
9914 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
9915 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
9916 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
9917 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
9918 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
9919 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
9920 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
9921 },
9922 ],
9923 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
9924 },
9925 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
9926 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
9927 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
9928 &quot;url&quot;: &quot;A String&quot;, # The URL.
9929 },
9930 },
9931 ],
9932 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
9933 },
9934 },
9935 ],
9936 },
9937 &quot;toolCall&quot;: { # Tool call content.
9938 &quot;codeExecutionCall&quot;: { # Code execution content.
9939 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
9940 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
9941 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
9942 },
9943 },
9944 &quot;fileSearchCall&quot;: { # File Search content.
9945 },
9946 &quot;functionCall&quot;: { # A function tool call content block.
9947 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
9948 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9949 { # Represents a single field in a struct.
9950 &quot;name&quot;: &quot;A String&quot;,
9951 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9952 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9953 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9954 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9955 # Object with schema name: GenaiVertexV1beta1Value
9956 ],
9957 },
9958 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9959 &quot;numberValue&quot;: 3.14, # Represents a double value.
9960 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9961 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
9962 },
9963 },
9964 ],
9965 },
9966 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
9967 },
9968 &quot;googleMapsCall&quot;: { # Google Maps content.
9969 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
9970 &quot;queries&quot;: [ # The queries to be executed.
9971 &quot;A String&quot;,
9972 ],
9973 },
9974 },
9975 &quot;googleSearchCall&quot;: { # Google Search content.
9976 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
9977 &quot;queries&quot;: [ # Web search queries for the following-up web search.
9978 &quot;A String&quot;,
9979 ],
9980 },
9981 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
9982 },
9983 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
9984 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
9985 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
9986 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
9987 { # Represents a single field in a struct.
9988 &quot;name&quot;: &quot;A String&quot;,
9989 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
9990 &quot;boolValue&quot;: True or False, # Represents a boolean value.
9991 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
9992 &quot;values&quot;: [ # Repeated field of dynamically typed values.
9993 # Object with schema name: GenaiVertexV1beta1Value
9994 ],
9995 },
9996 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
9997 &quot;numberValue&quot;: 3.14, # Represents a double value.
9998 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
9999 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10000 },
10001 },
10002 ],
10003 },
10004 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
10005 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
10006 },
10007 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
10008 &quot;urlContextCall&quot;: { # URL context content.
10009 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
10010 &quot;urls&quot;: [ # The URLs to fetch.
10011 &quot;A String&quot;,
10012 ],
10013 },
10014 },
10015 },
10016 &quot;toolResult&quot;: { # Tool result content.
10017 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
10018 &quot;codeExecutionResult&quot;: { # Code execution result content.
10019 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
10020 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
10021 },
10022 &quot;fileSearchResult&quot;: { # File Search result content.
10023 &quot;result&quot;: [ # Optional. The results of the File Search.
10024 { # The result of the File Search.
10025 },
10026 ],
10027 },
10028 &quot;functionResult&quot;: { # A function tool result content block.
10029 &quot;contentList&quot;: {
10030 &quot;contents&quot;: [
10031 {
10032 &quot;image&quot;: { # An image content block.
10033 &quot;data&quot;: &quot;A String&quot;, # The image content.
10034 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
10035 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
10036 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
10037 },
10038 &quot;text&quot;: { # A text content block.
10039 &quot;annotations&quot;: [ # Citation information for model-generated content.
10040 { # Citation information for model-generated content.
10041 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
10042 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
10043 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
10044 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10045 { # Represents a single field in a struct.
10046 &quot;name&quot;: &quot;A String&quot;,
10047 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10048 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10049 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10050 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10051 # Object with schema name: GenaiVertexV1beta1Value
10052 ],
10053 },
10054 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10055 &quot;numberValue&quot;: 3.14, # Represents a double value.
10056 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10057 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10058 },
10059 },
10060 ],
10061 },
10062 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
10063 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
10064 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
10065 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
10066 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
10067 },
10068 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
10069 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
10070 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
10071 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
10072 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
10073 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
10074 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
10075 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
10076 },
10077 ],
10078 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
10079 },
10080 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
10081 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
10082 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
10083 &quot;url&quot;: &quot;A String&quot;, # The URL.
10084 },
10085 },
10086 ],
10087 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
10088 },
10089 },
10090 ],
10091 },
10092 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
10093 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
10094 &quot;stringResult&quot;: &quot;A String&quot;,
10095 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
10096 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10097 { # Represents a single field in a struct.
10098 &quot;name&quot;: &quot;A String&quot;,
10099 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10100 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10101 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10102 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10103 # Object with schema name: GenaiVertexV1beta1Value
10104 ],
10105 },
10106 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10107 &quot;numberValue&quot;: 3.14, # Represents a double value.
10108 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10109 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10110 },
10111 },
10112 ],
10113 },
10114 },
10115 &quot;googleMapsResult&quot;: { # Google Maps result content.
10116 &quot;result&quot;: [ # Required. The results of the Google Maps.
10117 { # The result of the Google Maps.
10118 &quot;places&quot;: [ # The places that were found.
10119 {
10120 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
10121 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
10122 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
10123 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
10124 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
10125 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
10126 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
10127 },
10128 ],
10129 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
10130 },
10131 ],
10132 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
10133 },
10134 ],
10135 },
10136 &quot;googleSearchResult&quot;: { # Google Search result content.
10137 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
10138 &quot;result&quot;: [ # Required. The results of the Google Search.
10139 { # The result of the Google Search.
10140 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
10141 },
10142 ],
10143 },
10144 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
10145 &quot;contentList&quot;: {
10146 &quot;contents&quot;: [
10147 {
10148 &quot;image&quot;: { # An image content block.
10149 &quot;data&quot;: &quot;A String&quot;, # The image content.
10150 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
10151 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
10152 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
10153 },
10154 &quot;text&quot;: { # A text content block.
10155 &quot;annotations&quot;: [ # Citation information for model-generated content.
10156 { # Citation information for model-generated content.
10157 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
10158 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
10159 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
10160 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10161 { # Represents a single field in a struct.
10162 &quot;name&quot;: &quot;A String&quot;,
10163 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10164 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10165 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10166 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10167 # Object with schema name: GenaiVertexV1beta1Value
10168 ],
10169 },
10170 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10171 &quot;numberValue&quot;: 3.14, # Represents a double value.
10172 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10173 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10174 },
10175 },
10176 ],
10177 },
10178 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
10179 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
10180 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
10181 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
10182 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
10183 },
10184 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
10185 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
10186 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
10187 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
10188 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
10189 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
10190 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
10191 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
10192 },
10193 ],
10194 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
10195 },
10196 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
10197 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
10198 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
10199 &quot;url&quot;: &quot;A String&quot;, # The URL.
10200 },
10201 },
10202 ],
10203 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
10204 },
10205 },
10206 ],
10207 },
10208 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
10209 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
10210 &quot;stringResult&quot;: &quot;A String&quot;,
10211 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
10212 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10213 { # Represents a single field in a struct.
10214 &quot;name&quot;: &quot;A String&quot;,
10215 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10216 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10217 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10218 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10219 # Object with schema name: GenaiVertexV1beta1Value
10220 ],
10221 },
10222 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10223 &quot;numberValue&quot;: 3.14, # Represents a double value.
10224 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10225 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10226 },
10227 },
10228 ],
10229 },
10230 },
10231 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
10232 &quot;urlContextResult&quot;: { # URL context result content.
10233 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
10234 &quot;result&quot;: [ # Required. The results of the URL context.
10235 { # The result of the URL context.
10236 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
10237 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
10238 },
10239 ],
10240 },
10241 },
10242 &quot;video&quot;: { # A video content block.
10243 &quot;data&quot;: &quot;A String&quot;, # The video content.
10244 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
10245 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
10246 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
10247 },
10248 },
10249 ],
10250 },
10251 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
10252 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
10253 &quot;stringResult&quot;: &quot;A String&quot;,
10254 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
10255 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10256 { # Represents a single field in a struct.
10257 &quot;name&quot;: &quot;A String&quot;,
10258 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10259 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10260 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10261 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10262 # Object with schema name: GenaiVertexV1beta1Value
10263 ],
10264 },
10265 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10266 &quot;numberValue&quot;: 3.14, # Represents a double value.
10267 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10268 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10269 },
10270 },
10271 ],
10272 },
10273 },
10274 &quot;googleMapsResult&quot;: { # Google Maps result step.
10275 &quot;result&quot;: [
10276 { # The result of the Google Maps.
10277 &quot;places&quot;: [
10278 {
10279 &quot;name&quot;: &quot;A String&quot;,
10280 &quot;placeId&quot;: &quot;A String&quot;,
10281 &quot;reviewSnippets&quot;: [
10282 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
10283 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
10284 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
10285 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
10286 },
10287 ],
10288 &quot;url&quot;: &quot;A String&quot;,
10289 },
10290 ],
10291 &quot;widgetContextToken&quot;: &quot;A String&quot;,
10292 },
10293 ],
10294 },
10295 &quot;googleSearchResult&quot;: { # Google Search result step.
10296 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
10297 &quot;result&quot;: [ # Required. The results of the Google Search.
10298 { # The result of the Google Search.
10299 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
10300 },
10301 ],
10302 },
10303 &quot;mcpServerToolResult&quot;: { # MCPServer tool result step.
10304 &quot;contentList&quot;: { # A list of Content.
10305 &quot;contents&quot;: [ # The contents of the list.
10306 { # The content of the response.
10307 &quot;audio&quot;: { # An audio content block.
10308 &quot;channels&quot;: 42, # The number of audio channels.
10309 &quot;data&quot;: &quot;A String&quot;, # The audio content.
10310 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
10311 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
10312 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
10313 },
10314 &quot;document&quot;: { # A document content block.
10315 &quot;data&quot;: &quot;A String&quot;, # The document content.
10316 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
10317 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
10318 },
10319 &quot;image&quot;: { # An image content block.
10320 &quot;data&quot;: &quot;A String&quot;, # The image content.
10321 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
10322 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
10323 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
10324 },
10325 &quot;text&quot;: { # A text content block.
10326 &quot;annotations&quot;: [ # Citation information for model-generated content.
10327 { # Citation information for model-generated content.
10328 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
10329 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
10330 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
10331 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10332 { # Represents a single field in a struct.
10333 &quot;name&quot;: &quot;A String&quot;,
10334 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10335 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10336 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10337 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10338 # Object with schema name: GenaiVertexV1beta1Value
10339 ],
10340 },
10341 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10342 &quot;numberValue&quot;: 3.14, # Represents a double value.
10343 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10344 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10345 },
10346 },
10347 ],
10348 },
10349 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
10350 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
10351 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
10352 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
10353 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
10354 },
10355 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
10356 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
10357 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
10358 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
10359 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
10360 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
10361 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
10362 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
10363 },
10364 ],
10365 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
10366 },
10367 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
10368 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
10369 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
10370 &quot;url&quot;: &quot;A String&quot;, # The URL.
10371 },
10372 },
10373 ],
10374 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
10375 },
10376 &quot;thought&quot;: { # A thought content block.
10377 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
10378 &quot;summary&quot;: [ # A summary of the thought.
10379 {
10380 &quot;image&quot;: { # An image content block.
10381 &quot;data&quot;: &quot;A String&quot;, # The image content.
10382 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
10383 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
10384 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
10385 },
10386 &quot;text&quot;: { # A text content block.
10387 &quot;annotations&quot;: [ # Citation information for model-generated content.
10388 { # Citation information for model-generated content.
10389 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
10390 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
10391 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
10392 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10393 { # Represents a single field in a struct.
10394 &quot;name&quot;: &quot;A String&quot;,
10395 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10396 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10397 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10398 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10399 # Object with schema name: GenaiVertexV1beta1Value
10400 ],
10401 },
10402 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10403 &quot;numberValue&quot;: 3.14, # Represents a double value.
10404 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10405 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10406 },
10407 },
10408 ],
10409 },
10410 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
10411 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
10412 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
10413 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
10414 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
10415 },
10416 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
10417 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
10418 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
10419 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
10420 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
10421 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
10422 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
10423 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
10424 },
10425 ],
10426 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
10427 },
10428 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
10429 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
10430 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
10431 &quot;url&quot;: &quot;A String&quot;, # The URL.
10432 },
10433 },
10434 ],
10435 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
10436 },
10437 },
10438 ],
10439 },
10440 &quot;toolCall&quot;: { # Tool call content.
10441 &quot;codeExecutionCall&quot;: { # Code execution content.
10442 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
10443 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
10444 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
10445 },
10446 },
10447 &quot;fileSearchCall&quot;: { # File Search content.
10448 },
10449 &quot;functionCall&quot;: { # A function tool call content block.
10450 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
10451 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10452 { # Represents a single field in a struct.
10453 &quot;name&quot;: &quot;A String&quot;,
10454 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10455 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10456 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10457 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10458 # Object with schema name: GenaiVertexV1beta1Value
10459 ],
10460 },
10461 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10462 &quot;numberValue&quot;: 3.14, # Represents a double value.
10463 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10464 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10465 },
10466 },
10467 ],
10468 },
10469 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
10470 },
10471 &quot;googleMapsCall&quot;: { # Google Maps content.
10472 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
10473 &quot;queries&quot;: [ # The queries to be executed.
10474 &quot;A String&quot;,
10475 ],
10476 },
10477 },
10478 &quot;googleSearchCall&quot;: { # Google Search content.
10479 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
10480 &quot;queries&quot;: [ # Web search queries for the following-up web search.
10481 &quot;A String&quot;,
10482 ],
10483 },
10484 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
10485 },
10486 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
10487 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
10488 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
10489 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10490 { # Represents a single field in a struct.
10491 &quot;name&quot;: &quot;A String&quot;,
10492 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10493 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10494 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10495 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10496 # Object with schema name: GenaiVertexV1beta1Value
10497 ],
10498 },
10499 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10500 &quot;numberValue&quot;: 3.14, # Represents a double value.
10501 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10502 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10503 },
10504 },
10505 ],
10506 },
10507 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
10508 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
10509 },
10510 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
10511 &quot;urlContextCall&quot;: { # URL context content.
10512 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
10513 &quot;urls&quot;: [ # The URLs to fetch.
10514 &quot;A String&quot;,
10515 ],
10516 },
10517 },
10518 },
10519 &quot;toolResult&quot;: { # Tool result content.
10520 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
10521 &quot;codeExecutionResult&quot;: { # Code execution result content.
10522 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
10523 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
10524 },
10525 &quot;fileSearchResult&quot;: { # File Search result content.
10526 &quot;result&quot;: [ # Optional. The results of the File Search.
10527 { # The result of the File Search.
10528 },
10529 ],
10530 },
10531 &quot;functionResult&quot;: { # A function tool result content block.
10532 &quot;contentList&quot;: {
10533 &quot;contents&quot;: [
10534 {
10535 &quot;image&quot;: { # An image content block.
10536 &quot;data&quot;: &quot;A String&quot;, # The image content.
10537 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
10538 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
10539 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
10540 },
10541 &quot;text&quot;: { # A text content block.
10542 &quot;annotations&quot;: [ # Citation information for model-generated content.
10543 { # Citation information for model-generated content.
10544 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
10545 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
10546 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
10547 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10548 { # Represents a single field in a struct.
10549 &quot;name&quot;: &quot;A String&quot;,
10550 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10551 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10552 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10553 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10554 # Object with schema name: GenaiVertexV1beta1Value
10555 ],
10556 },
10557 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10558 &quot;numberValue&quot;: 3.14, # Represents a double value.
10559 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10560 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10561 },
10562 },
10563 ],
10564 },
10565 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
10566 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
10567 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
10568 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
10569 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
10570 },
10571 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
10572 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
10573 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
10574 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
10575 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
10576 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
10577 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
10578 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
10579 },
10580 ],
10581 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
10582 },
10583 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
10584 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
10585 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
10586 &quot;url&quot;: &quot;A String&quot;, # The URL.
10587 },
10588 },
10589 ],
10590 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
10591 },
10592 },
10593 ],
10594 },
10595 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
10596 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
10597 &quot;stringResult&quot;: &quot;A String&quot;,
10598 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
10599 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10600 { # Represents a single field in a struct.
10601 &quot;name&quot;: &quot;A String&quot;,
10602 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10603 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10604 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10605 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10606 # Object with schema name: GenaiVertexV1beta1Value
10607 ],
10608 },
10609 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10610 &quot;numberValue&quot;: 3.14, # Represents a double value.
10611 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10612 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10613 },
10614 },
10615 ],
10616 },
10617 },
10618 &quot;googleMapsResult&quot;: { # Google Maps result content.
10619 &quot;result&quot;: [ # Required. The results of the Google Maps.
10620 { # The result of the Google Maps.
10621 &quot;places&quot;: [ # The places that were found.
10622 {
10623 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
10624 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
10625 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
10626 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
10627 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
10628 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
10629 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
10630 },
10631 ],
10632 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
10633 },
10634 ],
10635 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
10636 },
10637 ],
10638 },
10639 &quot;googleSearchResult&quot;: { # Google Search result content.
10640 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
10641 &quot;result&quot;: [ # Required. The results of the Google Search.
10642 { # The result of the Google Search.
10643 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
10644 },
10645 ],
10646 },
10647 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
10648 &quot;contentList&quot;: {
10649 &quot;contents&quot;: [
10650 {
10651 &quot;image&quot;: { # An image content block.
10652 &quot;data&quot;: &quot;A String&quot;, # The image content.
10653 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
10654 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
10655 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
10656 },
10657 &quot;text&quot;: { # A text content block.
10658 &quot;annotations&quot;: [ # Citation information for model-generated content.
10659 { # Citation information for model-generated content.
10660 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
10661 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
10662 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
10663 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10664 { # Represents a single field in a struct.
10665 &quot;name&quot;: &quot;A String&quot;,
10666 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10667 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10668 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10669 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10670 # Object with schema name: GenaiVertexV1beta1Value
10671 ],
10672 },
10673 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10674 &quot;numberValue&quot;: 3.14, # Represents a double value.
10675 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10676 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10677 },
10678 },
10679 ],
10680 },
10681 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
10682 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
10683 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
10684 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
10685 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
10686 },
10687 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
10688 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
10689 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
10690 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
10691 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
10692 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
10693 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
10694 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
10695 },
10696 ],
10697 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
10698 },
10699 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
10700 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
10701 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
10702 &quot;url&quot;: &quot;A String&quot;, # The URL.
10703 },
10704 },
10705 ],
10706 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
10707 },
10708 },
10709 ],
10710 },
10711 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
10712 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
10713 &quot;stringResult&quot;: &quot;A String&quot;,
10714 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
10715 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10716 { # Represents a single field in a struct.
10717 &quot;name&quot;: &quot;A String&quot;,
10718 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10719 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10720 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10721 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10722 # Object with schema name: GenaiVertexV1beta1Value
10723 ],
10724 },
10725 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10726 &quot;numberValue&quot;: 3.14, # Represents a double value.
10727 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10728 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10729 },
10730 },
10731 ],
10732 },
10733 },
10734 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
10735 &quot;urlContextResult&quot;: { # URL context result content.
10736 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
10737 &quot;result&quot;: [ # Required. The results of the URL context.
10738 { # The result of the URL context.
10739 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
10740 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
10741 },
10742 ],
10743 },
10744 },
10745 &quot;video&quot;: { # A video content block.
10746 &quot;data&quot;: &quot;A String&quot;, # The video content.
10747 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
10748 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
10749 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
10750 },
10751 },
10752 ],
10753 },
10754 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
10755 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
10756 &quot;stringResult&quot;: &quot;A String&quot;,
10757 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
10758 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10759 { # Represents a single field in a struct.
10760 &quot;name&quot;: &quot;A String&quot;,
10761 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10762 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10763 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10764 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10765 # Object with schema name: GenaiVertexV1beta1Value
10766 ],
10767 },
10768 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10769 &quot;numberValue&quot;: 3.14, # Represents a double value.
10770 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10771 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10772 },
10773 },
10774 ],
10775 },
10776 },
10777 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
10778 &quot;urlContextResult&quot;: { # URL context result step.
10779 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
10780 &quot;result&quot;: [ # Required. The results of the URL context.
10781 { # The result of the URL context.
10782 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
10783 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
10784 },
10785 ],
10786 },
10787 },
10788 &quot;userInput&quot;: { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
10789 &quot;contentList&quot;: { # A list of Content. # The content of the step. An array of Content objects.
10790 &quot;contents&quot;: [ # The contents of the list.
10791 { # The content of the response.
10792 &quot;audio&quot;: { # An audio content block.
10793 &quot;channels&quot;: 42, # The number of audio channels.
10794 &quot;data&quot;: &quot;A String&quot;, # The audio content.
10795 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
10796 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
10797 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
10798 },
10799 &quot;document&quot;: { # A document content block.
10800 &quot;data&quot;: &quot;A String&quot;, # The document content.
10801 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
10802 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
10803 },
10804 &quot;image&quot;: { # An image content block.
10805 &quot;data&quot;: &quot;A String&quot;, # The image content.
10806 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
10807 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
10808 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
10809 },
10810 &quot;text&quot;: { # A text content block.
10811 &quot;annotations&quot;: [ # Citation information for model-generated content.
10812 { # Citation information for model-generated content.
10813 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
10814 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
10815 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
10816 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10817 { # Represents a single field in a struct.
10818 &quot;name&quot;: &quot;A String&quot;,
10819 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10820 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10821 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10822 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10823 # Object with schema name: GenaiVertexV1beta1Value
10824 ],
10825 },
10826 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10827 &quot;numberValue&quot;: 3.14, # Represents a double value.
10828 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10829 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10830 },
10831 },
10832 ],
10833 },
10834 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
10835 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
10836 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
10837 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
10838 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
10839 },
10840 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
10841 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
10842 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
10843 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
10844 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
10845 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
10846 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
10847 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
10848 },
10849 ],
10850 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
10851 },
10852 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
10853 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
10854 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
10855 &quot;url&quot;: &quot;A String&quot;, # The URL.
10856 },
10857 },
10858 ],
10859 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
10860 },
10861 &quot;thought&quot;: { # A thought content block.
10862 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
10863 &quot;summary&quot;: [ # A summary of the thought.
10864 {
10865 &quot;image&quot;: { # An image content block.
10866 &quot;data&quot;: &quot;A String&quot;, # The image content.
10867 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
10868 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
10869 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
10870 },
10871 &quot;text&quot;: { # A text content block.
10872 &quot;annotations&quot;: [ # Citation information for model-generated content.
10873 { # Citation information for model-generated content.
10874 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
10875 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
10876 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
10877 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10878 { # Represents a single field in a struct.
10879 &quot;name&quot;: &quot;A String&quot;,
10880 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10881 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10882 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10883 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10884 # Object with schema name: GenaiVertexV1beta1Value
10885 ],
10886 },
10887 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10888 &quot;numberValue&quot;: 3.14, # Represents a double value.
10889 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10890 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10891 },
10892 },
10893 ],
10894 },
10895 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
10896 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
10897 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
10898 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
10899 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
10900 },
10901 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
10902 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
10903 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
10904 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
10905 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
10906 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
10907 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
10908 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
10909 },
10910 ],
10911 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
10912 },
10913 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
10914 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
10915 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
10916 &quot;url&quot;: &quot;A String&quot;, # The URL.
10917 },
10918 },
10919 ],
10920 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
10921 },
10922 },
10923 ],
10924 },
10925 &quot;toolCall&quot;: { # Tool call content.
10926 &quot;codeExecutionCall&quot;: { # Code execution content.
10927 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
10928 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
10929 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
10930 },
10931 },
10932 &quot;fileSearchCall&quot;: { # File Search content.
10933 },
10934 &quot;functionCall&quot;: { # A function tool call content block.
10935 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
10936 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10937 { # Represents a single field in a struct.
10938 &quot;name&quot;: &quot;A String&quot;,
10939 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10940 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10941 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10942 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10943 # Object with schema name: GenaiVertexV1beta1Value
10944 ],
10945 },
10946 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10947 &quot;numberValue&quot;: 3.14, # Represents a double value.
10948 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10949 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10950 },
10951 },
10952 ],
10953 },
10954 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
10955 },
10956 &quot;googleMapsCall&quot;: { # Google Maps content.
10957 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
10958 &quot;queries&quot;: [ # The queries to be executed.
10959 &quot;A String&quot;,
10960 ],
10961 },
10962 },
10963 &quot;googleSearchCall&quot;: { # Google Search content.
10964 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
10965 &quot;queries&quot;: [ # Web search queries for the following-up web search.
10966 &quot;A String&quot;,
10967 ],
10968 },
10969 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
10970 },
10971 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
10972 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
10973 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
10974 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
10975 { # Represents a single field in a struct.
10976 &quot;name&quot;: &quot;A String&quot;,
10977 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
10978 &quot;boolValue&quot;: True or False, # Represents a boolean value.
10979 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
10980 &quot;values&quot;: [ # Repeated field of dynamically typed values.
10981 # Object with schema name: GenaiVertexV1beta1Value
10982 ],
10983 },
10984 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
10985 &quot;numberValue&quot;: 3.14, # Represents a double value.
10986 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
10987 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
10988 },
10989 },
10990 ],
10991 },
10992 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
10993 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
10994 },
10995 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
10996 &quot;urlContextCall&quot;: { # URL context content.
10997 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
10998 &quot;urls&quot;: [ # The URLs to fetch.
10999 &quot;A String&quot;,
11000 ],
11001 },
11002 },
11003 },
11004 &quot;toolResult&quot;: { # Tool result content.
11005 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
11006 &quot;codeExecutionResult&quot;: { # Code execution result content.
11007 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
11008 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
11009 },
11010 &quot;fileSearchResult&quot;: { # File Search result content.
11011 &quot;result&quot;: [ # Optional. The results of the File Search.
11012 { # The result of the File Search.
11013 },
11014 ],
11015 },
11016 &quot;functionResult&quot;: { # A function tool result content block.
11017 &quot;contentList&quot;: {
11018 &quot;contents&quot;: [
11019 {
11020 &quot;image&quot;: { # An image content block.
11021 &quot;data&quot;: &quot;A String&quot;, # The image content.
11022 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
11023 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
11024 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
11025 },
11026 &quot;text&quot;: { # A text content block.
11027 &quot;annotations&quot;: [ # Citation information for model-generated content.
11028 { # Citation information for model-generated content.
11029 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
11030 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
11031 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
11032 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11033 { # Represents a single field in a struct.
11034 &quot;name&quot;: &quot;A String&quot;,
11035 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11036 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11037 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11038 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11039 # Object with schema name: GenaiVertexV1beta1Value
11040 ],
11041 },
11042 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11043 &quot;numberValue&quot;: 3.14, # Represents a double value.
11044 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11045 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11046 },
11047 },
11048 ],
11049 },
11050 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
11051 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
11052 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
11053 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
11054 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
11055 },
11056 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
11057 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
11058 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
11059 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
11060 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
11061 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
11062 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
11063 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
11064 },
11065 ],
11066 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
11067 },
11068 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
11069 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
11070 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
11071 &quot;url&quot;: &quot;A String&quot;, # The URL.
11072 },
11073 },
11074 ],
11075 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
11076 },
11077 },
11078 ],
11079 },
11080 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
11081 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
11082 &quot;stringResult&quot;: &quot;A String&quot;,
11083 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
11084 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11085 { # Represents a single field in a struct.
11086 &quot;name&quot;: &quot;A String&quot;,
11087 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11088 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11089 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11090 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11091 # Object with schema name: GenaiVertexV1beta1Value
11092 ],
11093 },
11094 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11095 &quot;numberValue&quot;: 3.14, # Represents a double value.
11096 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11097 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11098 },
11099 },
11100 ],
11101 },
11102 },
11103 &quot;googleMapsResult&quot;: { # Google Maps result content.
11104 &quot;result&quot;: [ # Required. The results of the Google Maps.
11105 { # The result of the Google Maps.
11106 &quot;places&quot;: [ # The places that were found.
11107 {
11108 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
11109 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
11110 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
11111 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
11112 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
11113 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
11114 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
11115 },
11116 ],
11117 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
11118 },
11119 ],
11120 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
11121 },
11122 ],
11123 },
11124 &quot;googleSearchResult&quot;: { # Google Search result content.
11125 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
11126 &quot;result&quot;: [ # Required. The results of the Google Search.
11127 { # The result of the Google Search.
11128 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
11129 },
11130 ],
11131 },
11132 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
11133 &quot;contentList&quot;: {
11134 &quot;contents&quot;: [
11135 {
11136 &quot;image&quot;: { # An image content block.
11137 &quot;data&quot;: &quot;A String&quot;, # The image content.
11138 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
11139 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
11140 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
11141 },
11142 &quot;text&quot;: { # A text content block.
11143 &quot;annotations&quot;: [ # Citation information for model-generated content.
11144 { # Citation information for model-generated content.
11145 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
11146 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
11147 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
11148 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11149 { # Represents a single field in a struct.
11150 &quot;name&quot;: &quot;A String&quot;,
11151 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11152 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11153 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11154 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11155 # Object with schema name: GenaiVertexV1beta1Value
11156 ],
11157 },
11158 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11159 &quot;numberValue&quot;: 3.14, # Represents a double value.
11160 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11161 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11162 },
11163 },
11164 ],
11165 },
11166 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
11167 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
11168 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
11169 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
11170 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
11171 },
11172 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
11173 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
11174 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
11175 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
11176 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
11177 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
11178 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
11179 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
11180 },
11181 ],
11182 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
11183 },
11184 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
11185 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
11186 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
11187 &quot;url&quot;: &quot;A String&quot;, # The URL.
11188 },
11189 },
11190 ],
11191 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
11192 },
11193 },
11194 ],
11195 },
11196 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
11197 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
11198 &quot;stringResult&quot;: &quot;A String&quot;,
11199 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
11200 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11201 { # Represents a single field in a struct.
11202 &quot;name&quot;: &quot;A String&quot;,
11203 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11204 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11205 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11206 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11207 # Object with schema name: GenaiVertexV1beta1Value
11208 ],
11209 },
11210 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11211 &quot;numberValue&quot;: 3.14, # Represents a double value.
11212 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11213 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11214 },
11215 },
11216 ],
11217 },
11218 },
11219 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
11220 &quot;urlContextResult&quot;: { # URL context result content.
11221 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
11222 &quot;result&quot;: [ # Required. The results of the URL context.
11223 { # The result of the URL context.
11224 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
11225 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
11226 },
11227 ],
11228 },
11229 },
11230 &quot;video&quot;: { # A video content block.
11231 &quot;data&quot;: &quot;A String&quot;, # The video content.
11232 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
11233 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
11234 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
11235 },
11236 },
11237 ],
11238 },
11239 &quot;contentString&quot;: &quot;A String&quot;, # The content of the step. A single string.
11240 },
11241 },
11242 ],
11243 },
11244 &quot;steps&quot;: [ # Required. Output only. The steps that make up the interaction.
11245 { # A step in the interaction.
11246 &quot;modelOutput&quot;: { # Output generated by the model.
11247 &quot;content&quot;: [
11248 { # The content of the response.
11249 &quot;audio&quot;: { # An audio content block.
11250 &quot;channels&quot;: 42, # The number of audio channels.
11251 &quot;data&quot;: &quot;A String&quot;, # The audio content.
11252 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
11253 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
11254 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
11255 },
11256 &quot;document&quot;: { # A document content block.
11257 &quot;data&quot;: &quot;A String&quot;, # The document content.
11258 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
11259 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
11260 },
11261 &quot;image&quot;: { # An image content block.
11262 &quot;data&quot;: &quot;A String&quot;, # The image content.
11263 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
11264 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
11265 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
11266 },
11267 &quot;text&quot;: { # A text content block.
11268 &quot;annotations&quot;: [ # Citation information for model-generated content.
11269 { # Citation information for model-generated content.
11270 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
11271 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
11272 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
11273 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11274 { # Represents a single field in a struct.
11275 &quot;name&quot;: &quot;A String&quot;,
11276 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11277 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11278 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11279 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11280 # Object with schema name: GenaiVertexV1beta1Value
11281 ],
11282 },
11283 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11284 &quot;numberValue&quot;: 3.14, # Represents a double value.
11285 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11286 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11287 },
11288 },
11289 ],
11290 },
11291 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
11292 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
11293 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
11294 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
11295 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
11296 },
11297 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
11298 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
11299 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
11300 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
11301 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
11302 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
11303 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
11304 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
11305 },
11306 ],
11307 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
11308 },
11309 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
11310 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
11311 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
11312 &quot;url&quot;: &quot;A String&quot;, # The URL.
11313 },
11314 },
11315 ],
11316 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
11317 },
11318 &quot;thought&quot;: { # A thought content block.
11319 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
11320 &quot;summary&quot;: [ # A summary of the thought.
11321 {
11322 &quot;image&quot;: { # An image content block.
11323 &quot;data&quot;: &quot;A String&quot;, # The image content.
11324 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
11325 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
11326 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
11327 },
11328 &quot;text&quot;: { # A text content block.
11329 &quot;annotations&quot;: [ # Citation information for model-generated content.
11330 { # Citation information for model-generated content.
11331 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
11332 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
11333 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
11334 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11335 { # Represents a single field in a struct.
11336 &quot;name&quot;: &quot;A String&quot;,
11337 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11338 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11339 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11340 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11341 # Object with schema name: GenaiVertexV1beta1Value
11342 ],
11343 },
11344 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11345 &quot;numberValue&quot;: 3.14, # Represents a double value.
11346 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11347 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11348 },
11349 },
11350 ],
11351 },
11352 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
11353 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
11354 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
11355 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
11356 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
11357 },
11358 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
11359 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
11360 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
11361 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
11362 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
11363 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
11364 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
11365 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
11366 },
11367 ],
11368 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
11369 },
11370 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
11371 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
11372 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
11373 &quot;url&quot;: &quot;A String&quot;, # The URL.
11374 },
11375 },
11376 ],
11377 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
11378 },
11379 },
11380 ],
11381 },
11382 &quot;toolCall&quot;: { # Tool call content.
11383 &quot;codeExecutionCall&quot;: { # Code execution content.
11384 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
11385 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
11386 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
11387 },
11388 },
11389 &quot;fileSearchCall&quot;: { # File Search content.
11390 },
11391 &quot;functionCall&quot;: { # A function tool call content block.
11392 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
11393 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11394 { # Represents a single field in a struct.
11395 &quot;name&quot;: &quot;A String&quot;,
11396 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11397 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11398 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11399 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11400 # Object with schema name: GenaiVertexV1beta1Value
11401 ],
11402 },
11403 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11404 &quot;numberValue&quot;: 3.14, # Represents a double value.
11405 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11406 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11407 },
11408 },
11409 ],
11410 },
11411 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
11412 },
11413 &quot;googleMapsCall&quot;: { # Google Maps content.
11414 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
11415 &quot;queries&quot;: [ # The queries to be executed.
11416 &quot;A String&quot;,
11417 ],
11418 },
11419 },
11420 &quot;googleSearchCall&quot;: { # Google Search content.
11421 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
11422 &quot;queries&quot;: [ # Web search queries for the following-up web search.
11423 &quot;A String&quot;,
11424 ],
11425 },
11426 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
11427 },
11428 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
11429 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
11430 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
11431 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11432 { # Represents a single field in a struct.
11433 &quot;name&quot;: &quot;A String&quot;,
11434 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11435 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11436 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11437 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11438 # Object with schema name: GenaiVertexV1beta1Value
11439 ],
11440 },
11441 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11442 &quot;numberValue&quot;: 3.14, # Represents a double value.
11443 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11444 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11445 },
11446 },
11447 ],
11448 },
11449 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
11450 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
11451 },
11452 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
11453 &quot;urlContextCall&quot;: { # URL context content.
11454 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
11455 &quot;urls&quot;: [ # The URLs to fetch.
11456 &quot;A String&quot;,
11457 ],
11458 },
11459 },
11460 },
11461 &quot;toolResult&quot;: { # Tool result content.
11462 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
11463 &quot;codeExecutionResult&quot;: { # Code execution result content.
11464 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
11465 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
11466 },
11467 &quot;fileSearchResult&quot;: { # File Search result content.
11468 &quot;result&quot;: [ # Optional. The results of the File Search.
11469 { # The result of the File Search.
11470 },
11471 ],
11472 },
11473 &quot;functionResult&quot;: { # A function tool result content block.
11474 &quot;contentList&quot;: {
11475 &quot;contents&quot;: [
11476 {
11477 &quot;image&quot;: { # An image content block.
11478 &quot;data&quot;: &quot;A String&quot;, # The image content.
11479 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
11480 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
11481 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
11482 },
11483 &quot;text&quot;: { # A text content block.
11484 &quot;annotations&quot;: [ # Citation information for model-generated content.
11485 { # Citation information for model-generated content.
11486 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
11487 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
11488 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
11489 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11490 { # Represents a single field in a struct.
11491 &quot;name&quot;: &quot;A String&quot;,
11492 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11493 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11494 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11495 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11496 # Object with schema name: GenaiVertexV1beta1Value
11497 ],
11498 },
11499 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11500 &quot;numberValue&quot;: 3.14, # Represents a double value.
11501 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11502 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11503 },
11504 },
11505 ],
11506 },
11507 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
11508 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
11509 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
11510 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
11511 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
11512 },
11513 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
11514 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
11515 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
11516 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
11517 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
11518 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
11519 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
11520 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
11521 },
11522 ],
11523 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
11524 },
11525 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
11526 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
11527 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
11528 &quot;url&quot;: &quot;A String&quot;, # The URL.
11529 },
11530 },
11531 ],
11532 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
11533 },
11534 },
11535 ],
11536 },
11537 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
11538 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
11539 &quot;stringResult&quot;: &quot;A String&quot;,
11540 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
11541 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11542 { # Represents a single field in a struct.
11543 &quot;name&quot;: &quot;A String&quot;,
11544 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11545 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11546 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11547 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11548 # Object with schema name: GenaiVertexV1beta1Value
11549 ],
11550 },
11551 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11552 &quot;numberValue&quot;: 3.14, # Represents a double value.
11553 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11554 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11555 },
11556 },
11557 ],
11558 },
11559 },
11560 &quot;googleMapsResult&quot;: { # Google Maps result content.
11561 &quot;result&quot;: [ # Required. The results of the Google Maps.
11562 { # The result of the Google Maps.
11563 &quot;places&quot;: [ # The places that were found.
11564 {
11565 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
11566 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
11567 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
11568 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
11569 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
11570 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
11571 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
11572 },
11573 ],
11574 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
11575 },
11576 ],
11577 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
11578 },
11579 ],
11580 },
11581 &quot;googleSearchResult&quot;: { # Google Search result content.
11582 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
11583 &quot;result&quot;: [ # Required. The results of the Google Search.
11584 { # The result of the Google Search.
11585 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
11586 },
11587 ],
11588 },
11589 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
11590 &quot;contentList&quot;: {
11591 &quot;contents&quot;: [
11592 {
11593 &quot;image&quot;: { # An image content block.
11594 &quot;data&quot;: &quot;A String&quot;, # The image content.
11595 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
11596 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
11597 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
11598 },
11599 &quot;text&quot;: { # A text content block.
11600 &quot;annotations&quot;: [ # Citation information for model-generated content.
11601 { # Citation information for model-generated content.
11602 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
11603 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
11604 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
11605 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11606 { # Represents a single field in a struct.
11607 &quot;name&quot;: &quot;A String&quot;,
11608 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11609 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11610 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11611 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11612 # Object with schema name: GenaiVertexV1beta1Value
11613 ],
11614 },
11615 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11616 &quot;numberValue&quot;: 3.14, # Represents a double value.
11617 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11618 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11619 },
11620 },
11621 ],
11622 },
11623 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
11624 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
11625 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
11626 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
11627 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
11628 },
11629 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
11630 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
11631 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
11632 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
11633 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
11634 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
11635 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
11636 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
11637 },
11638 ],
11639 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
11640 },
11641 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
11642 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
11643 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
11644 &quot;url&quot;: &quot;A String&quot;, # The URL.
11645 },
11646 },
11647 ],
11648 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
11649 },
11650 },
11651 ],
11652 },
11653 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
11654 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
11655 &quot;stringResult&quot;: &quot;A String&quot;,
11656 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
11657 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11658 { # Represents a single field in a struct.
11659 &quot;name&quot;: &quot;A String&quot;,
11660 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11661 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11662 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11663 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11664 # Object with schema name: GenaiVertexV1beta1Value
11665 ],
11666 },
11667 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11668 &quot;numberValue&quot;: 3.14, # Represents a double value.
11669 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11670 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11671 },
11672 },
11673 ],
11674 },
11675 },
11676 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
11677 &quot;urlContextResult&quot;: { # URL context result content.
11678 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
11679 &quot;result&quot;: [ # Required. The results of the URL context.
11680 { # The result of the URL context.
11681 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
11682 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
11683 },
11684 ],
11685 },
11686 },
11687 &quot;video&quot;: { # A video content block.
11688 &quot;data&quot;: &quot;A String&quot;, # The video content.
11689 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
11690 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
11691 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
11692 },
11693 },
11694 ],
11695 },
11696 &quot;thought&quot;: { # A thought step.
11697 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
11698 &quot;summary&quot;: [ # A summary of the thought.
11699 { # The content of the response.
11700 &quot;audio&quot;: { # An audio content block.
11701 &quot;channels&quot;: 42, # The number of audio channels.
11702 &quot;data&quot;: &quot;A String&quot;, # The audio content.
11703 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
11704 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
11705 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
11706 },
11707 &quot;document&quot;: { # A document content block.
11708 &quot;data&quot;: &quot;A String&quot;, # The document content.
11709 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
11710 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
11711 },
11712 &quot;image&quot;: { # An image content block.
11713 &quot;data&quot;: &quot;A String&quot;, # The image content.
11714 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
11715 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
11716 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
11717 },
11718 &quot;text&quot;: { # A text content block.
11719 &quot;annotations&quot;: [ # Citation information for model-generated content.
11720 { # Citation information for model-generated content.
11721 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
11722 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
11723 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
11724 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11725 { # Represents a single field in a struct.
11726 &quot;name&quot;: &quot;A String&quot;,
11727 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11728 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11729 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11730 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11731 # Object with schema name: GenaiVertexV1beta1Value
11732 ],
11733 },
11734 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11735 &quot;numberValue&quot;: 3.14, # Represents a double value.
11736 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11737 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11738 },
11739 },
11740 ],
11741 },
11742 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
11743 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
11744 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
11745 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
11746 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
11747 },
11748 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
11749 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
11750 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
11751 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
11752 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
11753 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
11754 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
11755 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
11756 },
11757 ],
11758 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
11759 },
11760 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
11761 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
11762 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
11763 &quot;url&quot;: &quot;A String&quot;, # The URL.
11764 },
11765 },
11766 ],
11767 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
11768 },
11769 &quot;thought&quot;: { # A thought content block.
11770 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
11771 &quot;summary&quot;: [ # A summary of the thought.
11772 {
11773 &quot;image&quot;: { # An image content block.
11774 &quot;data&quot;: &quot;A String&quot;, # The image content.
11775 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
11776 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
11777 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
11778 },
11779 &quot;text&quot;: { # A text content block.
11780 &quot;annotations&quot;: [ # Citation information for model-generated content.
11781 { # Citation information for model-generated content.
11782 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
11783 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
11784 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
11785 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11786 { # Represents a single field in a struct.
11787 &quot;name&quot;: &quot;A String&quot;,
11788 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11789 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11790 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11791 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11792 # Object with schema name: GenaiVertexV1beta1Value
11793 ],
11794 },
11795 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11796 &quot;numberValue&quot;: 3.14, # Represents a double value.
11797 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11798 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11799 },
11800 },
11801 ],
11802 },
11803 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
11804 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
11805 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
11806 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
11807 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
11808 },
11809 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
11810 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
11811 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
11812 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
11813 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
11814 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
11815 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
11816 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
11817 },
11818 ],
11819 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
11820 },
11821 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
11822 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
11823 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
11824 &quot;url&quot;: &quot;A String&quot;, # The URL.
11825 },
11826 },
11827 ],
11828 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
11829 },
11830 },
11831 ],
11832 },
11833 &quot;toolCall&quot;: { # Tool call content.
11834 &quot;codeExecutionCall&quot;: { # Code execution content.
11835 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
11836 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
11837 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
11838 },
11839 },
11840 &quot;fileSearchCall&quot;: { # File Search content.
11841 },
11842 &quot;functionCall&quot;: { # A function tool call content block.
11843 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
11844 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11845 { # Represents a single field in a struct.
11846 &quot;name&quot;: &quot;A String&quot;,
11847 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11848 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11849 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11850 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11851 # Object with schema name: GenaiVertexV1beta1Value
11852 ],
11853 },
11854 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11855 &quot;numberValue&quot;: 3.14, # Represents a double value.
11856 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11857 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11858 },
11859 },
11860 ],
11861 },
11862 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
11863 },
11864 &quot;googleMapsCall&quot;: { # Google Maps content.
11865 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
11866 &quot;queries&quot;: [ # The queries to be executed.
11867 &quot;A String&quot;,
11868 ],
11869 },
11870 },
11871 &quot;googleSearchCall&quot;: { # Google Search content.
11872 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
11873 &quot;queries&quot;: [ # Web search queries for the following-up web search.
11874 &quot;A String&quot;,
11875 ],
11876 },
11877 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
11878 },
11879 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
11880 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
11881 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
11882 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11883 { # Represents a single field in a struct.
11884 &quot;name&quot;: &quot;A String&quot;,
11885 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11886 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11887 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11888 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11889 # Object with schema name: GenaiVertexV1beta1Value
11890 ],
11891 },
11892 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11893 &quot;numberValue&quot;: 3.14, # Represents a double value.
11894 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11895 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11896 },
11897 },
11898 ],
11899 },
11900 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
11901 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
11902 },
11903 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
11904 &quot;urlContextCall&quot;: { # URL context content.
11905 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
11906 &quot;urls&quot;: [ # The URLs to fetch.
11907 &quot;A String&quot;,
11908 ],
11909 },
11910 },
11911 },
11912 &quot;toolResult&quot;: { # Tool result content.
11913 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
11914 &quot;codeExecutionResult&quot;: { # Code execution result content.
11915 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
11916 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
11917 },
11918 &quot;fileSearchResult&quot;: { # File Search result content.
11919 &quot;result&quot;: [ # Optional. The results of the File Search.
11920 { # The result of the File Search.
11921 },
11922 ],
11923 },
11924 &quot;functionResult&quot;: { # A function tool result content block.
11925 &quot;contentList&quot;: {
11926 &quot;contents&quot;: [
11927 {
11928 &quot;image&quot;: { # An image content block.
11929 &quot;data&quot;: &quot;A String&quot;, # The image content.
11930 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
11931 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
11932 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
11933 },
11934 &quot;text&quot;: { # A text content block.
11935 &quot;annotations&quot;: [ # Citation information for model-generated content.
11936 { # Citation information for model-generated content.
11937 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
11938 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
11939 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
11940 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11941 { # Represents a single field in a struct.
11942 &quot;name&quot;: &quot;A String&quot;,
11943 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11944 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11945 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11946 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11947 # Object with schema name: GenaiVertexV1beta1Value
11948 ],
11949 },
11950 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
11951 &quot;numberValue&quot;: 3.14, # Represents a double value.
11952 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
11953 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
11954 },
11955 },
11956 ],
11957 },
11958 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
11959 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
11960 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
11961 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
11962 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
11963 },
11964 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
11965 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
11966 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
11967 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
11968 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
11969 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
11970 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
11971 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
11972 },
11973 ],
11974 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
11975 },
11976 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
11977 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
11978 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
11979 &quot;url&quot;: &quot;A String&quot;, # The URL.
11980 },
11981 },
11982 ],
11983 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
11984 },
11985 },
11986 ],
11987 },
11988 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
11989 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
11990 &quot;stringResult&quot;: &quot;A String&quot;,
11991 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
11992 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
11993 { # Represents a single field in a struct.
11994 &quot;name&quot;: &quot;A String&quot;,
11995 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
11996 &quot;boolValue&quot;: True or False, # Represents a boolean value.
11997 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
11998 &quot;values&quot;: [ # Repeated field of dynamically typed values.
11999 # Object with schema name: GenaiVertexV1beta1Value
12000 ],
12001 },
12002 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12003 &quot;numberValue&quot;: 3.14, # Represents a double value.
12004 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12005 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12006 },
12007 },
12008 ],
12009 },
12010 },
12011 &quot;googleMapsResult&quot;: { # Google Maps result content.
12012 &quot;result&quot;: [ # Required. The results of the Google Maps.
12013 { # The result of the Google Maps.
12014 &quot;places&quot;: [ # The places that were found.
12015 {
12016 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
12017 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
12018 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
12019 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
12020 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
12021 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
12022 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
12023 },
12024 ],
12025 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
12026 },
12027 ],
12028 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
12029 },
12030 ],
12031 },
12032 &quot;googleSearchResult&quot;: { # Google Search result content.
12033 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
12034 &quot;result&quot;: [ # Required. The results of the Google Search.
12035 { # The result of the Google Search.
12036 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
12037 },
12038 ],
12039 },
12040 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
12041 &quot;contentList&quot;: {
12042 &quot;contents&quot;: [
12043 {
12044 &quot;image&quot;: { # An image content block.
12045 &quot;data&quot;: &quot;A String&quot;, # The image content.
12046 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
12047 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
12048 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
12049 },
12050 &quot;text&quot;: { # A text content block.
12051 &quot;annotations&quot;: [ # Citation information for model-generated content.
12052 { # Citation information for model-generated content.
12053 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
12054 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
12055 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
12056 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12057 { # Represents a single field in a struct.
12058 &quot;name&quot;: &quot;A String&quot;,
12059 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12060 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12061 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12062 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12063 # Object with schema name: GenaiVertexV1beta1Value
12064 ],
12065 },
12066 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12067 &quot;numberValue&quot;: 3.14, # Represents a double value.
12068 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12069 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12070 },
12071 },
12072 ],
12073 },
12074 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
12075 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
12076 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
12077 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
12078 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
12079 },
12080 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
12081 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
12082 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
12083 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
12084 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
12085 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
12086 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
12087 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
12088 },
12089 ],
12090 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
12091 },
12092 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
12093 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
12094 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
12095 &quot;url&quot;: &quot;A String&quot;, # The URL.
12096 },
12097 },
12098 ],
12099 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
12100 },
12101 },
12102 ],
12103 },
12104 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
12105 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
12106 &quot;stringResult&quot;: &quot;A String&quot;,
12107 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
12108 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12109 { # Represents a single field in a struct.
12110 &quot;name&quot;: &quot;A String&quot;,
12111 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12112 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12113 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12114 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12115 # Object with schema name: GenaiVertexV1beta1Value
12116 ],
12117 },
12118 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12119 &quot;numberValue&quot;: 3.14, # Represents a double value.
12120 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12121 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12122 },
12123 },
12124 ],
12125 },
12126 },
12127 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
12128 &quot;urlContextResult&quot;: { # URL context result content.
12129 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
12130 &quot;result&quot;: [ # Required. The results of the URL context.
12131 { # The result of the URL context.
12132 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
12133 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
12134 },
12135 ],
12136 },
12137 },
12138 &quot;video&quot;: { # A video content block.
12139 &quot;data&quot;: &quot;A String&quot;, # The video content.
12140 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
12141 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
12142 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
12143 },
12144 },
12145 ],
12146 },
12147 &quot;toolCall&quot;: { # Tool call step.
12148 &quot;codeExecutionCall&quot;: { # Code execution call step.
12149 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
12150 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
12151 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
12152 },
12153 },
12154 &quot;fileSearchCall&quot;: { # File Search call step.
12155 },
12156 &quot;functionCall&quot;: { # A function tool call step.
12157 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
12158 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12159 { # Represents a single field in a struct.
12160 &quot;name&quot;: &quot;A String&quot;,
12161 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12162 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12163 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12164 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12165 # Object with schema name: GenaiVertexV1beta1Value
12166 ],
12167 },
12168 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12169 &quot;numberValue&quot;: 3.14, # Represents a double value.
12170 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12171 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12172 },
12173 },
12174 ],
12175 },
12176 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
12177 },
12178 &quot;googleMapsCall&quot;: { # Google Maps call step.
12179 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
12180 &quot;queries&quot;: [ # The queries to be executed.
12181 &quot;A String&quot;,
12182 ],
12183 },
12184 },
12185 &quot;googleSearchCall&quot;: { # Google Search call step.
12186 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
12187 &quot;queries&quot;: [ # Web search queries for the following-up web search.
12188 &quot;A String&quot;,
12189 ],
12190 },
12191 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
12192 },
12193 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
12194 &quot;mcpServerToolCall&quot;: { # MCPServer tool call step.
12195 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
12196 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12197 { # Represents a single field in a struct.
12198 &quot;name&quot;: &quot;A String&quot;,
12199 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12200 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12201 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12202 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12203 # Object with schema name: GenaiVertexV1beta1Value
12204 ],
12205 },
12206 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12207 &quot;numberValue&quot;: 3.14, # Represents a double value.
12208 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12209 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12210 },
12211 },
12212 ],
12213 },
12214 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
12215 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
12216 },
12217 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
12218 &quot;urlContextCall&quot;: { # URL context call step.
12219 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
12220 &quot;urls&quot;: [ # The URLs to fetch.
12221 &quot;A String&quot;,
12222 ],
12223 },
12224 },
12225 },
12226 &quot;toolResult&quot;: { # Tool result step.
12227 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
12228 &quot;codeExecutionResult&quot;: { # Code execution result step.
12229 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
12230 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
12231 },
12232 &quot;fileSearchResult&quot;: { # File Search result step.
12233 },
12234 &quot;functionResult&quot;: { # Result of a function tool call.
12235 &quot;contentList&quot;: { # A list of Content.
12236 &quot;contents&quot;: [ # The contents of the list.
12237 { # The content of the response.
12238 &quot;audio&quot;: { # An audio content block.
12239 &quot;channels&quot;: 42, # The number of audio channels.
12240 &quot;data&quot;: &quot;A String&quot;, # The audio content.
12241 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
12242 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
12243 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
12244 },
12245 &quot;document&quot;: { # A document content block.
12246 &quot;data&quot;: &quot;A String&quot;, # The document content.
12247 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
12248 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
12249 },
12250 &quot;image&quot;: { # An image content block.
12251 &quot;data&quot;: &quot;A String&quot;, # The image content.
12252 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
12253 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
12254 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
12255 },
12256 &quot;text&quot;: { # A text content block.
12257 &quot;annotations&quot;: [ # Citation information for model-generated content.
12258 { # Citation information for model-generated content.
12259 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
12260 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
12261 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
12262 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12263 { # Represents a single field in a struct.
12264 &quot;name&quot;: &quot;A String&quot;,
12265 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12266 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12267 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12268 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12269 # Object with schema name: GenaiVertexV1beta1Value
12270 ],
12271 },
12272 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12273 &quot;numberValue&quot;: 3.14, # Represents a double value.
12274 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12275 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12276 },
12277 },
12278 ],
12279 },
12280 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
12281 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
12282 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
12283 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
12284 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
12285 },
12286 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
12287 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
12288 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
12289 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
12290 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
12291 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
12292 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
12293 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
12294 },
12295 ],
12296 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
12297 },
12298 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
12299 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
12300 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
12301 &quot;url&quot;: &quot;A String&quot;, # The URL.
12302 },
12303 },
12304 ],
12305 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
12306 },
12307 &quot;thought&quot;: { # A thought content block.
12308 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
12309 &quot;summary&quot;: [ # A summary of the thought.
12310 {
12311 &quot;image&quot;: { # An image content block.
12312 &quot;data&quot;: &quot;A String&quot;, # The image content.
12313 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
12314 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
12315 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
12316 },
12317 &quot;text&quot;: { # A text content block.
12318 &quot;annotations&quot;: [ # Citation information for model-generated content.
12319 { # Citation information for model-generated content.
12320 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
12321 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
12322 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
12323 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12324 { # Represents a single field in a struct.
12325 &quot;name&quot;: &quot;A String&quot;,
12326 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12327 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12328 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12329 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12330 # Object with schema name: GenaiVertexV1beta1Value
12331 ],
12332 },
12333 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12334 &quot;numberValue&quot;: 3.14, # Represents a double value.
12335 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12336 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12337 },
12338 },
12339 ],
12340 },
12341 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
12342 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
12343 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
12344 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
12345 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
12346 },
12347 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
12348 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
12349 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
12350 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
12351 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
12352 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
12353 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
12354 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
12355 },
12356 ],
12357 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
12358 },
12359 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
12360 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
12361 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
12362 &quot;url&quot;: &quot;A String&quot;, # The URL.
12363 },
12364 },
12365 ],
12366 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
12367 },
12368 },
12369 ],
12370 },
12371 &quot;toolCall&quot;: { # Tool call content.
12372 &quot;codeExecutionCall&quot;: { # Code execution content.
12373 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
12374 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
12375 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
12376 },
12377 },
12378 &quot;fileSearchCall&quot;: { # File Search content.
12379 },
12380 &quot;functionCall&quot;: { # A function tool call content block.
12381 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
12382 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12383 { # Represents a single field in a struct.
12384 &quot;name&quot;: &quot;A String&quot;,
12385 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12386 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12387 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12388 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12389 # Object with schema name: GenaiVertexV1beta1Value
12390 ],
12391 },
12392 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12393 &quot;numberValue&quot;: 3.14, # Represents a double value.
12394 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12395 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12396 },
12397 },
12398 ],
12399 },
12400 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
12401 },
12402 &quot;googleMapsCall&quot;: { # Google Maps content.
12403 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
12404 &quot;queries&quot;: [ # The queries to be executed.
12405 &quot;A String&quot;,
12406 ],
12407 },
12408 },
12409 &quot;googleSearchCall&quot;: { # Google Search content.
12410 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
12411 &quot;queries&quot;: [ # Web search queries for the following-up web search.
12412 &quot;A String&quot;,
12413 ],
12414 },
12415 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
12416 },
12417 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
12418 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
12419 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
12420 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12421 { # Represents a single field in a struct.
12422 &quot;name&quot;: &quot;A String&quot;,
12423 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12424 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12425 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12426 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12427 # Object with schema name: GenaiVertexV1beta1Value
12428 ],
12429 },
12430 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12431 &quot;numberValue&quot;: 3.14, # Represents a double value.
12432 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12433 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12434 },
12435 },
12436 ],
12437 },
12438 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
12439 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
12440 },
12441 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
12442 &quot;urlContextCall&quot;: { # URL context content.
12443 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
12444 &quot;urls&quot;: [ # The URLs to fetch.
12445 &quot;A String&quot;,
12446 ],
12447 },
12448 },
12449 },
12450 &quot;toolResult&quot;: { # Tool result content.
12451 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
12452 &quot;codeExecutionResult&quot;: { # Code execution result content.
12453 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
12454 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
12455 },
12456 &quot;fileSearchResult&quot;: { # File Search result content.
12457 &quot;result&quot;: [ # Optional. The results of the File Search.
12458 { # The result of the File Search.
12459 },
12460 ],
12461 },
12462 &quot;functionResult&quot;: { # A function tool result content block.
12463 &quot;contentList&quot;: {
12464 &quot;contents&quot;: [
12465 {
12466 &quot;image&quot;: { # An image content block.
12467 &quot;data&quot;: &quot;A String&quot;, # The image content.
12468 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
12469 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
12470 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
12471 },
12472 &quot;text&quot;: { # A text content block.
12473 &quot;annotations&quot;: [ # Citation information for model-generated content.
12474 { # Citation information for model-generated content.
12475 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
12476 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
12477 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
12478 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12479 { # Represents a single field in a struct.
12480 &quot;name&quot;: &quot;A String&quot;,
12481 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12482 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12483 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12484 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12485 # Object with schema name: GenaiVertexV1beta1Value
12486 ],
12487 },
12488 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12489 &quot;numberValue&quot;: 3.14, # Represents a double value.
12490 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12491 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12492 },
12493 },
12494 ],
12495 },
12496 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
12497 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
12498 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
12499 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
12500 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
12501 },
12502 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
12503 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
12504 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
12505 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
12506 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
12507 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
12508 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
12509 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
12510 },
12511 ],
12512 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
12513 },
12514 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
12515 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
12516 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
12517 &quot;url&quot;: &quot;A String&quot;, # The URL.
12518 },
12519 },
12520 ],
12521 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
12522 },
12523 },
12524 ],
12525 },
12526 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
12527 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
12528 &quot;stringResult&quot;: &quot;A String&quot;,
12529 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
12530 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12531 { # Represents a single field in a struct.
12532 &quot;name&quot;: &quot;A String&quot;,
12533 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12534 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12535 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12536 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12537 # Object with schema name: GenaiVertexV1beta1Value
12538 ],
12539 },
12540 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12541 &quot;numberValue&quot;: 3.14, # Represents a double value.
12542 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12543 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12544 },
12545 },
12546 ],
12547 },
12548 },
12549 &quot;googleMapsResult&quot;: { # Google Maps result content.
12550 &quot;result&quot;: [ # Required. The results of the Google Maps.
12551 { # The result of the Google Maps.
12552 &quot;places&quot;: [ # The places that were found.
12553 {
12554 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
12555 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
12556 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
12557 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
12558 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
12559 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
12560 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
12561 },
12562 ],
12563 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
12564 },
12565 ],
12566 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
12567 },
12568 ],
12569 },
12570 &quot;googleSearchResult&quot;: { # Google Search result content.
12571 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
12572 &quot;result&quot;: [ # Required. The results of the Google Search.
12573 { # The result of the Google Search.
12574 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
12575 },
12576 ],
12577 },
12578 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
12579 &quot;contentList&quot;: {
12580 &quot;contents&quot;: [
12581 {
12582 &quot;image&quot;: { # An image content block.
12583 &quot;data&quot;: &quot;A String&quot;, # The image content.
12584 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
12585 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
12586 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
12587 },
12588 &quot;text&quot;: { # A text content block.
12589 &quot;annotations&quot;: [ # Citation information for model-generated content.
12590 { # Citation information for model-generated content.
12591 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
12592 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
12593 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
12594 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12595 { # Represents a single field in a struct.
12596 &quot;name&quot;: &quot;A String&quot;,
12597 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12598 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12599 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12600 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12601 # Object with schema name: GenaiVertexV1beta1Value
12602 ],
12603 },
12604 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12605 &quot;numberValue&quot;: 3.14, # Represents a double value.
12606 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12607 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12608 },
12609 },
12610 ],
12611 },
12612 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
12613 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
12614 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
12615 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
12616 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
12617 },
12618 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
12619 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
12620 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
12621 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
12622 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
12623 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
12624 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
12625 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
12626 },
12627 ],
12628 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
12629 },
12630 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
12631 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
12632 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
12633 &quot;url&quot;: &quot;A String&quot;, # The URL.
12634 },
12635 },
12636 ],
12637 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
12638 },
12639 },
12640 ],
12641 },
12642 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
12643 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
12644 &quot;stringResult&quot;: &quot;A String&quot;,
12645 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
12646 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12647 { # Represents a single field in a struct.
12648 &quot;name&quot;: &quot;A String&quot;,
12649 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12650 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12651 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12652 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12653 # Object with schema name: GenaiVertexV1beta1Value
12654 ],
12655 },
12656 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12657 &quot;numberValue&quot;: 3.14, # Represents a double value.
12658 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12659 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12660 },
12661 },
12662 ],
12663 },
12664 },
12665 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
12666 &quot;urlContextResult&quot;: { # URL context result content.
12667 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
12668 &quot;result&quot;: [ # Required. The results of the URL context.
12669 { # The result of the URL context.
12670 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
12671 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
12672 },
12673 ],
12674 },
12675 },
12676 &quot;video&quot;: { # A video content block.
12677 &quot;data&quot;: &quot;A String&quot;, # The video content.
12678 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
12679 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
12680 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
12681 },
12682 },
12683 ],
12684 },
12685 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
12686 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
12687 &quot;stringResult&quot;: &quot;A String&quot;,
12688 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
12689 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12690 { # Represents a single field in a struct.
12691 &quot;name&quot;: &quot;A String&quot;,
12692 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12693 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12694 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12695 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12696 # Object with schema name: GenaiVertexV1beta1Value
12697 ],
12698 },
12699 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12700 &quot;numberValue&quot;: 3.14, # Represents a double value.
12701 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12702 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12703 },
12704 },
12705 ],
12706 },
12707 },
12708 &quot;googleMapsResult&quot;: { # Google Maps result step.
12709 &quot;result&quot;: [
12710 { # The result of the Google Maps.
12711 &quot;places&quot;: [
12712 {
12713 &quot;name&quot;: &quot;A String&quot;,
12714 &quot;placeId&quot;: &quot;A String&quot;,
12715 &quot;reviewSnippets&quot;: [
12716 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
12717 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
12718 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
12719 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
12720 },
12721 ],
12722 &quot;url&quot;: &quot;A String&quot;,
12723 },
12724 ],
12725 &quot;widgetContextToken&quot;: &quot;A String&quot;,
12726 },
12727 ],
12728 },
12729 &quot;googleSearchResult&quot;: { # Google Search result step.
12730 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
12731 &quot;result&quot;: [ # Required. The results of the Google Search.
12732 { # The result of the Google Search.
12733 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
12734 },
12735 ],
12736 },
12737 &quot;mcpServerToolResult&quot;: { # MCPServer tool result step.
12738 &quot;contentList&quot;: { # A list of Content.
12739 &quot;contents&quot;: [ # The contents of the list.
12740 { # The content of the response.
12741 &quot;audio&quot;: { # An audio content block.
12742 &quot;channels&quot;: 42, # The number of audio channels.
12743 &quot;data&quot;: &quot;A String&quot;, # The audio content.
12744 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
12745 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
12746 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
12747 },
12748 &quot;document&quot;: { # A document content block.
12749 &quot;data&quot;: &quot;A String&quot;, # The document content.
12750 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
12751 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
12752 },
12753 &quot;image&quot;: { # An image content block.
12754 &quot;data&quot;: &quot;A String&quot;, # The image content.
12755 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
12756 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
12757 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
12758 },
12759 &quot;text&quot;: { # A text content block.
12760 &quot;annotations&quot;: [ # Citation information for model-generated content.
12761 { # Citation information for model-generated content.
12762 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
12763 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
12764 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
12765 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12766 { # Represents a single field in a struct.
12767 &quot;name&quot;: &quot;A String&quot;,
12768 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12769 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12770 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12771 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12772 # Object with schema name: GenaiVertexV1beta1Value
12773 ],
12774 },
12775 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12776 &quot;numberValue&quot;: 3.14, # Represents a double value.
12777 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12778 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12779 },
12780 },
12781 ],
12782 },
12783 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
12784 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
12785 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
12786 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
12787 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
12788 },
12789 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
12790 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
12791 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
12792 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
12793 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
12794 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
12795 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
12796 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
12797 },
12798 ],
12799 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
12800 },
12801 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
12802 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
12803 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
12804 &quot;url&quot;: &quot;A String&quot;, # The URL.
12805 },
12806 },
12807 ],
12808 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
12809 },
12810 &quot;thought&quot;: { # A thought content block.
12811 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
12812 &quot;summary&quot;: [ # A summary of the thought.
12813 {
12814 &quot;image&quot;: { # An image content block.
12815 &quot;data&quot;: &quot;A String&quot;, # The image content.
12816 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
12817 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
12818 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
12819 },
12820 &quot;text&quot;: { # A text content block.
12821 &quot;annotations&quot;: [ # Citation information for model-generated content.
12822 { # Citation information for model-generated content.
12823 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
12824 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
12825 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
12826 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12827 { # Represents a single field in a struct.
12828 &quot;name&quot;: &quot;A String&quot;,
12829 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12830 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12831 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12832 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12833 # Object with schema name: GenaiVertexV1beta1Value
12834 ],
12835 },
12836 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12837 &quot;numberValue&quot;: 3.14, # Represents a double value.
12838 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12839 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12840 },
12841 },
12842 ],
12843 },
12844 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
12845 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
12846 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
12847 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
12848 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
12849 },
12850 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
12851 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
12852 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
12853 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
12854 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
12855 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
12856 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
12857 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
12858 },
12859 ],
12860 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
12861 },
12862 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
12863 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
12864 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
12865 &quot;url&quot;: &quot;A String&quot;, # The URL.
12866 },
12867 },
12868 ],
12869 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
12870 },
12871 },
12872 ],
12873 },
12874 &quot;toolCall&quot;: { # Tool call content.
12875 &quot;codeExecutionCall&quot;: { # Code execution content.
12876 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
12877 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
12878 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
12879 },
12880 },
12881 &quot;fileSearchCall&quot;: { # File Search content.
12882 },
12883 &quot;functionCall&quot;: { # A function tool call content block.
12884 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
12885 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12886 { # Represents a single field in a struct.
12887 &quot;name&quot;: &quot;A String&quot;,
12888 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12889 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12890 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12891 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12892 # Object with schema name: GenaiVertexV1beta1Value
12893 ],
12894 },
12895 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12896 &quot;numberValue&quot;: 3.14, # Represents a double value.
12897 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12898 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12899 },
12900 },
12901 ],
12902 },
12903 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
12904 },
12905 &quot;googleMapsCall&quot;: { # Google Maps content.
12906 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
12907 &quot;queries&quot;: [ # The queries to be executed.
12908 &quot;A String&quot;,
12909 ],
12910 },
12911 },
12912 &quot;googleSearchCall&quot;: { # Google Search content.
12913 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
12914 &quot;queries&quot;: [ # Web search queries for the following-up web search.
12915 &quot;A String&quot;,
12916 ],
12917 },
12918 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
12919 },
12920 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
12921 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
12922 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
12923 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12924 { # Represents a single field in a struct.
12925 &quot;name&quot;: &quot;A String&quot;,
12926 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12927 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12928 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12929 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12930 # Object with schema name: GenaiVertexV1beta1Value
12931 ],
12932 },
12933 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12934 &quot;numberValue&quot;: 3.14, # Represents a double value.
12935 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12936 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12937 },
12938 },
12939 ],
12940 },
12941 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
12942 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
12943 },
12944 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
12945 &quot;urlContextCall&quot;: { # URL context content.
12946 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
12947 &quot;urls&quot;: [ # The URLs to fetch.
12948 &quot;A String&quot;,
12949 ],
12950 },
12951 },
12952 },
12953 &quot;toolResult&quot;: { # Tool result content.
12954 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
12955 &quot;codeExecutionResult&quot;: { # Code execution result content.
12956 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
12957 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
12958 },
12959 &quot;fileSearchResult&quot;: { # File Search result content.
12960 &quot;result&quot;: [ # Optional. The results of the File Search.
12961 { # The result of the File Search.
12962 },
12963 ],
12964 },
12965 &quot;functionResult&quot;: { # A function tool result content block.
12966 &quot;contentList&quot;: {
12967 &quot;contents&quot;: [
12968 {
12969 &quot;image&quot;: { # An image content block.
12970 &quot;data&quot;: &quot;A String&quot;, # The image content.
12971 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
12972 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
12973 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
12974 },
12975 &quot;text&quot;: { # A text content block.
12976 &quot;annotations&quot;: [ # Citation information for model-generated content.
12977 { # Citation information for model-generated content.
12978 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
12979 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
12980 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
12981 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
12982 { # Represents a single field in a struct.
12983 &quot;name&quot;: &quot;A String&quot;,
12984 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
12985 &quot;boolValue&quot;: True or False, # Represents a boolean value.
12986 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
12987 &quot;values&quot;: [ # Repeated field of dynamically typed values.
12988 # Object with schema name: GenaiVertexV1beta1Value
12989 ],
12990 },
12991 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
12992 &quot;numberValue&quot;: 3.14, # Represents a double value.
12993 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
12994 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
12995 },
12996 },
12997 ],
12998 },
12999 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
13000 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
13001 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
13002 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
13003 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
13004 },
13005 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
13006 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
13007 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
13008 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
13009 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
13010 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
13011 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
13012 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
13013 },
13014 ],
13015 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
13016 },
13017 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
13018 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
13019 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
13020 &quot;url&quot;: &quot;A String&quot;, # The URL.
13021 },
13022 },
13023 ],
13024 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
13025 },
13026 },
13027 ],
13028 },
13029 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
13030 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
13031 &quot;stringResult&quot;: &quot;A String&quot;,
13032 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
13033 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
13034 { # Represents a single field in a struct.
13035 &quot;name&quot;: &quot;A String&quot;,
13036 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
13037 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13038 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13039 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13040 # Object with schema name: GenaiVertexV1beta1Value
13041 ],
13042 },
13043 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13044 &quot;numberValue&quot;: 3.14, # Represents a double value.
13045 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13046 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13047 },
13048 },
13049 ],
13050 },
13051 },
13052 &quot;googleMapsResult&quot;: { # Google Maps result content.
13053 &quot;result&quot;: [ # Required. The results of the Google Maps.
13054 { # The result of the Google Maps.
13055 &quot;places&quot;: [ # The places that were found.
13056 {
13057 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
13058 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
13059 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
13060 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
13061 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
13062 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
13063 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
13064 },
13065 ],
13066 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
13067 },
13068 ],
13069 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
13070 },
13071 ],
13072 },
13073 &quot;googleSearchResult&quot;: { # Google Search result content.
13074 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
13075 &quot;result&quot;: [ # Required. The results of the Google Search.
13076 { # The result of the Google Search.
13077 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
13078 },
13079 ],
13080 },
13081 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
13082 &quot;contentList&quot;: {
13083 &quot;contents&quot;: [
13084 {
13085 &quot;image&quot;: { # An image content block.
13086 &quot;data&quot;: &quot;A String&quot;, # The image content.
13087 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
13088 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
13089 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
13090 },
13091 &quot;text&quot;: { # A text content block.
13092 &quot;annotations&quot;: [ # Citation information for model-generated content.
13093 { # Citation information for model-generated content.
13094 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
13095 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
13096 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
13097 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
13098 { # Represents a single field in a struct.
13099 &quot;name&quot;: &quot;A String&quot;,
13100 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
13101 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13102 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13103 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13104 # Object with schema name: GenaiVertexV1beta1Value
13105 ],
13106 },
13107 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13108 &quot;numberValue&quot;: 3.14, # Represents a double value.
13109 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13110 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13111 },
13112 },
13113 ],
13114 },
13115 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
13116 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
13117 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
13118 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
13119 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
13120 },
13121 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
13122 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
13123 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
13124 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
13125 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
13126 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
13127 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
13128 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
13129 },
13130 ],
13131 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
13132 },
13133 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
13134 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
13135 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
13136 &quot;url&quot;: &quot;A String&quot;, # The URL.
13137 },
13138 },
13139 ],
13140 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
13141 },
13142 },
13143 ],
13144 },
13145 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
13146 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
13147 &quot;stringResult&quot;: &quot;A String&quot;,
13148 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
13149 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
13150 { # Represents a single field in a struct.
13151 &quot;name&quot;: &quot;A String&quot;,
13152 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
13153 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13154 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13155 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13156 # Object with schema name: GenaiVertexV1beta1Value
13157 ],
13158 },
13159 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13160 &quot;numberValue&quot;: 3.14, # Represents a double value.
13161 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13162 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13163 },
13164 },
13165 ],
13166 },
13167 },
13168 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
13169 &quot;urlContextResult&quot;: { # URL context result content.
13170 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
13171 &quot;result&quot;: [ # Required. The results of the URL context.
13172 { # The result of the URL context.
13173 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
13174 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
13175 },
13176 ],
13177 },
13178 },
13179 &quot;video&quot;: { # A video content block.
13180 &quot;data&quot;: &quot;A String&quot;, # The video content.
13181 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
13182 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
13183 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
13184 },
13185 },
13186 ],
13187 },
13188 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
13189 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
13190 &quot;stringResult&quot;: &quot;A String&quot;,
13191 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
13192 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
13193 { # Represents a single field in a struct.
13194 &quot;name&quot;: &quot;A String&quot;,
13195 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
13196 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13197 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13198 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13199 # Object with schema name: GenaiVertexV1beta1Value
13200 ],
13201 },
13202 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13203 &quot;numberValue&quot;: 3.14, # Represents a double value.
13204 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13205 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13206 },
13207 },
13208 ],
13209 },
13210 },
13211 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
13212 &quot;urlContextResult&quot;: { # URL context result step.
13213 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
13214 &quot;result&quot;: [ # Required. The results of the URL context.
13215 { # The result of the URL context.
13216 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
13217 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
13218 },
13219 ],
13220 },
13221 },
13222 &quot;userInput&quot;: { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
13223 &quot;contentList&quot;: { # A list of Content. # The content of the step. An array of Content objects.
13224 &quot;contents&quot;: [ # The contents of the list.
13225 { # The content of the response.
13226 &quot;audio&quot;: { # An audio content block.
13227 &quot;channels&quot;: 42, # The number of audio channels.
13228 &quot;data&quot;: &quot;A String&quot;, # The audio content.
13229 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
13230 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
13231 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
13232 },
13233 &quot;document&quot;: { # A document content block.
13234 &quot;data&quot;: &quot;A String&quot;, # The document content.
13235 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
13236 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
13237 },
13238 &quot;image&quot;: { # An image content block.
13239 &quot;data&quot;: &quot;A String&quot;, # The image content.
13240 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
13241 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
13242 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
13243 },
13244 &quot;text&quot;: { # A text content block.
13245 &quot;annotations&quot;: [ # Citation information for model-generated content.
13246 { # Citation information for model-generated content.
13247 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
13248 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
13249 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
13250 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
13251 { # Represents a single field in a struct.
13252 &quot;name&quot;: &quot;A String&quot;,
13253 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
13254 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13255 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13256 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13257 # Object with schema name: GenaiVertexV1beta1Value
13258 ],
13259 },
13260 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13261 &quot;numberValue&quot;: 3.14, # Represents a double value.
13262 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13263 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13264 },
13265 },
13266 ],
13267 },
13268 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
13269 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
13270 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
13271 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
13272 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
13273 },
13274 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
13275 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
13276 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
13277 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
13278 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
13279 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
13280 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
13281 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
13282 },
13283 ],
13284 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
13285 },
13286 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
13287 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
13288 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
13289 &quot;url&quot;: &quot;A String&quot;, # The URL.
13290 },
13291 },
13292 ],
13293 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
13294 },
13295 &quot;thought&quot;: { # A thought content block.
13296 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
13297 &quot;summary&quot;: [ # A summary of the thought.
13298 {
13299 &quot;image&quot;: { # An image content block.
13300 &quot;data&quot;: &quot;A String&quot;, # The image content.
13301 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
13302 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
13303 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
13304 },
13305 &quot;text&quot;: { # A text content block.
13306 &quot;annotations&quot;: [ # Citation information for model-generated content.
13307 { # Citation information for model-generated content.
13308 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
13309 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
13310 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
13311 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
13312 { # Represents a single field in a struct.
13313 &quot;name&quot;: &quot;A String&quot;,
13314 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
13315 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13316 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13317 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13318 # Object with schema name: GenaiVertexV1beta1Value
13319 ],
13320 },
13321 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13322 &quot;numberValue&quot;: 3.14, # Represents a double value.
13323 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13324 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13325 },
13326 },
13327 ],
13328 },
13329 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
13330 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
13331 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
13332 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
13333 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
13334 },
13335 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
13336 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
13337 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
13338 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
13339 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
13340 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
13341 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
13342 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
13343 },
13344 ],
13345 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
13346 },
13347 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
13348 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
13349 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
13350 &quot;url&quot;: &quot;A String&quot;, # The URL.
13351 },
13352 },
13353 ],
13354 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
13355 },
13356 },
13357 ],
13358 },
13359 &quot;toolCall&quot;: { # Tool call content.
13360 &quot;codeExecutionCall&quot;: { # Code execution content.
13361 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
13362 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
13363 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
13364 },
13365 },
13366 &quot;fileSearchCall&quot;: { # File Search content.
13367 },
13368 &quot;functionCall&quot;: { # A function tool call content block.
13369 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
13370 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
13371 { # Represents a single field in a struct.
13372 &quot;name&quot;: &quot;A String&quot;,
13373 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
13374 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13375 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13376 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13377 # Object with schema name: GenaiVertexV1beta1Value
13378 ],
13379 },
13380 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13381 &quot;numberValue&quot;: 3.14, # Represents a double value.
13382 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13383 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13384 },
13385 },
13386 ],
13387 },
13388 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
13389 },
13390 &quot;googleMapsCall&quot;: { # Google Maps content.
13391 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
13392 &quot;queries&quot;: [ # The queries to be executed.
13393 &quot;A String&quot;,
13394 ],
13395 },
13396 },
13397 &quot;googleSearchCall&quot;: { # Google Search content.
13398 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
13399 &quot;queries&quot;: [ # Web search queries for the following-up web search.
13400 &quot;A String&quot;,
13401 ],
13402 },
13403 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
13404 },
13405 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
13406 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
13407 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
13408 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
13409 { # Represents a single field in a struct.
13410 &quot;name&quot;: &quot;A String&quot;,
13411 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
13412 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13413 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13414 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13415 # Object with schema name: GenaiVertexV1beta1Value
13416 ],
13417 },
13418 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13419 &quot;numberValue&quot;: 3.14, # Represents a double value.
13420 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13421 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13422 },
13423 },
13424 ],
13425 },
13426 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
13427 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
13428 },
13429 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
13430 &quot;urlContextCall&quot;: { # URL context content.
13431 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
13432 &quot;urls&quot;: [ # The URLs to fetch.
13433 &quot;A String&quot;,
13434 ],
13435 },
13436 },
13437 },
13438 &quot;toolResult&quot;: { # Tool result content.
13439 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
13440 &quot;codeExecutionResult&quot;: { # Code execution result content.
13441 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
13442 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
13443 },
13444 &quot;fileSearchResult&quot;: { # File Search result content.
13445 &quot;result&quot;: [ # Optional. The results of the File Search.
13446 { # The result of the File Search.
13447 },
13448 ],
13449 },
13450 &quot;functionResult&quot;: { # A function tool result content block.
13451 &quot;contentList&quot;: {
13452 &quot;contents&quot;: [
13453 {
13454 &quot;image&quot;: { # An image content block.
13455 &quot;data&quot;: &quot;A String&quot;, # The image content.
13456 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
13457 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
13458 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
13459 },
13460 &quot;text&quot;: { # A text content block.
13461 &quot;annotations&quot;: [ # Citation information for model-generated content.
13462 { # Citation information for model-generated content.
13463 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
13464 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
13465 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
13466 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
13467 { # Represents a single field in a struct.
13468 &quot;name&quot;: &quot;A String&quot;,
13469 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
13470 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13471 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13472 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13473 # Object with schema name: GenaiVertexV1beta1Value
13474 ],
13475 },
13476 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13477 &quot;numberValue&quot;: 3.14, # Represents a double value.
13478 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13479 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13480 },
13481 },
13482 ],
13483 },
13484 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
13485 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
13486 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
13487 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
13488 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
13489 },
13490 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
13491 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
13492 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
13493 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
13494 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
13495 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
13496 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
13497 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
13498 },
13499 ],
13500 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
13501 },
13502 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
13503 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
13504 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
13505 &quot;url&quot;: &quot;A String&quot;, # The URL.
13506 },
13507 },
13508 ],
13509 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
13510 },
13511 },
13512 ],
13513 },
13514 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
13515 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
13516 &quot;stringResult&quot;: &quot;A String&quot;,
13517 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
13518 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
13519 { # Represents a single field in a struct.
13520 &quot;name&quot;: &quot;A String&quot;,
13521 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
13522 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13523 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13524 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13525 # Object with schema name: GenaiVertexV1beta1Value
13526 ],
13527 },
13528 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13529 &quot;numberValue&quot;: 3.14, # Represents a double value.
13530 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13531 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13532 },
13533 },
13534 ],
13535 },
13536 },
13537 &quot;googleMapsResult&quot;: { # Google Maps result content.
13538 &quot;result&quot;: [ # Required. The results of the Google Maps.
13539 { # The result of the Google Maps.
13540 &quot;places&quot;: [ # The places that were found.
13541 {
13542 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
13543 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
13544 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
13545 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
13546 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
13547 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
13548 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
13549 },
13550 ],
13551 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
13552 },
13553 ],
13554 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
13555 },
13556 ],
13557 },
13558 &quot;googleSearchResult&quot;: { # Google Search result content.
13559 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
13560 &quot;result&quot;: [ # Required. The results of the Google Search.
13561 { # The result of the Google Search.
13562 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
13563 },
13564 ],
13565 },
13566 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
13567 &quot;contentList&quot;: {
13568 &quot;contents&quot;: [
13569 {
13570 &quot;image&quot;: { # An image content block.
13571 &quot;data&quot;: &quot;A String&quot;, # The image content.
13572 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
13573 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
13574 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
13575 },
13576 &quot;text&quot;: { # A text content block.
13577 &quot;annotations&quot;: [ # Citation information for model-generated content.
13578 { # Citation information for model-generated content.
13579 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
13580 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
13581 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
13582 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
13583 { # Represents a single field in a struct.
13584 &quot;name&quot;: &quot;A String&quot;,
13585 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
13586 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13587 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13588 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13589 # Object with schema name: GenaiVertexV1beta1Value
13590 ],
13591 },
13592 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13593 &quot;numberValue&quot;: 3.14, # Represents a double value.
13594 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13595 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13596 },
13597 },
13598 ],
13599 },
13600 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
13601 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
13602 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
13603 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
13604 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
13605 },
13606 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
13607 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
13608 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
13609 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
13610 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
13611 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
13612 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
13613 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
13614 },
13615 ],
13616 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
13617 },
13618 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
13619 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
13620 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
13621 &quot;url&quot;: &quot;A String&quot;, # The URL.
13622 },
13623 },
13624 ],
13625 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
13626 },
13627 },
13628 ],
13629 },
13630 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
13631 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
13632 &quot;stringResult&quot;: &quot;A String&quot;,
13633 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
13634 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
13635 { # Represents a single field in a struct.
13636 &quot;name&quot;: &quot;A String&quot;,
13637 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
13638 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13639 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13640 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13641 # Object with schema name: GenaiVertexV1beta1Value
13642 ],
13643 },
13644 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13645 &quot;numberValue&quot;: 3.14, # Represents a double value.
13646 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13647 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13648 },
13649 },
13650 ],
13651 },
13652 },
13653 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
13654 &quot;urlContextResult&quot;: { # URL context result content.
13655 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
13656 &quot;result&quot;: [ # Required. The results of the URL context.
13657 { # The result of the URL context.
13658 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
13659 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
13660 },
13661 ],
13662 },
13663 },
13664 &quot;video&quot;: { # A video content block.
13665 &quot;data&quot;: &quot;A String&quot;, # The video content.
13666 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
13667 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
13668 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
13669 },
13670 },
13671 ],
13672 },
13673 &quot;contentString&quot;: &quot;A String&quot;, # The content of the step. A single string.
13674 },
13675 },
13676 ],
13677 &quot;stringContent&quot;: &quot;A String&quot;, # A string input for the interaction, it will be processed as a single text input.
13678 &quot;systemInstruction&quot;: &quot;A String&quot;, # System instruction for the interaction.
13679 &quot;tools&quot;: [ # A list of tool declarations the model may call during interaction.
13680 { # A tool that can be used by the model.
13681 &quot;codeExecution&quot;: { # A tool that can be used by the model to execute code. # A tool that can be used by the model to execute code.
13682 },
13683 &quot;computerUse&quot;: { # A tool that can be used by the model to interact with the computer. # Tool to support the model interacting directly with the computer.
13684 &quot;environment&quot;: &quot;A String&quot;, # The environment being operated.
13685 &quot;excludedPredefinedFunctions&quot;: [ # The list of predefined functions that are excluded from the model call.
13686 &quot;A String&quot;,
13687 ],
13688 },
13689 &quot;fileSearch&quot;: { # A tool that can be used by the model to search files. # A tool that can be used by the model to search files.
13690 &quot;fileSearchStoreNames&quot;: [ # The file search store names to search.
13691 &quot;A String&quot;,
13692 ],
13693 &quot;metadataFilter&quot;: &quot;A String&quot;, # Metadata filter to apply to the semantic retrieval documents and chunks.
13694 &quot;topK&quot;: 42, # The number of semantic retrieval chunks to retrieve.
13695 },
13696 &quot;function&quot;: { # A tool that can be used by the model. # A function that can be used by the model.
13697 &quot;description&quot;: &quot;A String&quot;, # A description of the function.
13698 &quot;name&quot;: &quot;A String&quot;, # The name of the function.
13699 &quot;parameters&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # The JSON Schema for the function&#x27;s parameters.
13700 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13701 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13702 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13703 # Object with schema name: GenaiVertexV1beta1Value
13704 ],
13705 },
13706 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13707 &quot;numberValue&quot;: 3.14, # Represents a double value.
13708 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13709 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13710 },
13711 },
13712 &quot;googleMaps&quot;: { # A tool that can be used by the model to call Google Maps. # A tool that can be used by the model to search Google Maps.
13713 &quot;enableWidget&quot;: True or False, # Whether to return a widget context token in the tool call result of the response.
13714 &quot;latitude&quot;: 3.14, # The latitude of the user&#x27;s location.
13715 &quot;longitude&quot;: 3.14, # The longitude of the user&#x27;s location.
13716 },
13717 &quot;googleSearch&quot;: { # A tool that can be used by the model to search Google. # A tool that can be used by the model to search Google.
13718 &quot;searchTypes&quot;: [ # The types of search grounding to enable.
13719 &quot;A String&quot;,
13720 ],
13721 },
13722 &quot;mcpServer&quot;: { # A MCPServer is a server that can be called by the model to perform actions. # A MCPServer is a server that can be called by the model to perform actions.
13723 &quot;allowedTools&quot;: [ # The allowed tools.
13724 { # The configuration for allowed tools.
13725 &quot;mode&quot;: &quot;A String&quot;, # The mode of the tool choice.
13726 &quot;tools&quot;: [ # The names of the allowed tools.
13727 &quot;A String&quot;,
13728 ],
13729 },
13730 ],
13731 &quot;headers&quot;: { # Optional: Fields for authentication headers, timeouts, etc., if needed.
13732 &quot;a_key&quot;: &quot;A String&quot;,
13733 },
13734 &quot;name&quot;: &quot;A String&quot;, # The name of the MCPServer.
13735 &quot;url&quot;: &quot;A String&quot;, # The full URL for the MCPServer endpoint. Example: &quot;https://api.example.com/mcp&quot;
13736 },
13737 &quot;retrieval&quot;: { # A tool that can be used by the model to retrieve files. # A tool that can be used by the model to retrieve files.
13738 &quot;exa_ai_search_config&quot;: { # Used to specify configuration for ExaAISearch. # Used to specify configuration for ExaAISearch.
13739 &quot;api_key&quot;: &quot;A String&quot;, # Required. The API key for ExaAiSearch.
13740 &quot;custom_config&quot;: { # Optional. This field can be used to pass any parameter from the Exa.ai Search API.
13741 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
13742 },
13743 },
13744 &quot;parallel_ai_search_config&quot;: { # Used to specify configuration for ParallelAISearch. # Used to specify configuration for ParallelAISearch.
13745 &quot;api_key&quot;: &quot;A String&quot;, # Optional. The API key for ParallelAiSearch.
13746 &quot;custom_config&quot;: { # Optional. Custom configs for ParallelAiSearch.
13747 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
13748 },
13749 },
13750 &quot;rag_store_config&quot;: { # Use to specify configuration for RAG Store. # Used to specify configuration for RagStore.
13751 &quot;rag_resources&quot;: [ # Optional. The representation of the rag source.
13752 { # The definition of the Rag resource.
13753 &quot;rag_corpus&quot;: &quot;A String&quot;, # Optional. RagCorpora resource name.
13754 &quot;rag_file_ids&quot;: [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
13755 &quot;A String&quot;,
13756 ],
13757 },
13758 ],
13759 &quot;rag_retrieval_config&quot;: { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
13760 &quot;filter&quot;: { # Config for filters. # Optional. Config for filters.
13761 &quot;metadata_filter&quot;: &quot;A String&quot;, # Optional. String for metadata filtering.
13762 &quot;vector_distance_threshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
13763 &quot;vector_similarity_threshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
13764 },
13765 &quot;hybrid_search&quot;: { # Config for Hybrid Search. # Optional. Config for Hybrid Search.
13766 &quot;alpha&quot;: 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results.
13767 },
13768 &quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
13769 &quot;rank_service&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
13770 &quot;model_name&quot;: &quot;A String&quot;, # Optional. The model name of the rank service.
13771 },
13772 },
13773 &quot;top_k&quot;: 42, # Optional. The number of contexts to retrieve.
13774 },
13775 &quot;similarity_top_k&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
13776 &quot;vector_distance_threshold&quot;: 3.14, # Optional. Only return results with vector distance smaller than the threshold.
13777 },
13778 &quot;retrievalTypes&quot;: [ # The types of file retrieval to enable.
13779 &quot;A String&quot;,
13780 ],
13781 &quot;vertex_ai_search_config&quot;: { # Used to specify configuration for VertexAISearch. # Used to specify configuration for VertexAISearch.
13782 &quot;datastores&quot;: [ # Optional. Used to specify Vertex AI Search datastores.
13783 &quot;A String&quot;,
13784 ],
13785 &quot;engine&quot;: &quot;A String&quot;, # Optional. Used to specify Vertex AI Search engine.
13786 },
13787 },
13788 &quot;urlContext&quot;: { # A tool that can be used by the model to fetch URL context. # A tool that can be used by the model to fetch URL context.
13789 },
13790 },
13791 ],
13792 &quot;turnList&quot;: { # A list of Turns. # The turns for the interaction.
13793 &quot;turns&quot;: [
13794 {
13795 &quot;contentList&quot;: { # A list of Content. # The content of the turn. An array of Content objects.
13796 &quot;contents&quot;: [ # The contents of the list.
13797 { # The content of the response.
13798 &quot;audio&quot;: { # An audio content block.
13799 &quot;channels&quot;: 42, # The number of audio channels.
13800 &quot;data&quot;: &quot;A String&quot;, # The audio content.
13801 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
13802 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
13803 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
13804 },
13805 &quot;document&quot;: { # A document content block.
13806 &quot;data&quot;: &quot;A String&quot;, # The document content.
13807 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
13808 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
13809 },
13810 &quot;image&quot;: { # An image content block.
13811 &quot;data&quot;: &quot;A String&quot;, # The image content.
13812 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
13813 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
13814 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
13815 },
13816 &quot;text&quot;: { # A text content block.
13817 &quot;annotations&quot;: [ # Citation information for model-generated content.
13818 { # Citation information for model-generated content.
13819 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
13820 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
13821 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
13822 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
13823 { # Represents a single field in a struct.
13824 &quot;name&quot;: &quot;A String&quot;,
13825 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
13826 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13827 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13828 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13829 # Object with schema name: GenaiVertexV1beta1Value
13830 ],
13831 },
13832 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13833 &quot;numberValue&quot;: 3.14, # Represents a double value.
13834 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13835 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13836 },
13837 },
13838 ],
13839 },
13840 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
13841 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
13842 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
13843 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
13844 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
13845 },
13846 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
13847 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
13848 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
13849 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
13850 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
13851 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
13852 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
13853 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
13854 },
13855 ],
13856 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
13857 },
13858 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
13859 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
13860 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
13861 &quot;url&quot;: &quot;A String&quot;, # The URL.
13862 },
13863 },
13864 ],
13865 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
13866 },
13867 &quot;thought&quot;: { # A thought content block.
13868 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
13869 &quot;summary&quot;: [ # A summary of the thought.
13870 {
13871 &quot;image&quot;: { # An image content block.
13872 &quot;data&quot;: &quot;A String&quot;, # The image content.
13873 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
13874 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
13875 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
13876 },
13877 &quot;text&quot;: { # A text content block.
13878 &quot;annotations&quot;: [ # Citation information for model-generated content.
13879 { # Citation information for model-generated content.
13880 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
13881 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
13882 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
13883 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
13884 { # Represents a single field in a struct.
13885 &quot;name&quot;: &quot;A String&quot;,
13886 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
13887 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13888 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13889 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13890 # Object with schema name: GenaiVertexV1beta1Value
13891 ],
13892 },
13893 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13894 &quot;numberValue&quot;: 3.14, # Represents a double value.
13895 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13896 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13897 },
13898 },
13899 ],
13900 },
13901 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
13902 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
13903 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
13904 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
13905 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
13906 },
13907 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
13908 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
13909 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
13910 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
13911 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
13912 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
13913 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
13914 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
13915 },
13916 ],
13917 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
13918 },
13919 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
13920 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
13921 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
13922 &quot;url&quot;: &quot;A String&quot;, # The URL.
13923 },
13924 },
13925 ],
13926 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
13927 },
13928 },
13929 ],
13930 },
13931 &quot;toolCall&quot;: { # Tool call content.
13932 &quot;codeExecutionCall&quot;: { # Code execution content.
13933 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
13934 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
13935 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
13936 },
13937 },
13938 &quot;fileSearchCall&quot;: { # File Search content.
13939 },
13940 &quot;functionCall&quot;: { # A function tool call content block.
13941 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
13942 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
13943 { # Represents a single field in a struct.
13944 &quot;name&quot;: &quot;A String&quot;,
13945 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
13946 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13947 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13948 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13949 # Object with schema name: GenaiVertexV1beta1Value
13950 ],
13951 },
13952 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13953 &quot;numberValue&quot;: 3.14, # Represents a double value.
13954 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13955 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13956 },
13957 },
13958 ],
13959 },
13960 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
13961 },
13962 &quot;googleMapsCall&quot;: { # Google Maps content.
13963 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
13964 &quot;queries&quot;: [ # The queries to be executed.
13965 &quot;A String&quot;,
13966 ],
13967 },
13968 },
13969 &quot;googleSearchCall&quot;: { # Google Search content.
13970 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
13971 &quot;queries&quot;: [ # Web search queries for the following-up web search.
13972 &quot;A String&quot;,
13973 ],
13974 },
13975 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
13976 },
13977 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
13978 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
13979 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
13980 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
13981 { # Represents a single field in a struct.
13982 &quot;name&quot;: &quot;A String&quot;,
13983 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
13984 &quot;boolValue&quot;: True or False, # Represents a boolean value.
13985 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
13986 &quot;values&quot;: [ # Repeated field of dynamically typed values.
13987 # Object with schema name: GenaiVertexV1beta1Value
13988 ],
13989 },
13990 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
13991 &quot;numberValue&quot;: 3.14, # Represents a double value.
13992 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
13993 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
13994 },
13995 },
13996 ],
13997 },
13998 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
13999 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
14000 },
14001 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
14002 &quot;urlContextCall&quot;: { # URL context content.
14003 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
14004 &quot;urls&quot;: [ # The URLs to fetch.
14005 &quot;A String&quot;,
14006 ],
14007 },
14008 },
14009 },
14010 &quot;toolResult&quot;: { # Tool result content.
14011 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
14012 &quot;codeExecutionResult&quot;: { # Code execution result content.
14013 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
14014 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
14015 },
14016 &quot;fileSearchResult&quot;: { # File Search result content.
14017 &quot;result&quot;: [ # Optional. The results of the File Search.
14018 { # The result of the File Search.
14019 },
14020 ],
14021 },
14022 &quot;functionResult&quot;: { # A function tool result content block.
14023 &quot;contentList&quot;: {
14024 &quot;contents&quot;: [
14025 {
14026 &quot;image&quot;: { # An image content block.
14027 &quot;data&quot;: &quot;A String&quot;, # The image content.
14028 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
14029 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
14030 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
14031 },
14032 &quot;text&quot;: { # A text content block.
14033 &quot;annotations&quot;: [ # Citation information for model-generated content.
14034 { # Citation information for model-generated content.
14035 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
14036 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
14037 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
14038 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
14039 { # Represents a single field in a struct.
14040 &quot;name&quot;: &quot;A String&quot;,
14041 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
14042 &quot;boolValue&quot;: True or False, # Represents a boolean value.
14043 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
14044 &quot;values&quot;: [ # Repeated field of dynamically typed values.
14045 # Object with schema name: GenaiVertexV1beta1Value
14046 ],
14047 },
14048 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
14049 &quot;numberValue&quot;: 3.14, # Represents a double value.
14050 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
14051 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
14052 },
14053 },
14054 ],
14055 },
14056 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
14057 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
14058 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
14059 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
14060 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
14061 },
14062 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
14063 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
14064 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
14065 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
14066 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
14067 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
14068 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
14069 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
14070 },
14071 ],
14072 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
14073 },
14074 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
14075 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
14076 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
14077 &quot;url&quot;: &quot;A String&quot;, # The URL.
14078 },
14079 },
14080 ],
14081 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
14082 },
14083 },
14084 ],
14085 },
14086 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
14087 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
14088 &quot;stringResult&quot;: &quot;A String&quot;,
14089 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
14090 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
14091 { # Represents a single field in a struct.
14092 &quot;name&quot;: &quot;A String&quot;,
14093 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
14094 &quot;boolValue&quot;: True or False, # Represents a boolean value.
14095 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
14096 &quot;values&quot;: [ # Repeated field of dynamically typed values.
14097 # Object with schema name: GenaiVertexV1beta1Value
14098 ],
14099 },
14100 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
14101 &quot;numberValue&quot;: 3.14, # Represents a double value.
14102 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
14103 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
14104 },
14105 },
14106 ],
14107 },
14108 },
14109 &quot;googleMapsResult&quot;: { # Google Maps result content.
14110 &quot;result&quot;: [ # Required. The results of the Google Maps.
14111 { # The result of the Google Maps.
14112 &quot;places&quot;: [ # The places that were found.
14113 {
14114 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
14115 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
14116 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
14117 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
14118 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
14119 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
14120 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
14121 },
14122 ],
14123 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
14124 },
14125 ],
14126 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
14127 },
14128 ],
14129 },
14130 &quot;googleSearchResult&quot;: { # Google Search result content.
14131 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
14132 &quot;result&quot;: [ # Required. The results of the Google Search.
14133 { # The result of the Google Search.
14134 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
14135 },
14136 ],
14137 },
14138 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
14139 &quot;contentList&quot;: {
14140 &quot;contents&quot;: [
14141 {
14142 &quot;image&quot;: { # An image content block.
14143 &quot;data&quot;: &quot;A String&quot;, # The image content.
14144 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
14145 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
14146 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
14147 },
14148 &quot;text&quot;: { # A text content block.
14149 &quot;annotations&quot;: [ # Citation information for model-generated content.
14150 { # Citation information for model-generated content.
14151 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
14152 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
14153 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
14154 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
14155 { # Represents a single field in a struct.
14156 &quot;name&quot;: &quot;A String&quot;,
14157 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
14158 &quot;boolValue&quot;: True or False, # Represents a boolean value.
14159 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
14160 &quot;values&quot;: [ # Repeated field of dynamically typed values.
14161 # Object with schema name: GenaiVertexV1beta1Value
14162 ],
14163 },
14164 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
14165 &quot;numberValue&quot;: 3.14, # Represents a double value.
14166 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
14167 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
14168 },
14169 },
14170 ],
14171 },
14172 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
14173 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
14174 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
14175 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
14176 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
14177 },
14178 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
14179 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
14180 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
14181 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
14182 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
14183 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
14184 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
14185 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
14186 },
14187 ],
14188 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
14189 },
14190 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
14191 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
14192 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
14193 &quot;url&quot;: &quot;A String&quot;, # The URL.
14194 },
14195 },
14196 ],
14197 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
14198 },
14199 },
14200 ],
14201 },
14202 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
14203 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
14204 &quot;stringResult&quot;: &quot;A String&quot;,
14205 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
14206 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
14207 { # Represents a single field in a struct.
14208 &quot;name&quot;: &quot;A String&quot;,
14209 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
14210 &quot;boolValue&quot;: True or False, # Represents a boolean value.
14211 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
14212 &quot;values&quot;: [ # Repeated field of dynamically typed values.
14213 # Object with schema name: GenaiVertexV1beta1Value
14214 ],
14215 },
14216 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
14217 &quot;numberValue&quot;: 3.14, # Represents a double value.
14218 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
14219 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
14220 },
14221 },
14222 ],
14223 },
14224 },
14225 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
14226 &quot;urlContextResult&quot;: { # URL context result content.
14227 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
14228 &quot;result&quot;: [ # Required. The results of the URL context.
14229 { # The result of the URL context.
14230 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
14231 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
14232 },
14233 ],
14234 },
14235 },
14236 &quot;video&quot;: { # A video content block.
14237 &quot;data&quot;: &quot;A String&quot;, # The video content.
14238 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
14239 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
14240 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
14241 },
14242 },
14243 ],
14244 },
14245 &quot;contentString&quot;: &quot;A String&quot;, # The content of the turn. A single string.
14246 &quot;role&quot;: &quot;A String&quot;, # The originator of this turn. Must be user for input or model for model output.
14247 },
14248 ],
14249 },
14250 &quot;updated&quot;: &quot;A String&quot;, # Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
14251 &quot;usage&quot;: { # Statistics on the interaction request&#x27;s token usage. # Output only. Statistics on the interaction request&#x27;s token usage.
14252 &quot;cachedTokensByModality&quot;: [ # A breakdown of cached token usage by modality.
14253 { # The token count for a single response modality.
14254 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
14255 &quot;tokens&quot;: 42, # Number of tokens for the modality.
14256 },
14257 ],
14258 &quot;groundingToolCount&quot;: [ # Grounding tool count.
14259 { # The number of grounding tool counts.
14260 &quot;count&quot;: 42, # The number of grounding tool counts.
14261 &quot;type&quot;: &quot;A String&quot;, # The grounding tool type associated with the count.
14262 },
14263 ],
14264 &quot;inputTokensByModality&quot;: [ # A breakdown of input token usage by modality.
14265 { # The token count for a single response modality.
14266 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
14267 &quot;tokens&quot;: 42, # Number of tokens for the modality.
14268 },
14269 ],
14270 &quot;outputTokensByModality&quot;: [ # A breakdown of output token usage by modality.
14271 { # The token count for a single response modality.
14272 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
14273 &quot;tokens&quot;: 42, # Number of tokens for the modality.
14274 },
14275 ],
14276 &quot;toolUseTokensByModality&quot;: [ # A breakdown of tool-use token usage by modality.
14277 { # The token count for a single response modality.
14278 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
14279 &quot;tokens&quot;: 42, # Number of tokens for the modality.
14280 },
14281 ],
14282 &quot;totalCachedTokens&quot;: 42, # Number of tokens in the cached part of the prompt (the cached content).
14283 &quot;totalInputTokens&quot;: 42, # Number of tokens in the prompt (context).
14284 &quot;totalOutputTokens&quot;: 42, # Total number of tokens across all the generated responses.
14285 &quot;totalThoughtTokens&quot;: 42, # Number of tokens of thoughts for thinking models.
14286 &quot;totalTokens&quot;: 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
14287 &quot;totalToolUseTokens&quot;: 42, # Number of tokens present in tool-use prompt(s).
14288 },
14289 }</pre>
14290 </div>
14291
14292 <div class="method">
14293 <code class="details" id="getStream">getStream(name, includeInput=None, lastEventId=None, stream=None, x__xgafv=None)</code>
14294 <pre>Fully typed proto, streaming version of GetInteraction that returns Interaction proto.
14295
14296 Args:
14297 name: string, Required. The name of the interaction to retrieve. Format: interactions/{interaction} (required)
14298 includeInput: boolean, Optional. If true, includes the input in the response.
14299 lastEventId: string, Optional. If set, resumes the interaction stream from the chunk after the event marked by the event id. Can only be used if `stream` is true.
14300 stream: boolean, Optional. If true, streams the interaction events as Server-Sent Events.
14301 x__xgafv: string, V1 error format.
14302 Allowed values
14303 1 - v1 error format
14304 2 - v2 error format
14305
14306 Returns:
14307 An object of the form:
14308
14309 {
14310 &quot;contentDelta&quot;: { # The content block delta data, used for content.delta events.
14311 &quot;delta&quot;: { # The delta content data for a content block.
14312 &quot;audio&quot;: {
14313 &quot;channels&quot;: 42, # The number of audio channels.
14314 &quot;data&quot;: &quot;A String&quot;,
14315 &quot;mimeType&quot;: &quot;A String&quot;,
14316 &quot;rate&quot;: 42, # Deprecated. Use sample_rate instead. The value is ignored.
14317 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
14318 &quot;uri&quot;: &quot;A String&quot;,
14319 },
14320 &quot;document&quot;: {
14321 &quot;data&quot;: &quot;A String&quot;,
14322 &quot;mimeType&quot;: &quot;A String&quot;,
14323 &quot;uri&quot;: &quot;A String&quot;,
14324 },
14325 &quot;image&quot;: {
14326 &quot;data&quot;: &quot;A String&quot;,
14327 &quot;mimeType&quot;: &quot;A String&quot;,
14328 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
14329 &quot;uri&quot;: &quot;A String&quot;,
14330 },
14331 &quot;text&quot;: {
14332 &quot;text&quot;: &quot;A String&quot;,
14333 },
14334 &quot;textAnnotation&quot;: {
14335 &quot;annotations&quot;: [ # Citation information for model-generated content.
14336 { # Citation information for model-generated content.
14337 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
14338 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
14339 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
14340 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
14341 { # Represents a single field in a struct.
14342 &quot;name&quot;: &quot;A String&quot;,
14343 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
14344 &quot;boolValue&quot;: True or False, # Represents a boolean value.
14345 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
14346 &quot;values&quot;: [ # Repeated field of dynamically typed values.
14347 # Object with schema name: GenaiVertexV1beta1Value
14348 ],
14349 },
14350 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
14351 &quot;numberValue&quot;: 3.14, # Represents a double value.
14352 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
14353 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
14354 },
14355 },
14356 ],
14357 },
14358 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
14359 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
14360 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
14361 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
14362 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
14363 },
14364 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
14365 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
14366 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
14367 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
14368 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
14369 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
14370 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
14371 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
14372 },
14373 ],
14374 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
14375 },
14376 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
14377 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
14378 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
14379 &quot;url&quot;: &quot;A String&quot;, # The URL.
14380 },
14381 },
14382 ],
14383 },
14384 &quot;thoughtSignature&quot;: {
14385 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
14386 },
14387 &quot;thoughtSummary&quot;: {
14388 &quot;content&quot;: { # The content of the response. # A new summary item to be added to the thought.
14389 &quot;audio&quot;: { # An audio content block.
14390 &quot;channels&quot;: 42, # The number of audio channels.
14391 &quot;data&quot;: &quot;A String&quot;, # The audio content.
14392 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
14393 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
14394 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
14395 },
14396 &quot;document&quot;: { # A document content block.
14397 &quot;data&quot;: &quot;A String&quot;, # The document content.
14398 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
14399 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
14400 },
14401 &quot;image&quot;: { # An image content block.
14402 &quot;data&quot;: &quot;A String&quot;, # The image content.
14403 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
14404 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
14405 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
14406 },
14407 &quot;text&quot;: { # A text content block.
14408 &quot;annotations&quot;: [ # Citation information for model-generated content.
14409 { # Citation information for model-generated content.
14410 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
14411 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
14412 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
14413 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
14414 { # Represents a single field in a struct.
14415 &quot;name&quot;: &quot;A String&quot;,
14416 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
14417 &quot;boolValue&quot;: True or False, # Represents a boolean value.
14418 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
14419 &quot;values&quot;: [ # Repeated field of dynamically typed values.
14420 # Object with schema name: GenaiVertexV1beta1Value
14421 ],
14422 },
14423 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
14424 &quot;numberValue&quot;: 3.14, # Represents a double value.
14425 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
14426 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
14427 },
14428 },
14429 ],
14430 },
14431 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
14432 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
14433 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
14434 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
14435 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
14436 },
14437 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
14438 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
14439 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
14440 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
14441 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
14442 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
14443 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
14444 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
14445 },
14446 ],
14447 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
14448 },
14449 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
14450 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
14451 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
14452 &quot;url&quot;: &quot;A String&quot;, # The URL.
14453 },
14454 },
14455 ],
14456 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
14457 },
14458 &quot;thought&quot;: { # A thought content block.
14459 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
14460 &quot;summary&quot;: [ # A summary of the thought.
14461 {
14462 &quot;image&quot;: { # An image content block.
14463 &quot;data&quot;: &quot;A String&quot;, # The image content.
14464 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
14465 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
14466 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
14467 },
14468 &quot;text&quot;: { # A text content block.
14469 &quot;annotations&quot;: [ # Citation information for model-generated content.
14470 { # Citation information for model-generated content.
14471 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
14472 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
14473 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
14474 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
14475 { # Represents a single field in a struct.
14476 &quot;name&quot;: &quot;A String&quot;,
14477 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
14478 &quot;boolValue&quot;: True or False, # Represents a boolean value.
14479 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
14480 &quot;values&quot;: [ # Repeated field of dynamically typed values.
14481 # Object with schema name: GenaiVertexV1beta1Value
14482 ],
14483 },
14484 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
14485 &quot;numberValue&quot;: 3.14, # Represents a double value.
14486 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
14487 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
14488 },
14489 },
14490 ],
14491 },
14492 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
14493 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
14494 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
14495 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
14496 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
14497 },
14498 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
14499 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
14500 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
14501 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
14502 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
14503 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
14504 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
14505 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
14506 },
14507 ],
14508 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
14509 },
14510 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
14511 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
14512 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
14513 &quot;url&quot;: &quot;A String&quot;, # The URL.
14514 },
14515 },
14516 ],
14517 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
14518 },
14519 },
14520 ],
14521 },
14522 &quot;toolCall&quot;: { # Tool call content.
14523 &quot;codeExecutionCall&quot;: { # Code execution content.
14524 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
14525 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
14526 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
14527 },
14528 },
14529 &quot;fileSearchCall&quot;: { # File Search content.
14530 },
14531 &quot;functionCall&quot;: { # A function tool call content block.
14532 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
14533 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
14534 { # Represents a single field in a struct.
14535 &quot;name&quot;: &quot;A String&quot;,
14536 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
14537 &quot;boolValue&quot;: True or False, # Represents a boolean value.
14538 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
14539 &quot;values&quot;: [ # Repeated field of dynamically typed values.
14540 # Object with schema name: GenaiVertexV1beta1Value
14541 ],
14542 },
14543 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
14544 &quot;numberValue&quot;: 3.14, # Represents a double value.
14545 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
14546 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
14547 },
14548 },
14549 ],
14550 },
14551 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
14552 },
14553 &quot;googleMapsCall&quot;: { # Google Maps content.
14554 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
14555 &quot;queries&quot;: [ # The queries to be executed.
14556 &quot;A String&quot;,
14557 ],
14558 },
14559 },
14560 &quot;googleSearchCall&quot;: { # Google Search content.
14561 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
14562 &quot;queries&quot;: [ # Web search queries for the following-up web search.
14563 &quot;A String&quot;,
14564 ],
14565 },
14566 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
14567 },
14568 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
14569 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
14570 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
14571 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
14572 { # Represents a single field in a struct.
14573 &quot;name&quot;: &quot;A String&quot;,
14574 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
14575 &quot;boolValue&quot;: True or False, # Represents a boolean value.
14576 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
14577 &quot;values&quot;: [ # Repeated field of dynamically typed values.
14578 # Object with schema name: GenaiVertexV1beta1Value
14579 ],
14580 },
14581 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
14582 &quot;numberValue&quot;: 3.14, # Represents a double value.
14583 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
14584 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
14585 },
14586 },
14587 ],
14588 },
14589 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
14590 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
14591 },
14592 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
14593 &quot;urlContextCall&quot;: { # URL context content.
14594 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
14595 &quot;urls&quot;: [ # The URLs to fetch.
14596 &quot;A String&quot;,
14597 ],
14598 },
14599 },
14600 },
14601 &quot;toolResult&quot;: { # Tool result content.
14602 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
14603 &quot;codeExecutionResult&quot;: { # Code execution result content.
14604 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
14605 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
14606 },
14607 &quot;fileSearchResult&quot;: { # File Search result content.
14608 &quot;result&quot;: [ # Optional. The results of the File Search.
14609 { # The result of the File Search.
14610 },
14611 ],
14612 },
14613 &quot;functionResult&quot;: { # A function tool result content block.
14614 &quot;contentList&quot;: {
14615 &quot;contents&quot;: [
14616 {
14617 &quot;image&quot;: { # An image content block.
14618 &quot;data&quot;: &quot;A String&quot;, # The image content.
14619 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
14620 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
14621 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
14622 },
14623 &quot;text&quot;: { # A text content block.
14624 &quot;annotations&quot;: [ # Citation information for model-generated content.
14625 { # Citation information for model-generated content.
14626 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
14627 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
14628 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
14629 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
14630 { # Represents a single field in a struct.
14631 &quot;name&quot;: &quot;A String&quot;,
14632 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
14633 &quot;boolValue&quot;: True or False, # Represents a boolean value.
14634 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
14635 &quot;values&quot;: [ # Repeated field of dynamically typed values.
14636 # Object with schema name: GenaiVertexV1beta1Value
14637 ],
14638 },
14639 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
14640 &quot;numberValue&quot;: 3.14, # Represents a double value.
14641 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
14642 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
14643 },
14644 },
14645 ],
14646 },
14647 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
14648 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
14649 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
14650 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
14651 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
14652 },
14653 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
14654 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
14655 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
14656 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
14657 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
14658 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
14659 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
14660 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
14661 },
14662 ],
14663 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
14664 },
14665 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
14666 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
14667 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
14668 &quot;url&quot;: &quot;A String&quot;, # The URL.
14669 },
14670 },
14671 ],
14672 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
14673 },
14674 },
14675 ],
14676 },
14677 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
14678 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
14679 &quot;stringResult&quot;: &quot;A String&quot;,
14680 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
14681 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
14682 { # Represents a single field in a struct.
14683 &quot;name&quot;: &quot;A String&quot;,
14684 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
14685 &quot;boolValue&quot;: True or False, # Represents a boolean value.
14686 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
14687 &quot;values&quot;: [ # Repeated field of dynamically typed values.
14688 # Object with schema name: GenaiVertexV1beta1Value
14689 ],
14690 },
14691 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
14692 &quot;numberValue&quot;: 3.14, # Represents a double value.
14693 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
14694 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
14695 },
14696 },
14697 ],
14698 },
14699 },
14700 &quot;googleMapsResult&quot;: { # Google Maps result content.
14701 &quot;result&quot;: [ # Required. The results of the Google Maps.
14702 { # The result of the Google Maps.
14703 &quot;places&quot;: [ # The places that were found.
14704 {
14705 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
14706 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
14707 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
14708 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
14709 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
14710 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
14711 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
14712 },
14713 ],
14714 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
14715 },
14716 ],
14717 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
14718 },
14719 ],
14720 },
14721 &quot;googleSearchResult&quot;: { # Google Search result content.
14722 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
14723 &quot;result&quot;: [ # Required. The results of the Google Search.
14724 { # The result of the Google Search.
14725 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
14726 },
14727 ],
14728 },
14729 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
14730 &quot;contentList&quot;: {
14731 &quot;contents&quot;: [
14732 {
14733 &quot;image&quot;: { # An image content block.
14734 &quot;data&quot;: &quot;A String&quot;, # The image content.
14735 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
14736 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
14737 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
14738 },
14739 &quot;text&quot;: { # A text content block.
14740 &quot;annotations&quot;: [ # Citation information for model-generated content.
14741 { # Citation information for model-generated content.
14742 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
14743 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
14744 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
14745 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
14746 { # Represents a single field in a struct.
14747 &quot;name&quot;: &quot;A String&quot;,
14748 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
14749 &quot;boolValue&quot;: True or False, # Represents a boolean value.
14750 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
14751 &quot;values&quot;: [ # Repeated field of dynamically typed values.
14752 # Object with schema name: GenaiVertexV1beta1Value
14753 ],
14754 },
14755 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
14756 &quot;numberValue&quot;: 3.14, # Represents a double value.
14757 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
14758 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
14759 },
14760 },
14761 ],
14762 },
14763 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
14764 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
14765 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
14766 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
14767 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
14768 },
14769 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
14770 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
14771 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
14772 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
14773 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
14774 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
14775 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
14776 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
14777 },
14778 ],
14779 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
14780 },
14781 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
14782 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
14783 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
14784 &quot;url&quot;: &quot;A String&quot;, # The URL.
14785 },
14786 },
14787 ],
14788 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
14789 },
14790 },
14791 ],
14792 },
14793 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
14794 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
14795 &quot;stringResult&quot;: &quot;A String&quot;,
14796 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
14797 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
14798 { # Represents a single field in a struct.
14799 &quot;name&quot;: &quot;A String&quot;,
14800 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
14801 &quot;boolValue&quot;: True or False, # Represents a boolean value.
14802 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
14803 &quot;values&quot;: [ # Repeated field of dynamically typed values.
14804 # Object with schema name: GenaiVertexV1beta1Value
14805 ],
14806 },
14807 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
14808 &quot;numberValue&quot;: 3.14, # Represents a double value.
14809 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
14810 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
14811 },
14812 },
14813 ],
14814 },
14815 },
14816 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
14817 &quot;urlContextResult&quot;: { # URL context result content.
14818 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
14819 &quot;result&quot;: [ # Required. The results of the URL context.
14820 { # The result of the URL context.
14821 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
14822 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
14823 },
14824 ],
14825 },
14826 },
14827 &quot;video&quot;: { # A video content block.
14828 &quot;data&quot;: &quot;A String&quot;, # The video content.
14829 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
14830 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
14831 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
14832 },
14833 },
14834 },
14835 &quot;toolCall&quot;: {
14836 &quot;codeExecutionCall&quot;: {
14837 &quot;arguments&quot;: { # The arguments to pass to the code execution.
14838 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
14839 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
14840 },
14841 },
14842 &quot;fileSearchCall&quot;: {
14843 },
14844 &quot;functionCall&quot;: {
14845 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
14846 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
14847 { # Represents a single field in a struct.
14848 &quot;name&quot;: &quot;A String&quot;,
14849 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
14850 &quot;boolValue&quot;: True or False, # Represents a boolean value.
14851 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
14852 &quot;values&quot;: [ # Repeated field of dynamically typed values.
14853 # Object with schema name: GenaiVertexV1beta1Value
14854 ],
14855 },
14856 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
14857 &quot;numberValue&quot;: 3.14, # Represents a double value.
14858 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
14859 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
14860 },
14861 },
14862 ],
14863 },
14864 &quot;name&quot;: &quot;A String&quot;,
14865 },
14866 &quot;googleMapsCall&quot;: {
14867 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
14868 &quot;queries&quot;: [ # The queries to be executed.
14869 &quot;A String&quot;,
14870 ],
14871 },
14872 },
14873 &quot;googleSearchCall&quot;: {
14874 &quot;arguments&quot;: { # The arguments to pass to Google Search.
14875 &quot;queries&quot;: [ # Web search queries for the following-up web search.
14876 &quot;A String&quot;,
14877 ],
14878 },
14879 },
14880 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
14881 &quot;mcpServerToolCall&quot;: {
14882 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
14883 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
14884 { # Represents a single field in a struct.
14885 &quot;name&quot;: &quot;A String&quot;,
14886 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
14887 &quot;boolValue&quot;: True or False, # Represents a boolean value.
14888 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
14889 &quot;values&quot;: [ # Repeated field of dynamically typed values.
14890 # Object with schema name: GenaiVertexV1beta1Value
14891 ],
14892 },
14893 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
14894 &quot;numberValue&quot;: 3.14, # Represents a double value.
14895 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
14896 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
14897 },
14898 },
14899 ],
14900 },
14901 &quot;name&quot;: &quot;A String&quot;,
14902 &quot;serverName&quot;: &quot;A String&quot;,
14903 },
14904 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
14905 &quot;urlContextCall&quot;: {
14906 &quot;arguments&quot;: { # The arguments to pass to the URL context.
14907 &quot;urls&quot;: [ # The URLs to fetch.
14908 &quot;A String&quot;,
14909 ],
14910 },
14911 },
14912 },
14913 &quot;toolResult&quot;: {
14914 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
14915 &quot;codeExecutionResult&quot;: {
14916 &quot;isError&quot;: True or False,
14917 &quot;result&quot;: &quot;A String&quot;,
14918 },
14919 &quot;fileSearchResult&quot;: {
14920 &quot;result&quot;: [
14921 { # The result of the File Search.
14922 },
14923 ],
14924 },
14925 &quot;functionResult&quot;: {
14926 &quot;contentList&quot;: { # A list of Content.
14927 &quot;contents&quot;: [ # The contents of the list.
14928 { # The content of the response.
14929 &quot;audio&quot;: { # An audio content block.
14930 &quot;channels&quot;: 42, # The number of audio channels.
14931 &quot;data&quot;: &quot;A String&quot;, # The audio content.
14932 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
14933 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
14934 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
14935 },
14936 &quot;document&quot;: { # A document content block.
14937 &quot;data&quot;: &quot;A String&quot;, # The document content.
14938 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
14939 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
14940 },
14941 &quot;image&quot;: { # An image content block.
14942 &quot;data&quot;: &quot;A String&quot;, # The image content.
14943 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
14944 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
14945 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
14946 },
14947 &quot;text&quot;: { # A text content block.
14948 &quot;annotations&quot;: [ # Citation information for model-generated content.
14949 { # Citation information for model-generated content.
14950 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
14951 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
14952 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
14953 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
14954 { # Represents a single field in a struct.
14955 &quot;name&quot;: &quot;A String&quot;,
14956 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
14957 &quot;boolValue&quot;: True or False, # Represents a boolean value.
14958 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
14959 &quot;values&quot;: [ # Repeated field of dynamically typed values.
14960 # Object with schema name: GenaiVertexV1beta1Value
14961 ],
14962 },
14963 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
14964 &quot;numberValue&quot;: 3.14, # Represents a double value.
14965 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
14966 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
14967 },
14968 },
14969 ],
14970 },
14971 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
14972 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
14973 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
14974 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
14975 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
14976 },
14977 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
14978 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
14979 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
14980 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
14981 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
14982 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
14983 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
14984 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
14985 },
14986 ],
14987 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
14988 },
14989 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
14990 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
14991 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
14992 &quot;url&quot;: &quot;A String&quot;, # The URL.
14993 },
14994 },
14995 ],
14996 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
14997 },
14998 &quot;thought&quot;: { # A thought content block.
14999 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
15000 &quot;summary&quot;: [ # A summary of the thought.
15001 {
15002 &quot;image&quot;: { # An image content block.
15003 &quot;data&quot;: &quot;A String&quot;, # The image content.
15004 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
15005 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
15006 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
15007 },
15008 &quot;text&quot;: { # A text content block.
15009 &quot;annotations&quot;: [ # Citation information for model-generated content.
15010 { # Citation information for model-generated content.
15011 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
15012 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
15013 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
15014 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15015 { # Represents a single field in a struct.
15016 &quot;name&quot;: &quot;A String&quot;,
15017 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15018 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15019 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15020 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15021 # Object with schema name: GenaiVertexV1beta1Value
15022 ],
15023 },
15024 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15025 &quot;numberValue&quot;: 3.14, # Represents a double value.
15026 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15027 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15028 },
15029 },
15030 ],
15031 },
15032 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
15033 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
15034 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
15035 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
15036 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
15037 },
15038 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
15039 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
15040 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
15041 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
15042 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
15043 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
15044 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
15045 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
15046 },
15047 ],
15048 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
15049 },
15050 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
15051 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
15052 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
15053 &quot;url&quot;: &quot;A String&quot;, # The URL.
15054 },
15055 },
15056 ],
15057 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
15058 },
15059 },
15060 ],
15061 },
15062 &quot;toolCall&quot;: { # Tool call content.
15063 &quot;codeExecutionCall&quot;: { # Code execution content.
15064 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
15065 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
15066 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
15067 },
15068 },
15069 &quot;fileSearchCall&quot;: { # File Search content.
15070 },
15071 &quot;functionCall&quot;: { # A function tool call content block.
15072 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
15073 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15074 { # Represents a single field in a struct.
15075 &quot;name&quot;: &quot;A String&quot;,
15076 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15077 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15078 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15079 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15080 # Object with schema name: GenaiVertexV1beta1Value
15081 ],
15082 },
15083 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15084 &quot;numberValue&quot;: 3.14, # Represents a double value.
15085 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15086 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15087 },
15088 },
15089 ],
15090 },
15091 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
15092 },
15093 &quot;googleMapsCall&quot;: { # Google Maps content.
15094 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
15095 &quot;queries&quot;: [ # The queries to be executed.
15096 &quot;A String&quot;,
15097 ],
15098 },
15099 },
15100 &quot;googleSearchCall&quot;: { # Google Search content.
15101 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
15102 &quot;queries&quot;: [ # Web search queries for the following-up web search.
15103 &quot;A String&quot;,
15104 ],
15105 },
15106 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
15107 },
15108 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
15109 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
15110 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
15111 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15112 { # Represents a single field in a struct.
15113 &quot;name&quot;: &quot;A String&quot;,
15114 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15115 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15116 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15117 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15118 # Object with schema name: GenaiVertexV1beta1Value
15119 ],
15120 },
15121 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15122 &quot;numberValue&quot;: 3.14, # Represents a double value.
15123 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15124 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15125 },
15126 },
15127 ],
15128 },
15129 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
15130 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
15131 },
15132 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
15133 &quot;urlContextCall&quot;: { # URL context content.
15134 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
15135 &quot;urls&quot;: [ # The URLs to fetch.
15136 &quot;A String&quot;,
15137 ],
15138 },
15139 },
15140 },
15141 &quot;toolResult&quot;: { # Tool result content.
15142 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
15143 &quot;codeExecutionResult&quot;: { # Code execution result content.
15144 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
15145 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
15146 },
15147 &quot;fileSearchResult&quot;: { # File Search result content.
15148 &quot;result&quot;: [ # Optional. The results of the File Search.
15149 { # The result of the File Search.
15150 },
15151 ],
15152 },
15153 &quot;functionResult&quot;: { # A function tool result content block.
15154 &quot;contentList&quot;: {
15155 &quot;contents&quot;: [
15156 {
15157 &quot;image&quot;: { # An image content block.
15158 &quot;data&quot;: &quot;A String&quot;, # The image content.
15159 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
15160 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
15161 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
15162 },
15163 &quot;text&quot;: { # A text content block.
15164 &quot;annotations&quot;: [ # Citation information for model-generated content.
15165 { # Citation information for model-generated content.
15166 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
15167 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
15168 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
15169 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15170 { # Represents a single field in a struct.
15171 &quot;name&quot;: &quot;A String&quot;,
15172 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15173 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15174 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15175 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15176 # Object with schema name: GenaiVertexV1beta1Value
15177 ],
15178 },
15179 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15180 &quot;numberValue&quot;: 3.14, # Represents a double value.
15181 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15182 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15183 },
15184 },
15185 ],
15186 },
15187 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
15188 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
15189 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
15190 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
15191 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
15192 },
15193 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
15194 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
15195 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
15196 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
15197 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
15198 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
15199 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
15200 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
15201 },
15202 ],
15203 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
15204 },
15205 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
15206 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
15207 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
15208 &quot;url&quot;: &quot;A String&quot;, # The URL.
15209 },
15210 },
15211 ],
15212 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
15213 },
15214 },
15215 ],
15216 },
15217 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
15218 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
15219 &quot;stringResult&quot;: &quot;A String&quot;,
15220 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
15221 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15222 { # Represents a single field in a struct.
15223 &quot;name&quot;: &quot;A String&quot;,
15224 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15225 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15226 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15227 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15228 # Object with schema name: GenaiVertexV1beta1Value
15229 ],
15230 },
15231 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15232 &quot;numberValue&quot;: 3.14, # Represents a double value.
15233 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15234 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15235 },
15236 },
15237 ],
15238 },
15239 },
15240 &quot;googleMapsResult&quot;: { # Google Maps result content.
15241 &quot;result&quot;: [ # Required. The results of the Google Maps.
15242 { # The result of the Google Maps.
15243 &quot;places&quot;: [ # The places that were found.
15244 {
15245 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
15246 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
15247 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
15248 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
15249 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
15250 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
15251 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
15252 },
15253 ],
15254 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
15255 },
15256 ],
15257 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
15258 },
15259 ],
15260 },
15261 &quot;googleSearchResult&quot;: { # Google Search result content.
15262 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
15263 &quot;result&quot;: [ # Required. The results of the Google Search.
15264 { # The result of the Google Search.
15265 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
15266 },
15267 ],
15268 },
15269 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
15270 &quot;contentList&quot;: {
15271 &quot;contents&quot;: [
15272 {
15273 &quot;image&quot;: { # An image content block.
15274 &quot;data&quot;: &quot;A String&quot;, # The image content.
15275 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
15276 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
15277 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
15278 },
15279 &quot;text&quot;: { # A text content block.
15280 &quot;annotations&quot;: [ # Citation information for model-generated content.
15281 { # Citation information for model-generated content.
15282 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
15283 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
15284 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
15285 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15286 { # Represents a single field in a struct.
15287 &quot;name&quot;: &quot;A String&quot;,
15288 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15289 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15290 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15291 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15292 # Object with schema name: GenaiVertexV1beta1Value
15293 ],
15294 },
15295 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15296 &quot;numberValue&quot;: 3.14, # Represents a double value.
15297 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15298 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15299 },
15300 },
15301 ],
15302 },
15303 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
15304 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
15305 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
15306 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
15307 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
15308 },
15309 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
15310 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
15311 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
15312 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
15313 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
15314 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
15315 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
15316 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
15317 },
15318 ],
15319 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
15320 },
15321 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
15322 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
15323 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
15324 &quot;url&quot;: &quot;A String&quot;, # The URL.
15325 },
15326 },
15327 ],
15328 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
15329 },
15330 },
15331 ],
15332 },
15333 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
15334 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
15335 &quot;stringResult&quot;: &quot;A String&quot;,
15336 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
15337 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15338 { # Represents a single field in a struct.
15339 &quot;name&quot;: &quot;A String&quot;,
15340 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15341 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15342 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15343 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15344 # Object with schema name: GenaiVertexV1beta1Value
15345 ],
15346 },
15347 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15348 &quot;numberValue&quot;: 3.14, # Represents a double value.
15349 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15350 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15351 },
15352 },
15353 ],
15354 },
15355 },
15356 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
15357 &quot;urlContextResult&quot;: { # URL context result content.
15358 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
15359 &quot;result&quot;: [ # Required. The results of the URL context.
15360 { # The result of the URL context.
15361 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
15362 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
15363 },
15364 ],
15365 },
15366 },
15367 &quot;video&quot;: { # A video content block.
15368 &quot;data&quot;: &quot;A String&quot;, # The video content.
15369 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
15370 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
15371 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
15372 },
15373 },
15374 ],
15375 },
15376 &quot;isError&quot;: True or False,
15377 &quot;name&quot;: &quot;A String&quot;,
15378 &quot;stringResult&quot;: &quot;A String&quot;,
15379 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
15380 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15381 { # Represents a single field in a struct.
15382 &quot;name&quot;: &quot;A String&quot;,
15383 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15384 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15385 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15386 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15387 # Object with schema name: GenaiVertexV1beta1Value
15388 ],
15389 },
15390 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15391 &quot;numberValue&quot;: 3.14, # Represents a double value.
15392 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15393 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15394 },
15395 },
15396 ],
15397 },
15398 },
15399 &quot;googleMapsResult&quot;: {
15400 &quot;result&quot;: [ # The results of the Google Maps.
15401 { # The result of the Google Maps.
15402 &quot;places&quot;: [ # The places that were found.
15403 {
15404 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
15405 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
15406 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
15407 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
15408 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
15409 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
15410 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
15411 },
15412 ],
15413 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
15414 },
15415 ],
15416 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
15417 },
15418 ],
15419 },
15420 &quot;googleSearchResult&quot;: {
15421 &quot;isError&quot;: True or False,
15422 &quot;result&quot;: [
15423 { # The result of the Google Search.
15424 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
15425 },
15426 ],
15427 },
15428 &quot;mcpServerToolResult&quot;: {
15429 &quot;contentList&quot;: { # A list of Content.
15430 &quot;contents&quot;: [ # The contents of the list.
15431 { # The content of the response.
15432 &quot;audio&quot;: { # An audio content block.
15433 &quot;channels&quot;: 42, # The number of audio channels.
15434 &quot;data&quot;: &quot;A String&quot;, # The audio content.
15435 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
15436 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
15437 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
15438 },
15439 &quot;document&quot;: { # A document content block.
15440 &quot;data&quot;: &quot;A String&quot;, # The document content.
15441 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
15442 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
15443 },
15444 &quot;image&quot;: { # An image content block.
15445 &quot;data&quot;: &quot;A String&quot;, # The image content.
15446 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
15447 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
15448 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
15449 },
15450 &quot;text&quot;: { # A text content block.
15451 &quot;annotations&quot;: [ # Citation information for model-generated content.
15452 { # Citation information for model-generated content.
15453 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
15454 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
15455 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
15456 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15457 { # Represents a single field in a struct.
15458 &quot;name&quot;: &quot;A String&quot;,
15459 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15460 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15461 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15462 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15463 # Object with schema name: GenaiVertexV1beta1Value
15464 ],
15465 },
15466 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15467 &quot;numberValue&quot;: 3.14, # Represents a double value.
15468 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15469 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15470 },
15471 },
15472 ],
15473 },
15474 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
15475 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
15476 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
15477 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
15478 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
15479 },
15480 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
15481 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
15482 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
15483 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
15484 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
15485 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
15486 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
15487 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
15488 },
15489 ],
15490 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
15491 },
15492 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
15493 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
15494 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
15495 &quot;url&quot;: &quot;A String&quot;, # The URL.
15496 },
15497 },
15498 ],
15499 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
15500 },
15501 &quot;thought&quot;: { # A thought content block.
15502 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
15503 &quot;summary&quot;: [ # A summary of the thought.
15504 {
15505 &quot;image&quot;: { # An image content block.
15506 &quot;data&quot;: &quot;A String&quot;, # The image content.
15507 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
15508 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
15509 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
15510 },
15511 &quot;text&quot;: { # A text content block.
15512 &quot;annotations&quot;: [ # Citation information for model-generated content.
15513 { # Citation information for model-generated content.
15514 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
15515 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
15516 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
15517 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15518 { # Represents a single field in a struct.
15519 &quot;name&quot;: &quot;A String&quot;,
15520 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15521 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15522 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15523 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15524 # Object with schema name: GenaiVertexV1beta1Value
15525 ],
15526 },
15527 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15528 &quot;numberValue&quot;: 3.14, # Represents a double value.
15529 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15530 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15531 },
15532 },
15533 ],
15534 },
15535 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
15536 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
15537 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
15538 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
15539 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
15540 },
15541 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
15542 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
15543 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
15544 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
15545 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
15546 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
15547 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
15548 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
15549 },
15550 ],
15551 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
15552 },
15553 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
15554 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
15555 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
15556 &quot;url&quot;: &quot;A String&quot;, # The URL.
15557 },
15558 },
15559 ],
15560 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
15561 },
15562 },
15563 ],
15564 },
15565 &quot;toolCall&quot;: { # Tool call content.
15566 &quot;codeExecutionCall&quot;: { # Code execution content.
15567 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
15568 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
15569 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
15570 },
15571 },
15572 &quot;fileSearchCall&quot;: { # File Search content.
15573 },
15574 &quot;functionCall&quot;: { # A function tool call content block.
15575 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
15576 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15577 { # Represents a single field in a struct.
15578 &quot;name&quot;: &quot;A String&quot;,
15579 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15580 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15581 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15582 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15583 # Object with schema name: GenaiVertexV1beta1Value
15584 ],
15585 },
15586 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15587 &quot;numberValue&quot;: 3.14, # Represents a double value.
15588 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15589 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15590 },
15591 },
15592 ],
15593 },
15594 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
15595 },
15596 &quot;googleMapsCall&quot;: { # Google Maps content.
15597 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
15598 &quot;queries&quot;: [ # The queries to be executed.
15599 &quot;A String&quot;,
15600 ],
15601 },
15602 },
15603 &quot;googleSearchCall&quot;: { # Google Search content.
15604 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
15605 &quot;queries&quot;: [ # Web search queries for the following-up web search.
15606 &quot;A String&quot;,
15607 ],
15608 },
15609 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
15610 },
15611 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
15612 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
15613 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
15614 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15615 { # Represents a single field in a struct.
15616 &quot;name&quot;: &quot;A String&quot;,
15617 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15618 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15619 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15620 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15621 # Object with schema name: GenaiVertexV1beta1Value
15622 ],
15623 },
15624 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15625 &quot;numberValue&quot;: 3.14, # Represents a double value.
15626 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15627 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15628 },
15629 },
15630 ],
15631 },
15632 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
15633 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
15634 },
15635 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
15636 &quot;urlContextCall&quot;: { # URL context content.
15637 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
15638 &quot;urls&quot;: [ # The URLs to fetch.
15639 &quot;A String&quot;,
15640 ],
15641 },
15642 },
15643 },
15644 &quot;toolResult&quot;: { # Tool result content.
15645 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
15646 &quot;codeExecutionResult&quot;: { # Code execution result content.
15647 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
15648 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
15649 },
15650 &quot;fileSearchResult&quot;: { # File Search result content.
15651 &quot;result&quot;: [ # Optional. The results of the File Search.
15652 { # The result of the File Search.
15653 },
15654 ],
15655 },
15656 &quot;functionResult&quot;: { # A function tool result content block.
15657 &quot;contentList&quot;: {
15658 &quot;contents&quot;: [
15659 {
15660 &quot;image&quot;: { # An image content block.
15661 &quot;data&quot;: &quot;A String&quot;, # The image content.
15662 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
15663 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
15664 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
15665 },
15666 &quot;text&quot;: { # A text content block.
15667 &quot;annotations&quot;: [ # Citation information for model-generated content.
15668 { # Citation information for model-generated content.
15669 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
15670 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
15671 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
15672 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15673 { # Represents a single field in a struct.
15674 &quot;name&quot;: &quot;A String&quot;,
15675 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15676 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15677 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15678 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15679 # Object with schema name: GenaiVertexV1beta1Value
15680 ],
15681 },
15682 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15683 &quot;numberValue&quot;: 3.14, # Represents a double value.
15684 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15685 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15686 },
15687 },
15688 ],
15689 },
15690 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
15691 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
15692 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
15693 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
15694 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
15695 },
15696 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
15697 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
15698 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
15699 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
15700 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
15701 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
15702 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
15703 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
15704 },
15705 ],
15706 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
15707 },
15708 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
15709 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
15710 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
15711 &quot;url&quot;: &quot;A String&quot;, # The URL.
15712 },
15713 },
15714 ],
15715 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
15716 },
15717 },
15718 ],
15719 },
15720 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
15721 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
15722 &quot;stringResult&quot;: &quot;A String&quot;,
15723 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
15724 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15725 { # Represents a single field in a struct.
15726 &quot;name&quot;: &quot;A String&quot;,
15727 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15728 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15729 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15730 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15731 # Object with schema name: GenaiVertexV1beta1Value
15732 ],
15733 },
15734 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15735 &quot;numberValue&quot;: 3.14, # Represents a double value.
15736 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15737 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15738 },
15739 },
15740 ],
15741 },
15742 },
15743 &quot;googleMapsResult&quot;: { # Google Maps result content.
15744 &quot;result&quot;: [ # Required. The results of the Google Maps.
15745 { # The result of the Google Maps.
15746 &quot;places&quot;: [ # The places that were found.
15747 {
15748 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
15749 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
15750 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
15751 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
15752 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
15753 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
15754 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
15755 },
15756 ],
15757 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
15758 },
15759 ],
15760 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
15761 },
15762 ],
15763 },
15764 &quot;googleSearchResult&quot;: { # Google Search result content.
15765 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
15766 &quot;result&quot;: [ # Required. The results of the Google Search.
15767 { # The result of the Google Search.
15768 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
15769 },
15770 ],
15771 },
15772 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
15773 &quot;contentList&quot;: {
15774 &quot;contents&quot;: [
15775 {
15776 &quot;image&quot;: { # An image content block.
15777 &quot;data&quot;: &quot;A String&quot;, # The image content.
15778 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
15779 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
15780 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
15781 },
15782 &quot;text&quot;: { # A text content block.
15783 &quot;annotations&quot;: [ # Citation information for model-generated content.
15784 { # Citation information for model-generated content.
15785 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
15786 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
15787 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
15788 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15789 { # Represents a single field in a struct.
15790 &quot;name&quot;: &quot;A String&quot;,
15791 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15792 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15793 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15794 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15795 # Object with schema name: GenaiVertexV1beta1Value
15796 ],
15797 },
15798 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15799 &quot;numberValue&quot;: 3.14, # Represents a double value.
15800 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15801 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15802 },
15803 },
15804 ],
15805 },
15806 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
15807 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
15808 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
15809 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
15810 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
15811 },
15812 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
15813 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
15814 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
15815 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
15816 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
15817 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
15818 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
15819 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
15820 },
15821 ],
15822 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
15823 },
15824 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
15825 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
15826 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
15827 &quot;url&quot;: &quot;A String&quot;, # The URL.
15828 },
15829 },
15830 ],
15831 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
15832 },
15833 },
15834 ],
15835 },
15836 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
15837 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
15838 &quot;stringResult&quot;: &quot;A String&quot;,
15839 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
15840 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15841 { # Represents a single field in a struct.
15842 &quot;name&quot;: &quot;A String&quot;,
15843 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15844 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15845 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15846 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15847 # Object with schema name: GenaiVertexV1beta1Value
15848 ],
15849 },
15850 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15851 &quot;numberValue&quot;: 3.14, # Represents a double value.
15852 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15853 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15854 },
15855 },
15856 ],
15857 },
15858 },
15859 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
15860 &quot;urlContextResult&quot;: { # URL context result content.
15861 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
15862 &quot;result&quot;: [ # Required. The results of the URL context.
15863 { # The result of the URL context.
15864 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
15865 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
15866 },
15867 ],
15868 },
15869 },
15870 &quot;video&quot;: { # A video content block.
15871 &quot;data&quot;: &quot;A String&quot;, # The video content.
15872 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
15873 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
15874 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
15875 },
15876 },
15877 ],
15878 },
15879 &quot;name&quot;: &quot;A String&quot;,
15880 &quot;serverName&quot;: &quot;A String&quot;,
15881 &quot;stringResult&quot;: &quot;A String&quot;,
15882 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
15883 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15884 { # Represents a single field in a struct.
15885 &quot;name&quot;: &quot;A String&quot;,
15886 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15887 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15888 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15889 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15890 # Object with schema name: GenaiVertexV1beta1Value
15891 ],
15892 },
15893 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15894 &quot;numberValue&quot;: 3.14, # Represents a double value.
15895 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15896 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15897 },
15898 },
15899 ],
15900 },
15901 },
15902 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
15903 &quot;urlContextResult&quot;: {
15904 &quot;isError&quot;: True or False,
15905 &quot;result&quot;: [
15906 { # The result of the URL context.
15907 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
15908 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
15909 },
15910 ],
15911 },
15912 },
15913 &quot;video&quot;: {
15914 &quot;data&quot;: &quot;A String&quot;,
15915 &quot;mimeType&quot;: &quot;A String&quot;,
15916 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
15917 &quot;uri&quot;: &quot;A String&quot;,
15918 },
15919 },
15920 &quot;index&quot;: 42,
15921 },
15922 &quot;contentStart&quot;: { # The content block start data, used for content.start events.
15923 &quot;content&quot;: { # The content of the response.
15924 &quot;audio&quot;: { # An audio content block.
15925 &quot;channels&quot;: 42, # The number of audio channels.
15926 &quot;data&quot;: &quot;A String&quot;, # The audio content.
15927 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
15928 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
15929 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
15930 },
15931 &quot;document&quot;: { # A document content block.
15932 &quot;data&quot;: &quot;A String&quot;, # The document content.
15933 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
15934 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
15935 },
15936 &quot;image&quot;: { # An image content block.
15937 &quot;data&quot;: &quot;A String&quot;, # The image content.
15938 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
15939 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
15940 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
15941 },
15942 &quot;text&quot;: { # A text content block.
15943 &quot;annotations&quot;: [ # Citation information for model-generated content.
15944 { # Citation information for model-generated content.
15945 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
15946 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
15947 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
15948 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
15949 { # Represents a single field in a struct.
15950 &quot;name&quot;: &quot;A String&quot;,
15951 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
15952 &quot;boolValue&quot;: True or False, # Represents a boolean value.
15953 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
15954 &quot;values&quot;: [ # Repeated field of dynamically typed values.
15955 # Object with schema name: GenaiVertexV1beta1Value
15956 ],
15957 },
15958 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
15959 &quot;numberValue&quot;: 3.14, # Represents a double value.
15960 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
15961 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
15962 },
15963 },
15964 ],
15965 },
15966 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
15967 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
15968 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
15969 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
15970 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
15971 },
15972 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
15973 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
15974 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
15975 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
15976 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
15977 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
15978 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
15979 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
15980 },
15981 ],
15982 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
15983 },
15984 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
15985 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
15986 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
15987 &quot;url&quot;: &quot;A String&quot;, # The URL.
15988 },
15989 },
15990 ],
15991 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
15992 },
15993 &quot;thought&quot;: { # A thought content block.
15994 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
15995 &quot;summary&quot;: [ # A summary of the thought.
15996 {
15997 &quot;image&quot;: { # An image content block.
15998 &quot;data&quot;: &quot;A String&quot;, # The image content.
15999 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
16000 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
16001 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
16002 },
16003 &quot;text&quot;: { # A text content block.
16004 &quot;annotations&quot;: [ # Citation information for model-generated content.
16005 { # Citation information for model-generated content.
16006 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
16007 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
16008 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
16009 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16010 { # Represents a single field in a struct.
16011 &quot;name&quot;: &quot;A String&quot;,
16012 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16013 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16014 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16015 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16016 # Object with schema name: GenaiVertexV1beta1Value
16017 ],
16018 },
16019 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16020 &quot;numberValue&quot;: 3.14, # Represents a double value.
16021 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16022 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16023 },
16024 },
16025 ],
16026 },
16027 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
16028 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
16029 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
16030 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
16031 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
16032 },
16033 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
16034 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
16035 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
16036 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
16037 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
16038 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
16039 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
16040 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
16041 },
16042 ],
16043 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
16044 },
16045 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
16046 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
16047 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
16048 &quot;url&quot;: &quot;A String&quot;, # The URL.
16049 },
16050 },
16051 ],
16052 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
16053 },
16054 },
16055 ],
16056 },
16057 &quot;toolCall&quot;: { # Tool call content.
16058 &quot;codeExecutionCall&quot;: { # Code execution content.
16059 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
16060 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
16061 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
16062 },
16063 },
16064 &quot;fileSearchCall&quot;: { # File Search content.
16065 },
16066 &quot;functionCall&quot;: { # A function tool call content block.
16067 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
16068 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16069 { # Represents a single field in a struct.
16070 &quot;name&quot;: &quot;A String&quot;,
16071 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16072 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16073 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16074 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16075 # Object with schema name: GenaiVertexV1beta1Value
16076 ],
16077 },
16078 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16079 &quot;numberValue&quot;: 3.14, # Represents a double value.
16080 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16081 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16082 },
16083 },
16084 ],
16085 },
16086 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
16087 },
16088 &quot;googleMapsCall&quot;: { # Google Maps content.
16089 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
16090 &quot;queries&quot;: [ # The queries to be executed.
16091 &quot;A String&quot;,
16092 ],
16093 },
16094 },
16095 &quot;googleSearchCall&quot;: { # Google Search content.
16096 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
16097 &quot;queries&quot;: [ # Web search queries for the following-up web search.
16098 &quot;A String&quot;,
16099 ],
16100 },
16101 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
16102 },
16103 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
16104 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
16105 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
16106 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16107 { # Represents a single field in a struct.
16108 &quot;name&quot;: &quot;A String&quot;,
16109 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16110 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16111 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16112 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16113 # Object with schema name: GenaiVertexV1beta1Value
16114 ],
16115 },
16116 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16117 &quot;numberValue&quot;: 3.14, # Represents a double value.
16118 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16119 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16120 },
16121 },
16122 ],
16123 },
16124 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
16125 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
16126 },
16127 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
16128 &quot;urlContextCall&quot;: { # URL context content.
16129 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
16130 &quot;urls&quot;: [ # The URLs to fetch.
16131 &quot;A String&quot;,
16132 ],
16133 },
16134 },
16135 },
16136 &quot;toolResult&quot;: { # Tool result content.
16137 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
16138 &quot;codeExecutionResult&quot;: { # Code execution result content.
16139 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
16140 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
16141 },
16142 &quot;fileSearchResult&quot;: { # File Search result content.
16143 &quot;result&quot;: [ # Optional. The results of the File Search.
16144 { # The result of the File Search.
16145 },
16146 ],
16147 },
16148 &quot;functionResult&quot;: { # A function tool result content block.
16149 &quot;contentList&quot;: {
16150 &quot;contents&quot;: [
16151 {
16152 &quot;image&quot;: { # An image content block.
16153 &quot;data&quot;: &quot;A String&quot;, # The image content.
16154 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
16155 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
16156 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
16157 },
16158 &quot;text&quot;: { # A text content block.
16159 &quot;annotations&quot;: [ # Citation information for model-generated content.
16160 { # Citation information for model-generated content.
16161 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
16162 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
16163 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
16164 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16165 { # Represents a single field in a struct.
16166 &quot;name&quot;: &quot;A String&quot;,
16167 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16168 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16169 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16170 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16171 # Object with schema name: GenaiVertexV1beta1Value
16172 ],
16173 },
16174 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16175 &quot;numberValue&quot;: 3.14, # Represents a double value.
16176 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16177 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16178 },
16179 },
16180 ],
16181 },
16182 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
16183 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
16184 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
16185 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
16186 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
16187 },
16188 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
16189 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
16190 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
16191 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
16192 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
16193 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
16194 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
16195 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
16196 },
16197 ],
16198 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
16199 },
16200 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
16201 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
16202 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
16203 &quot;url&quot;: &quot;A String&quot;, # The URL.
16204 },
16205 },
16206 ],
16207 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
16208 },
16209 },
16210 ],
16211 },
16212 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
16213 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
16214 &quot;stringResult&quot;: &quot;A String&quot;,
16215 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
16216 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16217 { # Represents a single field in a struct.
16218 &quot;name&quot;: &quot;A String&quot;,
16219 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16220 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16221 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16222 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16223 # Object with schema name: GenaiVertexV1beta1Value
16224 ],
16225 },
16226 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16227 &quot;numberValue&quot;: 3.14, # Represents a double value.
16228 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16229 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16230 },
16231 },
16232 ],
16233 },
16234 },
16235 &quot;googleMapsResult&quot;: { # Google Maps result content.
16236 &quot;result&quot;: [ # Required. The results of the Google Maps.
16237 { # The result of the Google Maps.
16238 &quot;places&quot;: [ # The places that were found.
16239 {
16240 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
16241 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
16242 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
16243 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
16244 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
16245 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
16246 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
16247 },
16248 ],
16249 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
16250 },
16251 ],
16252 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
16253 },
16254 ],
16255 },
16256 &quot;googleSearchResult&quot;: { # Google Search result content.
16257 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
16258 &quot;result&quot;: [ # Required. The results of the Google Search.
16259 { # The result of the Google Search.
16260 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
16261 },
16262 ],
16263 },
16264 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
16265 &quot;contentList&quot;: {
16266 &quot;contents&quot;: [
16267 {
16268 &quot;image&quot;: { # An image content block.
16269 &quot;data&quot;: &quot;A String&quot;, # The image content.
16270 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
16271 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
16272 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
16273 },
16274 &quot;text&quot;: { # A text content block.
16275 &quot;annotations&quot;: [ # Citation information for model-generated content.
16276 { # Citation information for model-generated content.
16277 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
16278 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
16279 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
16280 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16281 { # Represents a single field in a struct.
16282 &quot;name&quot;: &quot;A String&quot;,
16283 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16284 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16285 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16286 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16287 # Object with schema name: GenaiVertexV1beta1Value
16288 ],
16289 },
16290 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16291 &quot;numberValue&quot;: 3.14, # Represents a double value.
16292 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16293 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16294 },
16295 },
16296 ],
16297 },
16298 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
16299 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
16300 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
16301 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
16302 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
16303 },
16304 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
16305 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
16306 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
16307 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
16308 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
16309 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
16310 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
16311 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
16312 },
16313 ],
16314 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
16315 },
16316 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
16317 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
16318 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
16319 &quot;url&quot;: &quot;A String&quot;, # The URL.
16320 },
16321 },
16322 ],
16323 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
16324 },
16325 },
16326 ],
16327 },
16328 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
16329 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
16330 &quot;stringResult&quot;: &quot;A String&quot;,
16331 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
16332 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16333 { # Represents a single field in a struct.
16334 &quot;name&quot;: &quot;A String&quot;,
16335 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16336 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16337 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16338 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16339 # Object with schema name: GenaiVertexV1beta1Value
16340 ],
16341 },
16342 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16343 &quot;numberValue&quot;: 3.14, # Represents a double value.
16344 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16345 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16346 },
16347 },
16348 ],
16349 },
16350 },
16351 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
16352 &quot;urlContextResult&quot;: { # URL context result content.
16353 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
16354 &quot;result&quot;: [ # Required. The results of the URL context.
16355 { # The result of the URL context.
16356 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
16357 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
16358 },
16359 ],
16360 },
16361 },
16362 &quot;video&quot;: { # A video content block.
16363 &quot;data&quot;: &quot;A String&quot;, # The video content.
16364 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
16365 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
16366 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
16367 },
16368 },
16369 &quot;index&quot;: 42,
16370 },
16371 &quot;contentStop&quot;: { # The content block stop data, used for content.stop events.
16372 &quot;index&quot;: 42,
16373 },
16374 &quot;errorEvent&quot;: { # The error event data, used for error events.
16375 &quot;error&quot;: { # Error message from an interaction.
16376 &quot;code&quot;: &quot;A String&quot;, # A URI that identifies the error type.
16377 &quot;message&quot;: &quot;A String&quot;, # A human-readable error message.
16378 },
16379 },
16380 &quot;eventId&quot;: &quot;A String&quot;, # The event_id token to be used to resume the interaction stream, from this event.
16381 &quot;interactionCompleteEvent&quot;: { # The interaction data, used for interaction.complete events.
16382 &quot;interaction&quot;: { # Response for InteractionService.CreateInteraction. # Required. The completed interaction with empty outputs to reduce the payload size. Use the preceding ContentDelta events for the actual output.
16383 &quot;agentInteraction&quot;: { # Interaction for generating the completion using agents. # Interaction for generating the completion using agents.
16384 &quot;agent&quot;: &quot;A String&quot;, # The name of the `Agent` used for generating the completion.
16385 &quot;code_mender_config&quot;: { # Configuration for the CodeMender agent.
16386 &quot;find_request&quot;: { # Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. # Parameters for finding vulnerabilities.
16387 &quot;description&quot;: &quot;A String&quot;, # Additional context or custom instructions provided by the user to guide the vulnerability analysis.
16388 &quot;finding_id&quot;: &quot;A String&quot;, # The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent&#x27;s execution-based validation on a single vulnerability.
16389 &quot;source_files&quot;: [ # A list of source files to provide as context for the scan.
16390 { # Content of a single file in the codebase.
16391 &quot;content&quot;: &quot;A String&quot;, # The UTF-8 encoded text content of the file.
16392 &quot;path&quot;: &quot;A String&quot;, # The relative path of the file from the project root.
16393 },
16394 ],
16395 },
16396 &quot;fix_request&quot;: { # Request parameters specific to FIX sessions, used for generating and validating security patches. # Parameters for fixing vulnerabilities.
16397 &quot;description&quot;: &quot;A String&quot;, # Additional context or custom instructions provided by the user to guide the patch generation process.
16398 &quot;finding_id&quot;: &quot;A String&quot;, # The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.
16399 &quot;source_files&quot;: [ # A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.
16400 { # Content of a single file in the codebase.
16401 &quot;content&quot;: &quot;A String&quot;, # The UTF-8 encoded text content of the file.
16402 &quot;path&quot;: &quot;A String&quot;, # The relative path of the file from the project root.
16403 },
16404 ],
16405 },
16406 &quot;model&quot;: &quot;A String&quot;, # The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.
16407 &quot;session_config&quot;: { # The configuration of CodeMender sessions. # Optional session-specific configurations to override default agent behavior.
16408 &quot;max_rounds&quot;: 42, # The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
16409 &quot;pipeline_mode&quot;: &quot;A String&quot;, # The pipeline mode of a CodeMender session. It can only be used for a find session.
16410 &quot;topology&quot;: &quot;A String&quot;, # The cognitive architecture or &quot;thinking&quot; topology used by the agent (e.g. &quot;default&quot;, &quot;deep&quot;).
16411 },
16412 &quot;session_id&quot;: &quot;A String&quot;, # Parameter for grouping multiple interactions that belong to the same CodeMender session.
16413 },
16414 &quot;deepResearchConfig&quot;: { # Configuration for the Deep Research agent.
16415 &quot;collaborativePlanning&quot;: True or False, # Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.
16416 &quot;enableBigqueryTool&quot;: True or False, # Enables bigquery tool for the Deep Research agent.
16417 &quot;thinkingSummaries&quot;: &quot;A String&quot;, # Whether to include thought summaries in the response.
16418 &quot;visualization&quot;: &quot;A String&quot;, # Whether to include visualizations in the response.
16419 },
16420 &quot;dynamicConfig&quot;: { # Configuration for dynamic agents.
16421 &quot;config&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # For agents that are not supported statically in the API definition.
16422 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16423 { # Represents a single field in a struct.
16424 &quot;name&quot;: &quot;A String&quot;,
16425 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16426 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16427 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16428 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16429 # Object with schema name: GenaiVertexV1beta1Value
16430 ],
16431 },
16432 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16433 &quot;numberValue&quot;: 3.14, # Represents a double value.
16434 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16435 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16436 },
16437 },
16438 ],
16439 },
16440 },
16441 },
16442 &quot;content&quot;: { # The content of the response. # The content for the interaction.
16443 &quot;audio&quot;: { # An audio content block.
16444 &quot;channels&quot;: 42, # The number of audio channels.
16445 &quot;data&quot;: &quot;A String&quot;, # The audio content.
16446 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
16447 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
16448 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
16449 },
16450 &quot;document&quot;: { # A document content block.
16451 &quot;data&quot;: &quot;A String&quot;, # The document content.
16452 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
16453 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
16454 },
16455 &quot;image&quot;: { # An image content block.
16456 &quot;data&quot;: &quot;A String&quot;, # The image content.
16457 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
16458 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
16459 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
16460 },
16461 &quot;text&quot;: { # A text content block.
16462 &quot;annotations&quot;: [ # Citation information for model-generated content.
16463 { # Citation information for model-generated content.
16464 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
16465 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
16466 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
16467 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16468 { # Represents a single field in a struct.
16469 &quot;name&quot;: &quot;A String&quot;,
16470 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16471 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16472 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16473 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16474 # Object with schema name: GenaiVertexV1beta1Value
16475 ],
16476 },
16477 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16478 &quot;numberValue&quot;: 3.14, # Represents a double value.
16479 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16480 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16481 },
16482 },
16483 ],
16484 },
16485 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
16486 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
16487 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
16488 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
16489 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
16490 },
16491 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
16492 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
16493 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
16494 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
16495 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
16496 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
16497 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
16498 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
16499 },
16500 ],
16501 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
16502 },
16503 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
16504 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
16505 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
16506 &quot;url&quot;: &quot;A String&quot;, # The URL.
16507 },
16508 },
16509 ],
16510 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
16511 },
16512 &quot;thought&quot;: { # A thought content block.
16513 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
16514 &quot;summary&quot;: [ # A summary of the thought.
16515 {
16516 &quot;image&quot;: { # An image content block.
16517 &quot;data&quot;: &quot;A String&quot;, # The image content.
16518 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
16519 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
16520 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
16521 },
16522 &quot;text&quot;: { # A text content block.
16523 &quot;annotations&quot;: [ # Citation information for model-generated content.
16524 { # Citation information for model-generated content.
16525 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
16526 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
16527 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
16528 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16529 { # Represents a single field in a struct.
16530 &quot;name&quot;: &quot;A String&quot;,
16531 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16532 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16533 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16534 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16535 # Object with schema name: GenaiVertexV1beta1Value
16536 ],
16537 },
16538 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16539 &quot;numberValue&quot;: 3.14, # Represents a double value.
16540 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16541 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16542 },
16543 },
16544 ],
16545 },
16546 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
16547 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
16548 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
16549 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
16550 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
16551 },
16552 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
16553 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
16554 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
16555 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
16556 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
16557 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
16558 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
16559 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
16560 },
16561 ],
16562 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
16563 },
16564 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
16565 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
16566 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
16567 &quot;url&quot;: &quot;A String&quot;, # The URL.
16568 },
16569 },
16570 ],
16571 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
16572 },
16573 },
16574 ],
16575 },
16576 &quot;toolCall&quot;: { # Tool call content.
16577 &quot;codeExecutionCall&quot;: { # Code execution content.
16578 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
16579 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
16580 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
16581 },
16582 },
16583 &quot;fileSearchCall&quot;: { # File Search content.
16584 },
16585 &quot;functionCall&quot;: { # A function tool call content block.
16586 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
16587 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16588 { # Represents a single field in a struct.
16589 &quot;name&quot;: &quot;A String&quot;,
16590 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16591 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16592 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16593 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16594 # Object with schema name: GenaiVertexV1beta1Value
16595 ],
16596 },
16597 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16598 &quot;numberValue&quot;: 3.14, # Represents a double value.
16599 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16600 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16601 },
16602 },
16603 ],
16604 },
16605 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
16606 },
16607 &quot;googleMapsCall&quot;: { # Google Maps content.
16608 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
16609 &quot;queries&quot;: [ # The queries to be executed.
16610 &quot;A String&quot;,
16611 ],
16612 },
16613 },
16614 &quot;googleSearchCall&quot;: { # Google Search content.
16615 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
16616 &quot;queries&quot;: [ # Web search queries for the following-up web search.
16617 &quot;A String&quot;,
16618 ],
16619 },
16620 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
16621 },
16622 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
16623 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
16624 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
16625 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16626 { # Represents a single field in a struct.
16627 &quot;name&quot;: &quot;A String&quot;,
16628 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16629 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16630 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16631 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16632 # Object with schema name: GenaiVertexV1beta1Value
16633 ],
16634 },
16635 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16636 &quot;numberValue&quot;: 3.14, # Represents a double value.
16637 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16638 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16639 },
16640 },
16641 ],
16642 },
16643 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
16644 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
16645 },
16646 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
16647 &quot;urlContextCall&quot;: { # URL context content.
16648 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
16649 &quot;urls&quot;: [ # The URLs to fetch.
16650 &quot;A String&quot;,
16651 ],
16652 },
16653 },
16654 },
16655 &quot;toolResult&quot;: { # Tool result content.
16656 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
16657 &quot;codeExecutionResult&quot;: { # Code execution result content.
16658 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
16659 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
16660 },
16661 &quot;fileSearchResult&quot;: { # File Search result content.
16662 &quot;result&quot;: [ # Optional. The results of the File Search.
16663 { # The result of the File Search.
16664 },
16665 ],
16666 },
16667 &quot;functionResult&quot;: { # A function tool result content block.
16668 &quot;contentList&quot;: {
16669 &quot;contents&quot;: [
16670 {
16671 &quot;image&quot;: { # An image content block.
16672 &quot;data&quot;: &quot;A String&quot;, # The image content.
16673 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
16674 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
16675 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
16676 },
16677 &quot;text&quot;: { # A text content block.
16678 &quot;annotations&quot;: [ # Citation information for model-generated content.
16679 { # Citation information for model-generated content.
16680 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
16681 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
16682 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
16683 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16684 { # Represents a single field in a struct.
16685 &quot;name&quot;: &quot;A String&quot;,
16686 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16687 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16688 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16689 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16690 # Object with schema name: GenaiVertexV1beta1Value
16691 ],
16692 },
16693 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16694 &quot;numberValue&quot;: 3.14, # Represents a double value.
16695 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16696 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16697 },
16698 },
16699 ],
16700 },
16701 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
16702 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
16703 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
16704 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
16705 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
16706 },
16707 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
16708 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
16709 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
16710 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
16711 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
16712 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
16713 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
16714 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
16715 },
16716 ],
16717 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
16718 },
16719 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
16720 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
16721 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
16722 &quot;url&quot;: &quot;A String&quot;, # The URL.
16723 },
16724 },
16725 ],
16726 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
16727 },
16728 },
16729 ],
16730 },
16731 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
16732 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
16733 &quot;stringResult&quot;: &quot;A String&quot;,
16734 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
16735 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16736 { # Represents a single field in a struct.
16737 &quot;name&quot;: &quot;A String&quot;,
16738 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16739 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16740 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16741 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16742 # Object with schema name: GenaiVertexV1beta1Value
16743 ],
16744 },
16745 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16746 &quot;numberValue&quot;: 3.14, # Represents a double value.
16747 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16748 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16749 },
16750 },
16751 ],
16752 },
16753 },
16754 &quot;googleMapsResult&quot;: { # Google Maps result content.
16755 &quot;result&quot;: [ # Required. The results of the Google Maps.
16756 { # The result of the Google Maps.
16757 &quot;places&quot;: [ # The places that were found.
16758 {
16759 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
16760 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
16761 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
16762 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
16763 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
16764 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
16765 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
16766 },
16767 ],
16768 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
16769 },
16770 ],
16771 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
16772 },
16773 ],
16774 },
16775 &quot;googleSearchResult&quot;: { # Google Search result content.
16776 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
16777 &quot;result&quot;: [ # Required. The results of the Google Search.
16778 { # The result of the Google Search.
16779 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
16780 },
16781 ],
16782 },
16783 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
16784 &quot;contentList&quot;: {
16785 &quot;contents&quot;: [
16786 {
16787 &quot;image&quot;: { # An image content block.
16788 &quot;data&quot;: &quot;A String&quot;, # The image content.
16789 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
16790 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
16791 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
16792 },
16793 &quot;text&quot;: { # A text content block.
16794 &quot;annotations&quot;: [ # Citation information for model-generated content.
16795 { # Citation information for model-generated content.
16796 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
16797 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
16798 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
16799 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16800 { # Represents a single field in a struct.
16801 &quot;name&quot;: &quot;A String&quot;,
16802 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16803 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16804 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16805 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16806 # Object with schema name: GenaiVertexV1beta1Value
16807 ],
16808 },
16809 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16810 &quot;numberValue&quot;: 3.14, # Represents a double value.
16811 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16812 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16813 },
16814 },
16815 ],
16816 },
16817 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
16818 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
16819 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
16820 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
16821 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
16822 },
16823 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
16824 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
16825 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
16826 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
16827 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
16828 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
16829 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
16830 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
16831 },
16832 ],
16833 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
16834 },
16835 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
16836 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
16837 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
16838 &quot;url&quot;: &quot;A String&quot;, # The URL.
16839 },
16840 },
16841 ],
16842 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
16843 },
16844 },
16845 ],
16846 },
16847 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
16848 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
16849 &quot;stringResult&quot;: &quot;A String&quot;,
16850 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
16851 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16852 { # Represents a single field in a struct.
16853 &quot;name&quot;: &quot;A String&quot;,
16854 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16855 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16856 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16857 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16858 # Object with schema name: GenaiVertexV1beta1Value
16859 ],
16860 },
16861 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16862 &quot;numberValue&quot;: 3.14, # Represents a double value.
16863 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16864 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16865 },
16866 },
16867 ],
16868 },
16869 },
16870 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
16871 &quot;urlContextResult&quot;: { # URL context result content.
16872 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
16873 &quot;result&quot;: [ # Required. The results of the URL context.
16874 { # The result of the URL context.
16875 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
16876 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
16877 },
16878 ],
16879 },
16880 },
16881 &quot;video&quot;: { # A video content block.
16882 &quot;data&quot;: &quot;A String&quot;, # The video content.
16883 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
16884 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
16885 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
16886 },
16887 },
16888 &quot;contentList&quot;: { # A list of Content. # The inputs for the interaction.
16889 &quot;contents&quot;: [ # The contents of the list.
16890 { # The content of the response.
16891 &quot;audio&quot;: { # An audio content block.
16892 &quot;channels&quot;: 42, # The number of audio channels.
16893 &quot;data&quot;: &quot;A String&quot;, # The audio content.
16894 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
16895 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
16896 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
16897 },
16898 &quot;document&quot;: { # A document content block.
16899 &quot;data&quot;: &quot;A String&quot;, # The document content.
16900 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
16901 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
16902 },
16903 &quot;image&quot;: { # An image content block.
16904 &quot;data&quot;: &quot;A String&quot;, # The image content.
16905 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
16906 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
16907 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
16908 },
16909 &quot;text&quot;: { # A text content block.
16910 &quot;annotations&quot;: [ # Citation information for model-generated content.
16911 { # Citation information for model-generated content.
16912 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
16913 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
16914 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
16915 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16916 { # Represents a single field in a struct.
16917 &quot;name&quot;: &quot;A String&quot;,
16918 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16919 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16920 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16921 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16922 # Object with schema name: GenaiVertexV1beta1Value
16923 ],
16924 },
16925 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16926 &quot;numberValue&quot;: 3.14, # Represents a double value.
16927 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16928 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16929 },
16930 },
16931 ],
16932 },
16933 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
16934 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
16935 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
16936 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
16937 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
16938 },
16939 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
16940 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
16941 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
16942 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
16943 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
16944 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
16945 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
16946 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
16947 },
16948 ],
16949 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
16950 },
16951 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
16952 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
16953 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
16954 &quot;url&quot;: &quot;A String&quot;, # The URL.
16955 },
16956 },
16957 ],
16958 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
16959 },
16960 &quot;thought&quot;: { # A thought content block.
16961 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
16962 &quot;summary&quot;: [ # A summary of the thought.
16963 {
16964 &quot;image&quot;: { # An image content block.
16965 &quot;data&quot;: &quot;A String&quot;, # The image content.
16966 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
16967 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
16968 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
16969 },
16970 &quot;text&quot;: { # A text content block.
16971 &quot;annotations&quot;: [ # Citation information for model-generated content.
16972 { # Citation information for model-generated content.
16973 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
16974 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
16975 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
16976 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
16977 { # Represents a single field in a struct.
16978 &quot;name&quot;: &quot;A String&quot;,
16979 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
16980 &quot;boolValue&quot;: True or False, # Represents a boolean value.
16981 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
16982 &quot;values&quot;: [ # Repeated field of dynamically typed values.
16983 # Object with schema name: GenaiVertexV1beta1Value
16984 ],
16985 },
16986 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
16987 &quot;numberValue&quot;: 3.14, # Represents a double value.
16988 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
16989 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
16990 },
16991 },
16992 ],
16993 },
16994 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
16995 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
16996 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
16997 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
16998 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
16999 },
17000 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
17001 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
17002 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
17003 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
17004 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
17005 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
17006 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
17007 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
17008 },
17009 ],
17010 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
17011 },
17012 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
17013 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
17014 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
17015 &quot;url&quot;: &quot;A String&quot;, # The URL.
17016 },
17017 },
17018 ],
17019 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
17020 },
17021 },
17022 ],
17023 },
17024 &quot;toolCall&quot;: { # Tool call content.
17025 &quot;codeExecutionCall&quot;: { # Code execution content.
17026 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
17027 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
17028 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
17029 },
17030 },
17031 &quot;fileSearchCall&quot;: { # File Search content.
17032 },
17033 &quot;functionCall&quot;: { # A function tool call content block.
17034 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
17035 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17036 { # Represents a single field in a struct.
17037 &quot;name&quot;: &quot;A String&quot;,
17038 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17039 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17040 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17041 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17042 # Object with schema name: GenaiVertexV1beta1Value
17043 ],
17044 },
17045 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17046 &quot;numberValue&quot;: 3.14, # Represents a double value.
17047 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17048 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17049 },
17050 },
17051 ],
17052 },
17053 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
17054 },
17055 &quot;googleMapsCall&quot;: { # Google Maps content.
17056 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
17057 &quot;queries&quot;: [ # The queries to be executed.
17058 &quot;A String&quot;,
17059 ],
17060 },
17061 },
17062 &quot;googleSearchCall&quot;: { # Google Search content.
17063 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
17064 &quot;queries&quot;: [ # Web search queries for the following-up web search.
17065 &quot;A String&quot;,
17066 ],
17067 },
17068 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
17069 },
17070 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
17071 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
17072 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
17073 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17074 { # Represents a single field in a struct.
17075 &quot;name&quot;: &quot;A String&quot;,
17076 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17077 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17078 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17079 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17080 # Object with schema name: GenaiVertexV1beta1Value
17081 ],
17082 },
17083 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17084 &quot;numberValue&quot;: 3.14, # Represents a double value.
17085 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17086 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17087 },
17088 },
17089 ],
17090 },
17091 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
17092 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
17093 },
17094 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
17095 &quot;urlContextCall&quot;: { # URL context content.
17096 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
17097 &quot;urls&quot;: [ # The URLs to fetch.
17098 &quot;A String&quot;,
17099 ],
17100 },
17101 },
17102 },
17103 &quot;toolResult&quot;: { # Tool result content.
17104 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
17105 &quot;codeExecutionResult&quot;: { # Code execution result content.
17106 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
17107 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
17108 },
17109 &quot;fileSearchResult&quot;: { # File Search result content.
17110 &quot;result&quot;: [ # Optional. The results of the File Search.
17111 { # The result of the File Search.
17112 },
17113 ],
17114 },
17115 &quot;functionResult&quot;: { # A function tool result content block.
17116 &quot;contentList&quot;: {
17117 &quot;contents&quot;: [
17118 {
17119 &quot;image&quot;: { # An image content block.
17120 &quot;data&quot;: &quot;A String&quot;, # The image content.
17121 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
17122 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
17123 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
17124 },
17125 &quot;text&quot;: { # A text content block.
17126 &quot;annotations&quot;: [ # Citation information for model-generated content.
17127 { # Citation information for model-generated content.
17128 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
17129 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
17130 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
17131 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17132 { # Represents a single field in a struct.
17133 &quot;name&quot;: &quot;A String&quot;,
17134 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17135 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17136 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17137 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17138 # Object with schema name: GenaiVertexV1beta1Value
17139 ],
17140 },
17141 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17142 &quot;numberValue&quot;: 3.14, # Represents a double value.
17143 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17144 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17145 },
17146 },
17147 ],
17148 },
17149 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
17150 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
17151 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
17152 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
17153 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
17154 },
17155 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
17156 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
17157 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
17158 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
17159 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
17160 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
17161 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
17162 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
17163 },
17164 ],
17165 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
17166 },
17167 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
17168 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
17169 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
17170 &quot;url&quot;: &quot;A String&quot;, # The URL.
17171 },
17172 },
17173 ],
17174 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
17175 },
17176 },
17177 ],
17178 },
17179 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
17180 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
17181 &quot;stringResult&quot;: &quot;A String&quot;,
17182 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
17183 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17184 { # Represents a single field in a struct.
17185 &quot;name&quot;: &quot;A String&quot;,
17186 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17187 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17188 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17189 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17190 # Object with schema name: GenaiVertexV1beta1Value
17191 ],
17192 },
17193 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17194 &quot;numberValue&quot;: 3.14, # Represents a double value.
17195 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17196 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17197 },
17198 },
17199 ],
17200 },
17201 },
17202 &quot;googleMapsResult&quot;: { # Google Maps result content.
17203 &quot;result&quot;: [ # Required. The results of the Google Maps.
17204 { # The result of the Google Maps.
17205 &quot;places&quot;: [ # The places that were found.
17206 {
17207 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
17208 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
17209 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
17210 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
17211 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
17212 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
17213 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
17214 },
17215 ],
17216 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
17217 },
17218 ],
17219 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
17220 },
17221 ],
17222 },
17223 &quot;googleSearchResult&quot;: { # Google Search result content.
17224 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
17225 &quot;result&quot;: [ # Required. The results of the Google Search.
17226 { # The result of the Google Search.
17227 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
17228 },
17229 ],
17230 },
17231 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
17232 &quot;contentList&quot;: {
17233 &quot;contents&quot;: [
17234 {
17235 &quot;image&quot;: { # An image content block.
17236 &quot;data&quot;: &quot;A String&quot;, # The image content.
17237 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
17238 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
17239 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
17240 },
17241 &quot;text&quot;: { # A text content block.
17242 &quot;annotations&quot;: [ # Citation information for model-generated content.
17243 { # Citation information for model-generated content.
17244 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
17245 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
17246 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
17247 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17248 { # Represents a single field in a struct.
17249 &quot;name&quot;: &quot;A String&quot;,
17250 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17251 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17252 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17253 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17254 # Object with schema name: GenaiVertexV1beta1Value
17255 ],
17256 },
17257 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17258 &quot;numberValue&quot;: 3.14, # Represents a double value.
17259 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17260 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17261 },
17262 },
17263 ],
17264 },
17265 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
17266 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
17267 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
17268 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
17269 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
17270 },
17271 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
17272 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
17273 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
17274 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
17275 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
17276 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
17277 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
17278 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
17279 },
17280 ],
17281 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
17282 },
17283 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
17284 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
17285 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
17286 &quot;url&quot;: &quot;A String&quot;, # The URL.
17287 },
17288 },
17289 ],
17290 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
17291 },
17292 },
17293 ],
17294 },
17295 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
17296 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
17297 &quot;stringResult&quot;: &quot;A String&quot;,
17298 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
17299 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17300 { # Represents a single field in a struct.
17301 &quot;name&quot;: &quot;A String&quot;,
17302 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17303 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17304 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17305 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17306 # Object with schema name: GenaiVertexV1beta1Value
17307 ],
17308 },
17309 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17310 &quot;numberValue&quot;: 3.14, # Represents a double value.
17311 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17312 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17313 },
17314 },
17315 ],
17316 },
17317 },
17318 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
17319 &quot;urlContextResult&quot;: { # URL context result content.
17320 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
17321 &quot;result&quot;: [ # Required. The results of the URL context.
17322 { # The result of the URL context.
17323 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
17324 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
17325 },
17326 ],
17327 },
17328 },
17329 &quot;video&quot;: { # A video content block.
17330 &quot;data&quot;: &quot;A String&quot;, # The video content.
17331 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
17332 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
17333 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
17334 },
17335 },
17336 ],
17337 },
17338 &quot;created&quot;: &quot;A String&quot;, # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
17339 &quot;envId&quot;: &quot;A String&quot;, # The environment ID for the interaction. Can be &#x27;remote&#x27; for default environment.
17340 &quot;environmentId&quot;: &quot;A String&quot;, # Output only. The environment ID for the interaction. Only populated if environment config is set in the request.
17341 &quot;id&quot;: &quot;A String&quot;, # Required. Output only. A unique identifier for the interaction completion.
17342 &quot;modelInteraction&quot;: { # Interaction for generating the completion using models. # Interaction for generating the completion using models.
17343 &quot;cached_content&quot;: &quot;A String&quot;, # The name of the cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings. Format: `projects/{project}/locations/{location}/cachedContents/{cachedContent}`
17344 &quot;generationConfig&quot;: { # Configuration parameters for model interactions. # Input only. Configuration parameters for the model interaction.
17345 &quot;frequency_penalty&quot;: 3.14, # Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0].
17346 &quot;imageConfig&quot;: { # The configuration for image interaction. # Configuration for image interaction.
17347 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio of the image to generate. Supported aspect ratios: 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9. If not specified, the model will choose a default aspect ratio based on any reference images provided.
17348 &quot;imageSize&quot;: &quot;A String&quot;, # Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
17349 },
17350 &quot;maxOutputTokens&quot;: 42, # The maximum number of tokens to include in the response.
17351 &quot;presence_penalty&quot;: 3.14, # Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0].
17352 &quot;seed&quot;: 42, # Seed used in decoding for reproducibility.
17353 &quot;speechConfig&quot;: [ # Configuration for speech interaction.
17354 { # The configuration for speech interaction.
17355 &quot;language&quot;: &quot;A String&quot;, # The language of the speech.
17356 &quot;speaker&quot;: &quot;A String&quot;, # The speaker&#x27;s name, it should match the speaker name given in the prompt.
17357 &quot;voice&quot;: &quot;A String&quot;, # The voice of the speaker.
17358 },
17359 ],
17360 &quot;stopSequences&quot;: [ # A list of character sequences that will stop output interaction.
17361 &quot;A String&quot;,
17362 ],
17363 &quot;temperature&quot;: 3.14, # Controls the randomness of the output.
17364 &quot;thinkingLevel&quot;: &quot;A String&quot;, # The level of thought tokens that the model should generate.
17365 &quot;thinkingSummaries&quot;: &quot;A String&quot;, # Whether to include thought summaries in the response.
17366 &quot;toolChoiceConfig&quot;: { # The tool choice configuration containing allowed tools. # The config for the tool choice.
17367 &quot;allowedTools&quot;: { # The configuration for allowed tools. # The allowed tools.
17368 &quot;mode&quot;: &quot;A String&quot;, # The mode of the tool choice.
17369 &quot;tools&quot;: [ # The names of the allowed tools.
17370 &quot;A String&quot;,
17371 ],
17372 },
17373 },
17374 &quot;toolChoiceMode&quot;: &quot;A String&quot;, # The mode of the tool choice.
17375 &quot;topP&quot;: 3.14, # The maximum cumulative probability of tokens to consider when sampling.
17376 },
17377 &quot;model&quot;: &quot;A String&quot;, # The name of the `Model` used for generating the completion.
17378 },
17379 &quot;outputs&quot;: [ # Output only. Responses from the model.
17380 { # The content of the response.
17381 &quot;audio&quot;: { # An audio content block.
17382 &quot;channels&quot;: 42, # The number of audio channels.
17383 &quot;data&quot;: &quot;A String&quot;, # The audio content.
17384 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
17385 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
17386 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
17387 },
17388 &quot;document&quot;: { # A document content block.
17389 &quot;data&quot;: &quot;A String&quot;, # The document content.
17390 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
17391 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
17392 },
17393 &quot;image&quot;: { # An image content block.
17394 &quot;data&quot;: &quot;A String&quot;, # The image content.
17395 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
17396 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
17397 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
17398 },
17399 &quot;text&quot;: { # A text content block.
17400 &quot;annotations&quot;: [ # Citation information for model-generated content.
17401 { # Citation information for model-generated content.
17402 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
17403 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
17404 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
17405 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17406 { # Represents a single field in a struct.
17407 &quot;name&quot;: &quot;A String&quot;,
17408 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17409 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17410 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17411 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17412 # Object with schema name: GenaiVertexV1beta1Value
17413 ],
17414 },
17415 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17416 &quot;numberValue&quot;: 3.14, # Represents a double value.
17417 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17418 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17419 },
17420 },
17421 ],
17422 },
17423 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
17424 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
17425 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
17426 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
17427 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
17428 },
17429 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
17430 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
17431 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
17432 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
17433 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
17434 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
17435 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
17436 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
17437 },
17438 ],
17439 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
17440 },
17441 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
17442 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
17443 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
17444 &quot;url&quot;: &quot;A String&quot;, # The URL.
17445 },
17446 },
17447 ],
17448 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
17449 },
17450 &quot;thought&quot;: { # A thought content block.
17451 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
17452 &quot;summary&quot;: [ # A summary of the thought.
17453 {
17454 &quot;image&quot;: { # An image content block.
17455 &quot;data&quot;: &quot;A String&quot;, # The image content.
17456 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
17457 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
17458 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
17459 },
17460 &quot;text&quot;: { # A text content block.
17461 &quot;annotations&quot;: [ # Citation information for model-generated content.
17462 { # Citation information for model-generated content.
17463 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
17464 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
17465 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
17466 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17467 { # Represents a single field in a struct.
17468 &quot;name&quot;: &quot;A String&quot;,
17469 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17470 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17471 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17472 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17473 # Object with schema name: GenaiVertexV1beta1Value
17474 ],
17475 },
17476 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17477 &quot;numberValue&quot;: 3.14, # Represents a double value.
17478 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17479 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17480 },
17481 },
17482 ],
17483 },
17484 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
17485 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
17486 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
17487 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
17488 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
17489 },
17490 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
17491 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
17492 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
17493 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
17494 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
17495 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
17496 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
17497 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
17498 },
17499 ],
17500 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
17501 },
17502 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
17503 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
17504 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
17505 &quot;url&quot;: &quot;A String&quot;, # The URL.
17506 },
17507 },
17508 ],
17509 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
17510 },
17511 },
17512 ],
17513 },
17514 &quot;toolCall&quot;: { # Tool call content.
17515 &quot;codeExecutionCall&quot;: { # Code execution content.
17516 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
17517 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
17518 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
17519 },
17520 },
17521 &quot;fileSearchCall&quot;: { # File Search content.
17522 },
17523 &quot;functionCall&quot;: { # A function tool call content block.
17524 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
17525 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17526 { # Represents a single field in a struct.
17527 &quot;name&quot;: &quot;A String&quot;,
17528 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17529 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17530 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17531 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17532 # Object with schema name: GenaiVertexV1beta1Value
17533 ],
17534 },
17535 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17536 &quot;numberValue&quot;: 3.14, # Represents a double value.
17537 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17538 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17539 },
17540 },
17541 ],
17542 },
17543 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
17544 },
17545 &quot;googleMapsCall&quot;: { # Google Maps content.
17546 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
17547 &quot;queries&quot;: [ # The queries to be executed.
17548 &quot;A String&quot;,
17549 ],
17550 },
17551 },
17552 &quot;googleSearchCall&quot;: { # Google Search content.
17553 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
17554 &quot;queries&quot;: [ # Web search queries for the following-up web search.
17555 &quot;A String&quot;,
17556 ],
17557 },
17558 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
17559 },
17560 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
17561 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
17562 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
17563 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17564 { # Represents a single field in a struct.
17565 &quot;name&quot;: &quot;A String&quot;,
17566 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17567 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17568 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17569 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17570 # Object with schema name: GenaiVertexV1beta1Value
17571 ],
17572 },
17573 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17574 &quot;numberValue&quot;: 3.14, # Represents a double value.
17575 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17576 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17577 },
17578 },
17579 ],
17580 },
17581 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
17582 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
17583 },
17584 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
17585 &quot;urlContextCall&quot;: { # URL context content.
17586 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
17587 &quot;urls&quot;: [ # The URLs to fetch.
17588 &quot;A String&quot;,
17589 ],
17590 },
17591 },
17592 },
17593 &quot;toolResult&quot;: { # Tool result content.
17594 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
17595 &quot;codeExecutionResult&quot;: { # Code execution result content.
17596 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
17597 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
17598 },
17599 &quot;fileSearchResult&quot;: { # File Search result content.
17600 &quot;result&quot;: [ # Optional. The results of the File Search.
17601 { # The result of the File Search.
17602 },
17603 ],
17604 },
17605 &quot;functionResult&quot;: { # A function tool result content block.
17606 &quot;contentList&quot;: {
17607 &quot;contents&quot;: [
17608 {
17609 &quot;image&quot;: { # An image content block.
17610 &quot;data&quot;: &quot;A String&quot;, # The image content.
17611 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
17612 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
17613 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
17614 },
17615 &quot;text&quot;: { # A text content block.
17616 &quot;annotations&quot;: [ # Citation information for model-generated content.
17617 { # Citation information for model-generated content.
17618 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
17619 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
17620 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
17621 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17622 { # Represents a single field in a struct.
17623 &quot;name&quot;: &quot;A String&quot;,
17624 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17625 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17626 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17627 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17628 # Object with schema name: GenaiVertexV1beta1Value
17629 ],
17630 },
17631 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17632 &quot;numberValue&quot;: 3.14, # Represents a double value.
17633 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17634 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17635 },
17636 },
17637 ],
17638 },
17639 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
17640 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
17641 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
17642 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
17643 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
17644 },
17645 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
17646 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
17647 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
17648 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
17649 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
17650 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
17651 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
17652 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
17653 },
17654 ],
17655 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
17656 },
17657 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
17658 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
17659 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
17660 &quot;url&quot;: &quot;A String&quot;, # The URL.
17661 },
17662 },
17663 ],
17664 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
17665 },
17666 },
17667 ],
17668 },
17669 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
17670 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
17671 &quot;stringResult&quot;: &quot;A String&quot;,
17672 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
17673 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17674 { # Represents a single field in a struct.
17675 &quot;name&quot;: &quot;A String&quot;,
17676 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17677 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17678 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17679 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17680 # Object with schema name: GenaiVertexV1beta1Value
17681 ],
17682 },
17683 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17684 &quot;numberValue&quot;: 3.14, # Represents a double value.
17685 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17686 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17687 },
17688 },
17689 ],
17690 },
17691 },
17692 &quot;googleMapsResult&quot;: { # Google Maps result content.
17693 &quot;result&quot;: [ # Required. The results of the Google Maps.
17694 { # The result of the Google Maps.
17695 &quot;places&quot;: [ # The places that were found.
17696 {
17697 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
17698 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
17699 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
17700 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
17701 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
17702 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
17703 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
17704 },
17705 ],
17706 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
17707 },
17708 ],
17709 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
17710 },
17711 ],
17712 },
17713 &quot;googleSearchResult&quot;: { # Google Search result content.
17714 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
17715 &quot;result&quot;: [ # Required. The results of the Google Search.
17716 { # The result of the Google Search.
17717 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
17718 },
17719 ],
17720 },
17721 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
17722 &quot;contentList&quot;: {
17723 &quot;contents&quot;: [
17724 {
17725 &quot;image&quot;: { # An image content block.
17726 &quot;data&quot;: &quot;A String&quot;, # The image content.
17727 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
17728 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
17729 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
17730 },
17731 &quot;text&quot;: { # A text content block.
17732 &quot;annotations&quot;: [ # Citation information for model-generated content.
17733 { # Citation information for model-generated content.
17734 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
17735 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
17736 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
17737 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17738 { # Represents a single field in a struct.
17739 &quot;name&quot;: &quot;A String&quot;,
17740 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17741 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17742 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17743 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17744 # Object with schema name: GenaiVertexV1beta1Value
17745 ],
17746 },
17747 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17748 &quot;numberValue&quot;: 3.14, # Represents a double value.
17749 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17750 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17751 },
17752 },
17753 ],
17754 },
17755 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
17756 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
17757 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
17758 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
17759 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
17760 },
17761 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
17762 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
17763 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
17764 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
17765 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
17766 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
17767 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
17768 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
17769 },
17770 ],
17771 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
17772 },
17773 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
17774 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
17775 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
17776 &quot;url&quot;: &quot;A String&quot;, # The URL.
17777 },
17778 },
17779 ],
17780 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
17781 },
17782 },
17783 ],
17784 },
17785 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
17786 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
17787 &quot;stringResult&quot;: &quot;A String&quot;,
17788 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
17789 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17790 { # Represents a single field in a struct.
17791 &quot;name&quot;: &quot;A String&quot;,
17792 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17793 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17794 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17795 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17796 # Object with schema name: GenaiVertexV1beta1Value
17797 ],
17798 },
17799 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17800 &quot;numberValue&quot;: 3.14, # Represents a double value.
17801 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17802 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17803 },
17804 },
17805 ],
17806 },
17807 },
17808 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
17809 &quot;urlContextResult&quot;: { # URL context result content.
17810 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
17811 &quot;result&quot;: [ # Required. The results of the URL context.
17812 { # The result of the URL context.
17813 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
17814 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
17815 },
17816 ],
17817 },
17818 },
17819 &quot;video&quot;: { # A video content block.
17820 &quot;data&quot;: &quot;A String&quot;, # The video content.
17821 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
17822 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
17823 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
17824 },
17825 },
17826 ],
17827 &quot;previousInteractionId&quot;: &quot;A String&quot;, # The ID of the previous interaction, if any.
17828 &quot;remoteEnvironment&quot;: { # Configuration for a custom environment.
17829 &quot;networkAllowlist&quot;: { # Network egress configuration for the environment. # Allow only specific domains.
17830 &quot;allowlist&quot;: [ # List of allowed domains and their configurations.
17831 { # A network egress rule that controls which external domains the environment is allowed to reach. Each rule identifies a target domain and, optionally, a set of HTTP headers to inject into every matching outbound request.
17832 &quot;domain&quot;: &quot;A String&quot;, # The domain pattern to match for this rule. Use an exact hostname (e.g., `github.com`), a wildcard prefix (e.g., `*.googleapis.com`), or `*` to match all domains.
17833 &quot;transform&quot;: { # Headers to inject into requests matching this rule. Key: header name (e.g., &quot;Authorization&quot;). Value: header value (e.g., &quot;Bearer your-token&quot;).
17834 &quot;a_key&quot;: &quot;A String&quot;,
17835 },
17836 },
17837 ],
17838 },
17839 &quot;networkMode&quot;: &quot;A String&quot;, # Network egress mode.
17840 &quot;sources&quot;: [
17841 { # A source to be mounted into the environment.
17842 &quot;content&quot;: &quot;A String&quot;, # The inline content if `type` is `INLINE`.
17843 &quot;encoding&quot;: &quot;A String&quot;, # Optional encoding for inline content (e.g. `base64`).
17844 &quot;source&quot;: &quot;A String&quot;, # The source of the environment. For GCS, this is the GCS path. For GitHub, this is the GitHub path.
17845 &quot;target&quot;: &quot;A String&quot;, # Where the source should appear in the environment.
17846 &quot;type&quot;: &quot;A String&quot;,
17847 },
17848 ],
17849 },
17850 &quot;responseFormat&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
17851 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17852 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17853 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17854 # Object with schema name: GenaiVertexV1beta1Value
17855 ],
17856 },
17857 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17858 &quot;numberValue&quot;: 3.14, # Represents a double value.
17859 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17860 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17861 },
17862 &quot;responseFormatList&quot;: {
17863 &quot;responseFormats&quot;: [
17864 {
17865 &quot;audio&quot;: { # Configuration for audio output format.
17866 &quot;bitRate&quot;: 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
17867 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the audio output.
17868 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the audio output.
17869 &quot;sampleRate&quot;: 42, # Sample rate in Hz.
17870 },
17871 &quot;image&quot;: { # Configuration for image output format.
17872 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio for the image output.
17873 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the image output.
17874 &quot;imageSize&quot;: &quot;A String&quot;, # The size of the image output.
17875 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the image output.
17876 },
17877 &quot;structValue&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
17878 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17879 { # Represents a single field in a struct.
17880 &quot;name&quot;: &quot;A String&quot;,
17881 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17882 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17883 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17884 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17885 # Object with schema name: GenaiVertexV1beta1Value
17886 ],
17887 },
17888 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17889 &quot;numberValue&quot;: 3.14, # Represents a double value.
17890 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17891 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17892 },
17893 },
17894 ],
17895 },
17896 &quot;text&quot;: { # Configuration for text output format.
17897 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the text output.
17898 &quot;schema&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
17899 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17900 { # Represents a single field in a struct.
17901 &quot;name&quot;: &quot;A String&quot;,
17902 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17903 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17904 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17905 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17906 # Object with schema name: GenaiVertexV1beta1Value
17907 ],
17908 },
17909 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17910 &quot;numberValue&quot;: 3.14, # Represents a double value.
17911 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17912 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17913 },
17914 },
17915 ],
17916 },
17917 },
17918 },
17919 ],
17920 },
17921 &quot;responseFormatSingleton&quot;: {
17922 &quot;audio&quot;: { # Configuration for audio output format.
17923 &quot;bitRate&quot;: 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
17924 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the audio output.
17925 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the audio output.
17926 &quot;sampleRate&quot;: 42, # Sample rate in Hz.
17927 },
17928 &quot;image&quot;: { # Configuration for image output format.
17929 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio for the image output.
17930 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the image output.
17931 &quot;imageSize&quot;: &quot;A String&quot;, # The size of the image output.
17932 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the image output.
17933 },
17934 &quot;structValue&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
17935 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17936 { # Represents a single field in a struct.
17937 &quot;name&quot;: &quot;A String&quot;,
17938 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17939 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17940 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17941 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17942 # Object with schema name: GenaiVertexV1beta1Value
17943 ],
17944 },
17945 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17946 &quot;numberValue&quot;: 3.14, # Represents a double value.
17947 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17948 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17949 },
17950 },
17951 ],
17952 },
17953 &quot;text&quot;: { # Configuration for text output format.
17954 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the text output.
17955 &quot;schema&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
17956 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
17957 { # Represents a single field in a struct.
17958 &quot;name&quot;: &quot;A String&quot;,
17959 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
17960 &quot;boolValue&quot;: True or False, # Represents a boolean value.
17961 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
17962 &quot;values&quot;: [ # Repeated field of dynamically typed values.
17963 # Object with schema name: GenaiVertexV1beta1Value
17964 ],
17965 },
17966 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
17967 &quot;numberValue&quot;: 3.14, # Represents a double value.
17968 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
17969 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
17970 },
17971 },
17972 ],
17973 },
17974 },
17975 },
17976 &quot;responseMimeType&quot;: &quot;A String&quot;, # The mime type of the response. This is required if response_format is set.
17977 &quot;responseModalities&quot;: [ # The requested modalities of the response (TEXT, IMAGE, AUDIO).
17978 &quot;A String&quot;,
17979 ],
17980 &quot;role&quot;: &quot;A String&quot;, # Output only. The role of the interaction.
17981 &quot;status&quot;: &quot;A String&quot;, # Required. Output only. The status of the interaction.
17982 &quot;stepList&quot;: { # A list of Steps. # Input only. The steps for the interaction.
17983 &quot;steps&quot;: [ # The steps of the list.
17984 { # A step in the interaction.
17985 &quot;modelOutput&quot;: { # Output generated by the model.
17986 &quot;content&quot;: [
17987 { # The content of the response.
17988 &quot;audio&quot;: { # An audio content block.
17989 &quot;channels&quot;: 42, # The number of audio channels.
17990 &quot;data&quot;: &quot;A String&quot;, # The audio content.
17991 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
17992 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
17993 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
17994 },
17995 &quot;document&quot;: { # A document content block.
17996 &quot;data&quot;: &quot;A String&quot;, # The document content.
17997 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
17998 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
17999 },
18000 &quot;image&quot;: { # An image content block.
18001 &quot;data&quot;: &quot;A String&quot;, # The image content.
18002 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
18003 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
18004 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
18005 },
18006 &quot;text&quot;: { # A text content block.
18007 &quot;annotations&quot;: [ # Citation information for model-generated content.
18008 { # Citation information for model-generated content.
18009 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
18010 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
18011 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
18012 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18013 { # Represents a single field in a struct.
18014 &quot;name&quot;: &quot;A String&quot;,
18015 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18016 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18017 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18018 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18019 # Object with schema name: GenaiVertexV1beta1Value
18020 ],
18021 },
18022 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18023 &quot;numberValue&quot;: 3.14, # Represents a double value.
18024 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18025 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18026 },
18027 },
18028 ],
18029 },
18030 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
18031 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
18032 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
18033 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
18034 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
18035 },
18036 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
18037 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
18038 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
18039 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
18040 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
18041 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
18042 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
18043 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
18044 },
18045 ],
18046 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
18047 },
18048 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
18049 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
18050 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
18051 &quot;url&quot;: &quot;A String&quot;, # The URL.
18052 },
18053 },
18054 ],
18055 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
18056 },
18057 &quot;thought&quot;: { # A thought content block.
18058 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
18059 &quot;summary&quot;: [ # A summary of the thought.
18060 {
18061 &quot;image&quot;: { # An image content block.
18062 &quot;data&quot;: &quot;A String&quot;, # The image content.
18063 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
18064 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
18065 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
18066 },
18067 &quot;text&quot;: { # A text content block.
18068 &quot;annotations&quot;: [ # Citation information for model-generated content.
18069 { # Citation information for model-generated content.
18070 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
18071 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
18072 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
18073 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18074 { # Represents a single field in a struct.
18075 &quot;name&quot;: &quot;A String&quot;,
18076 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18077 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18078 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18079 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18080 # Object with schema name: GenaiVertexV1beta1Value
18081 ],
18082 },
18083 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18084 &quot;numberValue&quot;: 3.14, # Represents a double value.
18085 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18086 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18087 },
18088 },
18089 ],
18090 },
18091 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
18092 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
18093 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
18094 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
18095 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
18096 },
18097 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
18098 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
18099 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
18100 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
18101 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
18102 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
18103 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
18104 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
18105 },
18106 ],
18107 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
18108 },
18109 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
18110 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
18111 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
18112 &quot;url&quot;: &quot;A String&quot;, # The URL.
18113 },
18114 },
18115 ],
18116 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
18117 },
18118 },
18119 ],
18120 },
18121 &quot;toolCall&quot;: { # Tool call content.
18122 &quot;codeExecutionCall&quot;: { # Code execution content.
18123 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
18124 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
18125 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
18126 },
18127 },
18128 &quot;fileSearchCall&quot;: { # File Search content.
18129 },
18130 &quot;functionCall&quot;: { # A function tool call content block.
18131 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
18132 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18133 { # Represents a single field in a struct.
18134 &quot;name&quot;: &quot;A String&quot;,
18135 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18136 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18137 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18138 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18139 # Object with schema name: GenaiVertexV1beta1Value
18140 ],
18141 },
18142 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18143 &quot;numberValue&quot;: 3.14, # Represents a double value.
18144 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18145 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18146 },
18147 },
18148 ],
18149 },
18150 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
18151 },
18152 &quot;googleMapsCall&quot;: { # Google Maps content.
18153 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
18154 &quot;queries&quot;: [ # The queries to be executed.
18155 &quot;A String&quot;,
18156 ],
18157 },
18158 },
18159 &quot;googleSearchCall&quot;: { # Google Search content.
18160 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
18161 &quot;queries&quot;: [ # Web search queries for the following-up web search.
18162 &quot;A String&quot;,
18163 ],
18164 },
18165 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
18166 },
18167 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
18168 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
18169 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
18170 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18171 { # Represents a single field in a struct.
18172 &quot;name&quot;: &quot;A String&quot;,
18173 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18174 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18175 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18176 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18177 # Object with schema name: GenaiVertexV1beta1Value
18178 ],
18179 },
18180 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18181 &quot;numberValue&quot;: 3.14, # Represents a double value.
18182 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18183 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18184 },
18185 },
18186 ],
18187 },
18188 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
18189 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
18190 },
18191 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
18192 &quot;urlContextCall&quot;: { # URL context content.
18193 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
18194 &quot;urls&quot;: [ # The URLs to fetch.
18195 &quot;A String&quot;,
18196 ],
18197 },
18198 },
18199 },
18200 &quot;toolResult&quot;: { # Tool result content.
18201 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
18202 &quot;codeExecutionResult&quot;: { # Code execution result content.
18203 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
18204 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
18205 },
18206 &quot;fileSearchResult&quot;: { # File Search result content.
18207 &quot;result&quot;: [ # Optional. The results of the File Search.
18208 { # The result of the File Search.
18209 },
18210 ],
18211 },
18212 &quot;functionResult&quot;: { # A function tool result content block.
18213 &quot;contentList&quot;: {
18214 &quot;contents&quot;: [
18215 {
18216 &quot;image&quot;: { # An image content block.
18217 &quot;data&quot;: &quot;A String&quot;, # The image content.
18218 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
18219 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
18220 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
18221 },
18222 &quot;text&quot;: { # A text content block.
18223 &quot;annotations&quot;: [ # Citation information for model-generated content.
18224 { # Citation information for model-generated content.
18225 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
18226 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
18227 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
18228 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18229 { # Represents a single field in a struct.
18230 &quot;name&quot;: &quot;A String&quot;,
18231 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18232 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18233 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18234 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18235 # Object with schema name: GenaiVertexV1beta1Value
18236 ],
18237 },
18238 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18239 &quot;numberValue&quot;: 3.14, # Represents a double value.
18240 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18241 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18242 },
18243 },
18244 ],
18245 },
18246 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
18247 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
18248 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
18249 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
18250 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
18251 },
18252 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
18253 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
18254 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
18255 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
18256 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
18257 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
18258 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
18259 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
18260 },
18261 ],
18262 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
18263 },
18264 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
18265 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
18266 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
18267 &quot;url&quot;: &quot;A String&quot;, # The URL.
18268 },
18269 },
18270 ],
18271 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
18272 },
18273 },
18274 ],
18275 },
18276 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
18277 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
18278 &quot;stringResult&quot;: &quot;A String&quot;,
18279 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
18280 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18281 { # Represents a single field in a struct.
18282 &quot;name&quot;: &quot;A String&quot;,
18283 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18284 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18285 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18286 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18287 # Object with schema name: GenaiVertexV1beta1Value
18288 ],
18289 },
18290 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18291 &quot;numberValue&quot;: 3.14, # Represents a double value.
18292 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18293 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18294 },
18295 },
18296 ],
18297 },
18298 },
18299 &quot;googleMapsResult&quot;: { # Google Maps result content.
18300 &quot;result&quot;: [ # Required. The results of the Google Maps.
18301 { # The result of the Google Maps.
18302 &quot;places&quot;: [ # The places that were found.
18303 {
18304 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
18305 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
18306 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
18307 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
18308 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
18309 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
18310 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
18311 },
18312 ],
18313 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
18314 },
18315 ],
18316 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
18317 },
18318 ],
18319 },
18320 &quot;googleSearchResult&quot;: { # Google Search result content.
18321 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
18322 &quot;result&quot;: [ # Required. The results of the Google Search.
18323 { # The result of the Google Search.
18324 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
18325 },
18326 ],
18327 },
18328 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
18329 &quot;contentList&quot;: {
18330 &quot;contents&quot;: [
18331 {
18332 &quot;image&quot;: { # An image content block.
18333 &quot;data&quot;: &quot;A String&quot;, # The image content.
18334 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
18335 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
18336 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
18337 },
18338 &quot;text&quot;: { # A text content block.
18339 &quot;annotations&quot;: [ # Citation information for model-generated content.
18340 { # Citation information for model-generated content.
18341 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
18342 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
18343 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
18344 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18345 { # Represents a single field in a struct.
18346 &quot;name&quot;: &quot;A String&quot;,
18347 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18348 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18349 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18350 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18351 # Object with schema name: GenaiVertexV1beta1Value
18352 ],
18353 },
18354 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18355 &quot;numberValue&quot;: 3.14, # Represents a double value.
18356 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18357 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18358 },
18359 },
18360 ],
18361 },
18362 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
18363 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
18364 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
18365 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
18366 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
18367 },
18368 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
18369 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
18370 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
18371 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
18372 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
18373 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
18374 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
18375 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
18376 },
18377 ],
18378 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
18379 },
18380 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
18381 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
18382 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
18383 &quot;url&quot;: &quot;A String&quot;, # The URL.
18384 },
18385 },
18386 ],
18387 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
18388 },
18389 },
18390 ],
18391 },
18392 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
18393 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
18394 &quot;stringResult&quot;: &quot;A String&quot;,
18395 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
18396 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18397 { # Represents a single field in a struct.
18398 &quot;name&quot;: &quot;A String&quot;,
18399 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18400 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18401 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18402 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18403 # Object with schema name: GenaiVertexV1beta1Value
18404 ],
18405 },
18406 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18407 &quot;numberValue&quot;: 3.14, # Represents a double value.
18408 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18409 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18410 },
18411 },
18412 ],
18413 },
18414 },
18415 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
18416 &quot;urlContextResult&quot;: { # URL context result content.
18417 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
18418 &quot;result&quot;: [ # Required. The results of the URL context.
18419 { # The result of the URL context.
18420 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
18421 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
18422 },
18423 ],
18424 },
18425 },
18426 &quot;video&quot;: { # A video content block.
18427 &quot;data&quot;: &quot;A String&quot;, # The video content.
18428 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
18429 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
18430 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
18431 },
18432 },
18433 ],
18434 },
18435 &quot;thought&quot;: { # A thought step.
18436 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
18437 &quot;summary&quot;: [ # A summary of the thought.
18438 { # The content of the response.
18439 &quot;audio&quot;: { # An audio content block.
18440 &quot;channels&quot;: 42, # The number of audio channels.
18441 &quot;data&quot;: &quot;A String&quot;, # The audio content.
18442 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
18443 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
18444 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
18445 },
18446 &quot;document&quot;: { # A document content block.
18447 &quot;data&quot;: &quot;A String&quot;, # The document content.
18448 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
18449 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
18450 },
18451 &quot;image&quot;: { # An image content block.
18452 &quot;data&quot;: &quot;A String&quot;, # The image content.
18453 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
18454 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
18455 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
18456 },
18457 &quot;text&quot;: { # A text content block.
18458 &quot;annotations&quot;: [ # Citation information for model-generated content.
18459 { # Citation information for model-generated content.
18460 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
18461 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
18462 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
18463 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18464 { # Represents a single field in a struct.
18465 &quot;name&quot;: &quot;A String&quot;,
18466 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18467 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18468 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18469 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18470 # Object with schema name: GenaiVertexV1beta1Value
18471 ],
18472 },
18473 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18474 &quot;numberValue&quot;: 3.14, # Represents a double value.
18475 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18476 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18477 },
18478 },
18479 ],
18480 },
18481 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
18482 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
18483 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
18484 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
18485 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
18486 },
18487 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
18488 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
18489 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
18490 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
18491 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
18492 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
18493 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
18494 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
18495 },
18496 ],
18497 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
18498 },
18499 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
18500 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
18501 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
18502 &quot;url&quot;: &quot;A String&quot;, # The URL.
18503 },
18504 },
18505 ],
18506 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
18507 },
18508 &quot;thought&quot;: { # A thought content block.
18509 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
18510 &quot;summary&quot;: [ # A summary of the thought.
18511 {
18512 &quot;image&quot;: { # An image content block.
18513 &quot;data&quot;: &quot;A String&quot;, # The image content.
18514 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
18515 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
18516 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
18517 },
18518 &quot;text&quot;: { # A text content block.
18519 &quot;annotations&quot;: [ # Citation information for model-generated content.
18520 { # Citation information for model-generated content.
18521 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
18522 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
18523 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
18524 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18525 { # Represents a single field in a struct.
18526 &quot;name&quot;: &quot;A String&quot;,
18527 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18528 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18529 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18530 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18531 # Object with schema name: GenaiVertexV1beta1Value
18532 ],
18533 },
18534 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18535 &quot;numberValue&quot;: 3.14, # Represents a double value.
18536 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18537 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18538 },
18539 },
18540 ],
18541 },
18542 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
18543 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
18544 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
18545 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
18546 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
18547 },
18548 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
18549 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
18550 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
18551 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
18552 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
18553 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
18554 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
18555 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
18556 },
18557 ],
18558 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
18559 },
18560 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
18561 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
18562 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
18563 &quot;url&quot;: &quot;A String&quot;, # The URL.
18564 },
18565 },
18566 ],
18567 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
18568 },
18569 },
18570 ],
18571 },
18572 &quot;toolCall&quot;: { # Tool call content.
18573 &quot;codeExecutionCall&quot;: { # Code execution content.
18574 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
18575 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
18576 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
18577 },
18578 },
18579 &quot;fileSearchCall&quot;: { # File Search content.
18580 },
18581 &quot;functionCall&quot;: { # A function tool call content block.
18582 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
18583 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18584 { # Represents a single field in a struct.
18585 &quot;name&quot;: &quot;A String&quot;,
18586 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18587 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18588 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18589 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18590 # Object with schema name: GenaiVertexV1beta1Value
18591 ],
18592 },
18593 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18594 &quot;numberValue&quot;: 3.14, # Represents a double value.
18595 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18596 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18597 },
18598 },
18599 ],
18600 },
18601 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
18602 },
18603 &quot;googleMapsCall&quot;: { # Google Maps content.
18604 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
18605 &quot;queries&quot;: [ # The queries to be executed.
18606 &quot;A String&quot;,
18607 ],
18608 },
18609 },
18610 &quot;googleSearchCall&quot;: { # Google Search content.
18611 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
18612 &quot;queries&quot;: [ # Web search queries for the following-up web search.
18613 &quot;A String&quot;,
18614 ],
18615 },
18616 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
18617 },
18618 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
18619 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
18620 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
18621 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18622 { # Represents a single field in a struct.
18623 &quot;name&quot;: &quot;A String&quot;,
18624 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18625 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18626 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18627 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18628 # Object with schema name: GenaiVertexV1beta1Value
18629 ],
18630 },
18631 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18632 &quot;numberValue&quot;: 3.14, # Represents a double value.
18633 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18634 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18635 },
18636 },
18637 ],
18638 },
18639 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
18640 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
18641 },
18642 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
18643 &quot;urlContextCall&quot;: { # URL context content.
18644 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
18645 &quot;urls&quot;: [ # The URLs to fetch.
18646 &quot;A String&quot;,
18647 ],
18648 },
18649 },
18650 },
18651 &quot;toolResult&quot;: { # Tool result content.
18652 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
18653 &quot;codeExecutionResult&quot;: { # Code execution result content.
18654 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
18655 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
18656 },
18657 &quot;fileSearchResult&quot;: { # File Search result content.
18658 &quot;result&quot;: [ # Optional. The results of the File Search.
18659 { # The result of the File Search.
18660 },
18661 ],
18662 },
18663 &quot;functionResult&quot;: { # A function tool result content block.
18664 &quot;contentList&quot;: {
18665 &quot;contents&quot;: [
18666 {
18667 &quot;image&quot;: { # An image content block.
18668 &quot;data&quot;: &quot;A String&quot;, # The image content.
18669 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
18670 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
18671 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
18672 },
18673 &quot;text&quot;: { # A text content block.
18674 &quot;annotations&quot;: [ # Citation information for model-generated content.
18675 { # Citation information for model-generated content.
18676 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
18677 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
18678 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
18679 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18680 { # Represents a single field in a struct.
18681 &quot;name&quot;: &quot;A String&quot;,
18682 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18683 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18684 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18685 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18686 # Object with schema name: GenaiVertexV1beta1Value
18687 ],
18688 },
18689 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18690 &quot;numberValue&quot;: 3.14, # Represents a double value.
18691 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18692 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18693 },
18694 },
18695 ],
18696 },
18697 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
18698 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
18699 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
18700 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
18701 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
18702 },
18703 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
18704 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
18705 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
18706 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
18707 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
18708 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
18709 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
18710 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
18711 },
18712 ],
18713 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
18714 },
18715 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
18716 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
18717 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
18718 &quot;url&quot;: &quot;A String&quot;, # The URL.
18719 },
18720 },
18721 ],
18722 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
18723 },
18724 },
18725 ],
18726 },
18727 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
18728 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
18729 &quot;stringResult&quot;: &quot;A String&quot;,
18730 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
18731 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18732 { # Represents a single field in a struct.
18733 &quot;name&quot;: &quot;A String&quot;,
18734 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18735 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18736 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18737 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18738 # Object with schema name: GenaiVertexV1beta1Value
18739 ],
18740 },
18741 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18742 &quot;numberValue&quot;: 3.14, # Represents a double value.
18743 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18744 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18745 },
18746 },
18747 ],
18748 },
18749 },
18750 &quot;googleMapsResult&quot;: { # Google Maps result content.
18751 &quot;result&quot;: [ # Required. The results of the Google Maps.
18752 { # The result of the Google Maps.
18753 &quot;places&quot;: [ # The places that were found.
18754 {
18755 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
18756 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
18757 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
18758 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
18759 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
18760 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
18761 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
18762 },
18763 ],
18764 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
18765 },
18766 ],
18767 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
18768 },
18769 ],
18770 },
18771 &quot;googleSearchResult&quot;: { # Google Search result content.
18772 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
18773 &quot;result&quot;: [ # Required. The results of the Google Search.
18774 { # The result of the Google Search.
18775 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
18776 },
18777 ],
18778 },
18779 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
18780 &quot;contentList&quot;: {
18781 &quot;contents&quot;: [
18782 {
18783 &quot;image&quot;: { # An image content block.
18784 &quot;data&quot;: &quot;A String&quot;, # The image content.
18785 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
18786 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
18787 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
18788 },
18789 &quot;text&quot;: { # A text content block.
18790 &quot;annotations&quot;: [ # Citation information for model-generated content.
18791 { # Citation information for model-generated content.
18792 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
18793 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
18794 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
18795 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18796 { # Represents a single field in a struct.
18797 &quot;name&quot;: &quot;A String&quot;,
18798 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18799 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18800 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18801 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18802 # Object with schema name: GenaiVertexV1beta1Value
18803 ],
18804 },
18805 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18806 &quot;numberValue&quot;: 3.14, # Represents a double value.
18807 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18808 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18809 },
18810 },
18811 ],
18812 },
18813 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
18814 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
18815 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
18816 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
18817 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
18818 },
18819 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
18820 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
18821 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
18822 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
18823 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
18824 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
18825 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
18826 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
18827 },
18828 ],
18829 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
18830 },
18831 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
18832 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
18833 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
18834 &quot;url&quot;: &quot;A String&quot;, # The URL.
18835 },
18836 },
18837 ],
18838 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
18839 },
18840 },
18841 ],
18842 },
18843 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
18844 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
18845 &quot;stringResult&quot;: &quot;A String&quot;,
18846 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
18847 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18848 { # Represents a single field in a struct.
18849 &quot;name&quot;: &quot;A String&quot;,
18850 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18851 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18852 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18853 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18854 # Object with schema name: GenaiVertexV1beta1Value
18855 ],
18856 },
18857 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18858 &quot;numberValue&quot;: 3.14, # Represents a double value.
18859 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18860 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18861 },
18862 },
18863 ],
18864 },
18865 },
18866 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
18867 &quot;urlContextResult&quot;: { # URL context result content.
18868 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
18869 &quot;result&quot;: [ # Required. The results of the URL context.
18870 { # The result of the URL context.
18871 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
18872 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
18873 },
18874 ],
18875 },
18876 },
18877 &quot;video&quot;: { # A video content block.
18878 &quot;data&quot;: &quot;A String&quot;, # The video content.
18879 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
18880 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
18881 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
18882 },
18883 },
18884 ],
18885 },
18886 &quot;toolCall&quot;: { # Tool call step.
18887 &quot;codeExecutionCall&quot;: { # Code execution call step.
18888 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
18889 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
18890 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
18891 },
18892 },
18893 &quot;fileSearchCall&quot;: { # File Search call step.
18894 },
18895 &quot;functionCall&quot;: { # A function tool call step.
18896 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
18897 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18898 { # Represents a single field in a struct.
18899 &quot;name&quot;: &quot;A String&quot;,
18900 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18901 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18902 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18903 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18904 # Object with schema name: GenaiVertexV1beta1Value
18905 ],
18906 },
18907 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18908 &quot;numberValue&quot;: 3.14, # Represents a double value.
18909 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18910 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18911 },
18912 },
18913 ],
18914 },
18915 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
18916 },
18917 &quot;googleMapsCall&quot;: { # Google Maps call step.
18918 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
18919 &quot;queries&quot;: [ # The queries to be executed.
18920 &quot;A String&quot;,
18921 ],
18922 },
18923 },
18924 &quot;googleSearchCall&quot;: { # Google Search call step.
18925 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
18926 &quot;queries&quot;: [ # Web search queries for the following-up web search.
18927 &quot;A String&quot;,
18928 ],
18929 },
18930 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
18931 },
18932 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
18933 &quot;mcpServerToolCall&quot;: { # MCPServer tool call step.
18934 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
18935 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
18936 { # Represents a single field in a struct.
18937 &quot;name&quot;: &quot;A String&quot;,
18938 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
18939 &quot;boolValue&quot;: True or False, # Represents a boolean value.
18940 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
18941 &quot;values&quot;: [ # Repeated field of dynamically typed values.
18942 # Object with schema name: GenaiVertexV1beta1Value
18943 ],
18944 },
18945 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
18946 &quot;numberValue&quot;: 3.14, # Represents a double value.
18947 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
18948 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
18949 },
18950 },
18951 ],
18952 },
18953 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
18954 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
18955 },
18956 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
18957 &quot;urlContextCall&quot;: { # URL context call step.
18958 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
18959 &quot;urls&quot;: [ # The URLs to fetch.
18960 &quot;A String&quot;,
18961 ],
18962 },
18963 },
18964 },
18965 &quot;toolResult&quot;: { # Tool result step.
18966 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
18967 &quot;codeExecutionResult&quot;: { # Code execution result step.
18968 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
18969 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
18970 },
18971 &quot;fileSearchResult&quot;: { # File Search result step.
18972 },
18973 &quot;functionResult&quot;: { # Result of a function tool call.
18974 &quot;contentList&quot;: { # A list of Content.
18975 &quot;contents&quot;: [ # The contents of the list.
18976 { # The content of the response.
18977 &quot;audio&quot;: { # An audio content block.
18978 &quot;channels&quot;: 42, # The number of audio channels.
18979 &quot;data&quot;: &quot;A String&quot;, # The audio content.
18980 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
18981 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
18982 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
18983 },
18984 &quot;document&quot;: { # A document content block.
18985 &quot;data&quot;: &quot;A String&quot;, # The document content.
18986 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
18987 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
18988 },
18989 &quot;image&quot;: { # An image content block.
18990 &quot;data&quot;: &quot;A String&quot;, # The image content.
18991 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
18992 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
18993 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
18994 },
18995 &quot;text&quot;: { # A text content block.
18996 &quot;annotations&quot;: [ # Citation information for model-generated content.
18997 { # Citation information for model-generated content.
18998 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
18999 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
19000 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
19001 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19002 { # Represents a single field in a struct.
19003 &quot;name&quot;: &quot;A String&quot;,
19004 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19005 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19006 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19007 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19008 # Object with schema name: GenaiVertexV1beta1Value
19009 ],
19010 },
19011 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19012 &quot;numberValue&quot;: 3.14, # Represents a double value.
19013 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19014 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19015 },
19016 },
19017 ],
19018 },
19019 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
19020 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
19021 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
19022 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
19023 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
19024 },
19025 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
19026 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
19027 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
19028 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
19029 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
19030 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
19031 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
19032 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
19033 },
19034 ],
19035 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
19036 },
19037 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
19038 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
19039 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
19040 &quot;url&quot;: &quot;A String&quot;, # The URL.
19041 },
19042 },
19043 ],
19044 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
19045 },
19046 &quot;thought&quot;: { # A thought content block.
19047 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
19048 &quot;summary&quot;: [ # A summary of the thought.
19049 {
19050 &quot;image&quot;: { # An image content block.
19051 &quot;data&quot;: &quot;A String&quot;, # The image content.
19052 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
19053 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
19054 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
19055 },
19056 &quot;text&quot;: { # A text content block.
19057 &quot;annotations&quot;: [ # Citation information for model-generated content.
19058 { # Citation information for model-generated content.
19059 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
19060 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
19061 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
19062 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19063 { # Represents a single field in a struct.
19064 &quot;name&quot;: &quot;A String&quot;,
19065 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19066 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19067 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19068 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19069 # Object with schema name: GenaiVertexV1beta1Value
19070 ],
19071 },
19072 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19073 &quot;numberValue&quot;: 3.14, # Represents a double value.
19074 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19075 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19076 },
19077 },
19078 ],
19079 },
19080 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
19081 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
19082 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
19083 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
19084 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
19085 },
19086 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
19087 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
19088 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
19089 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
19090 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
19091 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
19092 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
19093 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
19094 },
19095 ],
19096 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
19097 },
19098 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
19099 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
19100 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
19101 &quot;url&quot;: &quot;A String&quot;, # The URL.
19102 },
19103 },
19104 ],
19105 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
19106 },
19107 },
19108 ],
19109 },
19110 &quot;toolCall&quot;: { # Tool call content.
19111 &quot;codeExecutionCall&quot;: { # Code execution content.
19112 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
19113 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
19114 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
19115 },
19116 },
19117 &quot;fileSearchCall&quot;: { # File Search content.
19118 },
19119 &quot;functionCall&quot;: { # A function tool call content block.
19120 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
19121 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19122 { # Represents a single field in a struct.
19123 &quot;name&quot;: &quot;A String&quot;,
19124 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19125 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19126 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19127 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19128 # Object with schema name: GenaiVertexV1beta1Value
19129 ],
19130 },
19131 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19132 &quot;numberValue&quot;: 3.14, # Represents a double value.
19133 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19134 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19135 },
19136 },
19137 ],
19138 },
19139 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
19140 },
19141 &quot;googleMapsCall&quot;: { # Google Maps content.
19142 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
19143 &quot;queries&quot;: [ # The queries to be executed.
19144 &quot;A String&quot;,
19145 ],
19146 },
19147 },
19148 &quot;googleSearchCall&quot;: { # Google Search content.
19149 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
19150 &quot;queries&quot;: [ # Web search queries for the following-up web search.
19151 &quot;A String&quot;,
19152 ],
19153 },
19154 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
19155 },
19156 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
19157 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
19158 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
19159 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19160 { # Represents a single field in a struct.
19161 &quot;name&quot;: &quot;A String&quot;,
19162 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19163 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19164 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19165 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19166 # Object with schema name: GenaiVertexV1beta1Value
19167 ],
19168 },
19169 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19170 &quot;numberValue&quot;: 3.14, # Represents a double value.
19171 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19172 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19173 },
19174 },
19175 ],
19176 },
19177 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
19178 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
19179 },
19180 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
19181 &quot;urlContextCall&quot;: { # URL context content.
19182 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
19183 &quot;urls&quot;: [ # The URLs to fetch.
19184 &quot;A String&quot;,
19185 ],
19186 },
19187 },
19188 },
19189 &quot;toolResult&quot;: { # Tool result content.
19190 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
19191 &quot;codeExecutionResult&quot;: { # Code execution result content.
19192 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
19193 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
19194 },
19195 &quot;fileSearchResult&quot;: { # File Search result content.
19196 &quot;result&quot;: [ # Optional. The results of the File Search.
19197 { # The result of the File Search.
19198 },
19199 ],
19200 },
19201 &quot;functionResult&quot;: { # A function tool result content block.
19202 &quot;contentList&quot;: {
19203 &quot;contents&quot;: [
19204 {
19205 &quot;image&quot;: { # An image content block.
19206 &quot;data&quot;: &quot;A String&quot;, # The image content.
19207 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
19208 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
19209 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
19210 },
19211 &quot;text&quot;: { # A text content block.
19212 &quot;annotations&quot;: [ # Citation information for model-generated content.
19213 { # Citation information for model-generated content.
19214 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
19215 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
19216 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
19217 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19218 { # Represents a single field in a struct.
19219 &quot;name&quot;: &quot;A String&quot;,
19220 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19221 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19222 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19223 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19224 # Object with schema name: GenaiVertexV1beta1Value
19225 ],
19226 },
19227 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19228 &quot;numberValue&quot;: 3.14, # Represents a double value.
19229 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19230 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19231 },
19232 },
19233 ],
19234 },
19235 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
19236 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
19237 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
19238 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
19239 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
19240 },
19241 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
19242 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
19243 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
19244 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
19245 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
19246 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
19247 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
19248 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
19249 },
19250 ],
19251 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
19252 },
19253 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
19254 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
19255 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
19256 &quot;url&quot;: &quot;A String&quot;, # The URL.
19257 },
19258 },
19259 ],
19260 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
19261 },
19262 },
19263 ],
19264 },
19265 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
19266 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
19267 &quot;stringResult&quot;: &quot;A String&quot;,
19268 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
19269 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19270 { # Represents a single field in a struct.
19271 &quot;name&quot;: &quot;A String&quot;,
19272 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19273 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19274 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19275 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19276 # Object with schema name: GenaiVertexV1beta1Value
19277 ],
19278 },
19279 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19280 &quot;numberValue&quot;: 3.14, # Represents a double value.
19281 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19282 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19283 },
19284 },
19285 ],
19286 },
19287 },
19288 &quot;googleMapsResult&quot;: { # Google Maps result content.
19289 &quot;result&quot;: [ # Required. The results of the Google Maps.
19290 { # The result of the Google Maps.
19291 &quot;places&quot;: [ # The places that were found.
19292 {
19293 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
19294 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
19295 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
19296 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
19297 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
19298 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
19299 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
19300 },
19301 ],
19302 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
19303 },
19304 ],
19305 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
19306 },
19307 ],
19308 },
19309 &quot;googleSearchResult&quot;: { # Google Search result content.
19310 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
19311 &quot;result&quot;: [ # Required. The results of the Google Search.
19312 { # The result of the Google Search.
19313 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
19314 },
19315 ],
19316 },
19317 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
19318 &quot;contentList&quot;: {
19319 &quot;contents&quot;: [
19320 {
19321 &quot;image&quot;: { # An image content block.
19322 &quot;data&quot;: &quot;A String&quot;, # The image content.
19323 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
19324 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
19325 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
19326 },
19327 &quot;text&quot;: { # A text content block.
19328 &quot;annotations&quot;: [ # Citation information for model-generated content.
19329 { # Citation information for model-generated content.
19330 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
19331 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
19332 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
19333 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19334 { # Represents a single field in a struct.
19335 &quot;name&quot;: &quot;A String&quot;,
19336 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19337 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19338 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19339 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19340 # Object with schema name: GenaiVertexV1beta1Value
19341 ],
19342 },
19343 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19344 &quot;numberValue&quot;: 3.14, # Represents a double value.
19345 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19346 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19347 },
19348 },
19349 ],
19350 },
19351 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
19352 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
19353 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
19354 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
19355 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
19356 },
19357 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
19358 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
19359 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
19360 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
19361 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
19362 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
19363 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
19364 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
19365 },
19366 ],
19367 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
19368 },
19369 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
19370 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
19371 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
19372 &quot;url&quot;: &quot;A String&quot;, # The URL.
19373 },
19374 },
19375 ],
19376 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
19377 },
19378 },
19379 ],
19380 },
19381 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
19382 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
19383 &quot;stringResult&quot;: &quot;A String&quot;,
19384 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
19385 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19386 { # Represents a single field in a struct.
19387 &quot;name&quot;: &quot;A String&quot;,
19388 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19389 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19390 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19391 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19392 # Object with schema name: GenaiVertexV1beta1Value
19393 ],
19394 },
19395 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19396 &quot;numberValue&quot;: 3.14, # Represents a double value.
19397 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19398 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19399 },
19400 },
19401 ],
19402 },
19403 },
19404 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
19405 &quot;urlContextResult&quot;: { # URL context result content.
19406 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
19407 &quot;result&quot;: [ # Required. The results of the URL context.
19408 { # The result of the URL context.
19409 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
19410 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
19411 },
19412 ],
19413 },
19414 },
19415 &quot;video&quot;: { # A video content block.
19416 &quot;data&quot;: &quot;A String&quot;, # The video content.
19417 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
19418 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
19419 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
19420 },
19421 },
19422 ],
19423 },
19424 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
19425 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
19426 &quot;stringResult&quot;: &quot;A String&quot;,
19427 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
19428 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19429 { # Represents a single field in a struct.
19430 &quot;name&quot;: &quot;A String&quot;,
19431 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19432 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19433 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19434 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19435 # Object with schema name: GenaiVertexV1beta1Value
19436 ],
19437 },
19438 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19439 &quot;numberValue&quot;: 3.14, # Represents a double value.
19440 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19441 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19442 },
19443 },
19444 ],
19445 },
19446 },
19447 &quot;googleMapsResult&quot;: { # Google Maps result step.
19448 &quot;result&quot;: [
19449 { # The result of the Google Maps.
19450 &quot;places&quot;: [
19451 {
19452 &quot;name&quot;: &quot;A String&quot;,
19453 &quot;placeId&quot;: &quot;A String&quot;,
19454 &quot;reviewSnippets&quot;: [
19455 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
19456 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
19457 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
19458 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
19459 },
19460 ],
19461 &quot;url&quot;: &quot;A String&quot;,
19462 },
19463 ],
19464 &quot;widgetContextToken&quot;: &quot;A String&quot;,
19465 },
19466 ],
19467 },
19468 &quot;googleSearchResult&quot;: { # Google Search result step.
19469 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
19470 &quot;result&quot;: [ # Required. The results of the Google Search.
19471 { # The result of the Google Search.
19472 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
19473 },
19474 ],
19475 },
19476 &quot;mcpServerToolResult&quot;: { # MCPServer tool result step.
19477 &quot;contentList&quot;: { # A list of Content.
19478 &quot;contents&quot;: [ # The contents of the list.
19479 { # The content of the response.
19480 &quot;audio&quot;: { # An audio content block.
19481 &quot;channels&quot;: 42, # The number of audio channels.
19482 &quot;data&quot;: &quot;A String&quot;, # The audio content.
19483 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
19484 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
19485 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
19486 },
19487 &quot;document&quot;: { # A document content block.
19488 &quot;data&quot;: &quot;A String&quot;, # The document content.
19489 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
19490 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
19491 },
19492 &quot;image&quot;: { # An image content block.
19493 &quot;data&quot;: &quot;A String&quot;, # The image content.
19494 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
19495 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
19496 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
19497 },
19498 &quot;text&quot;: { # A text content block.
19499 &quot;annotations&quot;: [ # Citation information for model-generated content.
19500 { # Citation information for model-generated content.
19501 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
19502 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
19503 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
19504 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19505 { # Represents a single field in a struct.
19506 &quot;name&quot;: &quot;A String&quot;,
19507 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19508 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19509 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19510 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19511 # Object with schema name: GenaiVertexV1beta1Value
19512 ],
19513 },
19514 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19515 &quot;numberValue&quot;: 3.14, # Represents a double value.
19516 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19517 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19518 },
19519 },
19520 ],
19521 },
19522 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
19523 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
19524 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
19525 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
19526 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
19527 },
19528 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
19529 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
19530 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
19531 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
19532 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
19533 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
19534 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
19535 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
19536 },
19537 ],
19538 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
19539 },
19540 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
19541 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
19542 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
19543 &quot;url&quot;: &quot;A String&quot;, # The URL.
19544 },
19545 },
19546 ],
19547 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
19548 },
19549 &quot;thought&quot;: { # A thought content block.
19550 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
19551 &quot;summary&quot;: [ # A summary of the thought.
19552 {
19553 &quot;image&quot;: { # An image content block.
19554 &quot;data&quot;: &quot;A String&quot;, # The image content.
19555 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
19556 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
19557 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
19558 },
19559 &quot;text&quot;: { # A text content block.
19560 &quot;annotations&quot;: [ # Citation information for model-generated content.
19561 { # Citation information for model-generated content.
19562 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
19563 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
19564 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
19565 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19566 { # Represents a single field in a struct.
19567 &quot;name&quot;: &quot;A String&quot;,
19568 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19569 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19570 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19571 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19572 # Object with schema name: GenaiVertexV1beta1Value
19573 ],
19574 },
19575 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19576 &quot;numberValue&quot;: 3.14, # Represents a double value.
19577 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19578 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19579 },
19580 },
19581 ],
19582 },
19583 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
19584 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
19585 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
19586 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
19587 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
19588 },
19589 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
19590 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
19591 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
19592 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
19593 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
19594 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
19595 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
19596 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
19597 },
19598 ],
19599 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
19600 },
19601 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
19602 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
19603 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
19604 &quot;url&quot;: &quot;A String&quot;, # The URL.
19605 },
19606 },
19607 ],
19608 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
19609 },
19610 },
19611 ],
19612 },
19613 &quot;toolCall&quot;: { # Tool call content.
19614 &quot;codeExecutionCall&quot;: { # Code execution content.
19615 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
19616 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
19617 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
19618 },
19619 },
19620 &quot;fileSearchCall&quot;: { # File Search content.
19621 },
19622 &quot;functionCall&quot;: { # A function tool call content block.
19623 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
19624 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19625 { # Represents a single field in a struct.
19626 &quot;name&quot;: &quot;A String&quot;,
19627 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19628 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19629 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19630 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19631 # Object with schema name: GenaiVertexV1beta1Value
19632 ],
19633 },
19634 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19635 &quot;numberValue&quot;: 3.14, # Represents a double value.
19636 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19637 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19638 },
19639 },
19640 ],
19641 },
19642 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
19643 },
19644 &quot;googleMapsCall&quot;: { # Google Maps content.
19645 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
19646 &quot;queries&quot;: [ # The queries to be executed.
19647 &quot;A String&quot;,
19648 ],
19649 },
19650 },
19651 &quot;googleSearchCall&quot;: { # Google Search content.
19652 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
19653 &quot;queries&quot;: [ # Web search queries for the following-up web search.
19654 &quot;A String&quot;,
19655 ],
19656 },
19657 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
19658 },
19659 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
19660 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
19661 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
19662 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19663 { # Represents a single field in a struct.
19664 &quot;name&quot;: &quot;A String&quot;,
19665 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19666 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19667 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19668 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19669 # Object with schema name: GenaiVertexV1beta1Value
19670 ],
19671 },
19672 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19673 &quot;numberValue&quot;: 3.14, # Represents a double value.
19674 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19675 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19676 },
19677 },
19678 ],
19679 },
19680 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
19681 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
19682 },
19683 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
19684 &quot;urlContextCall&quot;: { # URL context content.
19685 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
19686 &quot;urls&quot;: [ # The URLs to fetch.
19687 &quot;A String&quot;,
19688 ],
19689 },
19690 },
19691 },
19692 &quot;toolResult&quot;: { # Tool result content.
19693 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
19694 &quot;codeExecutionResult&quot;: { # Code execution result content.
19695 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
19696 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
19697 },
19698 &quot;fileSearchResult&quot;: { # File Search result content.
19699 &quot;result&quot;: [ # Optional. The results of the File Search.
19700 { # The result of the File Search.
19701 },
19702 ],
19703 },
19704 &quot;functionResult&quot;: { # A function tool result content block.
19705 &quot;contentList&quot;: {
19706 &quot;contents&quot;: [
19707 {
19708 &quot;image&quot;: { # An image content block.
19709 &quot;data&quot;: &quot;A String&quot;, # The image content.
19710 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
19711 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
19712 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
19713 },
19714 &quot;text&quot;: { # A text content block.
19715 &quot;annotations&quot;: [ # Citation information for model-generated content.
19716 { # Citation information for model-generated content.
19717 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
19718 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
19719 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
19720 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19721 { # Represents a single field in a struct.
19722 &quot;name&quot;: &quot;A String&quot;,
19723 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19724 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19725 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19726 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19727 # Object with schema name: GenaiVertexV1beta1Value
19728 ],
19729 },
19730 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19731 &quot;numberValue&quot;: 3.14, # Represents a double value.
19732 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19733 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19734 },
19735 },
19736 ],
19737 },
19738 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
19739 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
19740 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
19741 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
19742 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
19743 },
19744 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
19745 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
19746 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
19747 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
19748 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
19749 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
19750 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
19751 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
19752 },
19753 ],
19754 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
19755 },
19756 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
19757 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
19758 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
19759 &quot;url&quot;: &quot;A String&quot;, # The URL.
19760 },
19761 },
19762 ],
19763 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
19764 },
19765 },
19766 ],
19767 },
19768 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
19769 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
19770 &quot;stringResult&quot;: &quot;A String&quot;,
19771 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
19772 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19773 { # Represents a single field in a struct.
19774 &quot;name&quot;: &quot;A String&quot;,
19775 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19776 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19777 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19778 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19779 # Object with schema name: GenaiVertexV1beta1Value
19780 ],
19781 },
19782 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19783 &quot;numberValue&quot;: 3.14, # Represents a double value.
19784 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19785 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19786 },
19787 },
19788 ],
19789 },
19790 },
19791 &quot;googleMapsResult&quot;: { # Google Maps result content.
19792 &quot;result&quot;: [ # Required. The results of the Google Maps.
19793 { # The result of the Google Maps.
19794 &quot;places&quot;: [ # The places that were found.
19795 {
19796 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
19797 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
19798 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
19799 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
19800 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
19801 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
19802 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
19803 },
19804 ],
19805 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
19806 },
19807 ],
19808 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
19809 },
19810 ],
19811 },
19812 &quot;googleSearchResult&quot;: { # Google Search result content.
19813 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
19814 &quot;result&quot;: [ # Required. The results of the Google Search.
19815 { # The result of the Google Search.
19816 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
19817 },
19818 ],
19819 },
19820 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
19821 &quot;contentList&quot;: {
19822 &quot;contents&quot;: [
19823 {
19824 &quot;image&quot;: { # An image content block.
19825 &quot;data&quot;: &quot;A String&quot;, # The image content.
19826 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
19827 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
19828 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
19829 },
19830 &quot;text&quot;: { # A text content block.
19831 &quot;annotations&quot;: [ # Citation information for model-generated content.
19832 { # Citation information for model-generated content.
19833 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
19834 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
19835 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
19836 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19837 { # Represents a single field in a struct.
19838 &quot;name&quot;: &quot;A String&quot;,
19839 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19840 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19841 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19842 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19843 # Object with schema name: GenaiVertexV1beta1Value
19844 ],
19845 },
19846 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19847 &quot;numberValue&quot;: 3.14, # Represents a double value.
19848 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19849 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19850 },
19851 },
19852 ],
19853 },
19854 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
19855 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
19856 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
19857 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
19858 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
19859 },
19860 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
19861 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
19862 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
19863 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
19864 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
19865 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
19866 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
19867 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
19868 },
19869 ],
19870 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
19871 },
19872 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
19873 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
19874 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
19875 &quot;url&quot;: &quot;A String&quot;, # The URL.
19876 },
19877 },
19878 ],
19879 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
19880 },
19881 },
19882 ],
19883 },
19884 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
19885 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
19886 &quot;stringResult&quot;: &quot;A String&quot;,
19887 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
19888 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19889 { # Represents a single field in a struct.
19890 &quot;name&quot;: &quot;A String&quot;,
19891 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19892 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19893 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19894 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19895 # Object with schema name: GenaiVertexV1beta1Value
19896 ],
19897 },
19898 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19899 &quot;numberValue&quot;: 3.14, # Represents a double value.
19900 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19901 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19902 },
19903 },
19904 ],
19905 },
19906 },
19907 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
19908 &quot;urlContextResult&quot;: { # URL context result content.
19909 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
19910 &quot;result&quot;: [ # Required. The results of the URL context.
19911 { # The result of the URL context.
19912 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
19913 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
19914 },
19915 ],
19916 },
19917 },
19918 &quot;video&quot;: { # A video content block.
19919 &quot;data&quot;: &quot;A String&quot;, # The video content.
19920 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
19921 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
19922 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
19923 },
19924 },
19925 ],
19926 },
19927 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
19928 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
19929 &quot;stringResult&quot;: &quot;A String&quot;,
19930 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
19931 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19932 { # Represents a single field in a struct.
19933 &quot;name&quot;: &quot;A String&quot;,
19934 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19935 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19936 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19937 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19938 # Object with schema name: GenaiVertexV1beta1Value
19939 ],
19940 },
19941 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
19942 &quot;numberValue&quot;: 3.14, # Represents a double value.
19943 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
19944 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
19945 },
19946 },
19947 ],
19948 },
19949 },
19950 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
19951 &quot;urlContextResult&quot;: { # URL context result step.
19952 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
19953 &quot;result&quot;: [ # Required. The results of the URL context.
19954 { # The result of the URL context.
19955 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
19956 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
19957 },
19958 ],
19959 },
19960 },
19961 &quot;userInput&quot;: { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
19962 &quot;contentList&quot;: { # A list of Content. # The content of the step. An array of Content objects.
19963 &quot;contents&quot;: [ # The contents of the list.
19964 { # The content of the response.
19965 &quot;audio&quot;: { # An audio content block.
19966 &quot;channels&quot;: 42, # The number of audio channels.
19967 &quot;data&quot;: &quot;A String&quot;, # The audio content.
19968 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
19969 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
19970 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
19971 },
19972 &quot;document&quot;: { # A document content block.
19973 &quot;data&quot;: &quot;A String&quot;, # The document content.
19974 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
19975 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
19976 },
19977 &quot;image&quot;: { # An image content block.
19978 &quot;data&quot;: &quot;A String&quot;, # The image content.
19979 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
19980 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
19981 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
19982 },
19983 &quot;text&quot;: { # A text content block.
19984 &quot;annotations&quot;: [ # Citation information for model-generated content.
19985 { # Citation information for model-generated content.
19986 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
19987 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
19988 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
19989 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
19990 { # Represents a single field in a struct.
19991 &quot;name&quot;: &quot;A String&quot;,
19992 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
19993 &quot;boolValue&quot;: True or False, # Represents a boolean value.
19994 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
19995 &quot;values&quot;: [ # Repeated field of dynamically typed values.
19996 # Object with schema name: GenaiVertexV1beta1Value
19997 ],
19998 },
19999 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20000 &quot;numberValue&quot;: 3.14, # Represents a double value.
20001 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20002 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20003 },
20004 },
20005 ],
20006 },
20007 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
20008 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
20009 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
20010 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
20011 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
20012 },
20013 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
20014 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
20015 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
20016 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
20017 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
20018 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
20019 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
20020 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
20021 },
20022 ],
20023 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
20024 },
20025 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
20026 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
20027 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
20028 &quot;url&quot;: &quot;A String&quot;, # The URL.
20029 },
20030 },
20031 ],
20032 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
20033 },
20034 &quot;thought&quot;: { # A thought content block.
20035 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
20036 &quot;summary&quot;: [ # A summary of the thought.
20037 {
20038 &quot;image&quot;: { # An image content block.
20039 &quot;data&quot;: &quot;A String&quot;, # The image content.
20040 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
20041 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
20042 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
20043 },
20044 &quot;text&quot;: { # A text content block.
20045 &quot;annotations&quot;: [ # Citation information for model-generated content.
20046 { # Citation information for model-generated content.
20047 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
20048 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
20049 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
20050 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20051 { # Represents a single field in a struct.
20052 &quot;name&quot;: &quot;A String&quot;,
20053 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20054 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20055 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20056 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20057 # Object with schema name: GenaiVertexV1beta1Value
20058 ],
20059 },
20060 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20061 &quot;numberValue&quot;: 3.14, # Represents a double value.
20062 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20063 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20064 },
20065 },
20066 ],
20067 },
20068 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
20069 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
20070 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
20071 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
20072 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
20073 },
20074 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
20075 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
20076 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
20077 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
20078 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
20079 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
20080 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
20081 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
20082 },
20083 ],
20084 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
20085 },
20086 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
20087 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
20088 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
20089 &quot;url&quot;: &quot;A String&quot;, # The URL.
20090 },
20091 },
20092 ],
20093 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
20094 },
20095 },
20096 ],
20097 },
20098 &quot;toolCall&quot;: { # Tool call content.
20099 &quot;codeExecutionCall&quot;: { # Code execution content.
20100 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
20101 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
20102 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
20103 },
20104 },
20105 &quot;fileSearchCall&quot;: { # File Search content.
20106 },
20107 &quot;functionCall&quot;: { # A function tool call content block.
20108 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
20109 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20110 { # Represents a single field in a struct.
20111 &quot;name&quot;: &quot;A String&quot;,
20112 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20113 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20114 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20115 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20116 # Object with schema name: GenaiVertexV1beta1Value
20117 ],
20118 },
20119 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20120 &quot;numberValue&quot;: 3.14, # Represents a double value.
20121 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20122 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20123 },
20124 },
20125 ],
20126 },
20127 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
20128 },
20129 &quot;googleMapsCall&quot;: { # Google Maps content.
20130 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
20131 &quot;queries&quot;: [ # The queries to be executed.
20132 &quot;A String&quot;,
20133 ],
20134 },
20135 },
20136 &quot;googleSearchCall&quot;: { # Google Search content.
20137 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
20138 &quot;queries&quot;: [ # Web search queries for the following-up web search.
20139 &quot;A String&quot;,
20140 ],
20141 },
20142 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
20143 },
20144 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
20145 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
20146 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
20147 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20148 { # Represents a single field in a struct.
20149 &quot;name&quot;: &quot;A String&quot;,
20150 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20151 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20152 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20153 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20154 # Object with schema name: GenaiVertexV1beta1Value
20155 ],
20156 },
20157 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20158 &quot;numberValue&quot;: 3.14, # Represents a double value.
20159 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20160 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20161 },
20162 },
20163 ],
20164 },
20165 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
20166 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
20167 },
20168 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
20169 &quot;urlContextCall&quot;: { # URL context content.
20170 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
20171 &quot;urls&quot;: [ # The URLs to fetch.
20172 &quot;A String&quot;,
20173 ],
20174 },
20175 },
20176 },
20177 &quot;toolResult&quot;: { # Tool result content.
20178 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
20179 &quot;codeExecutionResult&quot;: { # Code execution result content.
20180 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
20181 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
20182 },
20183 &quot;fileSearchResult&quot;: { # File Search result content.
20184 &quot;result&quot;: [ # Optional. The results of the File Search.
20185 { # The result of the File Search.
20186 },
20187 ],
20188 },
20189 &quot;functionResult&quot;: { # A function tool result content block.
20190 &quot;contentList&quot;: {
20191 &quot;contents&quot;: [
20192 {
20193 &quot;image&quot;: { # An image content block.
20194 &quot;data&quot;: &quot;A String&quot;, # The image content.
20195 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
20196 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
20197 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
20198 },
20199 &quot;text&quot;: { # A text content block.
20200 &quot;annotations&quot;: [ # Citation information for model-generated content.
20201 { # Citation information for model-generated content.
20202 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
20203 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
20204 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
20205 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20206 { # Represents a single field in a struct.
20207 &quot;name&quot;: &quot;A String&quot;,
20208 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20209 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20210 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20211 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20212 # Object with schema name: GenaiVertexV1beta1Value
20213 ],
20214 },
20215 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20216 &quot;numberValue&quot;: 3.14, # Represents a double value.
20217 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20218 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20219 },
20220 },
20221 ],
20222 },
20223 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
20224 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
20225 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
20226 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
20227 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
20228 },
20229 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
20230 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
20231 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
20232 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
20233 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
20234 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
20235 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
20236 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
20237 },
20238 ],
20239 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
20240 },
20241 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
20242 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
20243 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
20244 &quot;url&quot;: &quot;A String&quot;, # The URL.
20245 },
20246 },
20247 ],
20248 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
20249 },
20250 },
20251 ],
20252 },
20253 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
20254 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
20255 &quot;stringResult&quot;: &quot;A String&quot;,
20256 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
20257 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20258 { # Represents a single field in a struct.
20259 &quot;name&quot;: &quot;A String&quot;,
20260 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20261 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20262 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20263 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20264 # Object with schema name: GenaiVertexV1beta1Value
20265 ],
20266 },
20267 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20268 &quot;numberValue&quot;: 3.14, # Represents a double value.
20269 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20270 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20271 },
20272 },
20273 ],
20274 },
20275 },
20276 &quot;googleMapsResult&quot;: { # Google Maps result content.
20277 &quot;result&quot;: [ # Required. The results of the Google Maps.
20278 { # The result of the Google Maps.
20279 &quot;places&quot;: [ # The places that were found.
20280 {
20281 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
20282 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
20283 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
20284 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
20285 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
20286 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
20287 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
20288 },
20289 ],
20290 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
20291 },
20292 ],
20293 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
20294 },
20295 ],
20296 },
20297 &quot;googleSearchResult&quot;: { # Google Search result content.
20298 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
20299 &quot;result&quot;: [ # Required. The results of the Google Search.
20300 { # The result of the Google Search.
20301 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
20302 },
20303 ],
20304 },
20305 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
20306 &quot;contentList&quot;: {
20307 &quot;contents&quot;: [
20308 {
20309 &quot;image&quot;: { # An image content block.
20310 &quot;data&quot;: &quot;A String&quot;, # The image content.
20311 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
20312 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
20313 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
20314 },
20315 &quot;text&quot;: { # A text content block.
20316 &quot;annotations&quot;: [ # Citation information for model-generated content.
20317 { # Citation information for model-generated content.
20318 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
20319 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
20320 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
20321 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20322 { # Represents a single field in a struct.
20323 &quot;name&quot;: &quot;A String&quot;,
20324 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20325 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20326 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20327 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20328 # Object with schema name: GenaiVertexV1beta1Value
20329 ],
20330 },
20331 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20332 &quot;numberValue&quot;: 3.14, # Represents a double value.
20333 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20334 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20335 },
20336 },
20337 ],
20338 },
20339 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
20340 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
20341 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
20342 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
20343 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
20344 },
20345 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
20346 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
20347 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
20348 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
20349 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
20350 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
20351 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
20352 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
20353 },
20354 ],
20355 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
20356 },
20357 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
20358 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
20359 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
20360 &quot;url&quot;: &quot;A String&quot;, # The URL.
20361 },
20362 },
20363 ],
20364 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
20365 },
20366 },
20367 ],
20368 },
20369 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
20370 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
20371 &quot;stringResult&quot;: &quot;A String&quot;,
20372 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
20373 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20374 { # Represents a single field in a struct.
20375 &quot;name&quot;: &quot;A String&quot;,
20376 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20377 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20378 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20379 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20380 # Object with schema name: GenaiVertexV1beta1Value
20381 ],
20382 },
20383 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20384 &quot;numberValue&quot;: 3.14, # Represents a double value.
20385 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20386 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20387 },
20388 },
20389 ],
20390 },
20391 },
20392 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
20393 &quot;urlContextResult&quot;: { # URL context result content.
20394 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
20395 &quot;result&quot;: [ # Required. The results of the URL context.
20396 { # The result of the URL context.
20397 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
20398 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
20399 },
20400 ],
20401 },
20402 },
20403 &quot;video&quot;: { # A video content block.
20404 &quot;data&quot;: &quot;A String&quot;, # The video content.
20405 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
20406 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
20407 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
20408 },
20409 },
20410 ],
20411 },
20412 &quot;contentString&quot;: &quot;A String&quot;, # The content of the step. A single string.
20413 },
20414 },
20415 ],
20416 },
20417 &quot;steps&quot;: [ # Required. Output only. The steps that make up the interaction.
20418 { # A step in the interaction.
20419 &quot;modelOutput&quot;: { # Output generated by the model.
20420 &quot;content&quot;: [
20421 { # The content of the response.
20422 &quot;audio&quot;: { # An audio content block.
20423 &quot;channels&quot;: 42, # The number of audio channels.
20424 &quot;data&quot;: &quot;A String&quot;, # The audio content.
20425 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
20426 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
20427 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
20428 },
20429 &quot;document&quot;: { # A document content block.
20430 &quot;data&quot;: &quot;A String&quot;, # The document content.
20431 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
20432 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
20433 },
20434 &quot;image&quot;: { # An image content block.
20435 &quot;data&quot;: &quot;A String&quot;, # The image content.
20436 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
20437 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
20438 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
20439 },
20440 &quot;text&quot;: { # A text content block.
20441 &quot;annotations&quot;: [ # Citation information for model-generated content.
20442 { # Citation information for model-generated content.
20443 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
20444 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
20445 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
20446 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20447 { # Represents a single field in a struct.
20448 &quot;name&quot;: &quot;A String&quot;,
20449 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20450 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20451 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20452 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20453 # Object with schema name: GenaiVertexV1beta1Value
20454 ],
20455 },
20456 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20457 &quot;numberValue&quot;: 3.14, # Represents a double value.
20458 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20459 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20460 },
20461 },
20462 ],
20463 },
20464 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
20465 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
20466 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
20467 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
20468 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
20469 },
20470 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
20471 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
20472 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
20473 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
20474 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
20475 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
20476 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
20477 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
20478 },
20479 ],
20480 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
20481 },
20482 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
20483 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
20484 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
20485 &quot;url&quot;: &quot;A String&quot;, # The URL.
20486 },
20487 },
20488 ],
20489 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
20490 },
20491 &quot;thought&quot;: { # A thought content block.
20492 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
20493 &quot;summary&quot;: [ # A summary of the thought.
20494 {
20495 &quot;image&quot;: { # An image content block.
20496 &quot;data&quot;: &quot;A String&quot;, # The image content.
20497 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
20498 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
20499 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
20500 },
20501 &quot;text&quot;: { # A text content block.
20502 &quot;annotations&quot;: [ # Citation information for model-generated content.
20503 { # Citation information for model-generated content.
20504 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
20505 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
20506 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
20507 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20508 { # Represents a single field in a struct.
20509 &quot;name&quot;: &quot;A String&quot;,
20510 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20511 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20512 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20513 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20514 # Object with schema name: GenaiVertexV1beta1Value
20515 ],
20516 },
20517 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20518 &quot;numberValue&quot;: 3.14, # Represents a double value.
20519 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20520 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20521 },
20522 },
20523 ],
20524 },
20525 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
20526 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
20527 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
20528 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
20529 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
20530 },
20531 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
20532 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
20533 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
20534 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
20535 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
20536 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
20537 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
20538 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
20539 },
20540 ],
20541 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
20542 },
20543 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
20544 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
20545 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
20546 &quot;url&quot;: &quot;A String&quot;, # The URL.
20547 },
20548 },
20549 ],
20550 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
20551 },
20552 },
20553 ],
20554 },
20555 &quot;toolCall&quot;: { # Tool call content.
20556 &quot;codeExecutionCall&quot;: { # Code execution content.
20557 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
20558 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
20559 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
20560 },
20561 },
20562 &quot;fileSearchCall&quot;: { # File Search content.
20563 },
20564 &quot;functionCall&quot;: { # A function tool call content block.
20565 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
20566 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20567 { # Represents a single field in a struct.
20568 &quot;name&quot;: &quot;A String&quot;,
20569 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20570 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20571 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20572 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20573 # Object with schema name: GenaiVertexV1beta1Value
20574 ],
20575 },
20576 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20577 &quot;numberValue&quot;: 3.14, # Represents a double value.
20578 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20579 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20580 },
20581 },
20582 ],
20583 },
20584 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
20585 },
20586 &quot;googleMapsCall&quot;: { # Google Maps content.
20587 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
20588 &quot;queries&quot;: [ # The queries to be executed.
20589 &quot;A String&quot;,
20590 ],
20591 },
20592 },
20593 &quot;googleSearchCall&quot;: { # Google Search content.
20594 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
20595 &quot;queries&quot;: [ # Web search queries for the following-up web search.
20596 &quot;A String&quot;,
20597 ],
20598 },
20599 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
20600 },
20601 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
20602 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
20603 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
20604 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20605 { # Represents a single field in a struct.
20606 &quot;name&quot;: &quot;A String&quot;,
20607 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20608 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20609 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20610 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20611 # Object with schema name: GenaiVertexV1beta1Value
20612 ],
20613 },
20614 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20615 &quot;numberValue&quot;: 3.14, # Represents a double value.
20616 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20617 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20618 },
20619 },
20620 ],
20621 },
20622 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
20623 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
20624 },
20625 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
20626 &quot;urlContextCall&quot;: { # URL context content.
20627 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
20628 &quot;urls&quot;: [ # The URLs to fetch.
20629 &quot;A String&quot;,
20630 ],
20631 },
20632 },
20633 },
20634 &quot;toolResult&quot;: { # Tool result content.
20635 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
20636 &quot;codeExecutionResult&quot;: { # Code execution result content.
20637 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
20638 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
20639 },
20640 &quot;fileSearchResult&quot;: { # File Search result content.
20641 &quot;result&quot;: [ # Optional. The results of the File Search.
20642 { # The result of the File Search.
20643 },
20644 ],
20645 },
20646 &quot;functionResult&quot;: { # A function tool result content block.
20647 &quot;contentList&quot;: {
20648 &quot;contents&quot;: [
20649 {
20650 &quot;image&quot;: { # An image content block.
20651 &quot;data&quot;: &quot;A String&quot;, # The image content.
20652 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
20653 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
20654 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
20655 },
20656 &quot;text&quot;: { # A text content block.
20657 &quot;annotations&quot;: [ # Citation information for model-generated content.
20658 { # Citation information for model-generated content.
20659 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
20660 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
20661 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
20662 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20663 { # Represents a single field in a struct.
20664 &quot;name&quot;: &quot;A String&quot;,
20665 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20666 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20667 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20668 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20669 # Object with schema name: GenaiVertexV1beta1Value
20670 ],
20671 },
20672 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20673 &quot;numberValue&quot;: 3.14, # Represents a double value.
20674 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20675 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20676 },
20677 },
20678 ],
20679 },
20680 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
20681 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
20682 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
20683 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
20684 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
20685 },
20686 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
20687 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
20688 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
20689 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
20690 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
20691 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
20692 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
20693 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
20694 },
20695 ],
20696 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
20697 },
20698 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
20699 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
20700 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
20701 &quot;url&quot;: &quot;A String&quot;, # The URL.
20702 },
20703 },
20704 ],
20705 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
20706 },
20707 },
20708 ],
20709 },
20710 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
20711 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
20712 &quot;stringResult&quot;: &quot;A String&quot;,
20713 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
20714 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20715 { # Represents a single field in a struct.
20716 &quot;name&quot;: &quot;A String&quot;,
20717 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20718 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20719 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20720 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20721 # Object with schema name: GenaiVertexV1beta1Value
20722 ],
20723 },
20724 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20725 &quot;numberValue&quot;: 3.14, # Represents a double value.
20726 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20727 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20728 },
20729 },
20730 ],
20731 },
20732 },
20733 &quot;googleMapsResult&quot;: { # Google Maps result content.
20734 &quot;result&quot;: [ # Required. The results of the Google Maps.
20735 { # The result of the Google Maps.
20736 &quot;places&quot;: [ # The places that were found.
20737 {
20738 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
20739 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
20740 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
20741 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
20742 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
20743 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
20744 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
20745 },
20746 ],
20747 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
20748 },
20749 ],
20750 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
20751 },
20752 ],
20753 },
20754 &quot;googleSearchResult&quot;: { # Google Search result content.
20755 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
20756 &quot;result&quot;: [ # Required. The results of the Google Search.
20757 { # The result of the Google Search.
20758 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
20759 },
20760 ],
20761 },
20762 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
20763 &quot;contentList&quot;: {
20764 &quot;contents&quot;: [
20765 {
20766 &quot;image&quot;: { # An image content block.
20767 &quot;data&quot;: &quot;A String&quot;, # The image content.
20768 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
20769 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
20770 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
20771 },
20772 &quot;text&quot;: { # A text content block.
20773 &quot;annotations&quot;: [ # Citation information for model-generated content.
20774 { # Citation information for model-generated content.
20775 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
20776 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
20777 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
20778 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20779 { # Represents a single field in a struct.
20780 &quot;name&quot;: &quot;A String&quot;,
20781 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20782 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20783 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20784 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20785 # Object with schema name: GenaiVertexV1beta1Value
20786 ],
20787 },
20788 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20789 &quot;numberValue&quot;: 3.14, # Represents a double value.
20790 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20791 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20792 },
20793 },
20794 ],
20795 },
20796 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
20797 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
20798 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
20799 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
20800 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
20801 },
20802 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
20803 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
20804 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
20805 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
20806 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
20807 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
20808 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
20809 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
20810 },
20811 ],
20812 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
20813 },
20814 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
20815 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
20816 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
20817 &quot;url&quot;: &quot;A String&quot;, # The URL.
20818 },
20819 },
20820 ],
20821 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
20822 },
20823 },
20824 ],
20825 },
20826 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
20827 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
20828 &quot;stringResult&quot;: &quot;A String&quot;,
20829 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
20830 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20831 { # Represents a single field in a struct.
20832 &quot;name&quot;: &quot;A String&quot;,
20833 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20834 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20835 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20836 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20837 # Object with schema name: GenaiVertexV1beta1Value
20838 ],
20839 },
20840 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20841 &quot;numberValue&quot;: 3.14, # Represents a double value.
20842 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20843 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20844 },
20845 },
20846 ],
20847 },
20848 },
20849 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
20850 &quot;urlContextResult&quot;: { # URL context result content.
20851 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
20852 &quot;result&quot;: [ # Required. The results of the URL context.
20853 { # The result of the URL context.
20854 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
20855 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
20856 },
20857 ],
20858 },
20859 },
20860 &quot;video&quot;: { # A video content block.
20861 &quot;data&quot;: &quot;A String&quot;, # The video content.
20862 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
20863 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
20864 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
20865 },
20866 },
20867 ],
20868 },
20869 &quot;thought&quot;: { # A thought step.
20870 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
20871 &quot;summary&quot;: [ # A summary of the thought.
20872 { # The content of the response.
20873 &quot;audio&quot;: { # An audio content block.
20874 &quot;channels&quot;: 42, # The number of audio channels.
20875 &quot;data&quot;: &quot;A String&quot;, # The audio content.
20876 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
20877 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
20878 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
20879 },
20880 &quot;document&quot;: { # A document content block.
20881 &quot;data&quot;: &quot;A String&quot;, # The document content.
20882 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
20883 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
20884 },
20885 &quot;image&quot;: { # An image content block.
20886 &quot;data&quot;: &quot;A String&quot;, # The image content.
20887 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
20888 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
20889 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
20890 },
20891 &quot;text&quot;: { # A text content block.
20892 &quot;annotations&quot;: [ # Citation information for model-generated content.
20893 { # Citation information for model-generated content.
20894 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
20895 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
20896 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
20897 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20898 { # Represents a single field in a struct.
20899 &quot;name&quot;: &quot;A String&quot;,
20900 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20901 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20902 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20903 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20904 # Object with schema name: GenaiVertexV1beta1Value
20905 ],
20906 },
20907 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20908 &quot;numberValue&quot;: 3.14, # Represents a double value.
20909 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20910 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20911 },
20912 },
20913 ],
20914 },
20915 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
20916 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
20917 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
20918 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
20919 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
20920 },
20921 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
20922 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
20923 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
20924 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
20925 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
20926 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
20927 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
20928 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
20929 },
20930 ],
20931 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
20932 },
20933 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
20934 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
20935 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
20936 &quot;url&quot;: &quot;A String&quot;, # The URL.
20937 },
20938 },
20939 ],
20940 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
20941 },
20942 &quot;thought&quot;: { # A thought content block.
20943 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
20944 &quot;summary&quot;: [ # A summary of the thought.
20945 {
20946 &quot;image&quot;: { # An image content block.
20947 &quot;data&quot;: &quot;A String&quot;, # The image content.
20948 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
20949 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
20950 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
20951 },
20952 &quot;text&quot;: { # A text content block.
20953 &quot;annotations&quot;: [ # Citation information for model-generated content.
20954 { # Citation information for model-generated content.
20955 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
20956 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
20957 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
20958 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
20959 { # Represents a single field in a struct.
20960 &quot;name&quot;: &quot;A String&quot;,
20961 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
20962 &quot;boolValue&quot;: True or False, # Represents a boolean value.
20963 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
20964 &quot;values&quot;: [ # Repeated field of dynamically typed values.
20965 # Object with schema name: GenaiVertexV1beta1Value
20966 ],
20967 },
20968 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
20969 &quot;numberValue&quot;: 3.14, # Represents a double value.
20970 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
20971 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
20972 },
20973 },
20974 ],
20975 },
20976 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
20977 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
20978 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
20979 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
20980 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
20981 },
20982 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
20983 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
20984 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
20985 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
20986 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
20987 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
20988 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
20989 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
20990 },
20991 ],
20992 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
20993 },
20994 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
20995 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
20996 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
20997 &quot;url&quot;: &quot;A String&quot;, # The URL.
20998 },
20999 },
21000 ],
21001 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
21002 },
21003 },
21004 ],
21005 },
21006 &quot;toolCall&quot;: { # Tool call content.
21007 &quot;codeExecutionCall&quot;: { # Code execution content.
21008 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
21009 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
21010 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
21011 },
21012 },
21013 &quot;fileSearchCall&quot;: { # File Search content.
21014 },
21015 &quot;functionCall&quot;: { # A function tool call content block.
21016 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
21017 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21018 { # Represents a single field in a struct.
21019 &quot;name&quot;: &quot;A String&quot;,
21020 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21021 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21022 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21023 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21024 # Object with schema name: GenaiVertexV1beta1Value
21025 ],
21026 },
21027 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21028 &quot;numberValue&quot;: 3.14, # Represents a double value.
21029 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21030 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21031 },
21032 },
21033 ],
21034 },
21035 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
21036 },
21037 &quot;googleMapsCall&quot;: { # Google Maps content.
21038 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
21039 &quot;queries&quot;: [ # The queries to be executed.
21040 &quot;A String&quot;,
21041 ],
21042 },
21043 },
21044 &quot;googleSearchCall&quot;: { # Google Search content.
21045 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
21046 &quot;queries&quot;: [ # Web search queries for the following-up web search.
21047 &quot;A String&quot;,
21048 ],
21049 },
21050 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
21051 },
21052 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
21053 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
21054 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
21055 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21056 { # Represents a single field in a struct.
21057 &quot;name&quot;: &quot;A String&quot;,
21058 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21059 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21060 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21061 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21062 # Object with schema name: GenaiVertexV1beta1Value
21063 ],
21064 },
21065 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21066 &quot;numberValue&quot;: 3.14, # Represents a double value.
21067 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21068 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21069 },
21070 },
21071 ],
21072 },
21073 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
21074 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
21075 },
21076 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
21077 &quot;urlContextCall&quot;: { # URL context content.
21078 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
21079 &quot;urls&quot;: [ # The URLs to fetch.
21080 &quot;A String&quot;,
21081 ],
21082 },
21083 },
21084 },
21085 &quot;toolResult&quot;: { # Tool result content.
21086 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
21087 &quot;codeExecutionResult&quot;: { # Code execution result content.
21088 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
21089 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
21090 },
21091 &quot;fileSearchResult&quot;: { # File Search result content.
21092 &quot;result&quot;: [ # Optional. The results of the File Search.
21093 { # The result of the File Search.
21094 },
21095 ],
21096 },
21097 &quot;functionResult&quot;: { # A function tool result content block.
21098 &quot;contentList&quot;: {
21099 &quot;contents&quot;: [
21100 {
21101 &quot;image&quot;: { # An image content block.
21102 &quot;data&quot;: &quot;A String&quot;, # The image content.
21103 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
21104 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
21105 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
21106 },
21107 &quot;text&quot;: { # A text content block.
21108 &quot;annotations&quot;: [ # Citation information for model-generated content.
21109 { # Citation information for model-generated content.
21110 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
21111 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
21112 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
21113 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21114 { # Represents a single field in a struct.
21115 &quot;name&quot;: &quot;A String&quot;,
21116 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21117 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21118 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21119 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21120 # Object with schema name: GenaiVertexV1beta1Value
21121 ],
21122 },
21123 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21124 &quot;numberValue&quot;: 3.14, # Represents a double value.
21125 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21126 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21127 },
21128 },
21129 ],
21130 },
21131 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
21132 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
21133 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
21134 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
21135 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
21136 },
21137 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
21138 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
21139 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
21140 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
21141 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
21142 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
21143 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
21144 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
21145 },
21146 ],
21147 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
21148 },
21149 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
21150 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
21151 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
21152 &quot;url&quot;: &quot;A String&quot;, # The URL.
21153 },
21154 },
21155 ],
21156 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
21157 },
21158 },
21159 ],
21160 },
21161 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
21162 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
21163 &quot;stringResult&quot;: &quot;A String&quot;,
21164 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
21165 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21166 { # Represents a single field in a struct.
21167 &quot;name&quot;: &quot;A String&quot;,
21168 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21169 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21170 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21171 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21172 # Object with schema name: GenaiVertexV1beta1Value
21173 ],
21174 },
21175 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21176 &quot;numberValue&quot;: 3.14, # Represents a double value.
21177 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21178 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21179 },
21180 },
21181 ],
21182 },
21183 },
21184 &quot;googleMapsResult&quot;: { # Google Maps result content.
21185 &quot;result&quot;: [ # Required. The results of the Google Maps.
21186 { # The result of the Google Maps.
21187 &quot;places&quot;: [ # The places that were found.
21188 {
21189 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
21190 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
21191 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
21192 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
21193 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
21194 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
21195 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
21196 },
21197 ],
21198 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
21199 },
21200 ],
21201 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
21202 },
21203 ],
21204 },
21205 &quot;googleSearchResult&quot;: { # Google Search result content.
21206 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
21207 &quot;result&quot;: [ # Required. The results of the Google Search.
21208 { # The result of the Google Search.
21209 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
21210 },
21211 ],
21212 },
21213 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
21214 &quot;contentList&quot;: {
21215 &quot;contents&quot;: [
21216 {
21217 &quot;image&quot;: { # An image content block.
21218 &quot;data&quot;: &quot;A String&quot;, # The image content.
21219 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
21220 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
21221 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
21222 },
21223 &quot;text&quot;: { # A text content block.
21224 &quot;annotations&quot;: [ # Citation information for model-generated content.
21225 { # Citation information for model-generated content.
21226 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
21227 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
21228 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
21229 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21230 { # Represents a single field in a struct.
21231 &quot;name&quot;: &quot;A String&quot;,
21232 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21233 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21234 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21235 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21236 # Object with schema name: GenaiVertexV1beta1Value
21237 ],
21238 },
21239 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21240 &quot;numberValue&quot;: 3.14, # Represents a double value.
21241 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21242 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21243 },
21244 },
21245 ],
21246 },
21247 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
21248 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
21249 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
21250 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
21251 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
21252 },
21253 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
21254 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
21255 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
21256 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
21257 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
21258 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
21259 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
21260 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
21261 },
21262 ],
21263 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
21264 },
21265 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
21266 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
21267 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
21268 &quot;url&quot;: &quot;A String&quot;, # The URL.
21269 },
21270 },
21271 ],
21272 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
21273 },
21274 },
21275 ],
21276 },
21277 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
21278 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
21279 &quot;stringResult&quot;: &quot;A String&quot;,
21280 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
21281 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21282 { # Represents a single field in a struct.
21283 &quot;name&quot;: &quot;A String&quot;,
21284 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21285 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21286 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21287 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21288 # Object with schema name: GenaiVertexV1beta1Value
21289 ],
21290 },
21291 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21292 &quot;numberValue&quot;: 3.14, # Represents a double value.
21293 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21294 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21295 },
21296 },
21297 ],
21298 },
21299 },
21300 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
21301 &quot;urlContextResult&quot;: { # URL context result content.
21302 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
21303 &quot;result&quot;: [ # Required. The results of the URL context.
21304 { # The result of the URL context.
21305 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
21306 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
21307 },
21308 ],
21309 },
21310 },
21311 &quot;video&quot;: { # A video content block.
21312 &quot;data&quot;: &quot;A String&quot;, # The video content.
21313 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
21314 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
21315 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
21316 },
21317 },
21318 ],
21319 },
21320 &quot;toolCall&quot;: { # Tool call step.
21321 &quot;codeExecutionCall&quot;: { # Code execution call step.
21322 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
21323 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
21324 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
21325 },
21326 },
21327 &quot;fileSearchCall&quot;: { # File Search call step.
21328 },
21329 &quot;functionCall&quot;: { # A function tool call step.
21330 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
21331 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21332 { # Represents a single field in a struct.
21333 &quot;name&quot;: &quot;A String&quot;,
21334 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21335 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21336 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21337 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21338 # Object with schema name: GenaiVertexV1beta1Value
21339 ],
21340 },
21341 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21342 &quot;numberValue&quot;: 3.14, # Represents a double value.
21343 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21344 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21345 },
21346 },
21347 ],
21348 },
21349 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
21350 },
21351 &quot;googleMapsCall&quot;: { # Google Maps call step.
21352 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
21353 &quot;queries&quot;: [ # The queries to be executed.
21354 &quot;A String&quot;,
21355 ],
21356 },
21357 },
21358 &quot;googleSearchCall&quot;: { # Google Search call step.
21359 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
21360 &quot;queries&quot;: [ # Web search queries for the following-up web search.
21361 &quot;A String&quot;,
21362 ],
21363 },
21364 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
21365 },
21366 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
21367 &quot;mcpServerToolCall&quot;: { # MCPServer tool call step.
21368 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
21369 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21370 { # Represents a single field in a struct.
21371 &quot;name&quot;: &quot;A String&quot;,
21372 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21373 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21374 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21375 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21376 # Object with schema name: GenaiVertexV1beta1Value
21377 ],
21378 },
21379 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21380 &quot;numberValue&quot;: 3.14, # Represents a double value.
21381 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21382 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21383 },
21384 },
21385 ],
21386 },
21387 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
21388 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
21389 },
21390 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
21391 &quot;urlContextCall&quot;: { # URL context call step.
21392 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
21393 &quot;urls&quot;: [ # The URLs to fetch.
21394 &quot;A String&quot;,
21395 ],
21396 },
21397 },
21398 },
21399 &quot;toolResult&quot;: { # Tool result step.
21400 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
21401 &quot;codeExecutionResult&quot;: { # Code execution result step.
21402 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
21403 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
21404 },
21405 &quot;fileSearchResult&quot;: { # File Search result step.
21406 },
21407 &quot;functionResult&quot;: { # Result of a function tool call.
21408 &quot;contentList&quot;: { # A list of Content.
21409 &quot;contents&quot;: [ # The contents of the list.
21410 { # The content of the response.
21411 &quot;audio&quot;: { # An audio content block.
21412 &quot;channels&quot;: 42, # The number of audio channels.
21413 &quot;data&quot;: &quot;A String&quot;, # The audio content.
21414 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
21415 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
21416 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
21417 },
21418 &quot;document&quot;: { # A document content block.
21419 &quot;data&quot;: &quot;A String&quot;, # The document content.
21420 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
21421 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
21422 },
21423 &quot;image&quot;: { # An image content block.
21424 &quot;data&quot;: &quot;A String&quot;, # The image content.
21425 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
21426 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
21427 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
21428 },
21429 &quot;text&quot;: { # A text content block.
21430 &quot;annotations&quot;: [ # Citation information for model-generated content.
21431 { # Citation information for model-generated content.
21432 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
21433 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
21434 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
21435 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21436 { # Represents a single field in a struct.
21437 &quot;name&quot;: &quot;A String&quot;,
21438 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21439 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21440 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21441 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21442 # Object with schema name: GenaiVertexV1beta1Value
21443 ],
21444 },
21445 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21446 &quot;numberValue&quot;: 3.14, # Represents a double value.
21447 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21448 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21449 },
21450 },
21451 ],
21452 },
21453 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
21454 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
21455 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
21456 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
21457 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
21458 },
21459 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
21460 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
21461 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
21462 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
21463 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
21464 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
21465 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
21466 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
21467 },
21468 ],
21469 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
21470 },
21471 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
21472 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
21473 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
21474 &quot;url&quot;: &quot;A String&quot;, # The URL.
21475 },
21476 },
21477 ],
21478 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
21479 },
21480 &quot;thought&quot;: { # A thought content block.
21481 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
21482 &quot;summary&quot;: [ # A summary of the thought.
21483 {
21484 &quot;image&quot;: { # An image content block.
21485 &quot;data&quot;: &quot;A String&quot;, # The image content.
21486 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
21487 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
21488 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
21489 },
21490 &quot;text&quot;: { # A text content block.
21491 &quot;annotations&quot;: [ # Citation information for model-generated content.
21492 { # Citation information for model-generated content.
21493 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
21494 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
21495 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
21496 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21497 { # Represents a single field in a struct.
21498 &quot;name&quot;: &quot;A String&quot;,
21499 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21500 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21501 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21502 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21503 # Object with schema name: GenaiVertexV1beta1Value
21504 ],
21505 },
21506 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21507 &quot;numberValue&quot;: 3.14, # Represents a double value.
21508 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21509 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21510 },
21511 },
21512 ],
21513 },
21514 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
21515 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
21516 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
21517 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
21518 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
21519 },
21520 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
21521 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
21522 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
21523 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
21524 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
21525 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
21526 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
21527 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
21528 },
21529 ],
21530 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
21531 },
21532 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
21533 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
21534 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
21535 &quot;url&quot;: &quot;A String&quot;, # The URL.
21536 },
21537 },
21538 ],
21539 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
21540 },
21541 },
21542 ],
21543 },
21544 &quot;toolCall&quot;: { # Tool call content.
21545 &quot;codeExecutionCall&quot;: { # Code execution content.
21546 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
21547 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
21548 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
21549 },
21550 },
21551 &quot;fileSearchCall&quot;: { # File Search content.
21552 },
21553 &quot;functionCall&quot;: { # A function tool call content block.
21554 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
21555 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21556 { # Represents a single field in a struct.
21557 &quot;name&quot;: &quot;A String&quot;,
21558 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21559 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21560 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21561 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21562 # Object with schema name: GenaiVertexV1beta1Value
21563 ],
21564 },
21565 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21566 &quot;numberValue&quot;: 3.14, # Represents a double value.
21567 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21568 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21569 },
21570 },
21571 ],
21572 },
21573 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
21574 },
21575 &quot;googleMapsCall&quot;: { # Google Maps content.
21576 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
21577 &quot;queries&quot;: [ # The queries to be executed.
21578 &quot;A String&quot;,
21579 ],
21580 },
21581 },
21582 &quot;googleSearchCall&quot;: { # Google Search content.
21583 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
21584 &quot;queries&quot;: [ # Web search queries for the following-up web search.
21585 &quot;A String&quot;,
21586 ],
21587 },
21588 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
21589 },
21590 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
21591 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
21592 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
21593 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21594 { # Represents a single field in a struct.
21595 &quot;name&quot;: &quot;A String&quot;,
21596 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21597 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21598 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21599 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21600 # Object with schema name: GenaiVertexV1beta1Value
21601 ],
21602 },
21603 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21604 &quot;numberValue&quot;: 3.14, # Represents a double value.
21605 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21606 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21607 },
21608 },
21609 ],
21610 },
21611 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
21612 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
21613 },
21614 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
21615 &quot;urlContextCall&quot;: { # URL context content.
21616 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
21617 &quot;urls&quot;: [ # The URLs to fetch.
21618 &quot;A String&quot;,
21619 ],
21620 },
21621 },
21622 },
21623 &quot;toolResult&quot;: { # Tool result content.
21624 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
21625 &quot;codeExecutionResult&quot;: { # Code execution result content.
21626 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
21627 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
21628 },
21629 &quot;fileSearchResult&quot;: { # File Search result content.
21630 &quot;result&quot;: [ # Optional. The results of the File Search.
21631 { # The result of the File Search.
21632 },
21633 ],
21634 },
21635 &quot;functionResult&quot;: { # A function tool result content block.
21636 &quot;contentList&quot;: {
21637 &quot;contents&quot;: [
21638 {
21639 &quot;image&quot;: { # An image content block.
21640 &quot;data&quot;: &quot;A String&quot;, # The image content.
21641 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
21642 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
21643 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
21644 },
21645 &quot;text&quot;: { # A text content block.
21646 &quot;annotations&quot;: [ # Citation information for model-generated content.
21647 { # Citation information for model-generated content.
21648 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
21649 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
21650 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
21651 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21652 { # Represents a single field in a struct.
21653 &quot;name&quot;: &quot;A String&quot;,
21654 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21655 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21656 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21657 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21658 # Object with schema name: GenaiVertexV1beta1Value
21659 ],
21660 },
21661 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21662 &quot;numberValue&quot;: 3.14, # Represents a double value.
21663 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21664 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21665 },
21666 },
21667 ],
21668 },
21669 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
21670 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
21671 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
21672 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
21673 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
21674 },
21675 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
21676 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
21677 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
21678 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
21679 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
21680 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
21681 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
21682 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
21683 },
21684 ],
21685 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
21686 },
21687 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
21688 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
21689 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
21690 &quot;url&quot;: &quot;A String&quot;, # The URL.
21691 },
21692 },
21693 ],
21694 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
21695 },
21696 },
21697 ],
21698 },
21699 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
21700 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
21701 &quot;stringResult&quot;: &quot;A String&quot;,
21702 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
21703 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21704 { # Represents a single field in a struct.
21705 &quot;name&quot;: &quot;A String&quot;,
21706 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21707 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21708 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21709 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21710 # Object with schema name: GenaiVertexV1beta1Value
21711 ],
21712 },
21713 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21714 &quot;numberValue&quot;: 3.14, # Represents a double value.
21715 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21716 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21717 },
21718 },
21719 ],
21720 },
21721 },
21722 &quot;googleMapsResult&quot;: { # Google Maps result content.
21723 &quot;result&quot;: [ # Required. The results of the Google Maps.
21724 { # The result of the Google Maps.
21725 &quot;places&quot;: [ # The places that were found.
21726 {
21727 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
21728 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
21729 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
21730 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
21731 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
21732 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
21733 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
21734 },
21735 ],
21736 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
21737 },
21738 ],
21739 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
21740 },
21741 ],
21742 },
21743 &quot;googleSearchResult&quot;: { # Google Search result content.
21744 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
21745 &quot;result&quot;: [ # Required. The results of the Google Search.
21746 { # The result of the Google Search.
21747 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
21748 },
21749 ],
21750 },
21751 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
21752 &quot;contentList&quot;: {
21753 &quot;contents&quot;: [
21754 {
21755 &quot;image&quot;: { # An image content block.
21756 &quot;data&quot;: &quot;A String&quot;, # The image content.
21757 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
21758 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
21759 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
21760 },
21761 &quot;text&quot;: { # A text content block.
21762 &quot;annotations&quot;: [ # Citation information for model-generated content.
21763 { # Citation information for model-generated content.
21764 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
21765 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
21766 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
21767 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21768 { # Represents a single field in a struct.
21769 &quot;name&quot;: &quot;A String&quot;,
21770 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21771 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21772 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21773 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21774 # Object with schema name: GenaiVertexV1beta1Value
21775 ],
21776 },
21777 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21778 &quot;numberValue&quot;: 3.14, # Represents a double value.
21779 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21780 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21781 },
21782 },
21783 ],
21784 },
21785 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
21786 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
21787 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
21788 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
21789 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
21790 },
21791 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
21792 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
21793 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
21794 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
21795 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
21796 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
21797 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
21798 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
21799 },
21800 ],
21801 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
21802 },
21803 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
21804 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
21805 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
21806 &quot;url&quot;: &quot;A String&quot;, # The URL.
21807 },
21808 },
21809 ],
21810 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
21811 },
21812 },
21813 ],
21814 },
21815 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
21816 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
21817 &quot;stringResult&quot;: &quot;A String&quot;,
21818 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
21819 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21820 { # Represents a single field in a struct.
21821 &quot;name&quot;: &quot;A String&quot;,
21822 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21823 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21824 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21825 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21826 # Object with schema name: GenaiVertexV1beta1Value
21827 ],
21828 },
21829 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21830 &quot;numberValue&quot;: 3.14, # Represents a double value.
21831 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21832 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21833 },
21834 },
21835 ],
21836 },
21837 },
21838 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
21839 &quot;urlContextResult&quot;: { # URL context result content.
21840 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
21841 &quot;result&quot;: [ # Required. The results of the URL context.
21842 { # The result of the URL context.
21843 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
21844 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
21845 },
21846 ],
21847 },
21848 },
21849 &quot;video&quot;: { # A video content block.
21850 &quot;data&quot;: &quot;A String&quot;, # The video content.
21851 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
21852 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
21853 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
21854 },
21855 },
21856 ],
21857 },
21858 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
21859 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
21860 &quot;stringResult&quot;: &quot;A String&quot;,
21861 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
21862 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21863 { # Represents a single field in a struct.
21864 &quot;name&quot;: &quot;A String&quot;,
21865 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21866 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21867 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21868 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21869 # Object with schema name: GenaiVertexV1beta1Value
21870 ],
21871 },
21872 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21873 &quot;numberValue&quot;: 3.14, # Represents a double value.
21874 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21875 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21876 },
21877 },
21878 ],
21879 },
21880 },
21881 &quot;googleMapsResult&quot;: { # Google Maps result step.
21882 &quot;result&quot;: [
21883 { # The result of the Google Maps.
21884 &quot;places&quot;: [
21885 {
21886 &quot;name&quot;: &quot;A String&quot;,
21887 &quot;placeId&quot;: &quot;A String&quot;,
21888 &quot;reviewSnippets&quot;: [
21889 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
21890 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
21891 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
21892 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
21893 },
21894 ],
21895 &quot;url&quot;: &quot;A String&quot;,
21896 },
21897 ],
21898 &quot;widgetContextToken&quot;: &quot;A String&quot;,
21899 },
21900 ],
21901 },
21902 &quot;googleSearchResult&quot;: { # Google Search result step.
21903 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
21904 &quot;result&quot;: [ # Required. The results of the Google Search.
21905 { # The result of the Google Search.
21906 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
21907 },
21908 ],
21909 },
21910 &quot;mcpServerToolResult&quot;: { # MCPServer tool result step.
21911 &quot;contentList&quot;: { # A list of Content.
21912 &quot;contents&quot;: [ # The contents of the list.
21913 { # The content of the response.
21914 &quot;audio&quot;: { # An audio content block.
21915 &quot;channels&quot;: 42, # The number of audio channels.
21916 &quot;data&quot;: &quot;A String&quot;, # The audio content.
21917 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
21918 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
21919 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
21920 },
21921 &quot;document&quot;: { # A document content block.
21922 &quot;data&quot;: &quot;A String&quot;, # The document content.
21923 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
21924 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
21925 },
21926 &quot;image&quot;: { # An image content block.
21927 &quot;data&quot;: &quot;A String&quot;, # The image content.
21928 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
21929 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
21930 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
21931 },
21932 &quot;text&quot;: { # A text content block.
21933 &quot;annotations&quot;: [ # Citation information for model-generated content.
21934 { # Citation information for model-generated content.
21935 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
21936 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
21937 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
21938 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
21939 { # Represents a single field in a struct.
21940 &quot;name&quot;: &quot;A String&quot;,
21941 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
21942 &quot;boolValue&quot;: True or False, # Represents a boolean value.
21943 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
21944 &quot;values&quot;: [ # Repeated field of dynamically typed values.
21945 # Object with schema name: GenaiVertexV1beta1Value
21946 ],
21947 },
21948 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
21949 &quot;numberValue&quot;: 3.14, # Represents a double value.
21950 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
21951 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
21952 },
21953 },
21954 ],
21955 },
21956 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
21957 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
21958 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
21959 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
21960 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
21961 },
21962 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
21963 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
21964 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
21965 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
21966 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
21967 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
21968 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
21969 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
21970 },
21971 ],
21972 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
21973 },
21974 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
21975 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
21976 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
21977 &quot;url&quot;: &quot;A String&quot;, # The URL.
21978 },
21979 },
21980 ],
21981 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
21982 },
21983 &quot;thought&quot;: { # A thought content block.
21984 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
21985 &quot;summary&quot;: [ # A summary of the thought.
21986 {
21987 &quot;image&quot;: { # An image content block.
21988 &quot;data&quot;: &quot;A String&quot;, # The image content.
21989 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
21990 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
21991 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
21992 },
21993 &quot;text&quot;: { # A text content block.
21994 &quot;annotations&quot;: [ # Citation information for model-generated content.
21995 { # Citation information for model-generated content.
21996 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
21997 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
21998 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
21999 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22000 { # Represents a single field in a struct.
22001 &quot;name&quot;: &quot;A String&quot;,
22002 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22003 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22004 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22005 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22006 # Object with schema name: GenaiVertexV1beta1Value
22007 ],
22008 },
22009 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22010 &quot;numberValue&quot;: 3.14, # Represents a double value.
22011 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22012 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22013 },
22014 },
22015 ],
22016 },
22017 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
22018 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
22019 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
22020 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
22021 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
22022 },
22023 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
22024 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
22025 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
22026 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
22027 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
22028 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
22029 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
22030 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
22031 },
22032 ],
22033 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
22034 },
22035 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
22036 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
22037 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
22038 &quot;url&quot;: &quot;A String&quot;, # The URL.
22039 },
22040 },
22041 ],
22042 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
22043 },
22044 },
22045 ],
22046 },
22047 &quot;toolCall&quot;: { # Tool call content.
22048 &quot;codeExecutionCall&quot;: { # Code execution content.
22049 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
22050 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
22051 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
22052 },
22053 },
22054 &quot;fileSearchCall&quot;: { # File Search content.
22055 },
22056 &quot;functionCall&quot;: { # A function tool call content block.
22057 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
22058 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22059 { # Represents a single field in a struct.
22060 &quot;name&quot;: &quot;A String&quot;,
22061 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22062 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22063 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22064 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22065 # Object with schema name: GenaiVertexV1beta1Value
22066 ],
22067 },
22068 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22069 &quot;numberValue&quot;: 3.14, # Represents a double value.
22070 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22071 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22072 },
22073 },
22074 ],
22075 },
22076 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
22077 },
22078 &quot;googleMapsCall&quot;: { # Google Maps content.
22079 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
22080 &quot;queries&quot;: [ # The queries to be executed.
22081 &quot;A String&quot;,
22082 ],
22083 },
22084 },
22085 &quot;googleSearchCall&quot;: { # Google Search content.
22086 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
22087 &quot;queries&quot;: [ # Web search queries for the following-up web search.
22088 &quot;A String&quot;,
22089 ],
22090 },
22091 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
22092 },
22093 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
22094 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
22095 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
22096 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22097 { # Represents a single field in a struct.
22098 &quot;name&quot;: &quot;A String&quot;,
22099 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22100 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22101 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22102 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22103 # Object with schema name: GenaiVertexV1beta1Value
22104 ],
22105 },
22106 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22107 &quot;numberValue&quot;: 3.14, # Represents a double value.
22108 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22109 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22110 },
22111 },
22112 ],
22113 },
22114 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
22115 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
22116 },
22117 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
22118 &quot;urlContextCall&quot;: { # URL context content.
22119 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
22120 &quot;urls&quot;: [ # The URLs to fetch.
22121 &quot;A String&quot;,
22122 ],
22123 },
22124 },
22125 },
22126 &quot;toolResult&quot;: { # Tool result content.
22127 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
22128 &quot;codeExecutionResult&quot;: { # Code execution result content.
22129 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
22130 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
22131 },
22132 &quot;fileSearchResult&quot;: { # File Search result content.
22133 &quot;result&quot;: [ # Optional. The results of the File Search.
22134 { # The result of the File Search.
22135 },
22136 ],
22137 },
22138 &quot;functionResult&quot;: { # A function tool result content block.
22139 &quot;contentList&quot;: {
22140 &quot;contents&quot;: [
22141 {
22142 &quot;image&quot;: { # An image content block.
22143 &quot;data&quot;: &quot;A String&quot;, # The image content.
22144 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
22145 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
22146 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
22147 },
22148 &quot;text&quot;: { # A text content block.
22149 &quot;annotations&quot;: [ # Citation information for model-generated content.
22150 { # Citation information for model-generated content.
22151 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
22152 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
22153 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
22154 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22155 { # Represents a single field in a struct.
22156 &quot;name&quot;: &quot;A String&quot;,
22157 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22158 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22159 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22160 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22161 # Object with schema name: GenaiVertexV1beta1Value
22162 ],
22163 },
22164 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22165 &quot;numberValue&quot;: 3.14, # Represents a double value.
22166 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22167 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22168 },
22169 },
22170 ],
22171 },
22172 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
22173 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
22174 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
22175 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
22176 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
22177 },
22178 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
22179 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
22180 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
22181 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
22182 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
22183 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
22184 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
22185 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
22186 },
22187 ],
22188 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
22189 },
22190 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
22191 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
22192 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
22193 &quot;url&quot;: &quot;A String&quot;, # The URL.
22194 },
22195 },
22196 ],
22197 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
22198 },
22199 },
22200 ],
22201 },
22202 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
22203 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
22204 &quot;stringResult&quot;: &quot;A String&quot;,
22205 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
22206 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22207 { # Represents a single field in a struct.
22208 &quot;name&quot;: &quot;A String&quot;,
22209 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22210 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22211 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22212 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22213 # Object with schema name: GenaiVertexV1beta1Value
22214 ],
22215 },
22216 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22217 &quot;numberValue&quot;: 3.14, # Represents a double value.
22218 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22219 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22220 },
22221 },
22222 ],
22223 },
22224 },
22225 &quot;googleMapsResult&quot;: { # Google Maps result content.
22226 &quot;result&quot;: [ # Required. The results of the Google Maps.
22227 { # The result of the Google Maps.
22228 &quot;places&quot;: [ # The places that were found.
22229 {
22230 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
22231 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
22232 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
22233 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
22234 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
22235 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
22236 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
22237 },
22238 ],
22239 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
22240 },
22241 ],
22242 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
22243 },
22244 ],
22245 },
22246 &quot;googleSearchResult&quot;: { # Google Search result content.
22247 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
22248 &quot;result&quot;: [ # Required. The results of the Google Search.
22249 { # The result of the Google Search.
22250 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
22251 },
22252 ],
22253 },
22254 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
22255 &quot;contentList&quot;: {
22256 &quot;contents&quot;: [
22257 {
22258 &quot;image&quot;: { # An image content block.
22259 &quot;data&quot;: &quot;A String&quot;, # The image content.
22260 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
22261 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
22262 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
22263 },
22264 &quot;text&quot;: { # A text content block.
22265 &quot;annotations&quot;: [ # Citation information for model-generated content.
22266 { # Citation information for model-generated content.
22267 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
22268 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
22269 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
22270 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22271 { # Represents a single field in a struct.
22272 &quot;name&quot;: &quot;A String&quot;,
22273 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22274 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22275 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22276 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22277 # Object with schema name: GenaiVertexV1beta1Value
22278 ],
22279 },
22280 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22281 &quot;numberValue&quot;: 3.14, # Represents a double value.
22282 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22283 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22284 },
22285 },
22286 ],
22287 },
22288 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
22289 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
22290 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
22291 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
22292 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
22293 },
22294 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
22295 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
22296 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
22297 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
22298 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
22299 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
22300 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
22301 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
22302 },
22303 ],
22304 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
22305 },
22306 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
22307 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
22308 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
22309 &quot;url&quot;: &quot;A String&quot;, # The URL.
22310 },
22311 },
22312 ],
22313 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
22314 },
22315 },
22316 ],
22317 },
22318 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
22319 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
22320 &quot;stringResult&quot;: &quot;A String&quot;,
22321 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
22322 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22323 { # Represents a single field in a struct.
22324 &quot;name&quot;: &quot;A String&quot;,
22325 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22326 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22327 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22328 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22329 # Object with schema name: GenaiVertexV1beta1Value
22330 ],
22331 },
22332 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22333 &quot;numberValue&quot;: 3.14, # Represents a double value.
22334 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22335 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22336 },
22337 },
22338 ],
22339 },
22340 },
22341 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
22342 &quot;urlContextResult&quot;: { # URL context result content.
22343 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
22344 &quot;result&quot;: [ # Required. The results of the URL context.
22345 { # The result of the URL context.
22346 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
22347 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
22348 },
22349 ],
22350 },
22351 },
22352 &quot;video&quot;: { # A video content block.
22353 &quot;data&quot;: &quot;A String&quot;, # The video content.
22354 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
22355 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
22356 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
22357 },
22358 },
22359 ],
22360 },
22361 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
22362 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
22363 &quot;stringResult&quot;: &quot;A String&quot;,
22364 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
22365 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22366 { # Represents a single field in a struct.
22367 &quot;name&quot;: &quot;A String&quot;,
22368 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22369 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22370 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22371 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22372 # Object with schema name: GenaiVertexV1beta1Value
22373 ],
22374 },
22375 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22376 &quot;numberValue&quot;: 3.14, # Represents a double value.
22377 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22378 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22379 },
22380 },
22381 ],
22382 },
22383 },
22384 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
22385 &quot;urlContextResult&quot;: { # URL context result step.
22386 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
22387 &quot;result&quot;: [ # Required. The results of the URL context.
22388 { # The result of the URL context.
22389 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
22390 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
22391 },
22392 ],
22393 },
22394 },
22395 &quot;userInput&quot;: { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
22396 &quot;contentList&quot;: { # A list of Content. # The content of the step. An array of Content objects.
22397 &quot;contents&quot;: [ # The contents of the list.
22398 { # The content of the response.
22399 &quot;audio&quot;: { # An audio content block.
22400 &quot;channels&quot;: 42, # The number of audio channels.
22401 &quot;data&quot;: &quot;A String&quot;, # The audio content.
22402 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
22403 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
22404 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
22405 },
22406 &quot;document&quot;: { # A document content block.
22407 &quot;data&quot;: &quot;A String&quot;, # The document content.
22408 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
22409 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
22410 },
22411 &quot;image&quot;: { # An image content block.
22412 &quot;data&quot;: &quot;A String&quot;, # The image content.
22413 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
22414 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
22415 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
22416 },
22417 &quot;text&quot;: { # A text content block.
22418 &quot;annotations&quot;: [ # Citation information for model-generated content.
22419 { # Citation information for model-generated content.
22420 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
22421 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
22422 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
22423 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22424 { # Represents a single field in a struct.
22425 &quot;name&quot;: &quot;A String&quot;,
22426 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22427 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22428 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22429 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22430 # Object with schema name: GenaiVertexV1beta1Value
22431 ],
22432 },
22433 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22434 &quot;numberValue&quot;: 3.14, # Represents a double value.
22435 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22436 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22437 },
22438 },
22439 ],
22440 },
22441 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
22442 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
22443 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
22444 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
22445 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
22446 },
22447 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
22448 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
22449 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
22450 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
22451 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
22452 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
22453 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
22454 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
22455 },
22456 ],
22457 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
22458 },
22459 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
22460 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
22461 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
22462 &quot;url&quot;: &quot;A String&quot;, # The URL.
22463 },
22464 },
22465 ],
22466 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
22467 },
22468 &quot;thought&quot;: { # A thought content block.
22469 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
22470 &quot;summary&quot;: [ # A summary of the thought.
22471 {
22472 &quot;image&quot;: { # An image content block.
22473 &quot;data&quot;: &quot;A String&quot;, # The image content.
22474 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
22475 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
22476 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
22477 },
22478 &quot;text&quot;: { # A text content block.
22479 &quot;annotations&quot;: [ # Citation information for model-generated content.
22480 { # Citation information for model-generated content.
22481 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
22482 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
22483 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
22484 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22485 { # Represents a single field in a struct.
22486 &quot;name&quot;: &quot;A String&quot;,
22487 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22488 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22489 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22490 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22491 # Object with schema name: GenaiVertexV1beta1Value
22492 ],
22493 },
22494 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22495 &quot;numberValue&quot;: 3.14, # Represents a double value.
22496 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22497 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22498 },
22499 },
22500 ],
22501 },
22502 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
22503 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
22504 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
22505 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
22506 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
22507 },
22508 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
22509 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
22510 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
22511 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
22512 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
22513 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
22514 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
22515 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
22516 },
22517 ],
22518 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
22519 },
22520 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
22521 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
22522 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
22523 &quot;url&quot;: &quot;A String&quot;, # The URL.
22524 },
22525 },
22526 ],
22527 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
22528 },
22529 },
22530 ],
22531 },
22532 &quot;toolCall&quot;: { # Tool call content.
22533 &quot;codeExecutionCall&quot;: { # Code execution content.
22534 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
22535 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
22536 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
22537 },
22538 },
22539 &quot;fileSearchCall&quot;: { # File Search content.
22540 },
22541 &quot;functionCall&quot;: { # A function tool call content block.
22542 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
22543 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22544 { # Represents a single field in a struct.
22545 &quot;name&quot;: &quot;A String&quot;,
22546 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22547 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22548 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22549 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22550 # Object with schema name: GenaiVertexV1beta1Value
22551 ],
22552 },
22553 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22554 &quot;numberValue&quot;: 3.14, # Represents a double value.
22555 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22556 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22557 },
22558 },
22559 ],
22560 },
22561 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
22562 },
22563 &quot;googleMapsCall&quot;: { # Google Maps content.
22564 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
22565 &quot;queries&quot;: [ # The queries to be executed.
22566 &quot;A String&quot;,
22567 ],
22568 },
22569 },
22570 &quot;googleSearchCall&quot;: { # Google Search content.
22571 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
22572 &quot;queries&quot;: [ # Web search queries for the following-up web search.
22573 &quot;A String&quot;,
22574 ],
22575 },
22576 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
22577 },
22578 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
22579 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
22580 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
22581 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22582 { # Represents a single field in a struct.
22583 &quot;name&quot;: &quot;A String&quot;,
22584 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22585 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22586 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22587 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22588 # Object with schema name: GenaiVertexV1beta1Value
22589 ],
22590 },
22591 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22592 &quot;numberValue&quot;: 3.14, # Represents a double value.
22593 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22594 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22595 },
22596 },
22597 ],
22598 },
22599 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
22600 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
22601 },
22602 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
22603 &quot;urlContextCall&quot;: { # URL context content.
22604 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
22605 &quot;urls&quot;: [ # The URLs to fetch.
22606 &quot;A String&quot;,
22607 ],
22608 },
22609 },
22610 },
22611 &quot;toolResult&quot;: { # Tool result content.
22612 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
22613 &quot;codeExecutionResult&quot;: { # Code execution result content.
22614 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
22615 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
22616 },
22617 &quot;fileSearchResult&quot;: { # File Search result content.
22618 &quot;result&quot;: [ # Optional. The results of the File Search.
22619 { # The result of the File Search.
22620 },
22621 ],
22622 },
22623 &quot;functionResult&quot;: { # A function tool result content block.
22624 &quot;contentList&quot;: {
22625 &quot;contents&quot;: [
22626 {
22627 &quot;image&quot;: { # An image content block.
22628 &quot;data&quot;: &quot;A String&quot;, # The image content.
22629 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
22630 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
22631 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
22632 },
22633 &quot;text&quot;: { # A text content block.
22634 &quot;annotations&quot;: [ # Citation information for model-generated content.
22635 { # Citation information for model-generated content.
22636 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
22637 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
22638 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
22639 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22640 { # Represents a single field in a struct.
22641 &quot;name&quot;: &quot;A String&quot;,
22642 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22643 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22644 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22645 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22646 # Object with schema name: GenaiVertexV1beta1Value
22647 ],
22648 },
22649 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22650 &quot;numberValue&quot;: 3.14, # Represents a double value.
22651 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22652 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22653 },
22654 },
22655 ],
22656 },
22657 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
22658 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
22659 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
22660 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
22661 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
22662 },
22663 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
22664 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
22665 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
22666 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
22667 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
22668 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
22669 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
22670 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
22671 },
22672 ],
22673 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
22674 },
22675 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
22676 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
22677 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
22678 &quot;url&quot;: &quot;A String&quot;, # The URL.
22679 },
22680 },
22681 ],
22682 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
22683 },
22684 },
22685 ],
22686 },
22687 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
22688 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
22689 &quot;stringResult&quot;: &quot;A String&quot;,
22690 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
22691 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22692 { # Represents a single field in a struct.
22693 &quot;name&quot;: &quot;A String&quot;,
22694 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22695 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22696 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22697 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22698 # Object with schema name: GenaiVertexV1beta1Value
22699 ],
22700 },
22701 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22702 &quot;numberValue&quot;: 3.14, # Represents a double value.
22703 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22704 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22705 },
22706 },
22707 ],
22708 },
22709 },
22710 &quot;googleMapsResult&quot;: { # Google Maps result content.
22711 &quot;result&quot;: [ # Required. The results of the Google Maps.
22712 { # The result of the Google Maps.
22713 &quot;places&quot;: [ # The places that were found.
22714 {
22715 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
22716 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
22717 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
22718 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
22719 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
22720 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
22721 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
22722 },
22723 ],
22724 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
22725 },
22726 ],
22727 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
22728 },
22729 ],
22730 },
22731 &quot;googleSearchResult&quot;: { # Google Search result content.
22732 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
22733 &quot;result&quot;: [ # Required. The results of the Google Search.
22734 { # The result of the Google Search.
22735 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
22736 },
22737 ],
22738 },
22739 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
22740 &quot;contentList&quot;: {
22741 &quot;contents&quot;: [
22742 {
22743 &quot;image&quot;: { # An image content block.
22744 &quot;data&quot;: &quot;A String&quot;, # The image content.
22745 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
22746 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
22747 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
22748 },
22749 &quot;text&quot;: { # A text content block.
22750 &quot;annotations&quot;: [ # Citation information for model-generated content.
22751 { # Citation information for model-generated content.
22752 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
22753 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
22754 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
22755 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22756 { # Represents a single field in a struct.
22757 &quot;name&quot;: &quot;A String&quot;,
22758 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22759 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22760 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22761 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22762 # Object with schema name: GenaiVertexV1beta1Value
22763 ],
22764 },
22765 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22766 &quot;numberValue&quot;: 3.14, # Represents a double value.
22767 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22768 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22769 },
22770 },
22771 ],
22772 },
22773 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
22774 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
22775 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
22776 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
22777 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
22778 },
22779 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
22780 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
22781 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
22782 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
22783 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
22784 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
22785 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
22786 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
22787 },
22788 ],
22789 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
22790 },
22791 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
22792 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
22793 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
22794 &quot;url&quot;: &quot;A String&quot;, # The URL.
22795 },
22796 },
22797 ],
22798 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
22799 },
22800 },
22801 ],
22802 },
22803 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
22804 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
22805 &quot;stringResult&quot;: &quot;A String&quot;,
22806 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
22807 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22808 { # Represents a single field in a struct.
22809 &quot;name&quot;: &quot;A String&quot;,
22810 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22811 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22812 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22813 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22814 # Object with schema name: GenaiVertexV1beta1Value
22815 ],
22816 },
22817 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22818 &quot;numberValue&quot;: 3.14, # Represents a double value.
22819 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22820 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22821 },
22822 },
22823 ],
22824 },
22825 },
22826 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
22827 &quot;urlContextResult&quot;: { # URL context result content.
22828 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
22829 &quot;result&quot;: [ # Required. The results of the URL context.
22830 { # The result of the URL context.
22831 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
22832 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
22833 },
22834 ],
22835 },
22836 },
22837 &quot;video&quot;: { # A video content block.
22838 &quot;data&quot;: &quot;A String&quot;, # The video content.
22839 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
22840 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
22841 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
22842 },
22843 },
22844 ],
22845 },
22846 &quot;contentString&quot;: &quot;A String&quot;, # The content of the step. A single string.
22847 },
22848 },
22849 ],
22850 &quot;stringContent&quot;: &quot;A String&quot;, # A string input for the interaction, it will be processed as a single text input.
22851 &quot;systemInstruction&quot;: &quot;A String&quot;, # System instruction for the interaction.
22852 &quot;tools&quot;: [ # A list of tool declarations the model may call during interaction.
22853 { # A tool that can be used by the model.
22854 &quot;codeExecution&quot;: { # A tool that can be used by the model to execute code. # A tool that can be used by the model to execute code.
22855 },
22856 &quot;computerUse&quot;: { # A tool that can be used by the model to interact with the computer. # Tool to support the model interacting directly with the computer.
22857 &quot;environment&quot;: &quot;A String&quot;, # The environment being operated.
22858 &quot;excludedPredefinedFunctions&quot;: [ # The list of predefined functions that are excluded from the model call.
22859 &quot;A String&quot;,
22860 ],
22861 },
22862 &quot;fileSearch&quot;: { # A tool that can be used by the model to search files. # A tool that can be used by the model to search files.
22863 &quot;fileSearchStoreNames&quot;: [ # The file search store names to search.
22864 &quot;A String&quot;,
22865 ],
22866 &quot;metadataFilter&quot;: &quot;A String&quot;, # Metadata filter to apply to the semantic retrieval documents and chunks.
22867 &quot;topK&quot;: 42, # The number of semantic retrieval chunks to retrieve.
22868 },
22869 &quot;function&quot;: { # A tool that can be used by the model. # A function that can be used by the model.
22870 &quot;description&quot;: &quot;A String&quot;, # A description of the function.
22871 &quot;name&quot;: &quot;A String&quot;, # The name of the function.
22872 &quot;parameters&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # The JSON Schema for the function&#x27;s parameters.
22873 &quot;boolValue&quot;: True or False, # Represents a boolean value.
22874 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
22875 &quot;values&quot;: [ # Repeated field of dynamically typed values.
22876 # Object with schema name: GenaiVertexV1beta1Value
22877 ],
22878 },
22879 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
22880 &quot;numberValue&quot;: 3.14, # Represents a double value.
22881 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
22882 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
22883 },
22884 },
22885 &quot;googleMaps&quot;: { # A tool that can be used by the model to call Google Maps. # A tool that can be used by the model to search Google Maps.
22886 &quot;enableWidget&quot;: True or False, # Whether to return a widget context token in the tool call result of the response.
22887 &quot;latitude&quot;: 3.14, # The latitude of the user&#x27;s location.
22888 &quot;longitude&quot;: 3.14, # The longitude of the user&#x27;s location.
22889 },
22890 &quot;googleSearch&quot;: { # A tool that can be used by the model to search Google. # A tool that can be used by the model to search Google.
22891 &quot;searchTypes&quot;: [ # The types of search grounding to enable.
22892 &quot;A String&quot;,
22893 ],
22894 },
22895 &quot;mcpServer&quot;: { # A MCPServer is a server that can be called by the model to perform actions. # A MCPServer is a server that can be called by the model to perform actions.
22896 &quot;allowedTools&quot;: [ # The allowed tools.
22897 { # The configuration for allowed tools.
22898 &quot;mode&quot;: &quot;A String&quot;, # The mode of the tool choice.
22899 &quot;tools&quot;: [ # The names of the allowed tools.
22900 &quot;A String&quot;,
22901 ],
22902 },
22903 ],
22904 &quot;headers&quot;: { # Optional: Fields for authentication headers, timeouts, etc., if needed.
22905 &quot;a_key&quot;: &quot;A String&quot;,
22906 },
22907 &quot;name&quot;: &quot;A String&quot;, # The name of the MCPServer.
22908 &quot;url&quot;: &quot;A String&quot;, # The full URL for the MCPServer endpoint. Example: &quot;https://api.example.com/mcp&quot;
22909 },
22910 &quot;retrieval&quot;: { # A tool that can be used by the model to retrieve files. # A tool that can be used by the model to retrieve files.
22911 &quot;exa_ai_search_config&quot;: { # Used to specify configuration for ExaAISearch. # Used to specify configuration for ExaAISearch.
22912 &quot;api_key&quot;: &quot;A String&quot;, # Required. The API key for ExaAiSearch.
22913 &quot;custom_config&quot;: { # Optional. This field can be used to pass any parameter from the Exa.ai Search API.
22914 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
22915 },
22916 },
22917 &quot;parallel_ai_search_config&quot;: { # Used to specify configuration for ParallelAISearch. # Used to specify configuration for ParallelAISearch.
22918 &quot;api_key&quot;: &quot;A String&quot;, # Optional. The API key for ParallelAiSearch.
22919 &quot;custom_config&quot;: { # Optional. Custom configs for ParallelAiSearch.
22920 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
22921 },
22922 },
22923 &quot;rag_store_config&quot;: { # Use to specify configuration for RAG Store. # Used to specify configuration for RagStore.
22924 &quot;rag_resources&quot;: [ # Optional. The representation of the rag source.
22925 { # The definition of the Rag resource.
22926 &quot;rag_corpus&quot;: &quot;A String&quot;, # Optional. RagCorpora resource name.
22927 &quot;rag_file_ids&quot;: [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
22928 &quot;A String&quot;,
22929 ],
22930 },
22931 ],
22932 &quot;rag_retrieval_config&quot;: { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
22933 &quot;filter&quot;: { # Config for filters. # Optional. Config for filters.
22934 &quot;metadata_filter&quot;: &quot;A String&quot;, # Optional. String for metadata filtering.
22935 &quot;vector_distance_threshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
22936 &quot;vector_similarity_threshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
22937 },
22938 &quot;hybrid_search&quot;: { # Config for Hybrid Search. # Optional. Config for Hybrid Search.
22939 &quot;alpha&quot;: 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results.
22940 },
22941 &quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
22942 &quot;rank_service&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
22943 &quot;model_name&quot;: &quot;A String&quot;, # Optional. The model name of the rank service.
22944 },
22945 },
22946 &quot;top_k&quot;: 42, # Optional. The number of contexts to retrieve.
22947 },
22948 &quot;similarity_top_k&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
22949 &quot;vector_distance_threshold&quot;: 3.14, # Optional. Only return results with vector distance smaller than the threshold.
22950 },
22951 &quot;retrievalTypes&quot;: [ # The types of file retrieval to enable.
22952 &quot;A String&quot;,
22953 ],
22954 &quot;vertex_ai_search_config&quot;: { # Used to specify configuration for VertexAISearch. # Used to specify configuration for VertexAISearch.
22955 &quot;datastores&quot;: [ # Optional. Used to specify Vertex AI Search datastores.
22956 &quot;A String&quot;,
22957 ],
22958 &quot;engine&quot;: &quot;A String&quot;, # Optional. Used to specify Vertex AI Search engine.
22959 },
22960 },
22961 &quot;urlContext&quot;: { # A tool that can be used by the model to fetch URL context. # A tool that can be used by the model to fetch URL context.
22962 },
22963 },
22964 ],
22965 &quot;turnList&quot;: { # A list of Turns. # The turns for the interaction.
22966 &quot;turns&quot;: [
22967 {
22968 &quot;contentList&quot;: { # A list of Content. # The content of the turn. An array of Content objects.
22969 &quot;contents&quot;: [ # The contents of the list.
22970 { # The content of the response.
22971 &quot;audio&quot;: { # An audio content block.
22972 &quot;channels&quot;: 42, # The number of audio channels.
22973 &quot;data&quot;: &quot;A String&quot;, # The audio content.
22974 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
22975 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
22976 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
22977 },
22978 &quot;document&quot;: { # A document content block.
22979 &quot;data&quot;: &quot;A String&quot;, # The document content.
22980 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
22981 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
22982 },
22983 &quot;image&quot;: { # An image content block.
22984 &quot;data&quot;: &quot;A String&quot;, # The image content.
22985 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
22986 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
22987 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
22988 },
22989 &quot;text&quot;: { # A text content block.
22990 &quot;annotations&quot;: [ # Citation information for model-generated content.
22991 { # Citation information for model-generated content.
22992 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
22993 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
22994 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
22995 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
22996 { # Represents a single field in a struct.
22997 &quot;name&quot;: &quot;A String&quot;,
22998 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
22999 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23000 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23001 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23002 # Object with schema name: GenaiVertexV1beta1Value
23003 ],
23004 },
23005 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23006 &quot;numberValue&quot;: 3.14, # Represents a double value.
23007 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23008 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23009 },
23010 },
23011 ],
23012 },
23013 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
23014 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
23015 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
23016 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
23017 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
23018 },
23019 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
23020 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
23021 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
23022 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
23023 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
23024 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
23025 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
23026 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
23027 },
23028 ],
23029 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
23030 },
23031 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
23032 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
23033 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
23034 &quot;url&quot;: &quot;A String&quot;, # The URL.
23035 },
23036 },
23037 ],
23038 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
23039 },
23040 &quot;thought&quot;: { # A thought content block.
23041 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
23042 &quot;summary&quot;: [ # A summary of the thought.
23043 {
23044 &quot;image&quot;: { # An image content block.
23045 &quot;data&quot;: &quot;A String&quot;, # The image content.
23046 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
23047 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
23048 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
23049 },
23050 &quot;text&quot;: { # A text content block.
23051 &quot;annotations&quot;: [ # Citation information for model-generated content.
23052 { # Citation information for model-generated content.
23053 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
23054 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
23055 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
23056 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23057 { # Represents a single field in a struct.
23058 &quot;name&quot;: &quot;A String&quot;,
23059 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
23060 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23061 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23062 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23063 # Object with schema name: GenaiVertexV1beta1Value
23064 ],
23065 },
23066 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23067 &quot;numberValue&quot;: 3.14, # Represents a double value.
23068 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23069 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23070 },
23071 },
23072 ],
23073 },
23074 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
23075 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
23076 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
23077 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
23078 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
23079 },
23080 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
23081 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
23082 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
23083 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
23084 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
23085 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
23086 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
23087 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
23088 },
23089 ],
23090 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
23091 },
23092 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
23093 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
23094 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
23095 &quot;url&quot;: &quot;A String&quot;, # The URL.
23096 },
23097 },
23098 ],
23099 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
23100 },
23101 },
23102 ],
23103 },
23104 &quot;toolCall&quot;: { # Tool call content.
23105 &quot;codeExecutionCall&quot;: { # Code execution content.
23106 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
23107 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
23108 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
23109 },
23110 },
23111 &quot;fileSearchCall&quot;: { # File Search content.
23112 },
23113 &quot;functionCall&quot;: { # A function tool call content block.
23114 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
23115 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23116 { # Represents a single field in a struct.
23117 &quot;name&quot;: &quot;A String&quot;,
23118 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
23119 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23120 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23121 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23122 # Object with schema name: GenaiVertexV1beta1Value
23123 ],
23124 },
23125 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23126 &quot;numberValue&quot;: 3.14, # Represents a double value.
23127 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23128 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23129 },
23130 },
23131 ],
23132 },
23133 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
23134 },
23135 &quot;googleMapsCall&quot;: { # Google Maps content.
23136 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
23137 &quot;queries&quot;: [ # The queries to be executed.
23138 &quot;A String&quot;,
23139 ],
23140 },
23141 },
23142 &quot;googleSearchCall&quot;: { # Google Search content.
23143 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
23144 &quot;queries&quot;: [ # Web search queries for the following-up web search.
23145 &quot;A String&quot;,
23146 ],
23147 },
23148 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
23149 },
23150 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
23151 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
23152 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
23153 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23154 { # Represents a single field in a struct.
23155 &quot;name&quot;: &quot;A String&quot;,
23156 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
23157 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23158 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23159 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23160 # Object with schema name: GenaiVertexV1beta1Value
23161 ],
23162 },
23163 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23164 &quot;numberValue&quot;: 3.14, # Represents a double value.
23165 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23166 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23167 },
23168 },
23169 ],
23170 },
23171 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
23172 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
23173 },
23174 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
23175 &quot;urlContextCall&quot;: { # URL context content.
23176 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
23177 &quot;urls&quot;: [ # The URLs to fetch.
23178 &quot;A String&quot;,
23179 ],
23180 },
23181 },
23182 },
23183 &quot;toolResult&quot;: { # Tool result content.
23184 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
23185 &quot;codeExecutionResult&quot;: { # Code execution result content.
23186 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
23187 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
23188 },
23189 &quot;fileSearchResult&quot;: { # File Search result content.
23190 &quot;result&quot;: [ # Optional. The results of the File Search.
23191 { # The result of the File Search.
23192 },
23193 ],
23194 },
23195 &quot;functionResult&quot;: { # A function tool result content block.
23196 &quot;contentList&quot;: {
23197 &quot;contents&quot;: [
23198 {
23199 &quot;image&quot;: { # An image content block.
23200 &quot;data&quot;: &quot;A String&quot;, # The image content.
23201 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
23202 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
23203 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
23204 },
23205 &quot;text&quot;: { # A text content block.
23206 &quot;annotations&quot;: [ # Citation information for model-generated content.
23207 { # Citation information for model-generated content.
23208 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
23209 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
23210 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
23211 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23212 { # Represents a single field in a struct.
23213 &quot;name&quot;: &quot;A String&quot;,
23214 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
23215 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23216 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23217 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23218 # Object with schema name: GenaiVertexV1beta1Value
23219 ],
23220 },
23221 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23222 &quot;numberValue&quot;: 3.14, # Represents a double value.
23223 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23224 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23225 },
23226 },
23227 ],
23228 },
23229 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
23230 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
23231 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
23232 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
23233 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
23234 },
23235 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
23236 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
23237 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
23238 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
23239 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
23240 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
23241 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
23242 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
23243 },
23244 ],
23245 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
23246 },
23247 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
23248 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
23249 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
23250 &quot;url&quot;: &quot;A String&quot;, # The URL.
23251 },
23252 },
23253 ],
23254 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
23255 },
23256 },
23257 ],
23258 },
23259 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
23260 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
23261 &quot;stringResult&quot;: &quot;A String&quot;,
23262 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
23263 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23264 { # Represents a single field in a struct.
23265 &quot;name&quot;: &quot;A String&quot;,
23266 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
23267 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23268 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23269 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23270 # Object with schema name: GenaiVertexV1beta1Value
23271 ],
23272 },
23273 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23274 &quot;numberValue&quot;: 3.14, # Represents a double value.
23275 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23276 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23277 },
23278 },
23279 ],
23280 },
23281 },
23282 &quot;googleMapsResult&quot;: { # Google Maps result content.
23283 &quot;result&quot;: [ # Required. The results of the Google Maps.
23284 { # The result of the Google Maps.
23285 &quot;places&quot;: [ # The places that were found.
23286 {
23287 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
23288 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
23289 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
23290 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
23291 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
23292 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
23293 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
23294 },
23295 ],
23296 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
23297 },
23298 ],
23299 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
23300 },
23301 ],
23302 },
23303 &quot;googleSearchResult&quot;: { # Google Search result content.
23304 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
23305 &quot;result&quot;: [ # Required. The results of the Google Search.
23306 { # The result of the Google Search.
23307 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
23308 },
23309 ],
23310 },
23311 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
23312 &quot;contentList&quot;: {
23313 &quot;contents&quot;: [
23314 {
23315 &quot;image&quot;: { # An image content block.
23316 &quot;data&quot;: &quot;A String&quot;, # The image content.
23317 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
23318 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
23319 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
23320 },
23321 &quot;text&quot;: { # A text content block.
23322 &quot;annotations&quot;: [ # Citation information for model-generated content.
23323 { # Citation information for model-generated content.
23324 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
23325 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
23326 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
23327 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23328 { # Represents a single field in a struct.
23329 &quot;name&quot;: &quot;A String&quot;,
23330 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
23331 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23332 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23333 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23334 # Object with schema name: GenaiVertexV1beta1Value
23335 ],
23336 },
23337 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23338 &quot;numberValue&quot;: 3.14, # Represents a double value.
23339 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23340 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23341 },
23342 },
23343 ],
23344 },
23345 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
23346 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
23347 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
23348 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
23349 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
23350 },
23351 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
23352 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
23353 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
23354 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
23355 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
23356 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
23357 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
23358 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
23359 },
23360 ],
23361 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
23362 },
23363 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
23364 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
23365 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
23366 &quot;url&quot;: &quot;A String&quot;, # The URL.
23367 },
23368 },
23369 ],
23370 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
23371 },
23372 },
23373 ],
23374 },
23375 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
23376 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
23377 &quot;stringResult&quot;: &quot;A String&quot;,
23378 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
23379 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23380 { # Represents a single field in a struct.
23381 &quot;name&quot;: &quot;A String&quot;,
23382 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
23383 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23384 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23385 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23386 # Object with schema name: GenaiVertexV1beta1Value
23387 ],
23388 },
23389 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23390 &quot;numberValue&quot;: 3.14, # Represents a double value.
23391 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23392 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23393 },
23394 },
23395 ],
23396 },
23397 },
23398 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
23399 &quot;urlContextResult&quot;: { # URL context result content.
23400 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
23401 &quot;result&quot;: [ # Required. The results of the URL context.
23402 { # The result of the URL context.
23403 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
23404 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
23405 },
23406 ],
23407 },
23408 },
23409 &quot;video&quot;: { # A video content block.
23410 &quot;data&quot;: &quot;A String&quot;, # The video content.
23411 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
23412 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
23413 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
23414 },
23415 },
23416 ],
23417 },
23418 &quot;contentString&quot;: &quot;A String&quot;, # The content of the turn. A single string.
23419 &quot;role&quot;: &quot;A String&quot;, # The originator of this turn. Must be user for input or model for model output.
23420 },
23421 ],
23422 },
23423 &quot;updated&quot;: &quot;A String&quot;, # Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
23424 &quot;usage&quot;: { # Statistics on the interaction request&#x27;s token usage. # Output only. Statistics on the interaction request&#x27;s token usage.
23425 &quot;cachedTokensByModality&quot;: [ # A breakdown of cached token usage by modality.
23426 { # The token count for a single response modality.
23427 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
23428 &quot;tokens&quot;: 42, # Number of tokens for the modality.
23429 },
23430 ],
23431 &quot;groundingToolCount&quot;: [ # Grounding tool count.
23432 { # The number of grounding tool counts.
23433 &quot;count&quot;: 42, # The number of grounding tool counts.
23434 &quot;type&quot;: &quot;A String&quot;, # The grounding tool type associated with the count.
23435 },
23436 ],
23437 &quot;inputTokensByModality&quot;: [ # A breakdown of input token usage by modality.
23438 { # The token count for a single response modality.
23439 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
23440 &quot;tokens&quot;: 42, # Number of tokens for the modality.
23441 },
23442 ],
23443 &quot;outputTokensByModality&quot;: [ # A breakdown of output token usage by modality.
23444 { # The token count for a single response modality.
23445 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
23446 &quot;tokens&quot;: 42, # Number of tokens for the modality.
23447 },
23448 ],
23449 &quot;toolUseTokensByModality&quot;: [ # A breakdown of tool-use token usage by modality.
23450 { # The token count for a single response modality.
23451 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
23452 &quot;tokens&quot;: 42, # Number of tokens for the modality.
23453 },
23454 ],
23455 &quot;totalCachedTokens&quot;: 42, # Number of tokens in the cached part of the prompt (the cached content).
23456 &quot;totalInputTokens&quot;: 42, # Number of tokens in the prompt (context).
23457 &quot;totalOutputTokens&quot;: 42, # Total number of tokens across all the generated responses.
23458 &quot;totalThoughtTokens&quot;: 42, # Number of tokens of thoughts for thinking models.
23459 &quot;totalTokens&quot;: 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
23460 &quot;totalToolUseTokens&quot;: 42, # Number of tokens present in tool-use prompt(s).
23461 },
23462 },
23463 },
23464 &quot;interactionCompletedEvent&quot;: { # The interaction data, used for interaction.completed events.
23465 &quot;interaction&quot;: { # Response for InteractionService.CreateInteraction. # Required. The completed interaction with empty outputs to reduce the payload size. Use the preceding ContentDelta events for the actual output.
23466 &quot;agentInteraction&quot;: { # Interaction for generating the completion using agents. # Interaction for generating the completion using agents.
23467 &quot;agent&quot;: &quot;A String&quot;, # The name of the `Agent` used for generating the completion.
23468 &quot;code_mender_config&quot;: { # Configuration for the CodeMender agent.
23469 &quot;find_request&quot;: { # Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. # Parameters for finding vulnerabilities.
23470 &quot;description&quot;: &quot;A String&quot;, # Additional context or custom instructions provided by the user to guide the vulnerability analysis.
23471 &quot;finding_id&quot;: &quot;A String&quot;, # The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent&#x27;s execution-based validation on a single vulnerability.
23472 &quot;source_files&quot;: [ # A list of source files to provide as context for the scan.
23473 { # Content of a single file in the codebase.
23474 &quot;content&quot;: &quot;A String&quot;, # The UTF-8 encoded text content of the file.
23475 &quot;path&quot;: &quot;A String&quot;, # The relative path of the file from the project root.
23476 },
23477 ],
23478 },
23479 &quot;fix_request&quot;: { # Request parameters specific to FIX sessions, used for generating and validating security patches. # Parameters for fixing vulnerabilities.
23480 &quot;description&quot;: &quot;A String&quot;, # Additional context or custom instructions provided by the user to guide the patch generation process.
23481 &quot;finding_id&quot;: &quot;A String&quot;, # The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.
23482 &quot;source_files&quot;: [ # A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.
23483 { # Content of a single file in the codebase.
23484 &quot;content&quot;: &quot;A String&quot;, # The UTF-8 encoded text content of the file.
23485 &quot;path&quot;: &quot;A String&quot;, # The relative path of the file from the project root.
23486 },
23487 ],
23488 },
23489 &quot;model&quot;: &quot;A String&quot;, # The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.
23490 &quot;session_config&quot;: { # The configuration of CodeMender sessions. # Optional session-specific configurations to override default agent behavior.
23491 &quot;max_rounds&quot;: 42, # The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
23492 &quot;pipeline_mode&quot;: &quot;A String&quot;, # The pipeline mode of a CodeMender session. It can only be used for a find session.
23493 &quot;topology&quot;: &quot;A String&quot;, # The cognitive architecture or &quot;thinking&quot; topology used by the agent (e.g. &quot;default&quot;, &quot;deep&quot;).
23494 },
23495 &quot;session_id&quot;: &quot;A String&quot;, # Parameter for grouping multiple interactions that belong to the same CodeMender session.
23496 },
23497 &quot;deepResearchConfig&quot;: { # Configuration for the Deep Research agent.
23498 &quot;collaborativePlanning&quot;: True or False, # Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.
23499 &quot;enableBigqueryTool&quot;: True or False, # Enables bigquery tool for the Deep Research agent.
23500 &quot;thinkingSummaries&quot;: &quot;A String&quot;, # Whether to include thought summaries in the response.
23501 &quot;visualization&quot;: &quot;A String&quot;, # Whether to include visualizations in the response.
23502 },
23503 &quot;dynamicConfig&quot;: { # Configuration for dynamic agents.
23504 &quot;config&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # For agents that are not supported statically in the API definition.
23505 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23506 { # Represents a single field in a struct.
23507 &quot;name&quot;: &quot;A String&quot;,
23508 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
23509 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23510 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23511 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23512 # Object with schema name: GenaiVertexV1beta1Value
23513 ],
23514 },
23515 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23516 &quot;numberValue&quot;: 3.14, # Represents a double value.
23517 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23518 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23519 },
23520 },
23521 ],
23522 },
23523 },
23524 },
23525 &quot;content&quot;: { # The content of the response. # The content for the interaction.
23526 &quot;audio&quot;: { # An audio content block.
23527 &quot;channels&quot;: 42, # The number of audio channels.
23528 &quot;data&quot;: &quot;A String&quot;, # The audio content.
23529 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
23530 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
23531 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
23532 },
23533 &quot;document&quot;: { # A document content block.
23534 &quot;data&quot;: &quot;A String&quot;, # The document content.
23535 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
23536 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
23537 },
23538 &quot;image&quot;: { # An image content block.
23539 &quot;data&quot;: &quot;A String&quot;, # The image content.
23540 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
23541 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
23542 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
23543 },
23544 &quot;text&quot;: { # A text content block.
23545 &quot;annotations&quot;: [ # Citation information for model-generated content.
23546 { # Citation information for model-generated content.
23547 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
23548 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
23549 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
23550 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23551 { # Represents a single field in a struct.
23552 &quot;name&quot;: &quot;A String&quot;,
23553 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
23554 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23555 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23556 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23557 # Object with schema name: GenaiVertexV1beta1Value
23558 ],
23559 },
23560 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23561 &quot;numberValue&quot;: 3.14, # Represents a double value.
23562 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23563 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23564 },
23565 },
23566 ],
23567 },
23568 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
23569 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
23570 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
23571 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
23572 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
23573 },
23574 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
23575 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
23576 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
23577 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
23578 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
23579 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
23580 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
23581 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
23582 },
23583 ],
23584 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
23585 },
23586 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
23587 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
23588 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
23589 &quot;url&quot;: &quot;A String&quot;, # The URL.
23590 },
23591 },
23592 ],
23593 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
23594 },
23595 &quot;thought&quot;: { # A thought content block.
23596 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
23597 &quot;summary&quot;: [ # A summary of the thought.
23598 {
23599 &quot;image&quot;: { # An image content block.
23600 &quot;data&quot;: &quot;A String&quot;, # The image content.
23601 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
23602 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
23603 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
23604 },
23605 &quot;text&quot;: { # A text content block.
23606 &quot;annotations&quot;: [ # Citation information for model-generated content.
23607 { # Citation information for model-generated content.
23608 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
23609 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
23610 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
23611 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23612 { # Represents a single field in a struct.
23613 &quot;name&quot;: &quot;A String&quot;,
23614 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
23615 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23616 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23617 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23618 # Object with schema name: GenaiVertexV1beta1Value
23619 ],
23620 },
23621 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23622 &quot;numberValue&quot;: 3.14, # Represents a double value.
23623 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23624 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23625 },
23626 },
23627 ],
23628 },
23629 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
23630 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
23631 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
23632 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
23633 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
23634 },
23635 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
23636 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
23637 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
23638 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
23639 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
23640 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
23641 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
23642 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
23643 },
23644 ],
23645 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
23646 },
23647 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
23648 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
23649 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
23650 &quot;url&quot;: &quot;A String&quot;, # The URL.
23651 },
23652 },
23653 ],
23654 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
23655 },
23656 },
23657 ],
23658 },
23659 &quot;toolCall&quot;: { # Tool call content.
23660 &quot;codeExecutionCall&quot;: { # Code execution content.
23661 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
23662 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
23663 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
23664 },
23665 },
23666 &quot;fileSearchCall&quot;: { # File Search content.
23667 },
23668 &quot;functionCall&quot;: { # A function tool call content block.
23669 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
23670 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23671 { # Represents a single field in a struct.
23672 &quot;name&quot;: &quot;A String&quot;,
23673 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
23674 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23675 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23676 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23677 # Object with schema name: GenaiVertexV1beta1Value
23678 ],
23679 },
23680 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23681 &quot;numberValue&quot;: 3.14, # Represents a double value.
23682 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23683 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23684 },
23685 },
23686 ],
23687 },
23688 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
23689 },
23690 &quot;googleMapsCall&quot;: { # Google Maps content.
23691 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
23692 &quot;queries&quot;: [ # The queries to be executed.
23693 &quot;A String&quot;,
23694 ],
23695 },
23696 },
23697 &quot;googleSearchCall&quot;: { # Google Search content.
23698 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
23699 &quot;queries&quot;: [ # Web search queries for the following-up web search.
23700 &quot;A String&quot;,
23701 ],
23702 },
23703 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
23704 },
23705 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
23706 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
23707 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
23708 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23709 { # Represents a single field in a struct.
23710 &quot;name&quot;: &quot;A String&quot;,
23711 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
23712 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23713 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23714 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23715 # Object with schema name: GenaiVertexV1beta1Value
23716 ],
23717 },
23718 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23719 &quot;numberValue&quot;: 3.14, # Represents a double value.
23720 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23721 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23722 },
23723 },
23724 ],
23725 },
23726 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
23727 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
23728 },
23729 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
23730 &quot;urlContextCall&quot;: { # URL context content.
23731 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
23732 &quot;urls&quot;: [ # The URLs to fetch.
23733 &quot;A String&quot;,
23734 ],
23735 },
23736 },
23737 },
23738 &quot;toolResult&quot;: { # Tool result content.
23739 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
23740 &quot;codeExecutionResult&quot;: { # Code execution result content.
23741 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
23742 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
23743 },
23744 &quot;fileSearchResult&quot;: { # File Search result content.
23745 &quot;result&quot;: [ # Optional. The results of the File Search.
23746 { # The result of the File Search.
23747 },
23748 ],
23749 },
23750 &quot;functionResult&quot;: { # A function tool result content block.
23751 &quot;contentList&quot;: {
23752 &quot;contents&quot;: [
23753 {
23754 &quot;image&quot;: { # An image content block.
23755 &quot;data&quot;: &quot;A String&quot;, # The image content.
23756 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
23757 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
23758 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
23759 },
23760 &quot;text&quot;: { # A text content block.
23761 &quot;annotations&quot;: [ # Citation information for model-generated content.
23762 { # Citation information for model-generated content.
23763 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
23764 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
23765 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
23766 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23767 { # Represents a single field in a struct.
23768 &quot;name&quot;: &quot;A String&quot;,
23769 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
23770 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23771 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23772 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23773 # Object with schema name: GenaiVertexV1beta1Value
23774 ],
23775 },
23776 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23777 &quot;numberValue&quot;: 3.14, # Represents a double value.
23778 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23779 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23780 },
23781 },
23782 ],
23783 },
23784 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
23785 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
23786 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
23787 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
23788 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
23789 },
23790 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
23791 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
23792 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
23793 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
23794 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
23795 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
23796 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
23797 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
23798 },
23799 ],
23800 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
23801 },
23802 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
23803 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
23804 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
23805 &quot;url&quot;: &quot;A String&quot;, # The URL.
23806 },
23807 },
23808 ],
23809 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
23810 },
23811 },
23812 ],
23813 },
23814 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
23815 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
23816 &quot;stringResult&quot;: &quot;A String&quot;,
23817 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
23818 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23819 { # Represents a single field in a struct.
23820 &quot;name&quot;: &quot;A String&quot;,
23821 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
23822 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23823 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23824 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23825 # Object with schema name: GenaiVertexV1beta1Value
23826 ],
23827 },
23828 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23829 &quot;numberValue&quot;: 3.14, # Represents a double value.
23830 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23831 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23832 },
23833 },
23834 ],
23835 },
23836 },
23837 &quot;googleMapsResult&quot;: { # Google Maps result content.
23838 &quot;result&quot;: [ # Required. The results of the Google Maps.
23839 { # The result of the Google Maps.
23840 &quot;places&quot;: [ # The places that were found.
23841 {
23842 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
23843 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
23844 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
23845 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
23846 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
23847 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
23848 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
23849 },
23850 ],
23851 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
23852 },
23853 ],
23854 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
23855 },
23856 ],
23857 },
23858 &quot;googleSearchResult&quot;: { # Google Search result content.
23859 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
23860 &quot;result&quot;: [ # Required. The results of the Google Search.
23861 { # The result of the Google Search.
23862 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
23863 },
23864 ],
23865 },
23866 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
23867 &quot;contentList&quot;: {
23868 &quot;contents&quot;: [
23869 {
23870 &quot;image&quot;: { # An image content block.
23871 &quot;data&quot;: &quot;A String&quot;, # The image content.
23872 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
23873 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
23874 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
23875 },
23876 &quot;text&quot;: { # A text content block.
23877 &quot;annotations&quot;: [ # Citation information for model-generated content.
23878 { # Citation information for model-generated content.
23879 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
23880 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
23881 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
23882 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23883 { # Represents a single field in a struct.
23884 &quot;name&quot;: &quot;A String&quot;,
23885 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
23886 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23887 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23888 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23889 # Object with schema name: GenaiVertexV1beta1Value
23890 ],
23891 },
23892 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23893 &quot;numberValue&quot;: 3.14, # Represents a double value.
23894 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23895 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23896 },
23897 },
23898 ],
23899 },
23900 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
23901 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
23902 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
23903 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
23904 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
23905 },
23906 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
23907 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
23908 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
23909 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
23910 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
23911 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
23912 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
23913 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
23914 },
23915 ],
23916 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
23917 },
23918 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
23919 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
23920 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
23921 &quot;url&quot;: &quot;A String&quot;, # The URL.
23922 },
23923 },
23924 ],
23925 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
23926 },
23927 },
23928 ],
23929 },
23930 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
23931 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
23932 &quot;stringResult&quot;: &quot;A String&quot;,
23933 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
23934 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23935 { # Represents a single field in a struct.
23936 &quot;name&quot;: &quot;A String&quot;,
23937 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
23938 &quot;boolValue&quot;: True or False, # Represents a boolean value.
23939 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
23940 &quot;values&quot;: [ # Repeated field of dynamically typed values.
23941 # Object with schema name: GenaiVertexV1beta1Value
23942 ],
23943 },
23944 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
23945 &quot;numberValue&quot;: 3.14, # Represents a double value.
23946 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
23947 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
23948 },
23949 },
23950 ],
23951 },
23952 },
23953 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
23954 &quot;urlContextResult&quot;: { # URL context result content.
23955 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
23956 &quot;result&quot;: [ # Required. The results of the URL context.
23957 { # The result of the URL context.
23958 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
23959 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
23960 },
23961 ],
23962 },
23963 },
23964 &quot;video&quot;: { # A video content block.
23965 &quot;data&quot;: &quot;A String&quot;, # The video content.
23966 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
23967 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
23968 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
23969 },
23970 },
23971 &quot;contentList&quot;: { # A list of Content. # The inputs for the interaction.
23972 &quot;contents&quot;: [ # The contents of the list.
23973 { # The content of the response.
23974 &quot;audio&quot;: { # An audio content block.
23975 &quot;channels&quot;: 42, # The number of audio channels.
23976 &quot;data&quot;: &quot;A String&quot;, # The audio content.
23977 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
23978 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
23979 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
23980 },
23981 &quot;document&quot;: { # A document content block.
23982 &quot;data&quot;: &quot;A String&quot;, # The document content.
23983 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
23984 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
23985 },
23986 &quot;image&quot;: { # An image content block.
23987 &quot;data&quot;: &quot;A String&quot;, # The image content.
23988 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
23989 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
23990 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
23991 },
23992 &quot;text&quot;: { # A text content block.
23993 &quot;annotations&quot;: [ # Citation information for model-generated content.
23994 { # Citation information for model-generated content.
23995 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
23996 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
23997 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
23998 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
23999 { # Represents a single field in a struct.
24000 &quot;name&quot;: &quot;A String&quot;,
24001 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24002 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24003 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24004 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24005 # Object with schema name: GenaiVertexV1beta1Value
24006 ],
24007 },
24008 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24009 &quot;numberValue&quot;: 3.14, # Represents a double value.
24010 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24011 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24012 },
24013 },
24014 ],
24015 },
24016 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
24017 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
24018 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
24019 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
24020 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
24021 },
24022 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
24023 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
24024 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
24025 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
24026 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
24027 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
24028 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
24029 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
24030 },
24031 ],
24032 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
24033 },
24034 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
24035 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
24036 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
24037 &quot;url&quot;: &quot;A String&quot;, # The URL.
24038 },
24039 },
24040 ],
24041 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
24042 },
24043 &quot;thought&quot;: { # A thought content block.
24044 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
24045 &quot;summary&quot;: [ # A summary of the thought.
24046 {
24047 &quot;image&quot;: { # An image content block.
24048 &quot;data&quot;: &quot;A String&quot;, # The image content.
24049 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
24050 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
24051 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
24052 },
24053 &quot;text&quot;: { # A text content block.
24054 &quot;annotations&quot;: [ # Citation information for model-generated content.
24055 { # Citation information for model-generated content.
24056 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
24057 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
24058 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
24059 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24060 { # Represents a single field in a struct.
24061 &quot;name&quot;: &quot;A String&quot;,
24062 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24063 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24064 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24065 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24066 # Object with schema name: GenaiVertexV1beta1Value
24067 ],
24068 },
24069 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24070 &quot;numberValue&quot;: 3.14, # Represents a double value.
24071 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24072 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24073 },
24074 },
24075 ],
24076 },
24077 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
24078 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
24079 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
24080 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
24081 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
24082 },
24083 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
24084 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
24085 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
24086 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
24087 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
24088 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
24089 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
24090 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
24091 },
24092 ],
24093 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
24094 },
24095 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
24096 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
24097 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
24098 &quot;url&quot;: &quot;A String&quot;, # The URL.
24099 },
24100 },
24101 ],
24102 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
24103 },
24104 },
24105 ],
24106 },
24107 &quot;toolCall&quot;: { # Tool call content.
24108 &quot;codeExecutionCall&quot;: { # Code execution content.
24109 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
24110 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
24111 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
24112 },
24113 },
24114 &quot;fileSearchCall&quot;: { # File Search content.
24115 },
24116 &quot;functionCall&quot;: { # A function tool call content block.
24117 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
24118 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24119 { # Represents a single field in a struct.
24120 &quot;name&quot;: &quot;A String&quot;,
24121 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24122 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24123 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24124 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24125 # Object with schema name: GenaiVertexV1beta1Value
24126 ],
24127 },
24128 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24129 &quot;numberValue&quot;: 3.14, # Represents a double value.
24130 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24131 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24132 },
24133 },
24134 ],
24135 },
24136 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
24137 },
24138 &quot;googleMapsCall&quot;: { # Google Maps content.
24139 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
24140 &quot;queries&quot;: [ # The queries to be executed.
24141 &quot;A String&quot;,
24142 ],
24143 },
24144 },
24145 &quot;googleSearchCall&quot;: { # Google Search content.
24146 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
24147 &quot;queries&quot;: [ # Web search queries for the following-up web search.
24148 &quot;A String&quot;,
24149 ],
24150 },
24151 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
24152 },
24153 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
24154 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
24155 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
24156 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24157 { # Represents a single field in a struct.
24158 &quot;name&quot;: &quot;A String&quot;,
24159 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24160 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24161 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24162 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24163 # Object with schema name: GenaiVertexV1beta1Value
24164 ],
24165 },
24166 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24167 &quot;numberValue&quot;: 3.14, # Represents a double value.
24168 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24169 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24170 },
24171 },
24172 ],
24173 },
24174 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
24175 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
24176 },
24177 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
24178 &quot;urlContextCall&quot;: { # URL context content.
24179 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
24180 &quot;urls&quot;: [ # The URLs to fetch.
24181 &quot;A String&quot;,
24182 ],
24183 },
24184 },
24185 },
24186 &quot;toolResult&quot;: { # Tool result content.
24187 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
24188 &quot;codeExecutionResult&quot;: { # Code execution result content.
24189 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
24190 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
24191 },
24192 &quot;fileSearchResult&quot;: { # File Search result content.
24193 &quot;result&quot;: [ # Optional. The results of the File Search.
24194 { # The result of the File Search.
24195 },
24196 ],
24197 },
24198 &quot;functionResult&quot;: { # A function tool result content block.
24199 &quot;contentList&quot;: {
24200 &quot;contents&quot;: [
24201 {
24202 &quot;image&quot;: { # An image content block.
24203 &quot;data&quot;: &quot;A String&quot;, # The image content.
24204 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
24205 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
24206 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
24207 },
24208 &quot;text&quot;: { # A text content block.
24209 &quot;annotations&quot;: [ # Citation information for model-generated content.
24210 { # Citation information for model-generated content.
24211 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
24212 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
24213 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
24214 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24215 { # Represents a single field in a struct.
24216 &quot;name&quot;: &quot;A String&quot;,
24217 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24218 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24219 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24220 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24221 # Object with schema name: GenaiVertexV1beta1Value
24222 ],
24223 },
24224 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24225 &quot;numberValue&quot;: 3.14, # Represents a double value.
24226 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24227 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24228 },
24229 },
24230 ],
24231 },
24232 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
24233 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
24234 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
24235 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
24236 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
24237 },
24238 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
24239 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
24240 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
24241 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
24242 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
24243 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
24244 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
24245 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
24246 },
24247 ],
24248 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
24249 },
24250 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
24251 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
24252 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
24253 &quot;url&quot;: &quot;A String&quot;, # The URL.
24254 },
24255 },
24256 ],
24257 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
24258 },
24259 },
24260 ],
24261 },
24262 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
24263 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
24264 &quot;stringResult&quot;: &quot;A String&quot;,
24265 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
24266 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24267 { # Represents a single field in a struct.
24268 &quot;name&quot;: &quot;A String&quot;,
24269 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24270 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24271 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24272 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24273 # Object with schema name: GenaiVertexV1beta1Value
24274 ],
24275 },
24276 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24277 &quot;numberValue&quot;: 3.14, # Represents a double value.
24278 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24279 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24280 },
24281 },
24282 ],
24283 },
24284 },
24285 &quot;googleMapsResult&quot;: { # Google Maps result content.
24286 &quot;result&quot;: [ # Required. The results of the Google Maps.
24287 { # The result of the Google Maps.
24288 &quot;places&quot;: [ # The places that were found.
24289 {
24290 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
24291 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
24292 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
24293 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
24294 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
24295 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
24296 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
24297 },
24298 ],
24299 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
24300 },
24301 ],
24302 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
24303 },
24304 ],
24305 },
24306 &quot;googleSearchResult&quot;: { # Google Search result content.
24307 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
24308 &quot;result&quot;: [ # Required. The results of the Google Search.
24309 { # The result of the Google Search.
24310 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
24311 },
24312 ],
24313 },
24314 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
24315 &quot;contentList&quot;: {
24316 &quot;contents&quot;: [
24317 {
24318 &quot;image&quot;: { # An image content block.
24319 &quot;data&quot;: &quot;A String&quot;, # The image content.
24320 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
24321 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
24322 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
24323 },
24324 &quot;text&quot;: { # A text content block.
24325 &quot;annotations&quot;: [ # Citation information for model-generated content.
24326 { # Citation information for model-generated content.
24327 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
24328 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
24329 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
24330 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24331 { # Represents a single field in a struct.
24332 &quot;name&quot;: &quot;A String&quot;,
24333 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24334 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24335 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24336 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24337 # Object with schema name: GenaiVertexV1beta1Value
24338 ],
24339 },
24340 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24341 &quot;numberValue&quot;: 3.14, # Represents a double value.
24342 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24343 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24344 },
24345 },
24346 ],
24347 },
24348 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
24349 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
24350 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
24351 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
24352 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
24353 },
24354 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
24355 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
24356 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
24357 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
24358 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
24359 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
24360 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
24361 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
24362 },
24363 ],
24364 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
24365 },
24366 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
24367 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
24368 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
24369 &quot;url&quot;: &quot;A String&quot;, # The URL.
24370 },
24371 },
24372 ],
24373 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
24374 },
24375 },
24376 ],
24377 },
24378 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
24379 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
24380 &quot;stringResult&quot;: &quot;A String&quot;,
24381 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
24382 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24383 { # Represents a single field in a struct.
24384 &quot;name&quot;: &quot;A String&quot;,
24385 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24386 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24387 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24388 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24389 # Object with schema name: GenaiVertexV1beta1Value
24390 ],
24391 },
24392 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24393 &quot;numberValue&quot;: 3.14, # Represents a double value.
24394 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24395 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24396 },
24397 },
24398 ],
24399 },
24400 },
24401 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
24402 &quot;urlContextResult&quot;: { # URL context result content.
24403 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
24404 &quot;result&quot;: [ # Required. The results of the URL context.
24405 { # The result of the URL context.
24406 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
24407 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
24408 },
24409 ],
24410 },
24411 },
24412 &quot;video&quot;: { # A video content block.
24413 &quot;data&quot;: &quot;A String&quot;, # The video content.
24414 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
24415 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
24416 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
24417 },
24418 },
24419 ],
24420 },
24421 &quot;created&quot;: &quot;A String&quot;, # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
24422 &quot;envId&quot;: &quot;A String&quot;, # The environment ID for the interaction. Can be &#x27;remote&#x27; for default environment.
24423 &quot;environmentId&quot;: &quot;A String&quot;, # Output only. The environment ID for the interaction. Only populated if environment config is set in the request.
24424 &quot;id&quot;: &quot;A String&quot;, # Required. Output only. A unique identifier for the interaction completion.
24425 &quot;modelInteraction&quot;: { # Interaction for generating the completion using models. # Interaction for generating the completion using models.
24426 &quot;cached_content&quot;: &quot;A String&quot;, # The name of the cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings. Format: `projects/{project}/locations/{location}/cachedContents/{cachedContent}`
24427 &quot;generationConfig&quot;: { # Configuration parameters for model interactions. # Input only. Configuration parameters for the model interaction.
24428 &quot;frequency_penalty&quot;: 3.14, # Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0].
24429 &quot;imageConfig&quot;: { # The configuration for image interaction. # Configuration for image interaction.
24430 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio of the image to generate. Supported aspect ratios: 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9. If not specified, the model will choose a default aspect ratio based on any reference images provided.
24431 &quot;imageSize&quot;: &quot;A String&quot;, # Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
24432 },
24433 &quot;maxOutputTokens&quot;: 42, # The maximum number of tokens to include in the response.
24434 &quot;presence_penalty&quot;: 3.14, # Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0].
24435 &quot;seed&quot;: 42, # Seed used in decoding for reproducibility.
24436 &quot;speechConfig&quot;: [ # Configuration for speech interaction.
24437 { # The configuration for speech interaction.
24438 &quot;language&quot;: &quot;A String&quot;, # The language of the speech.
24439 &quot;speaker&quot;: &quot;A String&quot;, # The speaker&#x27;s name, it should match the speaker name given in the prompt.
24440 &quot;voice&quot;: &quot;A String&quot;, # The voice of the speaker.
24441 },
24442 ],
24443 &quot;stopSequences&quot;: [ # A list of character sequences that will stop output interaction.
24444 &quot;A String&quot;,
24445 ],
24446 &quot;temperature&quot;: 3.14, # Controls the randomness of the output.
24447 &quot;thinkingLevel&quot;: &quot;A String&quot;, # The level of thought tokens that the model should generate.
24448 &quot;thinkingSummaries&quot;: &quot;A String&quot;, # Whether to include thought summaries in the response.
24449 &quot;toolChoiceConfig&quot;: { # The tool choice configuration containing allowed tools. # The config for the tool choice.
24450 &quot;allowedTools&quot;: { # The configuration for allowed tools. # The allowed tools.
24451 &quot;mode&quot;: &quot;A String&quot;, # The mode of the tool choice.
24452 &quot;tools&quot;: [ # The names of the allowed tools.
24453 &quot;A String&quot;,
24454 ],
24455 },
24456 },
24457 &quot;toolChoiceMode&quot;: &quot;A String&quot;, # The mode of the tool choice.
24458 &quot;topP&quot;: 3.14, # The maximum cumulative probability of tokens to consider when sampling.
24459 },
24460 &quot;model&quot;: &quot;A String&quot;, # The name of the `Model` used for generating the completion.
24461 },
24462 &quot;outputs&quot;: [ # Output only. Responses from the model.
24463 { # The content of the response.
24464 &quot;audio&quot;: { # An audio content block.
24465 &quot;channels&quot;: 42, # The number of audio channels.
24466 &quot;data&quot;: &quot;A String&quot;, # The audio content.
24467 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
24468 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
24469 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
24470 },
24471 &quot;document&quot;: { # A document content block.
24472 &quot;data&quot;: &quot;A String&quot;, # The document content.
24473 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
24474 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
24475 },
24476 &quot;image&quot;: { # An image content block.
24477 &quot;data&quot;: &quot;A String&quot;, # The image content.
24478 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
24479 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
24480 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
24481 },
24482 &quot;text&quot;: { # A text content block.
24483 &quot;annotations&quot;: [ # Citation information for model-generated content.
24484 { # Citation information for model-generated content.
24485 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
24486 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
24487 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
24488 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24489 { # Represents a single field in a struct.
24490 &quot;name&quot;: &quot;A String&quot;,
24491 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24492 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24493 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24494 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24495 # Object with schema name: GenaiVertexV1beta1Value
24496 ],
24497 },
24498 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24499 &quot;numberValue&quot;: 3.14, # Represents a double value.
24500 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24501 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24502 },
24503 },
24504 ],
24505 },
24506 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
24507 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
24508 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
24509 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
24510 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
24511 },
24512 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
24513 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
24514 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
24515 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
24516 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
24517 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
24518 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
24519 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
24520 },
24521 ],
24522 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
24523 },
24524 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
24525 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
24526 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
24527 &quot;url&quot;: &quot;A String&quot;, # The URL.
24528 },
24529 },
24530 ],
24531 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
24532 },
24533 &quot;thought&quot;: { # A thought content block.
24534 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
24535 &quot;summary&quot;: [ # A summary of the thought.
24536 {
24537 &quot;image&quot;: { # An image content block.
24538 &quot;data&quot;: &quot;A String&quot;, # The image content.
24539 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
24540 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
24541 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
24542 },
24543 &quot;text&quot;: { # A text content block.
24544 &quot;annotations&quot;: [ # Citation information for model-generated content.
24545 { # Citation information for model-generated content.
24546 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
24547 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
24548 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
24549 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24550 { # Represents a single field in a struct.
24551 &quot;name&quot;: &quot;A String&quot;,
24552 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24553 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24554 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24555 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24556 # Object with schema name: GenaiVertexV1beta1Value
24557 ],
24558 },
24559 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24560 &quot;numberValue&quot;: 3.14, # Represents a double value.
24561 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24562 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24563 },
24564 },
24565 ],
24566 },
24567 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
24568 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
24569 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
24570 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
24571 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
24572 },
24573 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
24574 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
24575 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
24576 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
24577 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
24578 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
24579 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
24580 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
24581 },
24582 ],
24583 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
24584 },
24585 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
24586 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
24587 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
24588 &quot;url&quot;: &quot;A String&quot;, # The URL.
24589 },
24590 },
24591 ],
24592 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
24593 },
24594 },
24595 ],
24596 },
24597 &quot;toolCall&quot;: { # Tool call content.
24598 &quot;codeExecutionCall&quot;: { # Code execution content.
24599 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
24600 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
24601 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
24602 },
24603 },
24604 &quot;fileSearchCall&quot;: { # File Search content.
24605 },
24606 &quot;functionCall&quot;: { # A function tool call content block.
24607 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
24608 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24609 { # Represents a single field in a struct.
24610 &quot;name&quot;: &quot;A String&quot;,
24611 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24612 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24613 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24614 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24615 # Object with schema name: GenaiVertexV1beta1Value
24616 ],
24617 },
24618 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24619 &quot;numberValue&quot;: 3.14, # Represents a double value.
24620 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24621 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24622 },
24623 },
24624 ],
24625 },
24626 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
24627 },
24628 &quot;googleMapsCall&quot;: { # Google Maps content.
24629 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
24630 &quot;queries&quot;: [ # The queries to be executed.
24631 &quot;A String&quot;,
24632 ],
24633 },
24634 },
24635 &quot;googleSearchCall&quot;: { # Google Search content.
24636 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
24637 &quot;queries&quot;: [ # Web search queries for the following-up web search.
24638 &quot;A String&quot;,
24639 ],
24640 },
24641 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
24642 },
24643 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
24644 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
24645 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
24646 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24647 { # Represents a single field in a struct.
24648 &quot;name&quot;: &quot;A String&quot;,
24649 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24650 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24651 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24652 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24653 # Object with schema name: GenaiVertexV1beta1Value
24654 ],
24655 },
24656 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24657 &quot;numberValue&quot;: 3.14, # Represents a double value.
24658 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24659 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24660 },
24661 },
24662 ],
24663 },
24664 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
24665 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
24666 },
24667 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
24668 &quot;urlContextCall&quot;: { # URL context content.
24669 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
24670 &quot;urls&quot;: [ # The URLs to fetch.
24671 &quot;A String&quot;,
24672 ],
24673 },
24674 },
24675 },
24676 &quot;toolResult&quot;: { # Tool result content.
24677 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
24678 &quot;codeExecutionResult&quot;: { # Code execution result content.
24679 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
24680 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
24681 },
24682 &quot;fileSearchResult&quot;: { # File Search result content.
24683 &quot;result&quot;: [ # Optional. The results of the File Search.
24684 { # The result of the File Search.
24685 },
24686 ],
24687 },
24688 &quot;functionResult&quot;: { # A function tool result content block.
24689 &quot;contentList&quot;: {
24690 &quot;contents&quot;: [
24691 {
24692 &quot;image&quot;: { # An image content block.
24693 &quot;data&quot;: &quot;A String&quot;, # The image content.
24694 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
24695 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
24696 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
24697 },
24698 &quot;text&quot;: { # A text content block.
24699 &quot;annotations&quot;: [ # Citation information for model-generated content.
24700 { # Citation information for model-generated content.
24701 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
24702 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
24703 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
24704 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24705 { # Represents a single field in a struct.
24706 &quot;name&quot;: &quot;A String&quot;,
24707 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24708 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24709 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24710 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24711 # Object with schema name: GenaiVertexV1beta1Value
24712 ],
24713 },
24714 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24715 &quot;numberValue&quot;: 3.14, # Represents a double value.
24716 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24717 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24718 },
24719 },
24720 ],
24721 },
24722 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
24723 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
24724 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
24725 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
24726 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
24727 },
24728 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
24729 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
24730 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
24731 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
24732 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
24733 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
24734 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
24735 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
24736 },
24737 ],
24738 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
24739 },
24740 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
24741 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
24742 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
24743 &quot;url&quot;: &quot;A String&quot;, # The URL.
24744 },
24745 },
24746 ],
24747 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
24748 },
24749 },
24750 ],
24751 },
24752 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
24753 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
24754 &quot;stringResult&quot;: &quot;A String&quot;,
24755 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
24756 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24757 { # Represents a single field in a struct.
24758 &quot;name&quot;: &quot;A String&quot;,
24759 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24760 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24761 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24762 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24763 # Object with schema name: GenaiVertexV1beta1Value
24764 ],
24765 },
24766 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24767 &quot;numberValue&quot;: 3.14, # Represents a double value.
24768 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24769 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24770 },
24771 },
24772 ],
24773 },
24774 },
24775 &quot;googleMapsResult&quot;: { # Google Maps result content.
24776 &quot;result&quot;: [ # Required. The results of the Google Maps.
24777 { # The result of the Google Maps.
24778 &quot;places&quot;: [ # The places that were found.
24779 {
24780 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
24781 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
24782 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
24783 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
24784 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
24785 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
24786 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
24787 },
24788 ],
24789 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
24790 },
24791 ],
24792 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
24793 },
24794 ],
24795 },
24796 &quot;googleSearchResult&quot;: { # Google Search result content.
24797 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
24798 &quot;result&quot;: [ # Required. The results of the Google Search.
24799 { # The result of the Google Search.
24800 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
24801 },
24802 ],
24803 },
24804 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
24805 &quot;contentList&quot;: {
24806 &quot;contents&quot;: [
24807 {
24808 &quot;image&quot;: { # An image content block.
24809 &quot;data&quot;: &quot;A String&quot;, # The image content.
24810 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
24811 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
24812 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
24813 },
24814 &quot;text&quot;: { # A text content block.
24815 &quot;annotations&quot;: [ # Citation information for model-generated content.
24816 { # Citation information for model-generated content.
24817 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
24818 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
24819 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
24820 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24821 { # Represents a single field in a struct.
24822 &quot;name&quot;: &quot;A String&quot;,
24823 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24824 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24825 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24826 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24827 # Object with schema name: GenaiVertexV1beta1Value
24828 ],
24829 },
24830 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24831 &quot;numberValue&quot;: 3.14, # Represents a double value.
24832 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24833 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24834 },
24835 },
24836 ],
24837 },
24838 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
24839 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
24840 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
24841 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
24842 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
24843 },
24844 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
24845 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
24846 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
24847 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
24848 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
24849 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
24850 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
24851 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
24852 },
24853 ],
24854 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
24855 },
24856 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
24857 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
24858 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
24859 &quot;url&quot;: &quot;A String&quot;, # The URL.
24860 },
24861 },
24862 ],
24863 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
24864 },
24865 },
24866 ],
24867 },
24868 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
24869 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
24870 &quot;stringResult&quot;: &quot;A String&quot;,
24871 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
24872 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24873 { # Represents a single field in a struct.
24874 &quot;name&quot;: &quot;A String&quot;,
24875 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24876 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24877 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24878 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24879 # Object with schema name: GenaiVertexV1beta1Value
24880 ],
24881 },
24882 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24883 &quot;numberValue&quot;: 3.14, # Represents a double value.
24884 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24885 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24886 },
24887 },
24888 ],
24889 },
24890 },
24891 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
24892 &quot;urlContextResult&quot;: { # URL context result content.
24893 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
24894 &quot;result&quot;: [ # Required. The results of the URL context.
24895 { # The result of the URL context.
24896 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
24897 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
24898 },
24899 ],
24900 },
24901 },
24902 &quot;video&quot;: { # A video content block.
24903 &quot;data&quot;: &quot;A String&quot;, # The video content.
24904 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
24905 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
24906 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
24907 },
24908 },
24909 ],
24910 &quot;previousInteractionId&quot;: &quot;A String&quot;, # The ID of the previous interaction, if any.
24911 &quot;remoteEnvironment&quot;: { # Configuration for a custom environment.
24912 &quot;networkAllowlist&quot;: { # Network egress configuration for the environment. # Allow only specific domains.
24913 &quot;allowlist&quot;: [ # List of allowed domains and their configurations.
24914 { # A network egress rule that controls which external domains the environment is allowed to reach. Each rule identifies a target domain and, optionally, a set of HTTP headers to inject into every matching outbound request.
24915 &quot;domain&quot;: &quot;A String&quot;, # The domain pattern to match for this rule. Use an exact hostname (e.g., `github.com`), a wildcard prefix (e.g., `*.googleapis.com`), or `*` to match all domains.
24916 &quot;transform&quot;: { # Headers to inject into requests matching this rule. Key: header name (e.g., &quot;Authorization&quot;). Value: header value (e.g., &quot;Bearer your-token&quot;).
24917 &quot;a_key&quot;: &quot;A String&quot;,
24918 },
24919 },
24920 ],
24921 },
24922 &quot;networkMode&quot;: &quot;A String&quot;, # Network egress mode.
24923 &quot;sources&quot;: [
24924 { # A source to be mounted into the environment.
24925 &quot;content&quot;: &quot;A String&quot;, # The inline content if `type` is `INLINE`.
24926 &quot;encoding&quot;: &quot;A String&quot;, # Optional encoding for inline content (e.g. `base64`).
24927 &quot;source&quot;: &quot;A String&quot;, # The source of the environment. For GCS, this is the GCS path. For GitHub, this is the GitHub path.
24928 &quot;target&quot;: &quot;A String&quot;, # Where the source should appear in the environment.
24929 &quot;type&quot;: &quot;A String&quot;,
24930 },
24931 ],
24932 },
24933 &quot;responseFormat&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
24934 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24935 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24936 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24937 # Object with schema name: GenaiVertexV1beta1Value
24938 ],
24939 },
24940 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24941 &quot;numberValue&quot;: 3.14, # Represents a double value.
24942 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24943 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24944 },
24945 &quot;responseFormatList&quot;: {
24946 &quot;responseFormats&quot;: [
24947 {
24948 &quot;audio&quot;: { # Configuration for audio output format.
24949 &quot;bitRate&quot;: 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
24950 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the audio output.
24951 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the audio output.
24952 &quot;sampleRate&quot;: 42, # Sample rate in Hz.
24953 },
24954 &quot;image&quot;: { # Configuration for image output format.
24955 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio for the image output.
24956 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the image output.
24957 &quot;imageSize&quot;: &quot;A String&quot;, # The size of the image output.
24958 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the image output.
24959 },
24960 &quot;structValue&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
24961 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24962 { # Represents a single field in a struct.
24963 &quot;name&quot;: &quot;A String&quot;,
24964 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24965 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24966 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24967 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24968 # Object with schema name: GenaiVertexV1beta1Value
24969 ],
24970 },
24971 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24972 &quot;numberValue&quot;: 3.14, # Represents a double value.
24973 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24974 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24975 },
24976 },
24977 ],
24978 },
24979 &quot;text&quot;: { # Configuration for text output format.
24980 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the text output.
24981 &quot;schema&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
24982 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
24983 { # Represents a single field in a struct.
24984 &quot;name&quot;: &quot;A String&quot;,
24985 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
24986 &quot;boolValue&quot;: True or False, # Represents a boolean value.
24987 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
24988 &quot;values&quot;: [ # Repeated field of dynamically typed values.
24989 # Object with schema name: GenaiVertexV1beta1Value
24990 ],
24991 },
24992 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
24993 &quot;numberValue&quot;: 3.14, # Represents a double value.
24994 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
24995 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
24996 },
24997 },
24998 ],
24999 },
25000 },
25001 },
25002 ],
25003 },
25004 &quot;responseFormatSingleton&quot;: {
25005 &quot;audio&quot;: { # Configuration for audio output format.
25006 &quot;bitRate&quot;: 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
25007 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the audio output.
25008 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the audio output.
25009 &quot;sampleRate&quot;: 42, # Sample rate in Hz.
25010 },
25011 &quot;image&quot;: { # Configuration for image output format.
25012 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio for the image output.
25013 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the image output.
25014 &quot;imageSize&quot;: &quot;A String&quot;, # The size of the image output.
25015 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the image output.
25016 },
25017 &quot;structValue&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
25018 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25019 { # Represents a single field in a struct.
25020 &quot;name&quot;: &quot;A String&quot;,
25021 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25022 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25023 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25024 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25025 # Object with schema name: GenaiVertexV1beta1Value
25026 ],
25027 },
25028 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25029 &quot;numberValue&quot;: 3.14, # Represents a double value.
25030 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25031 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25032 },
25033 },
25034 ],
25035 },
25036 &quot;text&quot;: { # Configuration for text output format.
25037 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the text output.
25038 &quot;schema&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
25039 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25040 { # Represents a single field in a struct.
25041 &quot;name&quot;: &quot;A String&quot;,
25042 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25043 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25044 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25045 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25046 # Object with schema name: GenaiVertexV1beta1Value
25047 ],
25048 },
25049 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25050 &quot;numberValue&quot;: 3.14, # Represents a double value.
25051 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25052 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25053 },
25054 },
25055 ],
25056 },
25057 },
25058 },
25059 &quot;responseMimeType&quot;: &quot;A String&quot;, # The mime type of the response. This is required if response_format is set.
25060 &quot;responseModalities&quot;: [ # The requested modalities of the response (TEXT, IMAGE, AUDIO).
25061 &quot;A String&quot;,
25062 ],
25063 &quot;role&quot;: &quot;A String&quot;, # Output only. The role of the interaction.
25064 &quot;status&quot;: &quot;A String&quot;, # Required. Output only. The status of the interaction.
25065 &quot;stepList&quot;: { # A list of Steps. # Input only. The steps for the interaction.
25066 &quot;steps&quot;: [ # The steps of the list.
25067 { # A step in the interaction.
25068 &quot;modelOutput&quot;: { # Output generated by the model.
25069 &quot;content&quot;: [
25070 { # The content of the response.
25071 &quot;audio&quot;: { # An audio content block.
25072 &quot;channels&quot;: 42, # The number of audio channels.
25073 &quot;data&quot;: &quot;A String&quot;, # The audio content.
25074 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
25075 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
25076 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
25077 },
25078 &quot;document&quot;: { # A document content block.
25079 &quot;data&quot;: &quot;A String&quot;, # The document content.
25080 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
25081 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
25082 },
25083 &quot;image&quot;: { # An image content block.
25084 &quot;data&quot;: &quot;A String&quot;, # The image content.
25085 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
25086 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
25087 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
25088 },
25089 &quot;text&quot;: { # A text content block.
25090 &quot;annotations&quot;: [ # Citation information for model-generated content.
25091 { # Citation information for model-generated content.
25092 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
25093 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
25094 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
25095 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25096 { # Represents a single field in a struct.
25097 &quot;name&quot;: &quot;A String&quot;,
25098 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25099 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25100 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25101 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25102 # Object with schema name: GenaiVertexV1beta1Value
25103 ],
25104 },
25105 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25106 &quot;numberValue&quot;: 3.14, # Represents a double value.
25107 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25108 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25109 },
25110 },
25111 ],
25112 },
25113 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
25114 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
25115 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
25116 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
25117 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
25118 },
25119 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
25120 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
25121 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
25122 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
25123 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
25124 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
25125 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
25126 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
25127 },
25128 ],
25129 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
25130 },
25131 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
25132 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
25133 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
25134 &quot;url&quot;: &quot;A String&quot;, # The URL.
25135 },
25136 },
25137 ],
25138 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
25139 },
25140 &quot;thought&quot;: { # A thought content block.
25141 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
25142 &quot;summary&quot;: [ # A summary of the thought.
25143 {
25144 &quot;image&quot;: { # An image content block.
25145 &quot;data&quot;: &quot;A String&quot;, # The image content.
25146 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
25147 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
25148 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
25149 },
25150 &quot;text&quot;: { # A text content block.
25151 &quot;annotations&quot;: [ # Citation information for model-generated content.
25152 { # Citation information for model-generated content.
25153 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
25154 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
25155 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
25156 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25157 { # Represents a single field in a struct.
25158 &quot;name&quot;: &quot;A String&quot;,
25159 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25160 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25161 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25162 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25163 # Object with schema name: GenaiVertexV1beta1Value
25164 ],
25165 },
25166 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25167 &quot;numberValue&quot;: 3.14, # Represents a double value.
25168 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25169 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25170 },
25171 },
25172 ],
25173 },
25174 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
25175 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
25176 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
25177 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
25178 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
25179 },
25180 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
25181 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
25182 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
25183 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
25184 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
25185 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
25186 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
25187 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
25188 },
25189 ],
25190 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
25191 },
25192 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
25193 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
25194 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
25195 &quot;url&quot;: &quot;A String&quot;, # The URL.
25196 },
25197 },
25198 ],
25199 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
25200 },
25201 },
25202 ],
25203 },
25204 &quot;toolCall&quot;: { # Tool call content.
25205 &quot;codeExecutionCall&quot;: { # Code execution content.
25206 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
25207 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
25208 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
25209 },
25210 },
25211 &quot;fileSearchCall&quot;: { # File Search content.
25212 },
25213 &quot;functionCall&quot;: { # A function tool call content block.
25214 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
25215 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25216 { # Represents a single field in a struct.
25217 &quot;name&quot;: &quot;A String&quot;,
25218 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25219 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25220 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25221 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25222 # Object with schema name: GenaiVertexV1beta1Value
25223 ],
25224 },
25225 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25226 &quot;numberValue&quot;: 3.14, # Represents a double value.
25227 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25228 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25229 },
25230 },
25231 ],
25232 },
25233 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
25234 },
25235 &quot;googleMapsCall&quot;: { # Google Maps content.
25236 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
25237 &quot;queries&quot;: [ # The queries to be executed.
25238 &quot;A String&quot;,
25239 ],
25240 },
25241 },
25242 &quot;googleSearchCall&quot;: { # Google Search content.
25243 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
25244 &quot;queries&quot;: [ # Web search queries for the following-up web search.
25245 &quot;A String&quot;,
25246 ],
25247 },
25248 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
25249 },
25250 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
25251 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
25252 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
25253 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25254 { # Represents a single field in a struct.
25255 &quot;name&quot;: &quot;A String&quot;,
25256 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25257 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25258 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25259 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25260 # Object with schema name: GenaiVertexV1beta1Value
25261 ],
25262 },
25263 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25264 &quot;numberValue&quot;: 3.14, # Represents a double value.
25265 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25266 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25267 },
25268 },
25269 ],
25270 },
25271 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
25272 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
25273 },
25274 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
25275 &quot;urlContextCall&quot;: { # URL context content.
25276 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
25277 &quot;urls&quot;: [ # The URLs to fetch.
25278 &quot;A String&quot;,
25279 ],
25280 },
25281 },
25282 },
25283 &quot;toolResult&quot;: { # Tool result content.
25284 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
25285 &quot;codeExecutionResult&quot;: { # Code execution result content.
25286 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
25287 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
25288 },
25289 &quot;fileSearchResult&quot;: { # File Search result content.
25290 &quot;result&quot;: [ # Optional. The results of the File Search.
25291 { # The result of the File Search.
25292 },
25293 ],
25294 },
25295 &quot;functionResult&quot;: { # A function tool result content block.
25296 &quot;contentList&quot;: {
25297 &quot;contents&quot;: [
25298 {
25299 &quot;image&quot;: { # An image content block.
25300 &quot;data&quot;: &quot;A String&quot;, # The image content.
25301 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
25302 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
25303 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
25304 },
25305 &quot;text&quot;: { # A text content block.
25306 &quot;annotations&quot;: [ # Citation information for model-generated content.
25307 { # Citation information for model-generated content.
25308 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
25309 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
25310 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
25311 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25312 { # Represents a single field in a struct.
25313 &quot;name&quot;: &quot;A String&quot;,
25314 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25315 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25316 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25317 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25318 # Object with schema name: GenaiVertexV1beta1Value
25319 ],
25320 },
25321 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25322 &quot;numberValue&quot;: 3.14, # Represents a double value.
25323 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25324 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25325 },
25326 },
25327 ],
25328 },
25329 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
25330 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
25331 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
25332 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
25333 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
25334 },
25335 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
25336 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
25337 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
25338 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
25339 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
25340 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
25341 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
25342 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
25343 },
25344 ],
25345 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
25346 },
25347 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
25348 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
25349 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
25350 &quot;url&quot;: &quot;A String&quot;, # The URL.
25351 },
25352 },
25353 ],
25354 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
25355 },
25356 },
25357 ],
25358 },
25359 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
25360 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
25361 &quot;stringResult&quot;: &quot;A String&quot;,
25362 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
25363 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25364 { # Represents a single field in a struct.
25365 &quot;name&quot;: &quot;A String&quot;,
25366 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25367 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25368 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25369 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25370 # Object with schema name: GenaiVertexV1beta1Value
25371 ],
25372 },
25373 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25374 &quot;numberValue&quot;: 3.14, # Represents a double value.
25375 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25376 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25377 },
25378 },
25379 ],
25380 },
25381 },
25382 &quot;googleMapsResult&quot;: { # Google Maps result content.
25383 &quot;result&quot;: [ # Required. The results of the Google Maps.
25384 { # The result of the Google Maps.
25385 &quot;places&quot;: [ # The places that were found.
25386 {
25387 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
25388 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
25389 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
25390 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
25391 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
25392 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
25393 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
25394 },
25395 ],
25396 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
25397 },
25398 ],
25399 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
25400 },
25401 ],
25402 },
25403 &quot;googleSearchResult&quot;: { # Google Search result content.
25404 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
25405 &quot;result&quot;: [ # Required. The results of the Google Search.
25406 { # The result of the Google Search.
25407 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
25408 },
25409 ],
25410 },
25411 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
25412 &quot;contentList&quot;: {
25413 &quot;contents&quot;: [
25414 {
25415 &quot;image&quot;: { # An image content block.
25416 &quot;data&quot;: &quot;A String&quot;, # The image content.
25417 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
25418 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
25419 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
25420 },
25421 &quot;text&quot;: { # A text content block.
25422 &quot;annotations&quot;: [ # Citation information for model-generated content.
25423 { # Citation information for model-generated content.
25424 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
25425 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
25426 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
25427 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25428 { # Represents a single field in a struct.
25429 &quot;name&quot;: &quot;A String&quot;,
25430 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25431 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25432 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25433 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25434 # Object with schema name: GenaiVertexV1beta1Value
25435 ],
25436 },
25437 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25438 &quot;numberValue&quot;: 3.14, # Represents a double value.
25439 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25440 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25441 },
25442 },
25443 ],
25444 },
25445 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
25446 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
25447 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
25448 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
25449 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
25450 },
25451 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
25452 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
25453 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
25454 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
25455 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
25456 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
25457 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
25458 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
25459 },
25460 ],
25461 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
25462 },
25463 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
25464 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
25465 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
25466 &quot;url&quot;: &quot;A String&quot;, # The URL.
25467 },
25468 },
25469 ],
25470 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
25471 },
25472 },
25473 ],
25474 },
25475 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
25476 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
25477 &quot;stringResult&quot;: &quot;A String&quot;,
25478 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
25479 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25480 { # Represents a single field in a struct.
25481 &quot;name&quot;: &quot;A String&quot;,
25482 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25483 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25484 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25485 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25486 # Object with schema name: GenaiVertexV1beta1Value
25487 ],
25488 },
25489 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25490 &quot;numberValue&quot;: 3.14, # Represents a double value.
25491 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25492 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25493 },
25494 },
25495 ],
25496 },
25497 },
25498 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
25499 &quot;urlContextResult&quot;: { # URL context result content.
25500 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
25501 &quot;result&quot;: [ # Required. The results of the URL context.
25502 { # The result of the URL context.
25503 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
25504 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
25505 },
25506 ],
25507 },
25508 },
25509 &quot;video&quot;: { # A video content block.
25510 &quot;data&quot;: &quot;A String&quot;, # The video content.
25511 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
25512 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
25513 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
25514 },
25515 },
25516 ],
25517 },
25518 &quot;thought&quot;: { # A thought step.
25519 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
25520 &quot;summary&quot;: [ # A summary of the thought.
25521 { # The content of the response.
25522 &quot;audio&quot;: { # An audio content block.
25523 &quot;channels&quot;: 42, # The number of audio channels.
25524 &quot;data&quot;: &quot;A String&quot;, # The audio content.
25525 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
25526 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
25527 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
25528 },
25529 &quot;document&quot;: { # A document content block.
25530 &quot;data&quot;: &quot;A String&quot;, # The document content.
25531 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
25532 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
25533 },
25534 &quot;image&quot;: { # An image content block.
25535 &quot;data&quot;: &quot;A String&quot;, # The image content.
25536 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
25537 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
25538 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
25539 },
25540 &quot;text&quot;: { # A text content block.
25541 &quot;annotations&quot;: [ # Citation information for model-generated content.
25542 { # Citation information for model-generated content.
25543 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
25544 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
25545 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
25546 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25547 { # Represents a single field in a struct.
25548 &quot;name&quot;: &quot;A String&quot;,
25549 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25550 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25551 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25552 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25553 # Object with schema name: GenaiVertexV1beta1Value
25554 ],
25555 },
25556 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25557 &quot;numberValue&quot;: 3.14, # Represents a double value.
25558 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25559 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25560 },
25561 },
25562 ],
25563 },
25564 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
25565 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
25566 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
25567 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
25568 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
25569 },
25570 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
25571 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
25572 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
25573 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
25574 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
25575 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
25576 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
25577 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
25578 },
25579 ],
25580 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
25581 },
25582 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
25583 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
25584 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
25585 &quot;url&quot;: &quot;A String&quot;, # The URL.
25586 },
25587 },
25588 ],
25589 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
25590 },
25591 &quot;thought&quot;: { # A thought content block.
25592 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
25593 &quot;summary&quot;: [ # A summary of the thought.
25594 {
25595 &quot;image&quot;: { # An image content block.
25596 &quot;data&quot;: &quot;A String&quot;, # The image content.
25597 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
25598 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
25599 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
25600 },
25601 &quot;text&quot;: { # A text content block.
25602 &quot;annotations&quot;: [ # Citation information for model-generated content.
25603 { # Citation information for model-generated content.
25604 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
25605 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
25606 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
25607 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25608 { # Represents a single field in a struct.
25609 &quot;name&quot;: &quot;A String&quot;,
25610 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25611 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25612 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25613 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25614 # Object with schema name: GenaiVertexV1beta1Value
25615 ],
25616 },
25617 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25618 &quot;numberValue&quot;: 3.14, # Represents a double value.
25619 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25620 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25621 },
25622 },
25623 ],
25624 },
25625 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
25626 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
25627 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
25628 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
25629 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
25630 },
25631 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
25632 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
25633 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
25634 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
25635 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
25636 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
25637 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
25638 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
25639 },
25640 ],
25641 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
25642 },
25643 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
25644 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
25645 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
25646 &quot;url&quot;: &quot;A String&quot;, # The URL.
25647 },
25648 },
25649 ],
25650 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
25651 },
25652 },
25653 ],
25654 },
25655 &quot;toolCall&quot;: { # Tool call content.
25656 &quot;codeExecutionCall&quot;: { # Code execution content.
25657 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
25658 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
25659 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
25660 },
25661 },
25662 &quot;fileSearchCall&quot;: { # File Search content.
25663 },
25664 &quot;functionCall&quot;: { # A function tool call content block.
25665 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
25666 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25667 { # Represents a single field in a struct.
25668 &quot;name&quot;: &quot;A String&quot;,
25669 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25670 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25671 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25672 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25673 # Object with schema name: GenaiVertexV1beta1Value
25674 ],
25675 },
25676 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25677 &quot;numberValue&quot;: 3.14, # Represents a double value.
25678 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25679 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25680 },
25681 },
25682 ],
25683 },
25684 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
25685 },
25686 &quot;googleMapsCall&quot;: { # Google Maps content.
25687 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
25688 &quot;queries&quot;: [ # The queries to be executed.
25689 &quot;A String&quot;,
25690 ],
25691 },
25692 },
25693 &quot;googleSearchCall&quot;: { # Google Search content.
25694 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
25695 &quot;queries&quot;: [ # Web search queries for the following-up web search.
25696 &quot;A String&quot;,
25697 ],
25698 },
25699 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
25700 },
25701 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
25702 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
25703 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
25704 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25705 { # Represents a single field in a struct.
25706 &quot;name&quot;: &quot;A String&quot;,
25707 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25708 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25709 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25710 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25711 # Object with schema name: GenaiVertexV1beta1Value
25712 ],
25713 },
25714 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25715 &quot;numberValue&quot;: 3.14, # Represents a double value.
25716 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25717 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25718 },
25719 },
25720 ],
25721 },
25722 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
25723 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
25724 },
25725 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
25726 &quot;urlContextCall&quot;: { # URL context content.
25727 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
25728 &quot;urls&quot;: [ # The URLs to fetch.
25729 &quot;A String&quot;,
25730 ],
25731 },
25732 },
25733 },
25734 &quot;toolResult&quot;: { # Tool result content.
25735 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
25736 &quot;codeExecutionResult&quot;: { # Code execution result content.
25737 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
25738 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
25739 },
25740 &quot;fileSearchResult&quot;: { # File Search result content.
25741 &quot;result&quot;: [ # Optional. The results of the File Search.
25742 { # The result of the File Search.
25743 },
25744 ],
25745 },
25746 &quot;functionResult&quot;: { # A function tool result content block.
25747 &quot;contentList&quot;: {
25748 &quot;contents&quot;: [
25749 {
25750 &quot;image&quot;: { # An image content block.
25751 &quot;data&quot;: &quot;A String&quot;, # The image content.
25752 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
25753 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
25754 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
25755 },
25756 &quot;text&quot;: { # A text content block.
25757 &quot;annotations&quot;: [ # Citation information for model-generated content.
25758 { # Citation information for model-generated content.
25759 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
25760 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
25761 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
25762 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25763 { # Represents a single field in a struct.
25764 &quot;name&quot;: &quot;A String&quot;,
25765 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25766 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25767 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25768 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25769 # Object with schema name: GenaiVertexV1beta1Value
25770 ],
25771 },
25772 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25773 &quot;numberValue&quot;: 3.14, # Represents a double value.
25774 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25775 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25776 },
25777 },
25778 ],
25779 },
25780 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
25781 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
25782 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
25783 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
25784 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
25785 },
25786 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
25787 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
25788 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
25789 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
25790 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
25791 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
25792 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
25793 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
25794 },
25795 ],
25796 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
25797 },
25798 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
25799 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
25800 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
25801 &quot;url&quot;: &quot;A String&quot;, # The URL.
25802 },
25803 },
25804 ],
25805 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
25806 },
25807 },
25808 ],
25809 },
25810 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
25811 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
25812 &quot;stringResult&quot;: &quot;A String&quot;,
25813 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
25814 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25815 { # Represents a single field in a struct.
25816 &quot;name&quot;: &quot;A String&quot;,
25817 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25818 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25819 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25820 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25821 # Object with schema name: GenaiVertexV1beta1Value
25822 ],
25823 },
25824 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25825 &quot;numberValue&quot;: 3.14, # Represents a double value.
25826 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25827 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25828 },
25829 },
25830 ],
25831 },
25832 },
25833 &quot;googleMapsResult&quot;: { # Google Maps result content.
25834 &quot;result&quot;: [ # Required. The results of the Google Maps.
25835 { # The result of the Google Maps.
25836 &quot;places&quot;: [ # The places that were found.
25837 {
25838 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
25839 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
25840 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
25841 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
25842 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
25843 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
25844 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
25845 },
25846 ],
25847 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
25848 },
25849 ],
25850 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
25851 },
25852 ],
25853 },
25854 &quot;googleSearchResult&quot;: { # Google Search result content.
25855 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
25856 &quot;result&quot;: [ # Required. The results of the Google Search.
25857 { # The result of the Google Search.
25858 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
25859 },
25860 ],
25861 },
25862 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
25863 &quot;contentList&quot;: {
25864 &quot;contents&quot;: [
25865 {
25866 &quot;image&quot;: { # An image content block.
25867 &quot;data&quot;: &quot;A String&quot;, # The image content.
25868 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
25869 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
25870 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
25871 },
25872 &quot;text&quot;: { # A text content block.
25873 &quot;annotations&quot;: [ # Citation information for model-generated content.
25874 { # Citation information for model-generated content.
25875 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
25876 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
25877 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
25878 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25879 { # Represents a single field in a struct.
25880 &quot;name&quot;: &quot;A String&quot;,
25881 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25882 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25883 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25884 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25885 # Object with schema name: GenaiVertexV1beta1Value
25886 ],
25887 },
25888 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25889 &quot;numberValue&quot;: 3.14, # Represents a double value.
25890 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25891 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25892 },
25893 },
25894 ],
25895 },
25896 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
25897 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
25898 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
25899 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
25900 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
25901 },
25902 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
25903 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
25904 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
25905 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
25906 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
25907 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
25908 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
25909 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
25910 },
25911 ],
25912 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
25913 },
25914 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
25915 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
25916 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
25917 &quot;url&quot;: &quot;A String&quot;, # The URL.
25918 },
25919 },
25920 ],
25921 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
25922 },
25923 },
25924 ],
25925 },
25926 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
25927 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
25928 &quot;stringResult&quot;: &quot;A String&quot;,
25929 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
25930 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25931 { # Represents a single field in a struct.
25932 &quot;name&quot;: &quot;A String&quot;,
25933 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25934 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25935 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25936 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25937 # Object with schema name: GenaiVertexV1beta1Value
25938 ],
25939 },
25940 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25941 &quot;numberValue&quot;: 3.14, # Represents a double value.
25942 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25943 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25944 },
25945 },
25946 ],
25947 },
25948 },
25949 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
25950 &quot;urlContextResult&quot;: { # URL context result content.
25951 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
25952 &quot;result&quot;: [ # Required. The results of the URL context.
25953 { # The result of the URL context.
25954 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
25955 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
25956 },
25957 ],
25958 },
25959 },
25960 &quot;video&quot;: { # A video content block.
25961 &quot;data&quot;: &quot;A String&quot;, # The video content.
25962 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
25963 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
25964 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
25965 },
25966 },
25967 ],
25968 },
25969 &quot;toolCall&quot;: { # Tool call step.
25970 &quot;codeExecutionCall&quot;: { # Code execution call step.
25971 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
25972 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
25973 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
25974 },
25975 },
25976 &quot;fileSearchCall&quot;: { # File Search call step.
25977 },
25978 &quot;functionCall&quot;: { # A function tool call step.
25979 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
25980 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
25981 { # Represents a single field in a struct.
25982 &quot;name&quot;: &quot;A String&quot;,
25983 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
25984 &quot;boolValue&quot;: True or False, # Represents a boolean value.
25985 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
25986 &quot;values&quot;: [ # Repeated field of dynamically typed values.
25987 # Object with schema name: GenaiVertexV1beta1Value
25988 ],
25989 },
25990 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
25991 &quot;numberValue&quot;: 3.14, # Represents a double value.
25992 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
25993 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
25994 },
25995 },
25996 ],
25997 },
25998 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
25999 },
26000 &quot;googleMapsCall&quot;: { # Google Maps call step.
26001 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
26002 &quot;queries&quot;: [ # The queries to be executed.
26003 &quot;A String&quot;,
26004 ],
26005 },
26006 },
26007 &quot;googleSearchCall&quot;: { # Google Search call step.
26008 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
26009 &quot;queries&quot;: [ # Web search queries for the following-up web search.
26010 &quot;A String&quot;,
26011 ],
26012 },
26013 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
26014 },
26015 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
26016 &quot;mcpServerToolCall&quot;: { # MCPServer tool call step.
26017 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
26018 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26019 { # Represents a single field in a struct.
26020 &quot;name&quot;: &quot;A String&quot;,
26021 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26022 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26023 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26024 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26025 # Object with schema name: GenaiVertexV1beta1Value
26026 ],
26027 },
26028 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26029 &quot;numberValue&quot;: 3.14, # Represents a double value.
26030 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26031 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26032 },
26033 },
26034 ],
26035 },
26036 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
26037 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
26038 },
26039 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
26040 &quot;urlContextCall&quot;: { # URL context call step.
26041 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
26042 &quot;urls&quot;: [ # The URLs to fetch.
26043 &quot;A String&quot;,
26044 ],
26045 },
26046 },
26047 },
26048 &quot;toolResult&quot;: { # Tool result step.
26049 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
26050 &quot;codeExecutionResult&quot;: { # Code execution result step.
26051 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
26052 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
26053 },
26054 &quot;fileSearchResult&quot;: { # File Search result step.
26055 },
26056 &quot;functionResult&quot;: { # Result of a function tool call.
26057 &quot;contentList&quot;: { # A list of Content.
26058 &quot;contents&quot;: [ # The contents of the list.
26059 { # The content of the response.
26060 &quot;audio&quot;: { # An audio content block.
26061 &quot;channels&quot;: 42, # The number of audio channels.
26062 &quot;data&quot;: &quot;A String&quot;, # The audio content.
26063 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
26064 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
26065 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
26066 },
26067 &quot;document&quot;: { # A document content block.
26068 &quot;data&quot;: &quot;A String&quot;, # The document content.
26069 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
26070 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
26071 },
26072 &quot;image&quot;: { # An image content block.
26073 &quot;data&quot;: &quot;A String&quot;, # The image content.
26074 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
26075 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
26076 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
26077 },
26078 &quot;text&quot;: { # A text content block.
26079 &quot;annotations&quot;: [ # Citation information for model-generated content.
26080 { # Citation information for model-generated content.
26081 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
26082 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
26083 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
26084 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26085 { # Represents a single field in a struct.
26086 &quot;name&quot;: &quot;A String&quot;,
26087 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26088 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26089 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26090 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26091 # Object with schema name: GenaiVertexV1beta1Value
26092 ],
26093 },
26094 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26095 &quot;numberValue&quot;: 3.14, # Represents a double value.
26096 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26097 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26098 },
26099 },
26100 ],
26101 },
26102 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
26103 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
26104 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
26105 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
26106 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
26107 },
26108 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
26109 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
26110 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
26111 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
26112 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
26113 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
26114 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
26115 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
26116 },
26117 ],
26118 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
26119 },
26120 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
26121 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
26122 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
26123 &quot;url&quot;: &quot;A String&quot;, # The URL.
26124 },
26125 },
26126 ],
26127 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
26128 },
26129 &quot;thought&quot;: { # A thought content block.
26130 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
26131 &quot;summary&quot;: [ # A summary of the thought.
26132 {
26133 &quot;image&quot;: { # An image content block.
26134 &quot;data&quot;: &quot;A String&quot;, # The image content.
26135 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
26136 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
26137 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
26138 },
26139 &quot;text&quot;: { # A text content block.
26140 &quot;annotations&quot;: [ # Citation information for model-generated content.
26141 { # Citation information for model-generated content.
26142 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
26143 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
26144 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
26145 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26146 { # Represents a single field in a struct.
26147 &quot;name&quot;: &quot;A String&quot;,
26148 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26149 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26150 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26151 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26152 # Object with schema name: GenaiVertexV1beta1Value
26153 ],
26154 },
26155 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26156 &quot;numberValue&quot;: 3.14, # Represents a double value.
26157 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26158 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26159 },
26160 },
26161 ],
26162 },
26163 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
26164 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
26165 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
26166 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
26167 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
26168 },
26169 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
26170 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
26171 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
26172 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
26173 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
26174 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
26175 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
26176 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
26177 },
26178 ],
26179 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
26180 },
26181 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
26182 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
26183 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
26184 &quot;url&quot;: &quot;A String&quot;, # The URL.
26185 },
26186 },
26187 ],
26188 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
26189 },
26190 },
26191 ],
26192 },
26193 &quot;toolCall&quot;: { # Tool call content.
26194 &quot;codeExecutionCall&quot;: { # Code execution content.
26195 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
26196 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
26197 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
26198 },
26199 },
26200 &quot;fileSearchCall&quot;: { # File Search content.
26201 },
26202 &quot;functionCall&quot;: { # A function tool call content block.
26203 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
26204 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26205 { # Represents a single field in a struct.
26206 &quot;name&quot;: &quot;A String&quot;,
26207 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26208 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26209 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26210 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26211 # Object with schema name: GenaiVertexV1beta1Value
26212 ],
26213 },
26214 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26215 &quot;numberValue&quot;: 3.14, # Represents a double value.
26216 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26217 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26218 },
26219 },
26220 ],
26221 },
26222 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
26223 },
26224 &quot;googleMapsCall&quot;: { # Google Maps content.
26225 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
26226 &quot;queries&quot;: [ # The queries to be executed.
26227 &quot;A String&quot;,
26228 ],
26229 },
26230 },
26231 &quot;googleSearchCall&quot;: { # Google Search content.
26232 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
26233 &quot;queries&quot;: [ # Web search queries for the following-up web search.
26234 &quot;A String&quot;,
26235 ],
26236 },
26237 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
26238 },
26239 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
26240 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
26241 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
26242 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26243 { # Represents a single field in a struct.
26244 &quot;name&quot;: &quot;A String&quot;,
26245 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26246 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26247 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26248 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26249 # Object with schema name: GenaiVertexV1beta1Value
26250 ],
26251 },
26252 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26253 &quot;numberValue&quot;: 3.14, # Represents a double value.
26254 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26255 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26256 },
26257 },
26258 ],
26259 },
26260 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
26261 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
26262 },
26263 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
26264 &quot;urlContextCall&quot;: { # URL context content.
26265 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
26266 &quot;urls&quot;: [ # The URLs to fetch.
26267 &quot;A String&quot;,
26268 ],
26269 },
26270 },
26271 },
26272 &quot;toolResult&quot;: { # Tool result content.
26273 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
26274 &quot;codeExecutionResult&quot;: { # Code execution result content.
26275 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
26276 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
26277 },
26278 &quot;fileSearchResult&quot;: { # File Search result content.
26279 &quot;result&quot;: [ # Optional. The results of the File Search.
26280 { # The result of the File Search.
26281 },
26282 ],
26283 },
26284 &quot;functionResult&quot;: { # A function tool result content block.
26285 &quot;contentList&quot;: {
26286 &quot;contents&quot;: [
26287 {
26288 &quot;image&quot;: { # An image content block.
26289 &quot;data&quot;: &quot;A String&quot;, # The image content.
26290 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
26291 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
26292 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
26293 },
26294 &quot;text&quot;: { # A text content block.
26295 &quot;annotations&quot;: [ # Citation information for model-generated content.
26296 { # Citation information for model-generated content.
26297 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
26298 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
26299 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
26300 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26301 { # Represents a single field in a struct.
26302 &quot;name&quot;: &quot;A String&quot;,
26303 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26304 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26305 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26306 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26307 # Object with schema name: GenaiVertexV1beta1Value
26308 ],
26309 },
26310 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26311 &quot;numberValue&quot;: 3.14, # Represents a double value.
26312 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26313 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26314 },
26315 },
26316 ],
26317 },
26318 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
26319 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
26320 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
26321 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
26322 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
26323 },
26324 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
26325 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
26326 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
26327 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
26328 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
26329 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
26330 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
26331 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
26332 },
26333 ],
26334 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
26335 },
26336 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
26337 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
26338 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
26339 &quot;url&quot;: &quot;A String&quot;, # The URL.
26340 },
26341 },
26342 ],
26343 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
26344 },
26345 },
26346 ],
26347 },
26348 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
26349 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
26350 &quot;stringResult&quot;: &quot;A String&quot;,
26351 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
26352 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26353 { # Represents a single field in a struct.
26354 &quot;name&quot;: &quot;A String&quot;,
26355 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26356 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26357 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26358 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26359 # Object with schema name: GenaiVertexV1beta1Value
26360 ],
26361 },
26362 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26363 &quot;numberValue&quot;: 3.14, # Represents a double value.
26364 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26365 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26366 },
26367 },
26368 ],
26369 },
26370 },
26371 &quot;googleMapsResult&quot;: { # Google Maps result content.
26372 &quot;result&quot;: [ # Required. The results of the Google Maps.
26373 { # The result of the Google Maps.
26374 &quot;places&quot;: [ # The places that were found.
26375 {
26376 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
26377 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
26378 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
26379 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
26380 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
26381 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
26382 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
26383 },
26384 ],
26385 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
26386 },
26387 ],
26388 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
26389 },
26390 ],
26391 },
26392 &quot;googleSearchResult&quot;: { # Google Search result content.
26393 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
26394 &quot;result&quot;: [ # Required. The results of the Google Search.
26395 { # The result of the Google Search.
26396 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
26397 },
26398 ],
26399 },
26400 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
26401 &quot;contentList&quot;: {
26402 &quot;contents&quot;: [
26403 {
26404 &quot;image&quot;: { # An image content block.
26405 &quot;data&quot;: &quot;A String&quot;, # The image content.
26406 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
26407 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
26408 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
26409 },
26410 &quot;text&quot;: { # A text content block.
26411 &quot;annotations&quot;: [ # Citation information for model-generated content.
26412 { # Citation information for model-generated content.
26413 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
26414 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
26415 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
26416 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26417 { # Represents a single field in a struct.
26418 &quot;name&quot;: &quot;A String&quot;,
26419 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26420 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26421 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26422 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26423 # Object with schema name: GenaiVertexV1beta1Value
26424 ],
26425 },
26426 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26427 &quot;numberValue&quot;: 3.14, # Represents a double value.
26428 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26429 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26430 },
26431 },
26432 ],
26433 },
26434 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
26435 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
26436 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
26437 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
26438 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
26439 },
26440 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
26441 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
26442 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
26443 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
26444 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
26445 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
26446 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
26447 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
26448 },
26449 ],
26450 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
26451 },
26452 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
26453 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
26454 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
26455 &quot;url&quot;: &quot;A String&quot;, # The URL.
26456 },
26457 },
26458 ],
26459 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
26460 },
26461 },
26462 ],
26463 },
26464 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
26465 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
26466 &quot;stringResult&quot;: &quot;A String&quot;,
26467 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
26468 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26469 { # Represents a single field in a struct.
26470 &quot;name&quot;: &quot;A String&quot;,
26471 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26472 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26473 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26474 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26475 # Object with schema name: GenaiVertexV1beta1Value
26476 ],
26477 },
26478 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26479 &quot;numberValue&quot;: 3.14, # Represents a double value.
26480 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26481 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26482 },
26483 },
26484 ],
26485 },
26486 },
26487 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
26488 &quot;urlContextResult&quot;: { # URL context result content.
26489 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
26490 &quot;result&quot;: [ # Required. The results of the URL context.
26491 { # The result of the URL context.
26492 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
26493 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
26494 },
26495 ],
26496 },
26497 },
26498 &quot;video&quot;: { # A video content block.
26499 &quot;data&quot;: &quot;A String&quot;, # The video content.
26500 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
26501 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
26502 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
26503 },
26504 },
26505 ],
26506 },
26507 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
26508 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
26509 &quot;stringResult&quot;: &quot;A String&quot;,
26510 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
26511 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26512 { # Represents a single field in a struct.
26513 &quot;name&quot;: &quot;A String&quot;,
26514 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26515 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26516 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26517 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26518 # Object with schema name: GenaiVertexV1beta1Value
26519 ],
26520 },
26521 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26522 &quot;numberValue&quot;: 3.14, # Represents a double value.
26523 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26524 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26525 },
26526 },
26527 ],
26528 },
26529 },
26530 &quot;googleMapsResult&quot;: { # Google Maps result step.
26531 &quot;result&quot;: [
26532 { # The result of the Google Maps.
26533 &quot;places&quot;: [
26534 {
26535 &quot;name&quot;: &quot;A String&quot;,
26536 &quot;placeId&quot;: &quot;A String&quot;,
26537 &quot;reviewSnippets&quot;: [
26538 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
26539 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
26540 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
26541 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
26542 },
26543 ],
26544 &quot;url&quot;: &quot;A String&quot;,
26545 },
26546 ],
26547 &quot;widgetContextToken&quot;: &quot;A String&quot;,
26548 },
26549 ],
26550 },
26551 &quot;googleSearchResult&quot;: { # Google Search result step.
26552 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
26553 &quot;result&quot;: [ # Required. The results of the Google Search.
26554 { # The result of the Google Search.
26555 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
26556 },
26557 ],
26558 },
26559 &quot;mcpServerToolResult&quot;: { # MCPServer tool result step.
26560 &quot;contentList&quot;: { # A list of Content.
26561 &quot;contents&quot;: [ # The contents of the list.
26562 { # The content of the response.
26563 &quot;audio&quot;: { # An audio content block.
26564 &quot;channels&quot;: 42, # The number of audio channels.
26565 &quot;data&quot;: &quot;A String&quot;, # The audio content.
26566 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
26567 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
26568 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
26569 },
26570 &quot;document&quot;: { # A document content block.
26571 &quot;data&quot;: &quot;A String&quot;, # The document content.
26572 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
26573 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
26574 },
26575 &quot;image&quot;: { # An image content block.
26576 &quot;data&quot;: &quot;A String&quot;, # The image content.
26577 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
26578 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
26579 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
26580 },
26581 &quot;text&quot;: { # A text content block.
26582 &quot;annotations&quot;: [ # Citation information for model-generated content.
26583 { # Citation information for model-generated content.
26584 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
26585 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
26586 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
26587 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26588 { # Represents a single field in a struct.
26589 &quot;name&quot;: &quot;A String&quot;,
26590 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26591 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26592 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26593 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26594 # Object with schema name: GenaiVertexV1beta1Value
26595 ],
26596 },
26597 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26598 &quot;numberValue&quot;: 3.14, # Represents a double value.
26599 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26600 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26601 },
26602 },
26603 ],
26604 },
26605 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
26606 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
26607 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
26608 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
26609 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
26610 },
26611 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
26612 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
26613 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
26614 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
26615 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
26616 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
26617 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
26618 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
26619 },
26620 ],
26621 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
26622 },
26623 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
26624 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
26625 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
26626 &quot;url&quot;: &quot;A String&quot;, # The URL.
26627 },
26628 },
26629 ],
26630 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
26631 },
26632 &quot;thought&quot;: { # A thought content block.
26633 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
26634 &quot;summary&quot;: [ # A summary of the thought.
26635 {
26636 &quot;image&quot;: { # An image content block.
26637 &quot;data&quot;: &quot;A String&quot;, # The image content.
26638 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
26639 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
26640 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
26641 },
26642 &quot;text&quot;: { # A text content block.
26643 &quot;annotations&quot;: [ # Citation information for model-generated content.
26644 { # Citation information for model-generated content.
26645 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
26646 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
26647 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
26648 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26649 { # Represents a single field in a struct.
26650 &quot;name&quot;: &quot;A String&quot;,
26651 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26652 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26653 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26654 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26655 # Object with schema name: GenaiVertexV1beta1Value
26656 ],
26657 },
26658 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26659 &quot;numberValue&quot;: 3.14, # Represents a double value.
26660 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26661 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26662 },
26663 },
26664 ],
26665 },
26666 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
26667 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
26668 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
26669 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
26670 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
26671 },
26672 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
26673 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
26674 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
26675 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
26676 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
26677 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
26678 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
26679 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
26680 },
26681 ],
26682 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
26683 },
26684 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
26685 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
26686 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
26687 &quot;url&quot;: &quot;A String&quot;, # The URL.
26688 },
26689 },
26690 ],
26691 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
26692 },
26693 },
26694 ],
26695 },
26696 &quot;toolCall&quot;: { # Tool call content.
26697 &quot;codeExecutionCall&quot;: { # Code execution content.
26698 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
26699 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
26700 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
26701 },
26702 },
26703 &quot;fileSearchCall&quot;: { # File Search content.
26704 },
26705 &quot;functionCall&quot;: { # A function tool call content block.
26706 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
26707 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26708 { # Represents a single field in a struct.
26709 &quot;name&quot;: &quot;A String&quot;,
26710 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26711 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26712 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26713 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26714 # Object with schema name: GenaiVertexV1beta1Value
26715 ],
26716 },
26717 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26718 &quot;numberValue&quot;: 3.14, # Represents a double value.
26719 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26720 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26721 },
26722 },
26723 ],
26724 },
26725 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
26726 },
26727 &quot;googleMapsCall&quot;: { # Google Maps content.
26728 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
26729 &quot;queries&quot;: [ # The queries to be executed.
26730 &quot;A String&quot;,
26731 ],
26732 },
26733 },
26734 &quot;googleSearchCall&quot;: { # Google Search content.
26735 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
26736 &quot;queries&quot;: [ # Web search queries for the following-up web search.
26737 &quot;A String&quot;,
26738 ],
26739 },
26740 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
26741 },
26742 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
26743 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
26744 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
26745 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26746 { # Represents a single field in a struct.
26747 &quot;name&quot;: &quot;A String&quot;,
26748 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26749 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26750 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26751 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26752 # Object with schema name: GenaiVertexV1beta1Value
26753 ],
26754 },
26755 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26756 &quot;numberValue&quot;: 3.14, # Represents a double value.
26757 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26758 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26759 },
26760 },
26761 ],
26762 },
26763 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
26764 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
26765 },
26766 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
26767 &quot;urlContextCall&quot;: { # URL context content.
26768 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
26769 &quot;urls&quot;: [ # The URLs to fetch.
26770 &quot;A String&quot;,
26771 ],
26772 },
26773 },
26774 },
26775 &quot;toolResult&quot;: { # Tool result content.
26776 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
26777 &quot;codeExecutionResult&quot;: { # Code execution result content.
26778 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
26779 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
26780 },
26781 &quot;fileSearchResult&quot;: { # File Search result content.
26782 &quot;result&quot;: [ # Optional. The results of the File Search.
26783 { # The result of the File Search.
26784 },
26785 ],
26786 },
26787 &quot;functionResult&quot;: { # A function tool result content block.
26788 &quot;contentList&quot;: {
26789 &quot;contents&quot;: [
26790 {
26791 &quot;image&quot;: { # An image content block.
26792 &quot;data&quot;: &quot;A String&quot;, # The image content.
26793 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
26794 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
26795 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
26796 },
26797 &quot;text&quot;: { # A text content block.
26798 &quot;annotations&quot;: [ # Citation information for model-generated content.
26799 { # Citation information for model-generated content.
26800 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
26801 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
26802 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
26803 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26804 { # Represents a single field in a struct.
26805 &quot;name&quot;: &quot;A String&quot;,
26806 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26807 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26808 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26809 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26810 # Object with schema name: GenaiVertexV1beta1Value
26811 ],
26812 },
26813 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26814 &quot;numberValue&quot;: 3.14, # Represents a double value.
26815 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26816 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26817 },
26818 },
26819 ],
26820 },
26821 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
26822 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
26823 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
26824 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
26825 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
26826 },
26827 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
26828 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
26829 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
26830 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
26831 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
26832 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
26833 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
26834 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
26835 },
26836 ],
26837 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
26838 },
26839 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
26840 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
26841 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
26842 &quot;url&quot;: &quot;A String&quot;, # The URL.
26843 },
26844 },
26845 ],
26846 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
26847 },
26848 },
26849 ],
26850 },
26851 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
26852 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
26853 &quot;stringResult&quot;: &quot;A String&quot;,
26854 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
26855 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26856 { # Represents a single field in a struct.
26857 &quot;name&quot;: &quot;A String&quot;,
26858 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26859 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26860 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26861 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26862 # Object with schema name: GenaiVertexV1beta1Value
26863 ],
26864 },
26865 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26866 &quot;numberValue&quot;: 3.14, # Represents a double value.
26867 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26868 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26869 },
26870 },
26871 ],
26872 },
26873 },
26874 &quot;googleMapsResult&quot;: { # Google Maps result content.
26875 &quot;result&quot;: [ # Required. The results of the Google Maps.
26876 { # The result of the Google Maps.
26877 &quot;places&quot;: [ # The places that were found.
26878 {
26879 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
26880 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
26881 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
26882 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
26883 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
26884 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
26885 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
26886 },
26887 ],
26888 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
26889 },
26890 ],
26891 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
26892 },
26893 ],
26894 },
26895 &quot;googleSearchResult&quot;: { # Google Search result content.
26896 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
26897 &quot;result&quot;: [ # Required. The results of the Google Search.
26898 { # The result of the Google Search.
26899 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
26900 },
26901 ],
26902 },
26903 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
26904 &quot;contentList&quot;: {
26905 &quot;contents&quot;: [
26906 {
26907 &quot;image&quot;: { # An image content block.
26908 &quot;data&quot;: &quot;A String&quot;, # The image content.
26909 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
26910 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
26911 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
26912 },
26913 &quot;text&quot;: { # A text content block.
26914 &quot;annotations&quot;: [ # Citation information for model-generated content.
26915 { # Citation information for model-generated content.
26916 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
26917 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
26918 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
26919 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26920 { # Represents a single field in a struct.
26921 &quot;name&quot;: &quot;A String&quot;,
26922 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26923 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26924 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26925 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26926 # Object with schema name: GenaiVertexV1beta1Value
26927 ],
26928 },
26929 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26930 &quot;numberValue&quot;: 3.14, # Represents a double value.
26931 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26932 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26933 },
26934 },
26935 ],
26936 },
26937 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
26938 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
26939 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
26940 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
26941 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
26942 },
26943 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
26944 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
26945 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
26946 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
26947 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
26948 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
26949 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
26950 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
26951 },
26952 ],
26953 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
26954 },
26955 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
26956 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
26957 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
26958 &quot;url&quot;: &quot;A String&quot;, # The URL.
26959 },
26960 },
26961 ],
26962 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
26963 },
26964 },
26965 ],
26966 },
26967 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
26968 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
26969 &quot;stringResult&quot;: &quot;A String&quot;,
26970 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
26971 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
26972 { # Represents a single field in a struct.
26973 &quot;name&quot;: &quot;A String&quot;,
26974 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
26975 &quot;boolValue&quot;: True or False, # Represents a boolean value.
26976 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
26977 &quot;values&quot;: [ # Repeated field of dynamically typed values.
26978 # Object with schema name: GenaiVertexV1beta1Value
26979 ],
26980 },
26981 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
26982 &quot;numberValue&quot;: 3.14, # Represents a double value.
26983 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
26984 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
26985 },
26986 },
26987 ],
26988 },
26989 },
26990 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
26991 &quot;urlContextResult&quot;: { # URL context result content.
26992 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
26993 &quot;result&quot;: [ # Required. The results of the URL context.
26994 { # The result of the URL context.
26995 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
26996 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
26997 },
26998 ],
26999 },
27000 },
27001 &quot;video&quot;: { # A video content block.
27002 &quot;data&quot;: &quot;A String&quot;, # The video content.
27003 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
27004 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
27005 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
27006 },
27007 },
27008 ],
27009 },
27010 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
27011 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
27012 &quot;stringResult&quot;: &quot;A String&quot;,
27013 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
27014 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27015 { # Represents a single field in a struct.
27016 &quot;name&quot;: &quot;A String&quot;,
27017 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27018 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27019 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27020 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27021 # Object with schema name: GenaiVertexV1beta1Value
27022 ],
27023 },
27024 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27025 &quot;numberValue&quot;: 3.14, # Represents a double value.
27026 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27027 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27028 },
27029 },
27030 ],
27031 },
27032 },
27033 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
27034 &quot;urlContextResult&quot;: { # URL context result step.
27035 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
27036 &quot;result&quot;: [ # Required. The results of the URL context.
27037 { # The result of the URL context.
27038 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
27039 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
27040 },
27041 ],
27042 },
27043 },
27044 &quot;userInput&quot;: { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
27045 &quot;contentList&quot;: { # A list of Content. # The content of the step. An array of Content objects.
27046 &quot;contents&quot;: [ # The contents of the list.
27047 { # The content of the response.
27048 &quot;audio&quot;: { # An audio content block.
27049 &quot;channels&quot;: 42, # The number of audio channels.
27050 &quot;data&quot;: &quot;A String&quot;, # The audio content.
27051 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
27052 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
27053 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
27054 },
27055 &quot;document&quot;: { # A document content block.
27056 &quot;data&quot;: &quot;A String&quot;, # The document content.
27057 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
27058 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
27059 },
27060 &quot;image&quot;: { # An image content block.
27061 &quot;data&quot;: &quot;A String&quot;, # The image content.
27062 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
27063 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
27064 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
27065 },
27066 &quot;text&quot;: { # A text content block.
27067 &quot;annotations&quot;: [ # Citation information for model-generated content.
27068 { # Citation information for model-generated content.
27069 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
27070 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
27071 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
27072 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27073 { # Represents a single field in a struct.
27074 &quot;name&quot;: &quot;A String&quot;,
27075 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27076 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27077 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27078 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27079 # Object with schema name: GenaiVertexV1beta1Value
27080 ],
27081 },
27082 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27083 &quot;numberValue&quot;: 3.14, # Represents a double value.
27084 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27085 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27086 },
27087 },
27088 ],
27089 },
27090 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
27091 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
27092 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
27093 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
27094 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
27095 },
27096 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
27097 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
27098 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
27099 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
27100 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
27101 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
27102 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
27103 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
27104 },
27105 ],
27106 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
27107 },
27108 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
27109 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
27110 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
27111 &quot;url&quot;: &quot;A String&quot;, # The URL.
27112 },
27113 },
27114 ],
27115 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
27116 },
27117 &quot;thought&quot;: { # A thought content block.
27118 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
27119 &quot;summary&quot;: [ # A summary of the thought.
27120 {
27121 &quot;image&quot;: { # An image content block.
27122 &quot;data&quot;: &quot;A String&quot;, # The image content.
27123 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
27124 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
27125 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
27126 },
27127 &quot;text&quot;: { # A text content block.
27128 &quot;annotations&quot;: [ # Citation information for model-generated content.
27129 { # Citation information for model-generated content.
27130 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
27131 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
27132 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
27133 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27134 { # Represents a single field in a struct.
27135 &quot;name&quot;: &quot;A String&quot;,
27136 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27137 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27138 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27139 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27140 # Object with schema name: GenaiVertexV1beta1Value
27141 ],
27142 },
27143 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27144 &quot;numberValue&quot;: 3.14, # Represents a double value.
27145 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27146 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27147 },
27148 },
27149 ],
27150 },
27151 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
27152 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
27153 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
27154 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
27155 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
27156 },
27157 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
27158 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
27159 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
27160 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
27161 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
27162 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
27163 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
27164 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
27165 },
27166 ],
27167 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
27168 },
27169 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
27170 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
27171 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
27172 &quot;url&quot;: &quot;A String&quot;, # The URL.
27173 },
27174 },
27175 ],
27176 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
27177 },
27178 },
27179 ],
27180 },
27181 &quot;toolCall&quot;: { # Tool call content.
27182 &quot;codeExecutionCall&quot;: { # Code execution content.
27183 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
27184 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
27185 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
27186 },
27187 },
27188 &quot;fileSearchCall&quot;: { # File Search content.
27189 },
27190 &quot;functionCall&quot;: { # A function tool call content block.
27191 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
27192 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27193 { # Represents a single field in a struct.
27194 &quot;name&quot;: &quot;A String&quot;,
27195 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27196 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27197 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27198 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27199 # Object with schema name: GenaiVertexV1beta1Value
27200 ],
27201 },
27202 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27203 &quot;numberValue&quot;: 3.14, # Represents a double value.
27204 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27205 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27206 },
27207 },
27208 ],
27209 },
27210 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
27211 },
27212 &quot;googleMapsCall&quot;: { # Google Maps content.
27213 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
27214 &quot;queries&quot;: [ # The queries to be executed.
27215 &quot;A String&quot;,
27216 ],
27217 },
27218 },
27219 &quot;googleSearchCall&quot;: { # Google Search content.
27220 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
27221 &quot;queries&quot;: [ # Web search queries for the following-up web search.
27222 &quot;A String&quot;,
27223 ],
27224 },
27225 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
27226 },
27227 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
27228 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
27229 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
27230 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27231 { # Represents a single field in a struct.
27232 &quot;name&quot;: &quot;A String&quot;,
27233 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27234 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27235 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27236 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27237 # Object with schema name: GenaiVertexV1beta1Value
27238 ],
27239 },
27240 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27241 &quot;numberValue&quot;: 3.14, # Represents a double value.
27242 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27243 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27244 },
27245 },
27246 ],
27247 },
27248 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
27249 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
27250 },
27251 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
27252 &quot;urlContextCall&quot;: { # URL context content.
27253 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
27254 &quot;urls&quot;: [ # The URLs to fetch.
27255 &quot;A String&quot;,
27256 ],
27257 },
27258 },
27259 },
27260 &quot;toolResult&quot;: { # Tool result content.
27261 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
27262 &quot;codeExecutionResult&quot;: { # Code execution result content.
27263 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
27264 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
27265 },
27266 &quot;fileSearchResult&quot;: { # File Search result content.
27267 &quot;result&quot;: [ # Optional. The results of the File Search.
27268 { # The result of the File Search.
27269 },
27270 ],
27271 },
27272 &quot;functionResult&quot;: { # A function tool result content block.
27273 &quot;contentList&quot;: {
27274 &quot;contents&quot;: [
27275 {
27276 &quot;image&quot;: { # An image content block.
27277 &quot;data&quot;: &quot;A String&quot;, # The image content.
27278 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
27279 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
27280 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
27281 },
27282 &quot;text&quot;: { # A text content block.
27283 &quot;annotations&quot;: [ # Citation information for model-generated content.
27284 { # Citation information for model-generated content.
27285 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
27286 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
27287 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
27288 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27289 { # Represents a single field in a struct.
27290 &quot;name&quot;: &quot;A String&quot;,
27291 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27292 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27293 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27294 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27295 # Object with schema name: GenaiVertexV1beta1Value
27296 ],
27297 },
27298 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27299 &quot;numberValue&quot;: 3.14, # Represents a double value.
27300 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27301 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27302 },
27303 },
27304 ],
27305 },
27306 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
27307 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
27308 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
27309 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
27310 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
27311 },
27312 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
27313 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
27314 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
27315 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
27316 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
27317 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
27318 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
27319 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
27320 },
27321 ],
27322 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
27323 },
27324 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
27325 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
27326 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
27327 &quot;url&quot;: &quot;A String&quot;, # The URL.
27328 },
27329 },
27330 ],
27331 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
27332 },
27333 },
27334 ],
27335 },
27336 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
27337 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
27338 &quot;stringResult&quot;: &quot;A String&quot;,
27339 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
27340 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27341 { # Represents a single field in a struct.
27342 &quot;name&quot;: &quot;A String&quot;,
27343 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27344 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27345 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27346 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27347 # Object with schema name: GenaiVertexV1beta1Value
27348 ],
27349 },
27350 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27351 &quot;numberValue&quot;: 3.14, # Represents a double value.
27352 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27353 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27354 },
27355 },
27356 ],
27357 },
27358 },
27359 &quot;googleMapsResult&quot;: { # Google Maps result content.
27360 &quot;result&quot;: [ # Required. The results of the Google Maps.
27361 { # The result of the Google Maps.
27362 &quot;places&quot;: [ # The places that were found.
27363 {
27364 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
27365 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
27366 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
27367 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
27368 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
27369 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
27370 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
27371 },
27372 ],
27373 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
27374 },
27375 ],
27376 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
27377 },
27378 ],
27379 },
27380 &quot;googleSearchResult&quot;: { # Google Search result content.
27381 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
27382 &quot;result&quot;: [ # Required. The results of the Google Search.
27383 { # The result of the Google Search.
27384 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
27385 },
27386 ],
27387 },
27388 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
27389 &quot;contentList&quot;: {
27390 &quot;contents&quot;: [
27391 {
27392 &quot;image&quot;: { # An image content block.
27393 &quot;data&quot;: &quot;A String&quot;, # The image content.
27394 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
27395 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
27396 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
27397 },
27398 &quot;text&quot;: { # A text content block.
27399 &quot;annotations&quot;: [ # Citation information for model-generated content.
27400 { # Citation information for model-generated content.
27401 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
27402 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
27403 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
27404 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27405 { # Represents a single field in a struct.
27406 &quot;name&quot;: &quot;A String&quot;,
27407 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27408 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27409 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27410 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27411 # Object with schema name: GenaiVertexV1beta1Value
27412 ],
27413 },
27414 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27415 &quot;numberValue&quot;: 3.14, # Represents a double value.
27416 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27417 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27418 },
27419 },
27420 ],
27421 },
27422 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
27423 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
27424 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
27425 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
27426 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
27427 },
27428 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
27429 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
27430 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
27431 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
27432 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
27433 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
27434 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
27435 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
27436 },
27437 ],
27438 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
27439 },
27440 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
27441 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
27442 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
27443 &quot;url&quot;: &quot;A String&quot;, # The URL.
27444 },
27445 },
27446 ],
27447 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
27448 },
27449 },
27450 ],
27451 },
27452 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
27453 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
27454 &quot;stringResult&quot;: &quot;A String&quot;,
27455 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
27456 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27457 { # Represents a single field in a struct.
27458 &quot;name&quot;: &quot;A String&quot;,
27459 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27460 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27461 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27462 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27463 # Object with schema name: GenaiVertexV1beta1Value
27464 ],
27465 },
27466 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27467 &quot;numberValue&quot;: 3.14, # Represents a double value.
27468 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27469 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27470 },
27471 },
27472 ],
27473 },
27474 },
27475 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
27476 &quot;urlContextResult&quot;: { # URL context result content.
27477 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
27478 &quot;result&quot;: [ # Required. The results of the URL context.
27479 { # The result of the URL context.
27480 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
27481 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
27482 },
27483 ],
27484 },
27485 },
27486 &quot;video&quot;: { # A video content block.
27487 &quot;data&quot;: &quot;A String&quot;, # The video content.
27488 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
27489 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
27490 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
27491 },
27492 },
27493 ],
27494 },
27495 &quot;contentString&quot;: &quot;A String&quot;, # The content of the step. A single string.
27496 },
27497 },
27498 ],
27499 },
27500 &quot;steps&quot;: [ # Required. Output only. The steps that make up the interaction.
27501 { # A step in the interaction.
27502 &quot;modelOutput&quot;: { # Output generated by the model.
27503 &quot;content&quot;: [
27504 { # The content of the response.
27505 &quot;audio&quot;: { # An audio content block.
27506 &quot;channels&quot;: 42, # The number of audio channels.
27507 &quot;data&quot;: &quot;A String&quot;, # The audio content.
27508 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
27509 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
27510 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
27511 },
27512 &quot;document&quot;: { # A document content block.
27513 &quot;data&quot;: &quot;A String&quot;, # The document content.
27514 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
27515 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
27516 },
27517 &quot;image&quot;: { # An image content block.
27518 &quot;data&quot;: &quot;A String&quot;, # The image content.
27519 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
27520 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
27521 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
27522 },
27523 &quot;text&quot;: { # A text content block.
27524 &quot;annotations&quot;: [ # Citation information for model-generated content.
27525 { # Citation information for model-generated content.
27526 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
27527 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
27528 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
27529 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27530 { # Represents a single field in a struct.
27531 &quot;name&quot;: &quot;A String&quot;,
27532 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27533 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27534 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27535 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27536 # Object with schema name: GenaiVertexV1beta1Value
27537 ],
27538 },
27539 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27540 &quot;numberValue&quot;: 3.14, # Represents a double value.
27541 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27542 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27543 },
27544 },
27545 ],
27546 },
27547 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
27548 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
27549 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
27550 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
27551 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
27552 },
27553 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
27554 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
27555 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
27556 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
27557 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
27558 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
27559 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
27560 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
27561 },
27562 ],
27563 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
27564 },
27565 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
27566 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
27567 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
27568 &quot;url&quot;: &quot;A String&quot;, # The URL.
27569 },
27570 },
27571 ],
27572 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
27573 },
27574 &quot;thought&quot;: { # A thought content block.
27575 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
27576 &quot;summary&quot;: [ # A summary of the thought.
27577 {
27578 &quot;image&quot;: { # An image content block.
27579 &quot;data&quot;: &quot;A String&quot;, # The image content.
27580 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
27581 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
27582 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
27583 },
27584 &quot;text&quot;: { # A text content block.
27585 &quot;annotations&quot;: [ # Citation information for model-generated content.
27586 { # Citation information for model-generated content.
27587 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
27588 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
27589 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
27590 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27591 { # Represents a single field in a struct.
27592 &quot;name&quot;: &quot;A String&quot;,
27593 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27594 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27595 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27596 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27597 # Object with schema name: GenaiVertexV1beta1Value
27598 ],
27599 },
27600 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27601 &quot;numberValue&quot;: 3.14, # Represents a double value.
27602 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27603 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27604 },
27605 },
27606 ],
27607 },
27608 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
27609 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
27610 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
27611 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
27612 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
27613 },
27614 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
27615 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
27616 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
27617 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
27618 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
27619 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
27620 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
27621 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
27622 },
27623 ],
27624 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
27625 },
27626 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
27627 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
27628 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
27629 &quot;url&quot;: &quot;A String&quot;, # The URL.
27630 },
27631 },
27632 ],
27633 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
27634 },
27635 },
27636 ],
27637 },
27638 &quot;toolCall&quot;: { # Tool call content.
27639 &quot;codeExecutionCall&quot;: { # Code execution content.
27640 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
27641 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
27642 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
27643 },
27644 },
27645 &quot;fileSearchCall&quot;: { # File Search content.
27646 },
27647 &quot;functionCall&quot;: { # A function tool call content block.
27648 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
27649 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27650 { # Represents a single field in a struct.
27651 &quot;name&quot;: &quot;A String&quot;,
27652 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27653 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27654 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27655 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27656 # Object with schema name: GenaiVertexV1beta1Value
27657 ],
27658 },
27659 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27660 &quot;numberValue&quot;: 3.14, # Represents a double value.
27661 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27662 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27663 },
27664 },
27665 ],
27666 },
27667 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
27668 },
27669 &quot;googleMapsCall&quot;: { # Google Maps content.
27670 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
27671 &quot;queries&quot;: [ # The queries to be executed.
27672 &quot;A String&quot;,
27673 ],
27674 },
27675 },
27676 &quot;googleSearchCall&quot;: { # Google Search content.
27677 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
27678 &quot;queries&quot;: [ # Web search queries for the following-up web search.
27679 &quot;A String&quot;,
27680 ],
27681 },
27682 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
27683 },
27684 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
27685 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
27686 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
27687 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27688 { # Represents a single field in a struct.
27689 &quot;name&quot;: &quot;A String&quot;,
27690 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27691 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27692 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27693 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27694 # Object with schema name: GenaiVertexV1beta1Value
27695 ],
27696 },
27697 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27698 &quot;numberValue&quot;: 3.14, # Represents a double value.
27699 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27700 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27701 },
27702 },
27703 ],
27704 },
27705 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
27706 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
27707 },
27708 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
27709 &quot;urlContextCall&quot;: { # URL context content.
27710 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
27711 &quot;urls&quot;: [ # The URLs to fetch.
27712 &quot;A String&quot;,
27713 ],
27714 },
27715 },
27716 },
27717 &quot;toolResult&quot;: { # Tool result content.
27718 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
27719 &quot;codeExecutionResult&quot;: { # Code execution result content.
27720 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
27721 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
27722 },
27723 &quot;fileSearchResult&quot;: { # File Search result content.
27724 &quot;result&quot;: [ # Optional. The results of the File Search.
27725 { # The result of the File Search.
27726 },
27727 ],
27728 },
27729 &quot;functionResult&quot;: { # A function tool result content block.
27730 &quot;contentList&quot;: {
27731 &quot;contents&quot;: [
27732 {
27733 &quot;image&quot;: { # An image content block.
27734 &quot;data&quot;: &quot;A String&quot;, # The image content.
27735 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
27736 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
27737 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
27738 },
27739 &quot;text&quot;: { # A text content block.
27740 &quot;annotations&quot;: [ # Citation information for model-generated content.
27741 { # Citation information for model-generated content.
27742 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
27743 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
27744 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
27745 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27746 { # Represents a single field in a struct.
27747 &quot;name&quot;: &quot;A String&quot;,
27748 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27749 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27750 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27751 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27752 # Object with schema name: GenaiVertexV1beta1Value
27753 ],
27754 },
27755 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27756 &quot;numberValue&quot;: 3.14, # Represents a double value.
27757 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27758 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27759 },
27760 },
27761 ],
27762 },
27763 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
27764 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
27765 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
27766 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
27767 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
27768 },
27769 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
27770 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
27771 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
27772 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
27773 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
27774 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
27775 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
27776 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
27777 },
27778 ],
27779 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
27780 },
27781 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
27782 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
27783 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
27784 &quot;url&quot;: &quot;A String&quot;, # The URL.
27785 },
27786 },
27787 ],
27788 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
27789 },
27790 },
27791 ],
27792 },
27793 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
27794 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
27795 &quot;stringResult&quot;: &quot;A String&quot;,
27796 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
27797 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27798 { # Represents a single field in a struct.
27799 &quot;name&quot;: &quot;A String&quot;,
27800 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27801 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27802 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27803 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27804 # Object with schema name: GenaiVertexV1beta1Value
27805 ],
27806 },
27807 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27808 &quot;numberValue&quot;: 3.14, # Represents a double value.
27809 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27810 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27811 },
27812 },
27813 ],
27814 },
27815 },
27816 &quot;googleMapsResult&quot;: { # Google Maps result content.
27817 &quot;result&quot;: [ # Required. The results of the Google Maps.
27818 { # The result of the Google Maps.
27819 &quot;places&quot;: [ # The places that were found.
27820 {
27821 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
27822 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
27823 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
27824 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
27825 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
27826 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
27827 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
27828 },
27829 ],
27830 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
27831 },
27832 ],
27833 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
27834 },
27835 ],
27836 },
27837 &quot;googleSearchResult&quot;: { # Google Search result content.
27838 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
27839 &quot;result&quot;: [ # Required. The results of the Google Search.
27840 { # The result of the Google Search.
27841 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
27842 },
27843 ],
27844 },
27845 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
27846 &quot;contentList&quot;: {
27847 &quot;contents&quot;: [
27848 {
27849 &quot;image&quot;: { # An image content block.
27850 &quot;data&quot;: &quot;A String&quot;, # The image content.
27851 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
27852 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
27853 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
27854 },
27855 &quot;text&quot;: { # A text content block.
27856 &quot;annotations&quot;: [ # Citation information for model-generated content.
27857 { # Citation information for model-generated content.
27858 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
27859 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
27860 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
27861 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27862 { # Represents a single field in a struct.
27863 &quot;name&quot;: &quot;A String&quot;,
27864 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27865 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27866 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27867 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27868 # Object with schema name: GenaiVertexV1beta1Value
27869 ],
27870 },
27871 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27872 &quot;numberValue&quot;: 3.14, # Represents a double value.
27873 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27874 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27875 },
27876 },
27877 ],
27878 },
27879 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
27880 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
27881 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
27882 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
27883 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
27884 },
27885 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
27886 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
27887 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
27888 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
27889 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
27890 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
27891 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
27892 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
27893 },
27894 ],
27895 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
27896 },
27897 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
27898 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
27899 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
27900 &quot;url&quot;: &quot;A String&quot;, # The URL.
27901 },
27902 },
27903 ],
27904 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
27905 },
27906 },
27907 ],
27908 },
27909 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
27910 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
27911 &quot;stringResult&quot;: &quot;A String&quot;,
27912 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
27913 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27914 { # Represents a single field in a struct.
27915 &quot;name&quot;: &quot;A String&quot;,
27916 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27917 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27918 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27919 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27920 # Object with schema name: GenaiVertexV1beta1Value
27921 ],
27922 },
27923 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27924 &quot;numberValue&quot;: 3.14, # Represents a double value.
27925 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27926 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27927 },
27928 },
27929 ],
27930 },
27931 },
27932 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
27933 &quot;urlContextResult&quot;: { # URL context result content.
27934 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
27935 &quot;result&quot;: [ # Required. The results of the URL context.
27936 { # The result of the URL context.
27937 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
27938 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
27939 },
27940 ],
27941 },
27942 },
27943 &quot;video&quot;: { # A video content block.
27944 &quot;data&quot;: &quot;A String&quot;, # The video content.
27945 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
27946 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
27947 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
27948 },
27949 },
27950 ],
27951 },
27952 &quot;thought&quot;: { # A thought step.
27953 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
27954 &quot;summary&quot;: [ # A summary of the thought.
27955 { # The content of the response.
27956 &quot;audio&quot;: { # An audio content block.
27957 &quot;channels&quot;: 42, # The number of audio channels.
27958 &quot;data&quot;: &quot;A String&quot;, # The audio content.
27959 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
27960 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
27961 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
27962 },
27963 &quot;document&quot;: { # A document content block.
27964 &quot;data&quot;: &quot;A String&quot;, # The document content.
27965 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
27966 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
27967 },
27968 &quot;image&quot;: { # An image content block.
27969 &quot;data&quot;: &quot;A String&quot;, # The image content.
27970 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
27971 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
27972 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
27973 },
27974 &quot;text&quot;: { # A text content block.
27975 &quot;annotations&quot;: [ # Citation information for model-generated content.
27976 { # Citation information for model-generated content.
27977 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
27978 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
27979 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
27980 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
27981 { # Represents a single field in a struct.
27982 &quot;name&quot;: &quot;A String&quot;,
27983 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
27984 &quot;boolValue&quot;: True or False, # Represents a boolean value.
27985 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
27986 &quot;values&quot;: [ # Repeated field of dynamically typed values.
27987 # Object with schema name: GenaiVertexV1beta1Value
27988 ],
27989 },
27990 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
27991 &quot;numberValue&quot;: 3.14, # Represents a double value.
27992 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
27993 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
27994 },
27995 },
27996 ],
27997 },
27998 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
27999 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
28000 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
28001 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
28002 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
28003 },
28004 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
28005 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
28006 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
28007 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
28008 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
28009 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
28010 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
28011 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
28012 },
28013 ],
28014 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
28015 },
28016 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
28017 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
28018 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
28019 &quot;url&quot;: &quot;A String&quot;, # The URL.
28020 },
28021 },
28022 ],
28023 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
28024 },
28025 &quot;thought&quot;: { # A thought content block.
28026 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
28027 &quot;summary&quot;: [ # A summary of the thought.
28028 {
28029 &quot;image&quot;: { # An image content block.
28030 &quot;data&quot;: &quot;A String&quot;, # The image content.
28031 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
28032 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
28033 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
28034 },
28035 &quot;text&quot;: { # A text content block.
28036 &quot;annotations&quot;: [ # Citation information for model-generated content.
28037 { # Citation information for model-generated content.
28038 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
28039 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
28040 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
28041 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28042 { # Represents a single field in a struct.
28043 &quot;name&quot;: &quot;A String&quot;,
28044 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28045 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28046 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28047 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28048 # Object with schema name: GenaiVertexV1beta1Value
28049 ],
28050 },
28051 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28052 &quot;numberValue&quot;: 3.14, # Represents a double value.
28053 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28054 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28055 },
28056 },
28057 ],
28058 },
28059 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
28060 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
28061 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
28062 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
28063 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
28064 },
28065 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
28066 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
28067 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
28068 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
28069 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
28070 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
28071 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
28072 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
28073 },
28074 ],
28075 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
28076 },
28077 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
28078 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
28079 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
28080 &quot;url&quot;: &quot;A String&quot;, # The URL.
28081 },
28082 },
28083 ],
28084 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
28085 },
28086 },
28087 ],
28088 },
28089 &quot;toolCall&quot;: { # Tool call content.
28090 &quot;codeExecutionCall&quot;: { # Code execution content.
28091 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
28092 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
28093 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
28094 },
28095 },
28096 &quot;fileSearchCall&quot;: { # File Search content.
28097 },
28098 &quot;functionCall&quot;: { # A function tool call content block.
28099 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
28100 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28101 { # Represents a single field in a struct.
28102 &quot;name&quot;: &quot;A String&quot;,
28103 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28104 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28105 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28106 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28107 # Object with schema name: GenaiVertexV1beta1Value
28108 ],
28109 },
28110 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28111 &quot;numberValue&quot;: 3.14, # Represents a double value.
28112 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28113 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28114 },
28115 },
28116 ],
28117 },
28118 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
28119 },
28120 &quot;googleMapsCall&quot;: { # Google Maps content.
28121 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
28122 &quot;queries&quot;: [ # The queries to be executed.
28123 &quot;A String&quot;,
28124 ],
28125 },
28126 },
28127 &quot;googleSearchCall&quot;: { # Google Search content.
28128 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
28129 &quot;queries&quot;: [ # Web search queries for the following-up web search.
28130 &quot;A String&quot;,
28131 ],
28132 },
28133 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
28134 },
28135 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
28136 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
28137 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
28138 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28139 { # Represents a single field in a struct.
28140 &quot;name&quot;: &quot;A String&quot;,
28141 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28142 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28143 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28144 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28145 # Object with schema name: GenaiVertexV1beta1Value
28146 ],
28147 },
28148 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28149 &quot;numberValue&quot;: 3.14, # Represents a double value.
28150 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28151 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28152 },
28153 },
28154 ],
28155 },
28156 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
28157 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
28158 },
28159 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
28160 &quot;urlContextCall&quot;: { # URL context content.
28161 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
28162 &quot;urls&quot;: [ # The URLs to fetch.
28163 &quot;A String&quot;,
28164 ],
28165 },
28166 },
28167 },
28168 &quot;toolResult&quot;: { # Tool result content.
28169 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
28170 &quot;codeExecutionResult&quot;: { # Code execution result content.
28171 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
28172 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
28173 },
28174 &quot;fileSearchResult&quot;: { # File Search result content.
28175 &quot;result&quot;: [ # Optional. The results of the File Search.
28176 { # The result of the File Search.
28177 },
28178 ],
28179 },
28180 &quot;functionResult&quot;: { # A function tool result content block.
28181 &quot;contentList&quot;: {
28182 &quot;contents&quot;: [
28183 {
28184 &quot;image&quot;: { # An image content block.
28185 &quot;data&quot;: &quot;A String&quot;, # The image content.
28186 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
28187 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
28188 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
28189 },
28190 &quot;text&quot;: { # A text content block.
28191 &quot;annotations&quot;: [ # Citation information for model-generated content.
28192 { # Citation information for model-generated content.
28193 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
28194 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
28195 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
28196 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28197 { # Represents a single field in a struct.
28198 &quot;name&quot;: &quot;A String&quot;,
28199 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28200 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28201 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28202 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28203 # Object with schema name: GenaiVertexV1beta1Value
28204 ],
28205 },
28206 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28207 &quot;numberValue&quot;: 3.14, # Represents a double value.
28208 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28209 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28210 },
28211 },
28212 ],
28213 },
28214 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
28215 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
28216 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
28217 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
28218 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
28219 },
28220 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
28221 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
28222 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
28223 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
28224 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
28225 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
28226 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
28227 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
28228 },
28229 ],
28230 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
28231 },
28232 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
28233 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
28234 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
28235 &quot;url&quot;: &quot;A String&quot;, # The URL.
28236 },
28237 },
28238 ],
28239 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
28240 },
28241 },
28242 ],
28243 },
28244 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
28245 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
28246 &quot;stringResult&quot;: &quot;A String&quot;,
28247 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
28248 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28249 { # Represents a single field in a struct.
28250 &quot;name&quot;: &quot;A String&quot;,
28251 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28252 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28253 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28254 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28255 # Object with schema name: GenaiVertexV1beta1Value
28256 ],
28257 },
28258 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28259 &quot;numberValue&quot;: 3.14, # Represents a double value.
28260 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28261 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28262 },
28263 },
28264 ],
28265 },
28266 },
28267 &quot;googleMapsResult&quot;: { # Google Maps result content.
28268 &quot;result&quot;: [ # Required. The results of the Google Maps.
28269 { # The result of the Google Maps.
28270 &quot;places&quot;: [ # The places that were found.
28271 {
28272 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
28273 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
28274 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
28275 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
28276 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
28277 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
28278 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
28279 },
28280 ],
28281 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
28282 },
28283 ],
28284 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
28285 },
28286 ],
28287 },
28288 &quot;googleSearchResult&quot;: { # Google Search result content.
28289 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
28290 &quot;result&quot;: [ # Required. The results of the Google Search.
28291 { # The result of the Google Search.
28292 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
28293 },
28294 ],
28295 },
28296 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
28297 &quot;contentList&quot;: {
28298 &quot;contents&quot;: [
28299 {
28300 &quot;image&quot;: { # An image content block.
28301 &quot;data&quot;: &quot;A String&quot;, # The image content.
28302 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
28303 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
28304 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
28305 },
28306 &quot;text&quot;: { # A text content block.
28307 &quot;annotations&quot;: [ # Citation information for model-generated content.
28308 { # Citation information for model-generated content.
28309 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
28310 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
28311 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
28312 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28313 { # Represents a single field in a struct.
28314 &quot;name&quot;: &quot;A String&quot;,
28315 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28316 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28317 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28318 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28319 # Object with schema name: GenaiVertexV1beta1Value
28320 ],
28321 },
28322 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28323 &quot;numberValue&quot;: 3.14, # Represents a double value.
28324 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28325 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28326 },
28327 },
28328 ],
28329 },
28330 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
28331 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
28332 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
28333 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
28334 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
28335 },
28336 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
28337 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
28338 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
28339 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
28340 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
28341 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
28342 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
28343 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
28344 },
28345 ],
28346 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
28347 },
28348 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
28349 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
28350 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
28351 &quot;url&quot;: &quot;A String&quot;, # The URL.
28352 },
28353 },
28354 ],
28355 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
28356 },
28357 },
28358 ],
28359 },
28360 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
28361 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
28362 &quot;stringResult&quot;: &quot;A String&quot;,
28363 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
28364 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28365 { # Represents a single field in a struct.
28366 &quot;name&quot;: &quot;A String&quot;,
28367 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28368 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28369 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28370 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28371 # Object with schema name: GenaiVertexV1beta1Value
28372 ],
28373 },
28374 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28375 &quot;numberValue&quot;: 3.14, # Represents a double value.
28376 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28377 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28378 },
28379 },
28380 ],
28381 },
28382 },
28383 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
28384 &quot;urlContextResult&quot;: { # URL context result content.
28385 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
28386 &quot;result&quot;: [ # Required. The results of the URL context.
28387 { # The result of the URL context.
28388 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
28389 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
28390 },
28391 ],
28392 },
28393 },
28394 &quot;video&quot;: { # A video content block.
28395 &quot;data&quot;: &quot;A String&quot;, # The video content.
28396 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
28397 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
28398 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
28399 },
28400 },
28401 ],
28402 },
28403 &quot;toolCall&quot;: { # Tool call step.
28404 &quot;codeExecutionCall&quot;: { # Code execution call step.
28405 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
28406 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
28407 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
28408 },
28409 },
28410 &quot;fileSearchCall&quot;: { # File Search call step.
28411 },
28412 &quot;functionCall&quot;: { # A function tool call step.
28413 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
28414 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28415 { # Represents a single field in a struct.
28416 &quot;name&quot;: &quot;A String&quot;,
28417 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28418 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28419 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28420 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28421 # Object with schema name: GenaiVertexV1beta1Value
28422 ],
28423 },
28424 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28425 &quot;numberValue&quot;: 3.14, # Represents a double value.
28426 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28427 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28428 },
28429 },
28430 ],
28431 },
28432 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
28433 },
28434 &quot;googleMapsCall&quot;: { # Google Maps call step.
28435 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
28436 &quot;queries&quot;: [ # The queries to be executed.
28437 &quot;A String&quot;,
28438 ],
28439 },
28440 },
28441 &quot;googleSearchCall&quot;: { # Google Search call step.
28442 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
28443 &quot;queries&quot;: [ # Web search queries for the following-up web search.
28444 &quot;A String&quot;,
28445 ],
28446 },
28447 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
28448 },
28449 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
28450 &quot;mcpServerToolCall&quot;: { # MCPServer tool call step.
28451 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
28452 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28453 { # Represents a single field in a struct.
28454 &quot;name&quot;: &quot;A String&quot;,
28455 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28456 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28457 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28458 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28459 # Object with schema name: GenaiVertexV1beta1Value
28460 ],
28461 },
28462 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28463 &quot;numberValue&quot;: 3.14, # Represents a double value.
28464 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28465 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28466 },
28467 },
28468 ],
28469 },
28470 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
28471 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
28472 },
28473 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
28474 &quot;urlContextCall&quot;: { # URL context call step.
28475 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
28476 &quot;urls&quot;: [ # The URLs to fetch.
28477 &quot;A String&quot;,
28478 ],
28479 },
28480 },
28481 },
28482 &quot;toolResult&quot;: { # Tool result step.
28483 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
28484 &quot;codeExecutionResult&quot;: { # Code execution result step.
28485 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
28486 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
28487 },
28488 &quot;fileSearchResult&quot;: { # File Search result step.
28489 },
28490 &quot;functionResult&quot;: { # Result of a function tool call.
28491 &quot;contentList&quot;: { # A list of Content.
28492 &quot;contents&quot;: [ # The contents of the list.
28493 { # The content of the response.
28494 &quot;audio&quot;: { # An audio content block.
28495 &quot;channels&quot;: 42, # The number of audio channels.
28496 &quot;data&quot;: &quot;A String&quot;, # The audio content.
28497 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
28498 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
28499 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
28500 },
28501 &quot;document&quot;: { # A document content block.
28502 &quot;data&quot;: &quot;A String&quot;, # The document content.
28503 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
28504 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
28505 },
28506 &quot;image&quot;: { # An image content block.
28507 &quot;data&quot;: &quot;A String&quot;, # The image content.
28508 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
28509 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
28510 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
28511 },
28512 &quot;text&quot;: { # A text content block.
28513 &quot;annotations&quot;: [ # Citation information for model-generated content.
28514 { # Citation information for model-generated content.
28515 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
28516 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
28517 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
28518 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28519 { # Represents a single field in a struct.
28520 &quot;name&quot;: &quot;A String&quot;,
28521 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28522 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28523 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28524 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28525 # Object with schema name: GenaiVertexV1beta1Value
28526 ],
28527 },
28528 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28529 &quot;numberValue&quot;: 3.14, # Represents a double value.
28530 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28531 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28532 },
28533 },
28534 ],
28535 },
28536 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
28537 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
28538 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
28539 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
28540 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
28541 },
28542 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
28543 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
28544 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
28545 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
28546 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
28547 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
28548 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
28549 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
28550 },
28551 ],
28552 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
28553 },
28554 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
28555 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
28556 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
28557 &quot;url&quot;: &quot;A String&quot;, # The URL.
28558 },
28559 },
28560 ],
28561 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
28562 },
28563 &quot;thought&quot;: { # A thought content block.
28564 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
28565 &quot;summary&quot;: [ # A summary of the thought.
28566 {
28567 &quot;image&quot;: { # An image content block.
28568 &quot;data&quot;: &quot;A String&quot;, # The image content.
28569 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
28570 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
28571 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
28572 },
28573 &quot;text&quot;: { # A text content block.
28574 &quot;annotations&quot;: [ # Citation information for model-generated content.
28575 { # Citation information for model-generated content.
28576 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
28577 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
28578 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
28579 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28580 { # Represents a single field in a struct.
28581 &quot;name&quot;: &quot;A String&quot;,
28582 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28583 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28584 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28585 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28586 # Object with schema name: GenaiVertexV1beta1Value
28587 ],
28588 },
28589 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28590 &quot;numberValue&quot;: 3.14, # Represents a double value.
28591 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28592 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28593 },
28594 },
28595 ],
28596 },
28597 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
28598 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
28599 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
28600 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
28601 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
28602 },
28603 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
28604 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
28605 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
28606 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
28607 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
28608 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
28609 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
28610 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
28611 },
28612 ],
28613 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
28614 },
28615 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
28616 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
28617 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
28618 &quot;url&quot;: &quot;A String&quot;, # The URL.
28619 },
28620 },
28621 ],
28622 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
28623 },
28624 },
28625 ],
28626 },
28627 &quot;toolCall&quot;: { # Tool call content.
28628 &quot;codeExecutionCall&quot;: { # Code execution content.
28629 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
28630 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
28631 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
28632 },
28633 },
28634 &quot;fileSearchCall&quot;: { # File Search content.
28635 },
28636 &quot;functionCall&quot;: { # A function tool call content block.
28637 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
28638 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28639 { # Represents a single field in a struct.
28640 &quot;name&quot;: &quot;A String&quot;,
28641 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28642 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28643 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28644 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28645 # Object with schema name: GenaiVertexV1beta1Value
28646 ],
28647 },
28648 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28649 &quot;numberValue&quot;: 3.14, # Represents a double value.
28650 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28651 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28652 },
28653 },
28654 ],
28655 },
28656 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
28657 },
28658 &quot;googleMapsCall&quot;: { # Google Maps content.
28659 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
28660 &quot;queries&quot;: [ # The queries to be executed.
28661 &quot;A String&quot;,
28662 ],
28663 },
28664 },
28665 &quot;googleSearchCall&quot;: { # Google Search content.
28666 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
28667 &quot;queries&quot;: [ # Web search queries for the following-up web search.
28668 &quot;A String&quot;,
28669 ],
28670 },
28671 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
28672 },
28673 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
28674 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
28675 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
28676 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28677 { # Represents a single field in a struct.
28678 &quot;name&quot;: &quot;A String&quot;,
28679 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28680 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28681 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28682 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28683 # Object with schema name: GenaiVertexV1beta1Value
28684 ],
28685 },
28686 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28687 &quot;numberValue&quot;: 3.14, # Represents a double value.
28688 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28689 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28690 },
28691 },
28692 ],
28693 },
28694 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
28695 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
28696 },
28697 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
28698 &quot;urlContextCall&quot;: { # URL context content.
28699 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
28700 &quot;urls&quot;: [ # The URLs to fetch.
28701 &quot;A String&quot;,
28702 ],
28703 },
28704 },
28705 },
28706 &quot;toolResult&quot;: { # Tool result content.
28707 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
28708 &quot;codeExecutionResult&quot;: { # Code execution result content.
28709 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
28710 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
28711 },
28712 &quot;fileSearchResult&quot;: { # File Search result content.
28713 &quot;result&quot;: [ # Optional. The results of the File Search.
28714 { # The result of the File Search.
28715 },
28716 ],
28717 },
28718 &quot;functionResult&quot;: { # A function tool result content block.
28719 &quot;contentList&quot;: {
28720 &quot;contents&quot;: [
28721 {
28722 &quot;image&quot;: { # An image content block.
28723 &quot;data&quot;: &quot;A String&quot;, # The image content.
28724 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
28725 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
28726 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
28727 },
28728 &quot;text&quot;: { # A text content block.
28729 &quot;annotations&quot;: [ # Citation information for model-generated content.
28730 { # Citation information for model-generated content.
28731 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
28732 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
28733 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
28734 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28735 { # Represents a single field in a struct.
28736 &quot;name&quot;: &quot;A String&quot;,
28737 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28738 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28739 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28740 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28741 # Object with schema name: GenaiVertexV1beta1Value
28742 ],
28743 },
28744 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28745 &quot;numberValue&quot;: 3.14, # Represents a double value.
28746 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28747 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28748 },
28749 },
28750 ],
28751 },
28752 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
28753 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
28754 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
28755 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
28756 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
28757 },
28758 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
28759 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
28760 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
28761 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
28762 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
28763 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
28764 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
28765 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
28766 },
28767 ],
28768 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
28769 },
28770 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
28771 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
28772 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
28773 &quot;url&quot;: &quot;A String&quot;, # The URL.
28774 },
28775 },
28776 ],
28777 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
28778 },
28779 },
28780 ],
28781 },
28782 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
28783 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
28784 &quot;stringResult&quot;: &quot;A String&quot;,
28785 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
28786 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28787 { # Represents a single field in a struct.
28788 &quot;name&quot;: &quot;A String&quot;,
28789 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28790 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28791 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28792 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28793 # Object with schema name: GenaiVertexV1beta1Value
28794 ],
28795 },
28796 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28797 &quot;numberValue&quot;: 3.14, # Represents a double value.
28798 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28799 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28800 },
28801 },
28802 ],
28803 },
28804 },
28805 &quot;googleMapsResult&quot;: { # Google Maps result content.
28806 &quot;result&quot;: [ # Required. The results of the Google Maps.
28807 { # The result of the Google Maps.
28808 &quot;places&quot;: [ # The places that were found.
28809 {
28810 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
28811 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
28812 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
28813 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
28814 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
28815 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
28816 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
28817 },
28818 ],
28819 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
28820 },
28821 ],
28822 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
28823 },
28824 ],
28825 },
28826 &quot;googleSearchResult&quot;: { # Google Search result content.
28827 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
28828 &quot;result&quot;: [ # Required. The results of the Google Search.
28829 { # The result of the Google Search.
28830 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
28831 },
28832 ],
28833 },
28834 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
28835 &quot;contentList&quot;: {
28836 &quot;contents&quot;: [
28837 {
28838 &quot;image&quot;: { # An image content block.
28839 &quot;data&quot;: &quot;A String&quot;, # The image content.
28840 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
28841 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
28842 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
28843 },
28844 &quot;text&quot;: { # A text content block.
28845 &quot;annotations&quot;: [ # Citation information for model-generated content.
28846 { # Citation information for model-generated content.
28847 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
28848 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
28849 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
28850 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28851 { # Represents a single field in a struct.
28852 &quot;name&quot;: &quot;A String&quot;,
28853 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28854 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28855 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28856 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28857 # Object with schema name: GenaiVertexV1beta1Value
28858 ],
28859 },
28860 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28861 &quot;numberValue&quot;: 3.14, # Represents a double value.
28862 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28863 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28864 },
28865 },
28866 ],
28867 },
28868 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
28869 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
28870 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
28871 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
28872 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
28873 },
28874 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
28875 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
28876 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
28877 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
28878 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
28879 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
28880 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
28881 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
28882 },
28883 ],
28884 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
28885 },
28886 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
28887 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
28888 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
28889 &quot;url&quot;: &quot;A String&quot;, # The URL.
28890 },
28891 },
28892 ],
28893 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
28894 },
28895 },
28896 ],
28897 },
28898 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
28899 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
28900 &quot;stringResult&quot;: &quot;A String&quot;,
28901 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
28902 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28903 { # Represents a single field in a struct.
28904 &quot;name&quot;: &quot;A String&quot;,
28905 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28906 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28907 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28908 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28909 # Object with schema name: GenaiVertexV1beta1Value
28910 ],
28911 },
28912 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28913 &quot;numberValue&quot;: 3.14, # Represents a double value.
28914 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28915 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28916 },
28917 },
28918 ],
28919 },
28920 },
28921 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
28922 &quot;urlContextResult&quot;: { # URL context result content.
28923 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
28924 &quot;result&quot;: [ # Required. The results of the URL context.
28925 { # The result of the URL context.
28926 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
28927 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
28928 },
28929 ],
28930 },
28931 },
28932 &quot;video&quot;: { # A video content block.
28933 &quot;data&quot;: &quot;A String&quot;, # The video content.
28934 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
28935 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
28936 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
28937 },
28938 },
28939 ],
28940 },
28941 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
28942 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
28943 &quot;stringResult&quot;: &quot;A String&quot;,
28944 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
28945 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
28946 { # Represents a single field in a struct.
28947 &quot;name&quot;: &quot;A String&quot;,
28948 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
28949 &quot;boolValue&quot;: True or False, # Represents a boolean value.
28950 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
28951 &quot;values&quot;: [ # Repeated field of dynamically typed values.
28952 # Object with schema name: GenaiVertexV1beta1Value
28953 ],
28954 },
28955 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
28956 &quot;numberValue&quot;: 3.14, # Represents a double value.
28957 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
28958 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
28959 },
28960 },
28961 ],
28962 },
28963 },
28964 &quot;googleMapsResult&quot;: { # Google Maps result step.
28965 &quot;result&quot;: [
28966 { # The result of the Google Maps.
28967 &quot;places&quot;: [
28968 {
28969 &quot;name&quot;: &quot;A String&quot;,
28970 &quot;placeId&quot;: &quot;A String&quot;,
28971 &quot;reviewSnippets&quot;: [
28972 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
28973 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
28974 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
28975 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
28976 },
28977 ],
28978 &quot;url&quot;: &quot;A String&quot;,
28979 },
28980 ],
28981 &quot;widgetContextToken&quot;: &quot;A String&quot;,
28982 },
28983 ],
28984 },
28985 &quot;googleSearchResult&quot;: { # Google Search result step.
28986 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
28987 &quot;result&quot;: [ # Required. The results of the Google Search.
28988 { # The result of the Google Search.
28989 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
28990 },
28991 ],
28992 },
28993 &quot;mcpServerToolResult&quot;: { # MCPServer tool result step.
28994 &quot;contentList&quot;: { # A list of Content.
28995 &quot;contents&quot;: [ # The contents of the list.
28996 { # The content of the response.
28997 &quot;audio&quot;: { # An audio content block.
28998 &quot;channels&quot;: 42, # The number of audio channels.
28999 &quot;data&quot;: &quot;A String&quot;, # The audio content.
29000 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
29001 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
29002 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
29003 },
29004 &quot;document&quot;: { # A document content block.
29005 &quot;data&quot;: &quot;A String&quot;, # The document content.
29006 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
29007 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
29008 },
29009 &quot;image&quot;: { # An image content block.
29010 &quot;data&quot;: &quot;A String&quot;, # The image content.
29011 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
29012 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
29013 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
29014 },
29015 &quot;text&quot;: { # A text content block.
29016 &quot;annotations&quot;: [ # Citation information for model-generated content.
29017 { # Citation information for model-generated content.
29018 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
29019 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
29020 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
29021 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29022 { # Represents a single field in a struct.
29023 &quot;name&quot;: &quot;A String&quot;,
29024 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29025 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29026 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29027 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29028 # Object with schema name: GenaiVertexV1beta1Value
29029 ],
29030 },
29031 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29032 &quot;numberValue&quot;: 3.14, # Represents a double value.
29033 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29034 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29035 },
29036 },
29037 ],
29038 },
29039 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
29040 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
29041 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
29042 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
29043 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
29044 },
29045 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
29046 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
29047 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
29048 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
29049 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
29050 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
29051 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
29052 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
29053 },
29054 ],
29055 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
29056 },
29057 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
29058 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
29059 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
29060 &quot;url&quot;: &quot;A String&quot;, # The URL.
29061 },
29062 },
29063 ],
29064 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
29065 },
29066 &quot;thought&quot;: { # A thought content block.
29067 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
29068 &quot;summary&quot;: [ # A summary of the thought.
29069 {
29070 &quot;image&quot;: { # An image content block.
29071 &quot;data&quot;: &quot;A String&quot;, # The image content.
29072 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
29073 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
29074 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
29075 },
29076 &quot;text&quot;: { # A text content block.
29077 &quot;annotations&quot;: [ # Citation information for model-generated content.
29078 { # Citation information for model-generated content.
29079 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
29080 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
29081 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
29082 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29083 { # Represents a single field in a struct.
29084 &quot;name&quot;: &quot;A String&quot;,
29085 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29086 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29087 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29088 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29089 # Object with schema name: GenaiVertexV1beta1Value
29090 ],
29091 },
29092 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29093 &quot;numberValue&quot;: 3.14, # Represents a double value.
29094 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29095 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29096 },
29097 },
29098 ],
29099 },
29100 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
29101 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
29102 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
29103 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
29104 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
29105 },
29106 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
29107 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
29108 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
29109 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
29110 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
29111 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
29112 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
29113 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
29114 },
29115 ],
29116 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
29117 },
29118 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
29119 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
29120 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
29121 &quot;url&quot;: &quot;A String&quot;, # The URL.
29122 },
29123 },
29124 ],
29125 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
29126 },
29127 },
29128 ],
29129 },
29130 &quot;toolCall&quot;: { # Tool call content.
29131 &quot;codeExecutionCall&quot;: { # Code execution content.
29132 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
29133 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
29134 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
29135 },
29136 },
29137 &quot;fileSearchCall&quot;: { # File Search content.
29138 },
29139 &quot;functionCall&quot;: { # A function tool call content block.
29140 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
29141 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29142 { # Represents a single field in a struct.
29143 &quot;name&quot;: &quot;A String&quot;,
29144 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29145 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29146 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29147 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29148 # Object with schema name: GenaiVertexV1beta1Value
29149 ],
29150 },
29151 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29152 &quot;numberValue&quot;: 3.14, # Represents a double value.
29153 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29154 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29155 },
29156 },
29157 ],
29158 },
29159 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
29160 },
29161 &quot;googleMapsCall&quot;: { # Google Maps content.
29162 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
29163 &quot;queries&quot;: [ # The queries to be executed.
29164 &quot;A String&quot;,
29165 ],
29166 },
29167 },
29168 &quot;googleSearchCall&quot;: { # Google Search content.
29169 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
29170 &quot;queries&quot;: [ # Web search queries for the following-up web search.
29171 &quot;A String&quot;,
29172 ],
29173 },
29174 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
29175 },
29176 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
29177 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
29178 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
29179 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29180 { # Represents a single field in a struct.
29181 &quot;name&quot;: &quot;A String&quot;,
29182 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29183 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29184 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29185 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29186 # Object with schema name: GenaiVertexV1beta1Value
29187 ],
29188 },
29189 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29190 &quot;numberValue&quot;: 3.14, # Represents a double value.
29191 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29192 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29193 },
29194 },
29195 ],
29196 },
29197 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
29198 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
29199 },
29200 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
29201 &quot;urlContextCall&quot;: { # URL context content.
29202 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
29203 &quot;urls&quot;: [ # The URLs to fetch.
29204 &quot;A String&quot;,
29205 ],
29206 },
29207 },
29208 },
29209 &quot;toolResult&quot;: { # Tool result content.
29210 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
29211 &quot;codeExecutionResult&quot;: { # Code execution result content.
29212 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
29213 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
29214 },
29215 &quot;fileSearchResult&quot;: { # File Search result content.
29216 &quot;result&quot;: [ # Optional. The results of the File Search.
29217 { # The result of the File Search.
29218 },
29219 ],
29220 },
29221 &quot;functionResult&quot;: { # A function tool result content block.
29222 &quot;contentList&quot;: {
29223 &quot;contents&quot;: [
29224 {
29225 &quot;image&quot;: { # An image content block.
29226 &quot;data&quot;: &quot;A String&quot;, # The image content.
29227 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
29228 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
29229 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
29230 },
29231 &quot;text&quot;: { # A text content block.
29232 &quot;annotations&quot;: [ # Citation information for model-generated content.
29233 { # Citation information for model-generated content.
29234 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
29235 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
29236 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
29237 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29238 { # Represents a single field in a struct.
29239 &quot;name&quot;: &quot;A String&quot;,
29240 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29241 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29242 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29243 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29244 # Object with schema name: GenaiVertexV1beta1Value
29245 ],
29246 },
29247 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29248 &quot;numberValue&quot;: 3.14, # Represents a double value.
29249 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29250 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29251 },
29252 },
29253 ],
29254 },
29255 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
29256 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
29257 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
29258 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
29259 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
29260 },
29261 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
29262 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
29263 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
29264 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
29265 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
29266 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
29267 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
29268 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
29269 },
29270 ],
29271 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
29272 },
29273 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
29274 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
29275 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
29276 &quot;url&quot;: &quot;A String&quot;, # The URL.
29277 },
29278 },
29279 ],
29280 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
29281 },
29282 },
29283 ],
29284 },
29285 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
29286 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
29287 &quot;stringResult&quot;: &quot;A String&quot;,
29288 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
29289 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29290 { # Represents a single field in a struct.
29291 &quot;name&quot;: &quot;A String&quot;,
29292 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29293 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29294 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29295 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29296 # Object with schema name: GenaiVertexV1beta1Value
29297 ],
29298 },
29299 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29300 &quot;numberValue&quot;: 3.14, # Represents a double value.
29301 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29302 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29303 },
29304 },
29305 ],
29306 },
29307 },
29308 &quot;googleMapsResult&quot;: { # Google Maps result content.
29309 &quot;result&quot;: [ # Required. The results of the Google Maps.
29310 { # The result of the Google Maps.
29311 &quot;places&quot;: [ # The places that were found.
29312 {
29313 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
29314 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
29315 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
29316 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
29317 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
29318 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
29319 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
29320 },
29321 ],
29322 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
29323 },
29324 ],
29325 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
29326 },
29327 ],
29328 },
29329 &quot;googleSearchResult&quot;: { # Google Search result content.
29330 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
29331 &quot;result&quot;: [ # Required. The results of the Google Search.
29332 { # The result of the Google Search.
29333 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
29334 },
29335 ],
29336 },
29337 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
29338 &quot;contentList&quot;: {
29339 &quot;contents&quot;: [
29340 {
29341 &quot;image&quot;: { # An image content block.
29342 &quot;data&quot;: &quot;A String&quot;, # The image content.
29343 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
29344 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
29345 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
29346 },
29347 &quot;text&quot;: { # A text content block.
29348 &quot;annotations&quot;: [ # Citation information for model-generated content.
29349 { # Citation information for model-generated content.
29350 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
29351 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
29352 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
29353 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29354 { # Represents a single field in a struct.
29355 &quot;name&quot;: &quot;A String&quot;,
29356 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29357 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29358 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29359 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29360 # Object with schema name: GenaiVertexV1beta1Value
29361 ],
29362 },
29363 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29364 &quot;numberValue&quot;: 3.14, # Represents a double value.
29365 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29366 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29367 },
29368 },
29369 ],
29370 },
29371 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
29372 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
29373 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
29374 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
29375 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
29376 },
29377 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
29378 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
29379 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
29380 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
29381 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
29382 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
29383 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
29384 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
29385 },
29386 ],
29387 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
29388 },
29389 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
29390 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
29391 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
29392 &quot;url&quot;: &quot;A String&quot;, # The URL.
29393 },
29394 },
29395 ],
29396 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
29397 },
29398 },
29399 ],
29400 },
29401 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
29402 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
29403 &quot;stringResult&quot;: &quot;A String&quot;,
29404 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
29405 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29406 { # Represents a single field in a struct.
29407 &quot;name&quot;: &quot;A String&quot;,
29408 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29409 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29410 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29411 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29412 # Object with schema name: GenaiVertexV1beta1Value
29413 ],
29414 },
29415 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29416 &quot;numberValue&quot;: 3.14, # Represents a double value.
29417 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29418 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29419 },
29420 },
29421 ],
29422 },
29423 },
29424 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
29425 &quot;urlContextResult&quot;: { # URL context result content.
29426 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
29427 &quot;result&quot;: [ # Required. The results of the URL context.
29428 { # The result of the URL context.
29429 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
29430 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
29431 },
29432 ],
29433 },
29434 },
29435 &quot;video&quot;: { # A video content block.
29436 &quot;data&quot;: &quot;A String&quot;, # The video content.
29437 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
29438 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
29439 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
29440 },
29441 },
29442 ],
29443 },
29444 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
29445 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
29446 &quot;stringResult&quot;: &quot;A String&quot;,
29447 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
29448 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29449 { # Represents a single field in a struct.
29450 &quot;name&quot;: &quot;A String&quot;,
29451 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29452 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29453 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29454 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29455 # Object with schema name: GenaiVertexV1beta1Value
29456 ],
29457 },
29458 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29459 &quot;numberValue&quot;: 3.14, # Represents a double value.
29460 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29461 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29462 },
29463 },
29464 ],
29465 },
29466 },
29467 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
29468 &quot;urlContextResult&quot;: { # URL context result step.
29469 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
29470 &quot;result&quot;: [ # Required. The results of the URL context.
29471 { # The result of the URL context.
29472 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
29473 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
29474 },
29475 ],
29476 },
29477 },
29478 &quot;userInput&quot;: { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
29479 &quot;contentList&quot;: { # A list of Content. # The content of the step. An array of Content objects.
29480 &quot;contents&quot;: [ # The contents of the list.
29481 { # The content of the response.
29482 &quot;audio&quot;: { # An audio content block.
29483 &quot;channels&quot;: 42, # The number of audio channels.
29484 &quot;data&quot;: &quot;A String&quot;, # The audio content.
29485 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
29486 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
29487 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
29488 },
29489 &quot;document&quot;: { # A document content block.
29490 &quot;data&quot;: &quot;A String&quot;, # The document content.
29491 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
29492 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
29493 },
29494 &quot;image&quot;: { # An image content block.
29495 &quot;data&quot;: &quot;A String&quot;, # The image content.
29496 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
29497 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
29498 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
29499 },
29500 &quot;text&quot;: { # A text content block.
29501 &quot;annotations&quot;: [ # Citation information for model-generated content.
29502 { # Citation information for model-generated content.
29503 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
29504 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
29505 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
29506 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29507 { # Represents a single field in a struct.
29508 &quot;name&quot;: &quot;A String&quot;,
29509 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29510 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29511 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29512 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29513 # Object with schema name: GenaiVertexV1beta1Value
29514 ],
29515 },
29516 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29517 &quot;numberValue&quot;: 3.14, # Represents a double value.
29518 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29519 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29520 },
29521 },
29522 ],
29523 },
29524 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
29525 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
29526 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
29527 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
29528 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
29529 },
29530 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
29531 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
29532 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
29533 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
29534 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
29535 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
29536 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
29537 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
29538 },
29539 ],
29540 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
29541 },
29542 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
29543 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
29544 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
29545 &quot;url&quot;: &quot;A String&quot;, # The URL.
29546 },
29547 },
29548 ],
29549 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
29550 },
29551 &quot;thought&quot;: { # A thought content block.
29552 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
29553 &quot;summary&quot;: [ # A summary of the thought.
29554 {
29555 &quot;image&quot;: { # An image content block.
29556 &quot;data&quot;: &quot;A String&quot;, # The image content.
29557 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
29558 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
29559 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
29560 },
29561 &quot;text&quot;: { # A text content block.
29562 &quot;annotations&quot;: [ # Citation information for model-generated content.
29563 { # Citation information for model-generated content.
29564 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
29565 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
29566 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
29567 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29568 { # Represents a single field in a struct.
29569 &quot;name&quot;: &quot;A String&quot;,
29570 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29571 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29572 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29573 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29574 # Object with schema name: GenaiVertexV1beta1Value
29575 ],
29576 },
29577 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29578 &quot;numberValue&quot;: 3.14, # Represents a double value.
29579 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29580 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29581 },
29582 },
29583 ],
29584 },
29585 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
29586 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
29587 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
29588 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
29589 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
29590 },
29591 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
29592 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
29593 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
29594 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
29595 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
29596 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
29597 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
29598 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
29599 },
29600 ],
29601 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
29602 },
29603 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
29604 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
29605 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
29606 &quot;url&quot;: &quot;A String&quot;, # The URL.
29607 },
29608 },
29609 ],
29610 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
29611 },
29612 },
29613 ],
29614 },
29615 &quot;toolCall&quot;: { # Tool call content.
29616 &quot;codeExecutionCall&quot;: { # Code execution content.
29617 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
29618 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
29619 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
29620 },
29621 },
29622 &quot;fileSearchCall&quot;: { # File Search content.
29623 },
29624 &quot;functionCall&quot;: { # A function tool call content block.
29625 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
29626 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29627 { # Represents a single field in a struct.
29628 &quot;name&quot;: &quot;A String&quot;,
29629 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29630 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29631 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29632 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29633 # Object with schema name: GenaiVertexV1beta1Value
29634 ],
29635 },
29636 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29637 &quot;numberValue&quot;: 3.14, # Represents a double value.
29638 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29639 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29640 },
29641 },
29642 ],
29643 },
29644 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
29645 },
29646 &quot;googleMapsCall&quot;: { # Google Maps content.
29647 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
29648 &quot;queries&quot;: [ # The queries to be executed.
29649 &quot;A String&quot;,
29650 ],
29651 },
29652 },
29653 &quot;googleSearchCall&quot;: { # Google Search content.
29654 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
29655 &quot;queries&quot;: [ # Web search queries for the following-up web search.
29656 &quot;A String&quot;,
29657 ],
29658 },
29659 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
29660 },
29661 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
29662 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
29663 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
29664 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29665 { # Represents a single field in a struct.
29666 &quot;name&quot;: &quot;A String&quot;,
29667 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29668 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29669 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29670 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29671 # Object with schema name: GenaiVertexV1beta1Value
29672 ],
29673 },
29674 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29675 &quot;numberValue&quot;: 3.14, # Represents a double value.
29676 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29677 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29678 },
29679 },
29680 ],
29681 },
29682 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
29683 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
29684 },
29685 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
29686 &quot;urlContextCall&quot;: { # URL context content.
29687 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
29688 &quot;urls&quot;: [ # The URLs to fetch.
29689 &quot;A String&quot;,
29690 ],
29691 },
29692 },
29693 },
29694 &quot;toolResult&quot;: { # Tool result content.
29695 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
29696 &quot;codeExecutionResult&quot;: { # Code execution result content.
29697 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
29698 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
29699 },
29700 &quot;fileSearchResult&quot;: { # File Search result content.
29701 &quot;result&quot;: [ # Optional. The results of the File Search.
29702 { # The result of the File Search.
29703 },
29704 ],
29705 },
29706 &quot;functionResult&quot;: { # A function tool result content block.
29707 &quot;contentList&quot;: {
29708 &quot;contents&quot;: [
29709 {
29710 &quot;image&quot;: { # An image content block.
29711 &quot;data&quot;: &quot;A String&quot;, # The image content.
29712 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
29713 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
29714 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
29715 },
29716 &quot;text&quot;: { # A text content block.
29717 &quot;annotations&quot;: [ # Citation information for model-generated content.
29718 { # Citation information for model-generated content.
29719 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
29720 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
29721 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
29722 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29723 { # Represents a single field in a struct.
29724 &quot;name&quot;: &quot;A String&quot;,
29725 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29726 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29727 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29728 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29729 # Object with schema name: GenaiVertexV1beta1Value
29730 ],
29731 },
29732 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29733 &quot;numberValue&quot;: 3.14, # Represents a double value.
29734 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29735 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29736 },
29737 },
29738 ],
29739 },
29740 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
29741 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
29742 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
29743 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
29744 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
29745 },
29746 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
29747 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
29748 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
29749 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
29750 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
29751 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
29752 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
29753 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
29754 },
29755 ],
29756 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
29757 },
29758 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
29759 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
29760 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
29761 &quot;url&quot;: &quot;A String&quot;, # The URL.
29762 },
29763 },
29764 ],
29765 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
29766 },
29767 },
29768 ],
29769 },
29770 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
29771 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
29772 &quot;stringResult&quot;: &quot;A String&quot;,
29773 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
29774 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29775 { # Represents a single field in a struct.
29776 &quot;name&quot;: &quot;A String&quot;,
29777 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29778 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29779 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29780 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29781 # Object with schema name: GenaiVertexV1beta1Value
29782 ],
29783 },
29784 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29785 &quot;numberValue&quot;: 3.14, # Represents a double value.
29786 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29787 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29788 },
29789 },
29790 ],
29791 },
29792 },
29793 &quot;googleMapsResult&quot;: { # Google Maps result content.
29794 &quot;result&quot;: [ # Required. The results of the Google Maps.
29795 { # The result of the Google Maps.
29796 &quot;places&quot;: [ # The places that were found.
29797 {
29798 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
29799 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
29800 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
29801 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
29802 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
29803 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
29804 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
29805 },
29806 ],
29807 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
29808 },
29809 ],
29810 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
29811 },
29812 ],
29813 },
29814 &quot;googleSearchResult&quot;: { # Google Search result content.
29815 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
29816 &quot;result&quot;: [ # Required. The results of the Google Search.
29817 { # The result of the Google Search.
29818 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
29819 },
29820 ],
29821 },
29822 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
29823 &quot;contentList&quot;: {
29824 &quot;contents&quot;: [
29825 {
29826 &quot;image&quot;: { # An image content block.
29827 &quot;data&quot;: &quot;A String&quot;, # The image content.
29828 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
29829 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
29830 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
29831 },
29832 &quot;text&quot;: { # A text content block.
29833 &quot;annotations&quot;: [ # Citation information for model-generated content.
29834 { # Citation information for model-generated content.
29835 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
29836 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
29837 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
29838 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29839 { # Represents a single field in a struct.
29840 &quot;name&quot;: &quot;A String&quot;,
29841 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29842 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29843 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29844 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29845 # Object with schema name: GenaiVertexV1beta1Value
29846 ],
29847 },
29848 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29849 &quot;numberValue&quot;: 3.14, # Represents a double value.
29850 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29851 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29852 },
29853 },
29854 ],
29855 },
29856 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
29857 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
29858 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
29859 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
29860 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
29861 },
29862 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
29863 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
29864 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
29865 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
29866 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
29867 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
29868 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
29869 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
29870 },
29871 ],
29872 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
29873 },
29874 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
29875 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
29876 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
29877 &quot;url&quot;: &quot;A String&quot;, # The URL.
29878 },
29879 },
29880 ],
29881 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
29882 },
29883 },
29884 ],
29885 },
29886 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
29887 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
29888 &quot;stringResult&quot;: &quot;A String&quot;,
29889 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
29890 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
29891 { # Represents a single field in a struct.
29892 &quot;name&quot;: &quot;A String&quot;,
29893 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
29894 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29895 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29896 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29897 # Object with schema name: GenaiVertexV1beta1Value
29898 ],
29899 },
29900 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29901 &quot;numberValue&quot;: 3.14, # Represents a double value.
29902 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29903 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29904 },
29905 },
29906 ],
29907 },
29908 },
29909 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
29910 &quot;urlContextResult&quot;: { # URL context result content.
29911 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
29912 &quot;result&quot;: [ # Required. The results of the URL context.
29913 { # The result of the URL context.
29914 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
29915 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
29916 },
29917 ],
29918 },
29919 },
29920 &quot;video&quot;: { # A video content block.
29921 &quot;data&quot;: &quot;A String&quot;, # The video content.
29922 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
29923 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
29924 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
29925 },
29926 },
29927 ],
29928 },
29929 &quot;contentString&quot;: &quot;A String&quot;, # The content of the step. A single string.
29930 },
29931 },
29932 ],
29933 &quot;stringContent&quot;: &quot;A String&quot;, # A string input for the interaction, it will be processed as a single text input.
29934 &quot;systemInstruction&quot;: &quot;A String&quot;, # System instruction for the interaction.
29935 &quot;tools&quot;: [ # A list of tool declarations the model may call during interaction.
29936 { # A tool that can be used by the model.
29937 &quot;codeExecution&quot;: { # A tool that can be used by the model to execute code. # A tool that can be used by the model to execute code.
29938 },
29939 &quot;computerUse&quot;: { # A tool that can be used by the model to interact with the computer. # Tool to support the model interacting directly with the computer.
29940 &quot;environment&quot;: &quot;A String&quot;, # The environment being operated.
29941 &quot;excludedPredefinedFunctions&quot;: [ # The list of predefined functions that are excluded from the model call.
29942 &quot;A String&quot;,
29943 ],
29944 },
29945 &quot;fileSearch&quot;: { # A tool that can be used by the model to search files. # A tool that can be used by the model to search files.
29946 &quot;fileSearchStoreNames&quot;: [ # The file search store names to search.
29947 &quot;A String&quot;,
29948 ],
29949 &quot;metadataFilter&quot;: &quot;A String&quot;, # Metadata filter to apply to the semantic retrieval documents and chunks.
29950 &quot;topK&quot;: 42, # The number of semantic retrieval chunks to retrieve.
29951 },
29952 &quot;function&quot;: { # A tool that can be used by the model. # A function that can be used by the model.
29953 &quot;description&quot;: &quot;A String&quot;, # A description of the function.
29954 &quot;name&quot;: &quot;A String&quot;, # The name of the function.
29955 &quot;parameters&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # The JSON Schema for the function&#x27;s parameters.
29956 &quot;boolValue&quot;: True or False, # Represents a boolean value.
29957 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
29958 &quot;values&quot;: [ # Repeated field of dynamically typed values.
29959 # Object with schema name: GenaiVertexV1beta1Value
29960 ],
29961 },
29962 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
29963 &quot;numberValue&quot;: 3.14, # Represents a double value.
29964 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
29965 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
29966 },
29967 },
29968 &quot;googleMaps&quot;: { # A tool that can be used by the model to call Google Maps. # A tool that can be used by the model to search Google Maps.
29969 &quot;enableWidget&quot;: True or False, # Whether to return a widget context token in the tool call result of the response.
29970 &quot;latitude&quot;: 3.14, # The latitude of the user&#x27;s location.
29971 &quot;longitude&quot;: 3.14, # The longitude of the user&#x27;s location.
29972 },
29973 &quot;googleSearch&quot;: { # A tool that can be used by the model to search Google. # A tool that can be used by the model to search Google.
29974 &quot;searchTypes&quot;: [ # The types of search grounding to enable.
29975 &quot;A String&quot;,
29976 ],
29977 },
29978 &quot;mcpServer&quot;: { # A MCPServer is a server that can be called by the model to perform actions. # A MCPServer is a server that can be called by the model to perform actions.
29979 &quot;allowedTools&quot;: [ # The allowed tools.
29980 { # The configuration for allowed tools.
29981 &quot;mode&quot;: &quot;A String&quot;, # The mode of the tool choice.
29982 &quot;tools&quot;: [ # The names of the allowed tools.
29983 &quot;A String&quot;,
29984 ],
29985 },
29986 ],
29987 &quot;headers&quot;: { # Optional: Fields for authentication headers, timeouts, etc., if needed.
29988 &quot;a_key&quot;: &quot;A String&quot;,
29989 },
29990 &quot;name&quot;: &quot;A String&quot;, # The name of the MCPServer.
29991 &quot;url&quot;: &quot;A String&quot;, # The full URL for the MCPServer endpoint. Example: &quot;https://api.example.com/mcp&quot;
29992 },
29993 &quot;retrieval&quot;: { # A tool that can be used by the model to retrieve files. # A tool that can be used by the model to retrieve files.
29994 &quot;exa_ai_search_config&quot;: { # Used to specify configuration for ExaAISearch. # Used to specify configuration for ExaAISearch.
29995 &quot;api_key&quot;: &quot;A String&quot;, # Required. The API key for ExaAiSearch.
29996 &quot;custom_config&quot;: { # Optional. This field can be used to pass any parameter from the Exa.ai Search API.
29997 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
29998 },
29999 },
30000 &quot;parallel_ai_search_config&quot;: { # Used to specify configuration for ParallelAISearch. # Used to specify configuration for ParallelAISearch.
30001 &quot;api_key&quot;: &quot;A String&quot;, # Optional. The API key for ParallelAiSearch.
30002 &quot;custom_config&quot;: { # Optional. Custom configs for ParallelAiSearch.
30003 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
30004 },
30005 },
30006 &quot;rag_store_config&quot;: { # Use to specify configuration for RAG Store. # Used to specify configuration for RagStore.
30007 &quot;rag_resources&quot;: [ # Optional. The representation of the rag source.
30008 { # The definition of the Rag resource.
30009 &quot;rag_corpus&quot;: &quot;A String&quot;, # Optional. RagCorpora resource name.
30010 &quot;rag_file_ids&quot;: [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
30011 &quot;A String&quot;,
30012 ],
30013 },
30014 ],
30015 &quot;rag_retrieval_config&quot;: { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
30016 &quot;filter&quot;: { # Config for filters. # Optional. Config for filters.
30017 &quot;metadata_filter&quot;: &quot;A String&quot;, # Optional. String for metadata filtering.
30018 &quot;vector_distance_threshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
30019 &quot;vector_similarity_threshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
30020 },
30021 &quot;hybrid_search&quot;: { # Config for Hybrid Search. # Optional. Config for Hybrid Search.
30022 &quot;alpha&quot;: 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results.
30023 },
30024 &quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
30025 &quot;rank_service&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
30026 &quot;model_name&quot;: &quot;A String&quot;, # Optional. The model name of the rank service.
30027 },
30028 },
30029 &quot;top_k&quot;: 42, # Optional. The number of contexts to retrieve.
30030 },
30031 &quot;similarity_top_k&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
30032 &quot;vector_distance_threshold&quot;: 3.14, # Optional. Only return results with vector distance smaller than the threshold.
30033 },
30034 &quot;retrievalTypes&quot;: [ # The types of file retrieval to enable.
30035 &quot;A String&quot;,
30036 ],
30037 &quot;vertex_ai_search_config&quot;: { # Used to specify configuration for VertexAISearch. # Used to specify configuration for VertexAISearch.
30038 &quot;datastores&quot;: [ # Optional. Used to specify Vertex AI Search datastores.
30039 &quot;A String&quot;,
30040 ],
30041 &quot;engine&quot;: &quot;A String&quot;, # Optional. Used to specify Vertex AI Search engine.
30042 },
30043 },
30044 &quot;urlContext&quot;: { # A tool that can be used by the model to fetch URL context. # A tool that can be used by the model to fetch URL context.
30045 },
30046 },
30047 ],
30048 &quot;turnList&quot;: { # A list of Turns. # The turns for the interaction.
30049 &quot;turns&quot;: [
30050 {
30051 &quot;contentList&quot;: { # A list of Content. # The content of the turn. An array of Content objects.
30052 &quot;contents&quot;: [ # The contents of the list.
30053 { # The content of the response.
30054 &quot;audio&quot;: { # An audio content block.
30055 &quot;channels&quot;: 42, # The number of audio channels.
30056 &quot;data&quot;: &quot;A String&quot;, # The audio content.
30057 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
30058 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
30059 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
30060 },
30061 &quot;document&quot;: { # A document content block.
30062 &quot;data&quot;: &quot;A String&quot;, # The document content.
30063 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
30064 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
30065 },
30066 &quot;image&quot;: { # An image content block.
30067 &quot;data&quot;: &quot;A String&quot;, # The image content.
30068 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
30069 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
30070 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
30071 },
30072 &quot;text&quot;: { # A text content block.
30073 &quot;annotations&quot;: [ # Citation information for model-generated content.
30074 { # Citation information for model-generated content.
30075 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
30076 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
30077 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
30078 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
30079 { # Represents a single field in a struct.
30080 &quot;name&quot;: &quot;A String&quot;,
30081 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
30082 &quot;boolValue&quot;: True or False, # Represents a boolean value.
30083 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
30084 &quot;values&quot;: [ # Repeated field of dynamically typed values.
30085 # Object with schema name: GenaiVertexV1beta1Value
30086 ],
30087 },
30088 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
30089 &quot;numberValue&quot;: 3.14, # Represents a double value.
30090 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
30091 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
30092 },
30093 },
30094 ],
30095 },
30096 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
30097 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
30098 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
30099 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
30100 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
30101 },
30102 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
30103 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
30104 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
30105 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
30106 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
30107 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
30108 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
30109 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
30110 },
30111 ],
30112 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
30113 },
30114 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
30115 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
30116 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
30117 &quot;url&quot;: &quot;A String&quot;, # The URL.
30118 },
30119 },
30120 ],
30121 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
30122 },
30123 &quot;thought&quot;: { # A thought content block.
30124 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
30125 &quot;summary&quot;: [ # A summary of the thought.
30126 {
30127 &quot;image&quot;: { # An image content block.
30128 &quot;data&quot;: &quot;A String&quot;, # The image content.
30129 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
30130 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
30131 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
30132 },
30133 &quot;text&quot;: { # A text content block.
30134 &quot;annotations&quot;: [ # Citation information for model-generated content.
30135 { # Citation information for model-generated content.
30136 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
30137 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
30138 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
30139 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
30140 { # Represents a single field in a struct.
30141 &quot;name&quot;: &quot;A String&quot;,
30142 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
30143 &quot;boolValue&quot;: True or False, # Represents a boolean value.
30144 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
30145 &quot;values&quot;: [ # Repeated field of dynamically typed values.
30146 # Object with schema name: GenaiVertexV1beta1Value
30147 ],
30148 },
30149 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
30150 &quot;numberValue&quot;: 3.14, # Represents a double value.
30151 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
30152 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
30153 },
30154 },
30155 ],
30156 },
30157 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
30158 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
30159 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
30160 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
30161 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
30162 },
30163 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
30164 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
30165 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
30166 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
30167 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
30168 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
30169 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
30170 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
30171 },
30172 ],
30173 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
30174 },
30175 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
30176 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
30177 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
30178 &quot;url&quot;: &quot;A String&quot;, # The URL.
30179 },
30180 },
30181 ],
30182 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
30183 },
30184 },
30185 ],
30186 },
30187 &quot;toolCall&quot;: { # Tool call content.
30188 &quot;codeExecutionCall&quot;: { # Code execution content.
30189 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
30190 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
30191 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
30192 },
30193 },
30194 &quot;fileSearchCall&quot;: { # File Search content.
30195 },
30196 &quot;functionCall&quot;: { # A function tool call content block.
30197 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
30198 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
30199 { # Represents a single field in a struct.
30200 &quot;name&quot;: &quot;A String&quot;,
30201 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
30202 &quot;boolValue&quot;: True or False, # Represents a boolean value.
30203 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
30204 &quot;values&quot;: [ # Repeated field of dynamically typed values.
30205 # Object with schema name: GenaiVertexV1beta1Value
30206 ],
30207 },
30208 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
30209 &quot;numberValue&quot;: 3.14, # Represents a double value.
30210 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
30211 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
30212 },
30213 },
30214 ],
30215 },
30216 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
30217 },
30218 &quot;googleMapsCall&quot;: { # Google Maps content.
30219 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
30220 &quot;queries&quot;: [ # The queries to be executed.
30221 &quot;A String&quot;,
30222 ],
30223 },
30224 },
30225 &quot;googleSearchCall&quot;: { # Google Search content.
30226 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
30227 &quot;queries&quot;: [ # Web search queries for the following-up web search.
30228 &quot;A String&quot;,
30229 ],
30230 },
30231 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
30232 },
30233 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
30234 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
30235 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
30236 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
30237 { # Represents a single field in a struct.
30238 &quot;name&quot;: &quot;A String&quot;,
30239 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
30240 &quot;boolValue&quot;: True or False, # Represents a boolean value.
30241 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
30242 &quot;values&quot;: [ # Repeated field of dynamically typed values.
30243 # Object with schema name: GenaiVertexV1beta1Value
30244 ],
30245 },
30246 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
30247 &quot;numberValue&quot;: 3.14, # Represents a double value.
30248 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
30249 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
30250 },
30251 },
30252 ],
30253 },
30254 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
30255 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
30256 },
30257 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
30258 &quot;urlContextCall&quot;: { # URL context content.
30259 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
30260 &quot;urls&quot;: [ # The URLs to fetch.
30261 &quot;A String&quot;,
30262 ],
30263 },
30264 },
30265 },
30266 &quot;toolResult&quot;: { # Tool result content.
30267 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
30268 &quot;codeExecutionResult&quot;: { # Code execution result content.
30269 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
30270 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
30271 },
30272 &quot;fileSearchResult&quot;: { # File Search result content.
30273 &quot;result&quot;: [ # Optional. The results of the File Search.
30274 { # The result of the File Search.
30275 },
30276 ],
30277 },
30278 &quot;functionResult&quot;: { # A function tool result content block.
30279 &quot;contentList&quot;: {
30280 &quot;contents&quot;: [
30281 {
30282 &quot;image&quot;: { # An image content block.
30283 &quot;data&quot;: &quot;A String&quot;, # The image content.
30284 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
30285 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
30286 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
30287 },
30288 &quot;text&quot;: { # A text content block.
30289 &quot;annotations&quot;: [ # Citation information for model-generated content.
30290 { # Citation information for model-generated content.
30291 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
30292 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
30293 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
30294 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
30295 { # Represents a single field in a struct.
30296 &quot;name&quot;: &quot;A String&quot;,
30297 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
30298 &quot;boolValue&quot;: True or False, # Represents a boolean value.
30299 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
30300 &quot;values&quot;: [ # Repeated field of dynamically typed values.
30301 # Object with schema name: GenaiVertexV1beta1Value
30302 ],
30303 },
30304 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
30305 &quot;numberValue&quot;: 3.14, # Represents a double value.
30306 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
30307 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
30308 },
30309 },
30310 ],
30311 },
30312 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
30313 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
30314 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
30315 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
30316 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
30317 },
30318 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
30319 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
30320 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
30321 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
30322 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
30323 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
30324 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
30325 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
30326 },
30327 ],
30328 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
30329 },
30330 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
30331 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
30332 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
30333 &quot;url&quot;: &quot;A String&quot;, # The URL.
30334 },
30335 },
30336 ],
30337 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
30338 },
30339 },
30340 ],
30341 },
30342 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
30343 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
30344 &quot;stringResult&quot;: &quot;A String&quot;,
30345 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
30346 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
30347 { # Represents a single field in a struct.
30348 &quot;name&quot;: &quot;A String&quot;,
30349 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
30350 &quot;boolValue&quot;: True or False, # Represents a boolean value.
30351 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
30352 &quot;values&quot;: [ # Repeated field of dynamically typed values.
30353 # Object with schema name: GenaiVertexV1beta1Value
30354 ],
30355 },
30356 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
30357 &quot;numberValue&quot;: 3.14, # Represents a double value.
30358 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
30359 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
30360 },
30361 },
30362 ],
30363 },
30364 },
30365 &quot;googleMapsResult&quot;: { # Google Maps result content.
30366 &quot;result&quot;: [ # Required. The results of the Google Maps.
30367 { # The result of the Google Maps.
30368 &quot;places&quot;: [ # The places that were found.
30369 {
30370 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
30371 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
30372 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
30373 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
30374 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
30375 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
30376 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
30377 },
30378 ],
30379 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
30380 },
30381 ],
30382 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
30383 },
30384 ],
30385 },
30386 &quot;googleSearchResult&quot;: { # Google Search result content.
30387 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
30388 &quot;result&quot;: [ # Required. The results of the Google Search.
30389 { # The result of the Google Search.
30390 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
30391 },
30392 ],
30393 },
30394 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
30395 &quot;contentList&quot;: {
30396 &quot;contents&quot;: [
30397 {
30398 &quot;image&quot;: { # An image content block.
30399 &quot;data&quot;: &quot;A String&quot;, # The image content.
30400 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
30401 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
30402 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
30403 },
30404 &quot;text&quot;: { # A text content block.
30405 &quot;annotations&quot;: [ # Citation information for model-generated content.
30406 { # Citation information for model-generated content.
30407 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
30408 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
30409 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
30410 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
30411 { # Represents a single field in a struct.
30412 &quot;name&quot;: &quot;A String&quot;,
30413 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
30414 &quot;boolValue&quot;: True or False, # Represents a boolean value.
30415 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
30416 &quot;values&quot;: [ # Repeated field of dynamically typed values.
30417 # Object with schema name: GenaiVertexV1beta1Value
30418 ],
30419 },
30420 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
30421 &quot;numberValue&quot;: 3.14, # Represents a double value.
30422 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
30423 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
30424 },
30425 },
30426 ],
30427 },
30428 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
30429 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
30430 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
30431 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
30432 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
30433 },
30434 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
30435 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
30436 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
30437 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
30438 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
30439 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
30440 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
30441 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
30442 },
30443 ],
30444 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
30445 },
30446 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
30447 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
30448 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
30449 &quot;url&quot;: &quot;A String&quot;, # The URL.
30450 },
30451 },
30452 ],
30453 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
30454 },
30455 },
30456 ],
30457 },
30458 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
30459 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
30460 &quot;stringResult&quot;: &quot;A String&quot;,
30461 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
30462 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
30463 { # Represents a single field in a struct.
30464 &quot;name&quot;: &quot;A String&quot;,
30465 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
30466 &quot;boolValue&quot;: True or False, # Represents a boolean value.
30467 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
30468 &quot;values&quot;: [ # Repeated field of dynamically typed values.
30469 # Object with schema name: GenaiVertexV1beta1Value
30470 ],
30471 },
30472 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
30473 &quot;numberValue&quot;: 3.14, # Represents a double value.
30474 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
30475 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
30476 },
30477 },
30478 ],
30479 },
30480 },
30481 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
30482 &quot;urlContextResult&quot;: { # URL context result content.
30483 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
30484 &quot;result&quot;: [ # Required. The results of the URL context.
30485 { # The result of the URL context.
30486 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
30487 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
30488 },
30489 ],
30490 },
30491 },
30492 &quot;video&quot;: { # A video content block.
30493 &quot;data&quot;: &quot;A String&quot;, # The video content.
30494 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
30495 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
30496 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
30497 },
30498 },
30499 ],
30500 },
30501 &quot;contentString&quot;: &quot;A String&quot;, # The content of the turn. A single string.
30502 &quot;role&quot;: &quot;A String&quot;, # The originator of this turn. Must be user for input or model for model output.
30503 },
30504 ],
30505 },
30506 &quot;updated&quot;: &quot;A String&quot;, # Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
30507 &quot;usage&quot;: { # Statistics on the interaction request&#x27;s token usage. # Output only. Statistics on the interaction request&#x27;s token usage.
30508 &quot;cachedTokensByModality&quot;: [ # A breakdown of cached token usage by modality.
30509 { # The token count for a single response modality.
30510 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
30511 &quot;tokens&quot;: 42, # Number of tokens for the modality.
30512 },
30513 ],
30514 &quot;groundingToolCount&quot;: [ # Grounding tool count.
30515 { # The number of grounding tool counts.
30516 &quot;count&quot;: 42, # The number of grounding tool counts.
30517 &quot;type&quot;: &quot;A String&quot;, # The grounding tool type associated with the count.
30518 },
30519 ],
30520 &quot;inputTokensByModality&quot;: [ # A breakdown of input token usage by modality.
30521 { # The token count for a single response modality.
30522 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
30523 &quot;tokens&quot;: 42, # Number of tokens for the modality.
30524 },
30525 ],
30526 &quot;outputTokensByModality&quot;: [ # A breakdown of output token usage by modality.
30527 { # The token count for a single response modality.
30528 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
30529 &quot;tokens&quot;: 42, # Number of tokens for the modality.
30530 },
30531 ],
30532 &quot;toolUseTokensByModality&quot;: [ # A breakdown of tool-use token usage by modality.
30533 { # The token count for a single response modality.
30534 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
30535 &quot;tokens&quot;: 42, # Number of tokens for the modality.
30536 },
30537 ],
30538 &quot;totalCachedTokens&quot;: 42, # Number of tokens in the cached part of the prompt (the cached content).
30539 &quot;totalInputTokens&quot;: 42, # Number of tokens in the prompt (context).
30540 &quot;totalOutputTokens&quot;: 42, # Total number of tokens across all the generated responses.
30541 &quot;totalThoughtTokens&quot;: 42, # Number of tokens of thoughts for thinking models.
30542 &quot;totalTokens&quot;: 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
30543 &quot;totalToolUseTokens&quot;: 42, # Number of tokens present in tool-use prompt(s).
30544 },
30545 },
30546 },
30547 &quot;interactionCreatedEvent&quot;: { # The interaction data, used for interaction.created events.
30548 &quot;interaction&quot;: { # Response for InteractionService.CreateInteraction.
30549 &quot;agentInteraction&quot;: { # Interaction for generating the completion using agents. # Interaction for generating the completion using agents.
30550 &quot;agent&quot;: &quot;A String&quot;, # The name of the `Agent` used for generating the completion.
30551 &quot;code_mender_config&quot;: { # Configuration for the CodeMender agent.
30552 &quot;find_request&quot;: { # Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. # Parameters for finding vulnerabilities.
30553 &quot;description&quot;: &quot;A String&quot;, # Additional context or custom instructions provided by the user to guide the vulnerability analysis.
30554 &quot;finding_id&quot;: &quot;A String&quot;, # The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent&#x27;s execution-based validation on a single vulnerability.
30555 &quot;source_files&quot;: [ # A list of source files to provide as context for the scan.
30556 { # Content of a single file in the codebase.
30557 &quot;content&quot;: &quot;A String&quot;, # The UTF-8 encoded text content of the file.
30558 &quot;path&quot;: &quot;A String&quot;, # The relative path of the file from the project root.
30559 },
30560 ],
30561 },
30562 &quot;fix_request&quot;: { # Request parameters specific to FIX sessions, used for generating and validating security patches. # Parameters for fixing vulnerabilities.
30563 &quot;description&quot;: &quot;A String&quot;, # Additional context or custom instructions provided by the user to guide the patch generation process.
30564 &quot;finding_id&quot;: &quot;A String&quot;, # The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.
30565 &quot;source_files&quot;: [ # A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.
30566 { # Content of a single file in the codebase.
30567 &quot;content&quot;: &quot;A String&quot;, # The UTF-8 encoded text content of the file.
30568 &quot;path&quot;: &quot;A String&quot;, # The relative path of the file from the project root.
30569 },
30570 ],
30571 },
30572 &quot;model&quot;: &quot;A String&quot;, # The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.
30573 &quot;session_config&quot;: { # The configuration of CodeMender sessions. # Optional session-specific configurations to override default agent behavior.
30574 &quot;max_rounds&quot;: 42, # The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
30575 &quot;pipeline_mode&quot;: &quot;A String&quot;, # The pipeline mode of a CodeMender session. It can only be used for a find session.
30576 &quot;topology&quot;: &quot;A String&quot;, # The cognitive architecture or &quot;thinking&quot; topology used by the agent (e.g. &quot;default&quot;, &quot;deep&quot;).
30577 },
30578 &quot;session_id&quot;: &quot;A String&quot;, # Parameter for grouping multiple interactions that belong to the same CodeMender session.
30579 },
30580 &quot;deepResearchConfig&quot;: { # Configuration for the Deep Research agent.
30581 &quot;collaborativePlanning&quot;: True or False, # Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.
30582 &quot;enableBigqueryTool&quot;: True or False, # Enables bigquery tool for the Deep Research agent.
30583 &quot;thinkingSummaries&quot;: &quot;A String&quot;, # Whether to include thought summaries in the response.
30584 &quot;visualization&quot;: &quot;A String&quot;, # Whether to include visualizations in the response.
30585 },
30586 &quot;dynamicConfig&quot;: { # Configuration for dynamic agents.
30587 &quot;config&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # For agents that are not supported statically in the API definition.
30588 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
30589 { # Represents a single field in a struct.
30590 &quot;name&quot;: &quot;A String&quot;,
30591 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
30592 &quot;boolValue&quot;: True or False, # Represents a boolean value.
30593 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
30594 &quot;values&quot;: [ # Repeated field of dynamically typed values.
30595 # Object with schema name: GenaiVertexV1beta1Value
30596 ],
30597 },
30598 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
30599 &quot;numberValue&quot;: 3.14, # Represents a double value.
30600 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
30601 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
30602 },
30603 },
30604 ],
30605 },
30606 },
30607 },
30608 &quot;content&quot;: { # The content of the response. # The content for the interaction.
30609 &quot;audio&quot;: { # An audio content block.
30610 &quot;channels&quot;: 42, # The number of audio channels.
30611 &quot;data&quot;: &quot;A String&quot;, # The audio content.
30612 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
30613 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
30614 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
30615 },
30616 &quot;document&quot;: { # A document content block.
30617 &quot;data&quot;: &quot;A String&quot;, # The document content.
30618 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
30619 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
30620 },
30621 &quot;image&quot;: { # An image content block.
30622 &quot;data&quot;: &quot;A String&quot;, # The image content.
30623 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
30624 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
30625 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
30626 },
30627 &quot;text&quot;: { # A text content block.
30628 &quot;annotations&quot;: [ # Citation information for model-generated content.
30629 { # Citation information for model-generated content.
30630 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
30631 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
30632 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
30633 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
30634 { # Represents a single field in a struct.
30635 &quot;name&quot;: &quot;A String&quot;,
30636 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
30637 &quot;boolValue&quot;: True or False, # Represents a boolean value.
30638 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
30639 &quot;values&quot;: [ # Repeated field of dynamically typed values.
30640 # Object with schema name: GenaiVertexV1beta1Value
30641 ],
30642 },
30643 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
30644 &quot;numberValue&quot;: 3.14, # Represents a double value.
30645 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
30646 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
30647 },
30648 },
30649 ],
30650 },
30651 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
30652 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
30653 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
30654 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
30655 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
30656 },
30657 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
30658 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
30659 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
30660 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
30661 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
30662 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
30663 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
30664 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
30665 },
30666 ],
30667 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
30668 },
30669 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
30670 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
30671 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
30672 &quot;url&quot;: &quot;A String&quot;, # The URL.
30673 },
30674 },
30675 ],
30676 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
30677 },
30678 &quot;thought&quot;: { # A thought content block.
30679 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
30680 &quot;summary&quot;: [ # A summary of the thought.
30681 {
30682 &quot;image&quot;: { # An image content block.
30683 &quot;data&quot;: &quot;A String&quot;, # The image content.
30684 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
30685 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
30686 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
30687 },
30688 &quot;text&quot;: { # A text content block.
30689 &quot;annotations&quot;: [ # Citation information for model-generated content.
30690 { # Citation information for model-generated content.
30691 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
30692 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
30693 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
30694 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
30695 { # Represents a single field in a struct.
30696 &quot;name&quot;: &quot;A String&quot;,
30697 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
30698 &quot;boolValue&quot;: True or False, # Represents a boolean value.
30699 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
30700 &quot;values&quot;: [ # Repeated field of dynamically typed values.
30701 # Object with schema name: GenaiVertexV1beta1Value
30702 ],
30703 },
30704 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
30705 &quot;numberValue&quot;: 3.14, # Represents a double value.
30706 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
30707 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
30708 },
30709 },
30710 ],
30711 },
30712 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
30713 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
30714 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
30715 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
30716 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
30717 },
30718 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
30719 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
30720 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
30721 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
30722 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
30723 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
30724 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
30725 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
30726 },
30727 ],
30728 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
30729 },
30730 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
30731 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
30732 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
30733 &quot;url&quot;: &quot;A String&quot;, # The URL.
30734 },
30735 },
30736 ],
30737 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
30738 },
30739 },
30740 ],
30741 },
30742 &quot;toolCall&quot;: { # Tool call content.
30743 &quot;codeExecutionCall&quot;: { # Code execution content.
30744 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
30745 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
30746 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
30747 },
30748 },
30749 &quot;fileSearchCall&quot;: { # File Search content.
30750 },
30751 &quot;functionCall&quot;: { # A function tool call content block.
30752 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
30753 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
30754 { # Represents a single field in a struct.
30755 &quot;name&quot;: &quot;A String&quot;,
30756 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
30757 &quot;boolValue&quot;: True or False, # Represents a boolean value.
30758 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
30759 &quot;values&quot;: [ # Repeated field of dynamically typed values.
30760 # Object with schema name: GenaiVertexV1beta1Value
30761 ],
30762 },
30763 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
30764 &quot;numberValue&quot;: 3.14, # Represents a double value.
30765 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
30766 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
30767 },
30768 },
30769 ],
30770 },
30771 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
30772 },
30773 &quot;googleMapsCall&quot;: { # Google Maps content.
30774 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
30775 &quot;queries&quot;: [ # The queries to be executed.
30776 &quot;A String&quot;,
30777 ],
30778 },
30779 },
30780 &quot;googleSearchCall&quot;: { # Google Search content.
30781 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
30782 &quot;queries&quot;: [ # Web search queries for the following-up web search.
30783 &quot;A String&quot;,
30784 ],
30785 },
30786 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
30787 },
30788 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
30789 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
30790 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
30791 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
30792 { # Represents a single field in a struct.
30793 &quot;name&quot;: &quot;A String&quot;,
30794 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
30795 &quot;boolValue&quot;: True or False, # Represents a boolean value.
30796 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
30797 &quot;values&quot;: [ # Repeated field of dynamically typed values.
30798 # Object with schema name: GenaiVertexV1beta1Value
30799 ],
30800 },
30801 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
30802 &quot;numberValue&quot;: 3.14, # Represents a double value.
30803 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
30804 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
30805 },
30806 },
30807 ],
30808 },
30809 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
30810 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
30811 },
30812 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
30813 &quot;urlContextCall&quot;: { # URL context content.
30814 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
30815 &quot;urls&quot;: [ # The URLs to fetch.
30816 &quot;A String&quot;,
30817 ],
30818 },
30819 },
30820 },
30821 &quot;toolResult&quot;: { # Tool result content.
30822 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
30823 &quot;codeExecutionResult&quot;: { # Code execution result content.
30824 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
30825 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
30826 },
30827 &quot;fileSearchResult&quot;: { # File Search result content.
30828 &quot;result&quot;: [ # Optional. The results of the File Search.
30829 { # The result of the File Search.
30830 },
30831 ],
30832 },
30833 &quot;functionResult&quot;: { # A function tool result content block.
30834 &quot;contentList&quot;: {
30835 &quot;contents&quot;: [
30836 {
30837 &quot;image&quot;: { # An image content block.
30838 &quot;data&quot;: &quot;A String&quot;, # The image content.
30839 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
30840 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
30841 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
30842 },
30843 &quot;text&quot;: { # A text content block.
30844 &quot;annotations&quot;: [ # Citation information for model-generated content.
30845 { # Citation information for model-generated content.
30846 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
30847 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
30848 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
30849 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
30850 { # Represents a single field in a struct.
30851 &quot;name&quot;: &quot;A String&quot;,
30852 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
30853 &quot;boolValue&quot;: True or False, # Represents a boolean value.
30854 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
30855 &quot;values&quot;: [ # Repeated field of dynamically typed values.
30856 # Object with schema name: GenaiVertexV1beta1Value
30857 ],
30858 },
30859 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
30860 &quot;numberValue&quot;: 3.14, # Represents a double value.
30861 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
30862 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
30863 },
30864 },
30865 ],
30866 },
30867 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
30868 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
30869 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
30870 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
30871 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
30872 },
30873 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
30874 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
30875 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
30876 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
30877 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
30878 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
30879 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
30880 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
30881 },
30882 ],
30883 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
30884 },
30885 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
30886 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
30887 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
30888 &quot;url&quot;: &quot;A String&quot;, # The URL.
30889 },
30890 },
30891 ],
30892 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
30893 },
30894 },
30895 ],
30896 },
30897 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
30898 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
30899 &quot;stringResult&quot;: &quot;A String&quot;,
30900 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
30901 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
30902 { # Represents a single field in a struct.
30903 &quot;name&quot;: &quot;A String&quot;,
30904 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
30905 &quot;boolValue&quot;: True or False, # Represents a boolean value.
30906 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
30907 &quot;values&quot;: [ # Repeated field of dynamically typed values.
30908 # Object with schema name: GenaiVertexV1beta1Value
30909 ],
30910 },
30911 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
30912 &quot;numberValue&quot;: 3.14, # Represents a double value.
30913 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
30914 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
30915 },
30916 },
30917 ],
30918 },
30919 },
30920 &quot;googleMapsResult&quot;: { # Google Maps result content.
30921 &quot;result&quot;: [ # Required. The results of the Google Maps.
30922 { # The result of the Google Maps.
30923 &quot;places&quot;: [ # The places that were found.
30924 {
30925 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
30926 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
30927 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
30928 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
30929 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
30930 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
30931 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
30932 },
30933 ],
30934 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
30935 },
30936 ],
30937 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
30938 },
30939 ],
30940 },
30941 &quot;googleSearchResult&quot;: { # Google Search result content.
30942 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
30943 &quot;result&quot;: [ # Required. The results of the Google Search.
30944 { # The result of the Google Search.
30945 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
30946 },
30947 ],
30948 },
30949 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
30950 &quot;contentList&quot;: {
30951 &quot;contents&quot;: [
30952 {
30953 &quot;image&quot;: { # An image content block.
30954 &quot;data&quot;: &quot;A String&quot;, # The image content.
30955 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
30956 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
30957 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
30958 },
30959 &quot;text&quot;: { # A text content block.
30960 &quot;annotations&quot;: [ # Citation information for model-generated content.
30961 { # Citation information for model-generated content.
30962 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
30963 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
30964 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
30965 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
30966 { # Represents a single field in a struct.
30967 &quot;name&quot;: &quot;A String&quot;,
30968 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
30969 &quot;boolValue&quot;: True or False, # Represents a boolean value.
30970 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
30971 &quot;values&quot;: [ # Repeated field of dynamically typed values.
30972 # Object with schema name: GenaiVertexV1beta1Value
30973 ],
30974 },
30975 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
30976 &quot;numberValue&quot;: 3.14, # Represents a double value.
30977 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
30978 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
30979 },
30980 },
30981 ],
30982 },
30983 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
30984 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
30985 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
30986 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
30987 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
30988 },
30989 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
30990 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
30991 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
30992 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
30993 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
30994 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
30995 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
30996 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
30997 },
30998 ],
30999 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
31000 },
31001 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
31002 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
31003 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
31004 &quot;url&quot;: &quot;A String&quot;, # The URL.
31005 },
31006 },
31007 ],
31008 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
31009 },
31010 },
31011 ],
31012 },
31013 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
31014 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
31015 &quot;stringResult&quot;: &quot;A String&quot;,
31016 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
31017 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31018 { # Represents a single field in a struct.
31019 &quot;name&quot;: &quot;A String&quot;,
31020 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31021 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31022 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31023 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31024 # Object with schema name: GenaiVertexV1beta1Value
31025 ],
31026 },
31027 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31028 &quot;numberValue&quot;: 3.14, # Represents a double value.
31029 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31030 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31031 },
31032 },
31033 ],
31034 },
31035 },
31036 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
31037 &quot;urlContextResult&quot;: { # URL context result content.
31038 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
31039 &quot;result&quot;: [ # Required. The results of the URL context.
31040 { # The result of the URL context.
31041 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
31042 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
31043 },
31044 ],
31045 },
31046 },
31047 &quot;video&quot;: { # A video content block.
31048 &quot;data&quot;: &quot;A String&quot;, # The video content.
31049 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
31050 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
31051 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
31052 },
31053 },
31054 &quot;contentList&quot;: { # A list of Content. # The inputs for the interaction.
31055 &quot;contents&quot;: [ # The contents of the list.
31056 { # The content of the response.
31057 &quot;audio&quot;: { # An audio content block.
31058 &quot;channels&quot;: 42, # The number of audio channels.
31059 &quot;data&quot;: &quot;A String&quot;, # The audio content.
31060 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
31061 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
31062 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
31063 },
31064 &quot;document&quot;: { # A document content block.
31065 &quot;data&quot;: &quot;A String&quot;, # The document content.
31066 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
31067 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
31068 },
31069 &quot;image&quot;: { # An image content block.
31070 &quot;data&quot;: &quot;A String&quot;, # The image content.
31071 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
31072 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
31073 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
31074 },
31075 &quot;text&quot;: { # A text content block.
31076 &quot;annotations&quot;: [ # Citation information for model-generated content.
31077 { # Citation information for model-generated content.
31078 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
31079 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
31080 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
31081 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31082 { # Represents a single field in a struct.
31083 &quot;name&quot;: &quot;A String&quot;,
31084 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31085 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31086 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31087 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31088 # Object with schema name: GenaiVertexV1beta1Value
31089 ],
31090 },
31091 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31092 &quot;numberValue&quot;: 3.14, # Represents a double value.
31093 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31094 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31095 },
31096 },
31097 ],
31098 },
31099 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
31100 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
31101 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
31102 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
31103 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
31104 },
31105 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
31106 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
31107 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
31108 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
31109 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
31110 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
31111 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
31112 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
31113 },
31114 ],
31115 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
31116 },
31117 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
31118 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
31119 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
31120 &quot;url&quot;: &quot;A String&quot;, # The URL.
31121 },
31122 },
31123 ],
31124 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
31125 },
31126 &quot;thought&quot;: { # A thought content block.
31127 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
31128 &quot;summary&quot;: [ # A summary of the thought.
31129 {
31130 &quot;image&quot;: { # An image content block.
31131 &quot;data&quot;: &quot;A String&quot;, # The image content.
31132 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
31133 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
31134 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
31135 },
31136 &quot;text&quot;: { # A text content block.
31137 &quot;annotations&quot;: [ # Citation information for model-generated content.
31138 { # Citation information for model-generated content.
31139 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
31140 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
31141 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
31142 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31143 { # Represents a single field in a struct.
31144 &quot;name&quot;: &quot;A String&quot;,
31145 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31146 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31147 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31148 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31149 # Object with schema name: GenaiVertexV1beta1Value
31150 ],
31151 },
31152 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31153 &quot;numberValue&quot;: 3.14, # Represents a double value.
31154 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31155 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31156 },
31157 },
31158 ],
31159 },
31160 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
31161 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
31162 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
31163 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
31164 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
31165 },
31166 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
31167 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
31168 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
31169 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
31170 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
31171 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
31172 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
31173 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
31174 },
31175 ],
31176 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
31177 },
31178 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
31179 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
31180 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
31181 &quot;url&quot;: &quot;A String&quot;, # The URL.
31182 },
31183 },
31184 ],
31185 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
31186 },
31187 },
31188 ],
31189 },
31190 &quot;toolCall&quot;: { # Tool call content.
31191 &quot;codeExecutionCall&quot;: { # Code execution content.
31192 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
31193 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
31194 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
31195 },
31196 },
31197 &quot;fileSearchCall&quot;: { # File Search content.
31198 },
31199 &quot;functionCall&quot;: { # A function tool call content block.
31200 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
31201 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31202 { # Represents a single field in a struct.
31203 &quot;name&quot;: &quot;A String&quot;,
31204 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31205 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31206 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31207 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31208 # Object with schema name: GenaiVertexV1beta1Value
31209 ],
31210 },
31211 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31212 &quot;numberValue&quot;: 3.14, # Represents a double value.
31213 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31214 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31215 },
31216 },
31217 ],
31218 },
31219 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
31220 },
31221 &quot;googleMapsCall&quot;: { # Google Maps content.
31222 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
31223 &quot;queries&quot;: [ # The queries to be executed.
31224 &quot;A String&quot;,
31225 ],
31226 },
31227 },
31228 &quot;googleSearchCall&quot;: { # Google Search content.
31229 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
31230 &quot;queries&quot;: [ # Web search queries for the following-up web search.
31231 &quot;A String&quot;,
31232 ],
31233 },
31234 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
31235 },
31236 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
31237 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
31238 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
31239 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31240 { # Represents a single field in a struct.
31241 &quot;name&quot;: &quot;A String&quot;,
31242 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31243 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31244 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31245 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31246 # Object with schema name: GenaiVertexV1beta1Value
31247 ],
31248 },
31249 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31250 &quot;numberValue&quot;: 3.14, # Represents a double value.
31251 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31252 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31253 },
31254 },
31255 ],
31256 },
31257 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
31258 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
31259 },
31260 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
31261 &quot;urlContextCall&quot;: { # URL context content.
31262 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
31263 &quot;urls&quot;: [ # The URLs to fetch.
31264 &quot;A String&quot;,
31265 ],
31266 },
31267 },
31268 },
31269 &quot;toolResult&quot;: { # Tool result content.
31270 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
31271 &quot;codeExecutionResult&quot;: { # Code execution result content.
31272 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
31273 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
31274 },
31275 &quot;fileSearchResult&quot;: { # File Search result content.
31276 &quot;result&quot;: [ # Optional. The results of the File Search.
31277 { # The result of the File Search.
31278 },
31279 ],
31280 },
31281 &quot;functionResult&quot;: { # A function tool result content block.
31282 &quot;contentList&quot;: {
31283 &quot;contents&quot;: [
31284 {
31285 &quot;image&quot;: { # An image content block.
31286 &quot;data&quot;: &quot;A String&quot;, # The image content.
31287 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
31288 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
31289 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
31290 },
31291 &quot;text&quot;: { # A text content block.
31292 &quot;annotations&quot;: [ # Citation information for model-generated content.
31293 { # Citation information for model-generated content.
31294 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
31295 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
31296 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
31297 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31298 { # Represents a single field in a struct.
31299 &quot;name&quot;: &quot;A String&quot;,
31300 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31301 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31302 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31303 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31304 # Object with schema name: GenaiVertexV1beta1Value
31305 ],
31306 },
31307 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31308 &quot;numberValue&quot;: 3.14, # Represents a double value.
31309 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31310 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31311 },
31312 },
31313 ],
31314 },
31315 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
31316 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
31317 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
31318 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
31319 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
31320 },
31321 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
31322 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
31323 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
31324 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
31325 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
31326 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
31327 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
31328 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
31329 },
31330 ],
31331 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
31332 },
31333 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
31334 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
31335 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
31336 &quot;url&quot;: &quot;A String&quot;, # The URL.
31337 },
31338 },
31339 ],
31340 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
31341 },
31342 },
31343 ],
31344 },
31345 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
31346 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
31347 &quot;stringResult&quot;: &quot;A String&quot;,
31348 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
31349 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31350 { # Represents a single field in a struct.
31351 &quot;name&quot;: &quot;A String&quot;,
31352 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31353 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31354 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31355 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31356 # Object with schema name: GenaiVertexV1beta1Value
31357 ],
31358 },
31359 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31360 &quot;numberValue&quot;: 3.14, # Represents a double value.
31361 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31362 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31363 },
31364 },
31365 ],
31366 },
31367 },
31368 &quot;googleMapsResult&quot;: { # Google Maps result content.
31369 &quot;result&quot;: [ # Required. The results of the Google Maps.
31370 { # The result of the Google Maps.
31371 &quot;places&quot;: [ # The places that were found.
31372 {
31373 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
31374 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
31375 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
31376 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
31377 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
31378 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
31379 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
31380 },
31381 ],
31382 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
31383 },
31384 ],
31385 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
31386 },
31387 ],
31388 },
31389 &quot;googleSearchResult&quot;: { # Google Search result content.
31390 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
31391 &quot;result&quot;: [ # Required. The results of the Google Search.
31392 { # The result of the Google Search.
31393 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
31394 },
31395 ],
31396 },
31397 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
31398 &quot;contentList&quot;: {
31399 &quot;contents&quot;: [
31400 {
31401 &quot;image&quot;: { # An image content block.
31402 &quot;data&quot;: &quot;A String&quot;, # The image content.
31403 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
31404 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
31405 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
31406 },
31407 &quot;text&quot;: { # A text content block.
31408 &quot;annotations&quot;: [ # Citation information for model-generated content.
31409 { # Citation information for model-generated content.
31410 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
31411 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
31412 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
31413 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31414 { # Represents a single field in a struct.
31415 &quot;name&quot;: &quot;A String&quot;,
31416 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31417 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31418 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31419 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31420 # Object with schema name: GenaiVertexV1beta1Value
31421 ],
31422 },
31423 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31424 &quot;numberValue&quot;: 3.14, # Represents a double value.
31425 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31426 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31427 },
31428 },
31429 ],
31430 },
31431 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
31432 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
31433 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
31434 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
31435 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
31436 },
31437 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
31438 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
31439 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
31440 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
31441 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
31442 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
31443 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
31444 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
31445 },
31446 ],
31447 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
31448 },
31449 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
31450 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
31451 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
31452 &quot;url&quot;: &quot;A String&quot;, # The URL.
31453 },
31454 },
31455 ],
31456 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
31457 },
31458 },
31459 ],
31460 },
31461 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
31462 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
31463 &quot;stringResult&quot;: &quot;A String&quot;,
31464 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
31465 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31466 { # Represents a single field in a struct.
31467 &quot;name&quot;: &quot;A String&quot;,
31468 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31469 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31470 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31471 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31472 # Object with schema name: GenaiVertexV1beta1Value
31473 ],
31474 },
31475 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31476 &quot;numberValue&quot;: 3.14, # Represents a double value.
31477 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31478 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31479 },
31480 },
31481 ],
31482 },
31483 },
31484 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
31485 &quot;urlContextResult&quot;: { # URL context result content.
31486 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
31487 &quot;result&quot;: [ # Required. The results of the URL context.
31488 { # The result of the URL context.
31489 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
31490 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
31491 },
31492 ],
31493 },
31494 },
31495 &quot;video&quot;: { # A video content block.
31496 &quot;data&quot;: &quot;A String&quot;, # The video content.
31497 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
31498 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
31499 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
31500 },
31501 },
31502 ],
31503 },
31504 &quot;created&quot;: &quot;A String&quot;, # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
31505 &quot;envId&quot;: &quot;A String&quot;, # The environment ID for the interaction. Can be &#x27;remote&#x27; for default environment.
31506 &quot;environmentId&quot;: &quot;A String&quot;, # Output only. The environment ID for the interaction. Only populated if environment config is set in the request.
31507 &quot;id&quot;: &quot;A String&quot;, # Required. Output only. A unique identifier for the interaction completion.
31508 &quot;modelInteraction&quot;: { # Interaction for generating the completion using models. # Interaction for generating the completion using models.
31509 &quot;cached_content&quot;: &quot;A String&quot;, # The name of the cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings. Format: `projects/{project}/locations/{location}/cachedContents/{cachedContent}`
31510 &quot;generationConfig&quot;: { # Configuration parameters for model interactions. # Input only. Configuration parameters for the model interaction.
31511 &quot;frequency_penalty&quot;: 3.14, # Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0].
31512 &quot;imageConfig&quot;: { # The configuration for image interaction. # Configuration for image interaction.
31513 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio of the image to generate. Supported aspect ratios: 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9. If not specified, the model will choose a default aspect ratio based on any reference images provided.
31514 &quot;imageSize&quot;: &quot;A String&quot;, # Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
31515 },
31516 &quot;maxOutputTokens&quot;: 42, # The maximum number of tokens to include in the response.
31517 &quot;presence_penalty&quot;: 3.14, # Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0].
31518 &quot;seed&quot;: 42, # Seed used in decoding for reproducibility.
31519 &quot;speechConfig&quot;: [ # Configuration for speech interaction.
31520 { # The configuration for speech interaction.
31521 &quot;language&quot;: &quot;A String&quot;, # The language of the speech.
31522 &quot;speaker&quot;: &quot;A String&quot;, # The speaker&#x27;s name, it should match the speaker name given in the prompt.
31523 &quot;voice&quot;: &quot;A String&quot;, # The voice of the speaker.
31524 },
31525 ],
31526 &quot;stopSequences&quot;: [ # A list of character sequences that will stop output interaction.
31527 &quot;A String&quot;,
31528 ],
31529 &quot;temperature&quot;: 3.14, # Controls the randomness of the output.
31530 &quot;thinkingLevel&quot;: &quot;A String&quot;, # The level of thought tokens that the model should generate.
31531 &quot;thinkingSummaries&quot;: &quot;A String&quot;, # Whether to include thought summaries in the response.
31532 &quot;toolChoiceConfig&quot;: { # The tool choice configuration containing allowed tools. # The config for the tool choice.
31533 &quot;allowedTools&quot;: { # The configuration for allowed tools. # The allowed tools.
31534 &quot;mode&quot;: &quot;A String&quot;, # The mode of the tool choice.
31535 &quot;tools&quot;: [ # The names of the allowed tools.
31536 &quot;A String&quot;,
31537 ],
31538 },
31539 },
31540 &quot;toolChoiceMode&quot;: &quot;A String&quot;, # The mode of the tool choice.
31541 &quot;topP&quot;: 3.14, # The maximum cumulative probability of tokens to consider when sampling.
31542 },
31543 &quot;model&quot;: &quot;A String&quot;, # The name of the `Model` used for generating the completion.
31544 },
31545 &quot;outputs&quot;: [ # Output only. Responses from the model.
31546 { # The content of the response.
31547 &quot;audio&quot;: { # An audio content block.
31548 &quot;channels&quot;: 42, # The number of audio channels.
31549 &quot;data&quot;: &quot;A String&quot;, # The audio content.
31550 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
31551 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
31552 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
31553 },
31554 &quot;document&quot;: { # A document content block.
31555 &quot;data&quot;: &quot;A String&quot;, # The document content.
31556 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
31557 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
31558 },
31559 &quot;image&quot;: { # An image content block.
31560 &quot;data&quot;: &quot;A String&quot;, # The image content.
31561 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
31562 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
31563 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
31564 },
31565 &quot;text&quot;: { # A text content block.
31566 &quot;annotations&quot;: [ # Citation information for model-generated content.
31567 { # Citation information for model-generated content.
31568 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
31569 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
31570 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
31571 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31572 { # Represents a single field in a struct.
31573 &quot;name&quot;: &quot;A String&quot;,
31574 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31575 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31576 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31577 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31578 # Object with schema name: GenaiVertexV1beta1Value
31579 ],
31580 },
31581 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31582 &quot;numberValue&quot;: 3.14, # Represents a double value.
31583 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31584 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31585 },
31586 },
31587 ],
31588 },
31589 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
31590 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
31591 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
31592 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
31593 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
31594 },
31595 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
31596 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
31597 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
31598 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
31599 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
31600 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
31601 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
31602 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
31603 },
31604 ],
31605 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
31606 },
31607 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
31608 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
31609 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
31610 &quot;url&quot;: &quot;A String&quot;, # The URL.
31611 },
31612 },
31613 ],
31614 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
31615 },
31616 &quot;thought&quot;: { # A thought content block.
31617 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
31618 &quot;summary&quot;: [ # A summary of the thought.
31619 {
31620 &quot;image&quot;: { # An image content block.
31621 &quot;data&quot;: &quot;A String&quot;, # The image content.
31622 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
31623 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
31624 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
31625 },
31626 &quot;text&quot;: { # A text content block.
31627 &quot;annotations&quot;: [ # Citation information for model-generated content.
31628 { # Citation information for model-generated content.
31629 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
31630 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
31631 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
31632 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31633 { # Represents a single field in a struct.
31634 &quot;name&quot;: &quot;A String&quot;,
31635 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31636 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31637 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31638 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31639 # Object with schema name: GenaiVertexV1beta1Value
31640 ],
31641 },
31642 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31643 &quot;numberValue&quot;: 3.14, # Represents a double value.
31644 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31645 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31646 },
31647 },
31648 ],
31649 },
31650 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
31651 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
31652 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
31653 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
31654 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
31655 },
31656 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
31657 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
31658 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
31659 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
31660 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
31661 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
31662 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
31663 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
31664 },
31665 ],
31666 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
31667 },
31668 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
31669 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
31670 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
31671 &quot;url&quot;: &quot;A String&quot;, # The URL.
31672 },
31673 },
31674 ],
31675 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
31676 },
31677 },
31678 ],
31679 },
31680 &quot;toolCall&quot;: { # Tool call content.
31681 &quot;codeExecutionCall&quot;: { # Code execution content.
31682 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
31683 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
31684 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
31685 },
31686 },
31687 &quot;fileSearchCall&quot;: { # File Search content.
31688 },
31689 &quot;functionCall&quot;: { # A function tool call content block.
31690 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
31691 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31692 { # Represents a single field in a struct.
31693 &quot;name&quot;: &quot;A String&quot;,
31694 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31695 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31696 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31697 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31698 # Object with schema name: GenaiVertexV1beta1Value
31699 ],
31700 },
31701 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31702 &quot;numberValue&quot;: 3.14, # Represents a double value.
31703 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31704 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31705 },
31706 },
31707 ],
31708 },
31709 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
31710 },
31711 &quot;googleMapsCall&quot;: { # Google Maps content.
31712 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
31713 &quot;queries&quot;: [ # The queries to be executed.
31714 &quot;A String&quot;,
31715 ],
31716 },
31717 },
31718 &quot;googleSearchCall&quot;: { # Google Search content.
31719 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
31720 &quot;queries&quot;: [ # Web search queries for the following-up web search.
31721 &quot;A String&quot;,
31722 ],
31723 },
31724 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
31725 },
31726 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
31727 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
31728 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
31729 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31730 { # Represents a single field in a struct.
31731 &quot;name&quot;: &quot;A String&quot;,
31732 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31733 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31734 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31735 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31736 # Object with schema name: GenaiVertexV1beta1Value
31737 ],
31738 },
31739 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31740 &quot;numberValue&quot;: 3.14, # Represents a double value.
31741 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31742 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31743 },
31744 },
31745 ],
31746 },
31747 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
31748 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
31749 },
31750 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
31751 &quot;urlContextCall&quot;: { # URL context content.
31752 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
31753 &quot;urls&quot;: [ # The URLs to fetch.
31754 &quot;A String&quot;,
31755 ],
31756 },
31757 },
31758 },
31759 &quot;toolResult&quot;: { # Tool result content.
31760 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
31761 &quot;codeExecutionResult&quot;: { # Code execution result content.
31762 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
31763 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
31764 },
31765 &quot;fileSearchResult&quot;: { # File Search result content.
31766 &quot;result&quot;: [ # Optional. The results of the File Search.
31767 { # The result of the File Search.
31768 },
31769 ],
31770 },
31771 &quot;functionResult&quot;: { # A function tool result content block.
31772 &quot;contentList&quot;: {
31773 &quot;contents&quot;: [
31774 {
31775 &quot;image&quot;: { # An image content block.
31776 &quot;data&quot;: &quot;A String&quot;, # The image content.
31777 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
31778 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
31779 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
31780 },
31781 &quot;text&quot;: { # A text content block.
31782 &quot;annotations&quot;: [ # Citation information for model-generated content.
31783 { # Citation information for model-generated content.
31784 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
31785 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
31786 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
31787 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31788 { # Represents a single field in a struct.
31789 &quot;name&quot;: &quot;A String&quot;,
31790 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31791 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31792 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31793 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31794 # Object with schema name: GenaiVertexV1beta1Value
31795 ],
31796 },
31797 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31798 &quot;numberValue&quot;: 3.14, # Represents a double value.
31799 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31800 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31801 },
31802 },
31803 ],
31804 },
31805 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
31806 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
31807 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
31808 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
31809 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
31810 },
31811 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
31812 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
31813 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
31814 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
31815 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
31816 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
31817 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
31818 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
31819 },
31820 ],
31821 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
31822 },
31823 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
31824 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
31825 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
31826 &quot;url&quot;: &quot;A String&quot;, # The URL.
31827 },
31828 },
31829 ],
31830 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
31831 },
31832 },
31833 ],
31834 },
31835 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
31836 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
31837 &quot;stringResult&quot;: &quot;A String&quot;,
31838 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
31839 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31840 { # Represents a single field in a struct.
31841 &quot;name&quot;: &quot;A String&quot;,
31842 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31843 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31844 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31845 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31846 # Object with schema name: GenaiVertexV1beta1Value
31847 ],
31848 },
31849 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31850 &quot;numberValue&quot;: 3.14, # Represents a double value.
31851 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31852 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31853 },
31854 },
31855 ],
31856 },
31857 },
31858 &quot;googleMapsResult&quot;: { # Google Maps result content.
31859 &quot;result&quot;: [ # Required. The results of the Google Maps.
31860 { # The result of the Google Maps.
31861 &quot;places&quot;: [ # The places that were found.
31862 {
31863 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
31864 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
31865 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
31866 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
31867 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
31868 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
31869 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
31870 },
31871 ],
31872 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
31873 },
31874 ],
31875 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
31876 },
31877 ],
31878 },
31879 &quot;googleSearchResult&quot;: { # Google Search result content.
31880 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
31881 &quot;result&quot;: [ # Required. The results of the Google Search.
31882 { # The result of the Google Search.
31883 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
31884 },
31885 ],
31886 },
31887 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
31888 &quot;contentList&quot;: {
31889 &quot;contents&quot;: [
31890 {
31891 &quot;image&quot;: { # An image content block.
31892 &quot;data&quot;: &quot;A String&quot;, # The image content.
31893 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
31894 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
31895 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
31896 },
31897 &quot;text&quot;: { # A text content block.
31898 &quot;annotations&quot;: [ # Citation information for model-generated content.
31899 { # Citation information for model-generated content.
31900 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
31901 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
31902 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
31903 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31904 { # Represents a single field in a struct.
31905 &quot;name&quot;: &quot;A String&quot;,
31906 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31907 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31908 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31909 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31910 # Object with schema name: GenaiVertexV1beta1Value
31911 ],
31912 },
31913 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31914 &quot;numberValue&quot;: 3.14, # Represents a double value.
31915 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31916 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31917 },
31918 },
31919 ],
31920 },
31921 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
31922 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
31923 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
31924 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
31925 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
31926 },
31927 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
31928 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
31929 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
31930 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
31931 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
31932 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
31933 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
31934 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
31935 },
31936 ],
31937 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
31938 },
31939 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
31940 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
31941 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
31942 &quot;url&quot;: &quot;A String&quot;, # The URL.
31943 },
31944 },
31945 ],
31946 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
31947 },
31948 },
31949 ],
31950 },
31951 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
31952 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
31953 &quot;stringResult&quot;: &quot;A String&quot;,
31954 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
31955 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
31956 { # Represents a single field in a struct.
31957 &quot;name&quot;: &quot;A String&quot;,
31958 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
31959 &quot;boolValue&quot;: True or False, # Represents a boolean value.
31960 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
31961 &quot;values&quot;: [ # Repeated field of dynamically typed values.
31962 # Object with schema name: GenaiVertexV1beta1Value
31963 ],
31964 },
31965 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
31966 &quot;numberValue&quot;: 3.14, # Represents a double value.
31967 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
31968 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
31969 },
31970 },
31971 ],
31972 },
31973 },
31974 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
31975 &quot;urlContextResult&quot;: { # URL context result content.
31976 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
31977 &quot;result&quot;: [ # Required. The results of the URL context.
31978 { # The result of the URL context.
31979 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
31980 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
31981 },
31982 ],
31983 },
31984 },
31985 &quot;video&quot;: { # A video content block.
31986 &quot;data&quot;: &quot;A String&quot;, # The video content.
31987 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
31988 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
31989 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
31990 },
31991 },
31992 ],
31993 &quot;previousInteractionId&quot;: &quot;A String&quot;, # The ID of the previous interaction, if any.
31994 &quot;remoteEnvironment&quot;: { # Configuration for a custom environment.
31995 &quot;networkAllowlist&quot;: { # Network egress configuration for the environment. # Allow only specific domains.
31996 &quot;allowlist&quot;: [ # List of allowed domains and their configurations.
31997 { # A network egress rule that controls which external domains the environment is allowed to reach. Each rule identifies a target domain and, optionally, a set of HTTP headers to inject into every matching outbound request.
31998 &quot;domain&quot;: &quot;A String&quot;, # The domain pattern to match for this rule. Use an exact hostname (e.g., `github.com`), a wildcard prefix (e.g., `*.googleapis.com`), or `*` to match all domains.
31999 &quot;transform&quot;: { # Headers to inject into requests matching this rule. Key: header name (e.g., &quot;Authorization&quot;). Value: header value (e.g., &quot;Bearer your-token&quot;).
32000 &quot;a_key&quot;: &quot;A String&quot;,
32001 },
32002 },
32003 ],
32004 },
32005 &quot;networkMode&quot;: &quot;A String&quot;, # Network egress mode.
32006 &quot;sources&quot;: [
32007 { # A source to be mounted into the environment.
32008 &quot;content&quot;: &quot;A String&quot;, # The inline content if `type` is `INLINE`.
32009 &quot;encoding&quot;: &quot;A String&quot;, # Optional encoding for inline content (e.g. `base64`).
32010 &quot;source&quot;: &quot;A String&quot;, # The source of the environment. For GCS, this is the GCS path. For GitHub, this is the GitHub path.
32011 &quot;target&quot;: &quot;A String&quot;, # Where the source should appear in the environment.
32012 &quot;type&quot;: &quot;A String&quot;,
32013 },
32014 ],
32015 },
32016 &quot;responseFormat&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
32017 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32018 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32019 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32020 # Object with schema name: GenaiVertexV1beta1Value
32021 ],
32022 },
32023 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32024 &quot;numberValue&quot;: 3.14, # Represents a double value.
32025 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32026 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32027 },
32028 &quot;responseFormatList&quot;: {
32029 &quot;responseFormats&quot;: [
32030 {
32031 &quot;audio&quot;: { # Configuration for audio output format.
32032 &quot;bitRate&quot;: 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
32033 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the audio output.
32034 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the audio output.
32035 &quot;sampleRate&quot;: 42, # Sample rate in Hz.
32036 },
32037 &quot;image&quot;: { # Configuration for image output format.
32038 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio for the image output.
32039 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the image output.
32040 &quot;imageSize&quot;: &quot;A String&quot;, # The size of the image output.
32041 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the image output.
32042 },
32043 &quot;structValue&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
32044 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32045 { # Represents a single field in a struct.
32046 &quot;name&quot;: &quot;A String&quot;,
32047 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32048 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32049 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32050 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32051 # Object with schema name: GenaiVertexV1beta1Value
32052 ],
32053 },
32054 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32055 &quot;numberValue&quot;: 3.14, # Represents a double value.
32056 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32057 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32058 },
32059 },
32060 ],
32061 },
32062 &quot;text&quot;: { # Configuration for text output format.
32063 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the text output.
32064 &quot;schema&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
32065 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32066 { # Represents a single field in a struct.
32067 &quot;name&quot;: &quot;A String&quot;,
32068 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32069 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32070 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32071 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32072 # Object with schema name: GenaiVertexV1beta1Value
32073 ],
32074 },
32075 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32076 &quot;numberValue&quot;: 3.14, # Represents a double value.
32077 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32078 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32079 },
32080 },
32081 ],
32082 },
32083 },
32084 },
32085 ],
32086 },
32087 &quot;responseFormatSingleton&quot;: {
32088 &quot;audio&quot;: { # Configuration for audio output format.
32089 &quot;bitRate&quot;: 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
32090 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the audio output.
32091 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the audio output.
32092 &quot;sampleRate&quot;: 42, # Sample rate in Hz.
32093 },
32094 &quot;image&quot;: { # Configuration for image output format.
32095 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio for the image output.
32096 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the image output.
32097 &quot;imageSize&quot;: &quot;A String&quot;, # The size of the image output.
32098 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the image output.
32099 },
32100 &quot;structValue&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
32101 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32102 { # Represents a single field in a struct.
32103 &quot;name&quot;: &quot;A String&quot;,
32104 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32105 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32106 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32107 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32108 # Object with schema name: GenaiVertexV1beta1Value
32109 ],
32110 },
32111 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32112 &quot;numberValue&quot;: 3.14, # Represents a double value.
32113 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32114 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32115 },
32116 },
32117 ],
32118 },
32119 &quot;text&quot;: { # Configuration for text output format.
32120 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the text output.
32121 &quot;schema&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
32122 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32123 { # Represents a single field in a struct.
32124 &quot;name&quot;: &quot;A String&quot;,
32125 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32126 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32127 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32128 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32129 # Object with schema name: GenaiVertexV1beta1Value
32130 ],
32131 },
32132 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32133 &quot;numberValue&quot;: 3.14, # Represents a double value.
32134 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32135 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32136 },
32137 },
32138 ],
32139 },
32140 },
32141 },
32142 &quot;responseMimeType&quot;: &quot;A String&quot;, # The mime type of the response. This is required if response_format is set.
32143 &quot;responseModalities&quot;: [ # The requested modalities of the response (TEXT, IMAGE, AUDIO).
32144 &quot;A String&quot;,
32145 ],
32146 &quot;role&quot;: &quot;A String&quot;, # Output only. The role of the interaction.
32147 &quot;status&quot;: &quot;A String&quot;, # Required. Output only. The status of the interaction.
32148 &quot;stepList&quot;: { # A list of Steps. # Input only. The steps for the interaction.
32149 &quot;steps&quot;: [ # The steps of the list.
32150 { # A step in the interaction.
32151 &quot;modelOutput&quot;: { # Output generated by the model.
32152 &quot;content&quot;: [
32153 { # The content of the response.
32154 &quot;audio&quot;: { # An audio content block.
32155 &quot;channels&quot;: 42, # The number of audio channels.
32156 &quot;data&quot;: &quot;A String&quot;, # The audio content.
32157 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
32158 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
32159 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
32160 },
32161 &quot;document&quot;: { # A document content block.
32162 &quot;data&quot;: &quot;A String&quot;, # The document content.
32163 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
32164 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
32165 },
32166 &quot;image&quot;: { # An image content block.
32167 &quot;data&quot;: &quot;A String&quot;, # The image content.
32168 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
32169 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
32170 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
32171 },
32172 &quot;text&quot;: { # A text content block.
32173 &quot;annotations&quot;: [ # Citation information for model-generated content.
32174 { # Citation information for model-generated content.
32175 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
32176 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
32177 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
32178 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32179 { # Represents a single field in a struct.
32180 &quot;name&quot;: &quot;A String&quot;,
32181 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32182 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32183 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32184 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32185 # Object with schema name: GenaiVertexV1beta1Value
32186 ],
32187 },
32188 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32189 &quot;numberValue&quot;: 3.14, # Represents a double value.
32190 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32191 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32192 },
32193 },
32194 ],
32195 },
32196 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
32197 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
32198 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
32199 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
32200 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
32201 },
32202 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
32203 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
32204 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
32205 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
32206 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
32207 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
32208 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
32209 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
32210 },
32211 ],
32212 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
32213 },
32214 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
32215 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
32216 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
32217 &quot;url&quot;: &quot;A String&quot;, # The URL.
32218 },
32219 },
32220 ],
32221 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
32222 },
32223 &quot;thought&quot;: { # A thought content block.
32224 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
32225 &quot;summary&quot;: [ # A summary of the thought.
32226 {
32227 &quot;image&quot;: { # An image content block.
32228 &quot;data&quot;: &quot;A String&quot;, # The image content.
32229 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
32230 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
32231 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
32232 },
32233 &quot;text&quot;: { # A text content block.
32234 &quot;annotations&quot;: [ # Citation information for model-generated content.
32235 { # Citation information for model-generated content.
32236 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
32237 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
32238 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
32239 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32240 { # Represents a single field in a struct.
32241 &quot;name&quot;: &quot;A String&quot;,
32242 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32243 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32244 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32245 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32246 # Object with schema name: GenaiVertexV1beta1Value
32247 ],
32248 },
32249 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32250 &quot;numberValue&quot;: 3.14, # Represents a double value.
32251 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32252 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32253 },
32254 },
32255 ],
32256 },
32257 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
32258 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
32259 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
32260 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
32261 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
32262 },
32263 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
32264 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
32265 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
32266 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
32267 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
32268 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
32269 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
32270 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
32271 },
32272 ],
32273 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
32274 },
32275 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
32276 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
32277 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
32278 &quot;url&quot;: &quot;A String&quot;, # The URL.
32279 },
32280 },
32281 ],
32282 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
32283 },
32284 },
32285 ],
32286 },
32287 &quot;toolCall&quot;: { # Tool call content.
32288 &quot;codeExecutionCall&quot;: { # Code execution content.
32289 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
32290 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
32291 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
32292 },
32293 },
32294 &quot;fileSearchCall&quot;: { # File Search content.
32295 },
32296 &quot;functionCall&quot;: { # A function tool call content block.
32297 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
32298 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32299 { # Represents a single field in a struct.
32300 &quot;name&quot;: &quot;A String&quot;,
32301 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32302 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32303 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32304 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32305 # Object with schema name: GenaiVertexV1beta1Value
32306 ],
32307 },
32308 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32309 &quot;numberValue&quot;: 3.14, # Represents a double value.
32310 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32311 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32312 },
32313 },
32314 ],
32315 },
32316 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
32317 },
32318 &quot;googleMapsCall&quot;: { # Google Maps content.
32319 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
32320 &quot;queries&quot;: [ # The queries to be executed.
32321 &quot;A String&quot;,
32322 ],
32323 },
32324 },
32325 &quot;googleSearchCall&quot;: { # Google Search content.
32326 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
32327 &quot;queries&quot;: [ # Web search queries for the following-up web search.
32328 &quot;A String&quot;,
32329 ],
32330 },
32331 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
32332 },
32333 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
32334 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
32335 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
32336 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32337 { # Represents a single field in a struct.
32338 &quot;name&quot;: &quot;A String&quot;,
32339 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32340 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32341 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32342 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32343 # Object with schema name: GenaiVertexV1beta1Value
32344 ],
32345 },
32346 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32347 &quot;numberValue&quot;: 3.14, # Represents a double value.
32348 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32349 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32350 },
32351 },
32352 ],
32353 },
32354 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
32355 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
32356 },
32357 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
32358 &quot;urlContextCall&quot;: { # URL context content.
32359 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
32360 &quot;urls&quot;: [ # The URLs to fetch.
32361 &quot;A String&quot;,
32362 ],
32363 },
32364 },
32365 },
32366 &quot;toolResult&quot;: { # Tool result content.
32367 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
32368 &quot;codeExecutionResult&quot;: { # Code execution result content.
32369 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
32370 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
32371 },
32372 &quot;fileSearchResult&quot;: { # File Search result content.
32373 &quot;result&quot;: [ # Optional. The results of the File Search.
32374 { # The result of the File Search.
32375 },
32376 ],
32377 },
32378 &quot;functionResult&quot;: { # A function tool result content block.
32379 &quot;contentList&quot;: {
32380 &quot;contents&quot;: [
32381 {
32382 &quot;image&quot;: { # An image content block.
32383 &quot;data&quot;: &quot;A String&quot;, # The image content.
32384 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
32385 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
32386 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
32387 },
32388 &quot;text&quot;: { # A text content block.
32389 &quot;annotations&quot;: [ # Citation information for model-generated content.
32390 { # Citation information for model-generated content.
32391 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
32392 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
32393 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
32394 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32395 { # Represents a single field in a struct.
32396 &quot;name&quot;: &quot;A String&quot;,
32397 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32398 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32399 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32400 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32401 # Object with schema name: GenaiVertexV1beta1Value
32402 ],
32403 },
32404 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32405 &quot;numberValue&quot;: 3.14, # Represents a double value.
32406 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32407 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32408 },
32409 },
32410 ],
32411 },
32412 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
32413 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
32414 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
32415 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
32416 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
32417 },
32418 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
32419 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
32420 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
32421 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
32422 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
32423 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
32424 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
32425 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
32426 },
32427 ],
32428 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
32429 },
32430 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
32431 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
32432 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
32433 &quot;url&quot;: &quot;A String&quot;, # The URL.
32434 },
32435 },
32436 ],
32437 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
32438 },
32439 },
32440 ],
32441 },
32442 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
32443 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
32444 &quot;stringResult&quot;: &quot;A String&quot;,
32445 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
32446 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32447 { # Represents a single field in a struct.
32448 &quot;name&quot;: &quot;A String&quot;,
32449 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32450 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32451 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32452 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32453 # Object with schema name: GenaiVertexV1beta1Value
32454 ],
32455 },
32456 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32457 &quot;numberValue&quot;: 3.14, # Represents a double value.
32458 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32459 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32460 },
32461 },
32462 ],
32463 },
32464 },
32465 &quot;googleMapsResult&quot;: { # Google Maps result content.
32466 &quot;result&quot;: [ # Required. The results of the Google Maps.
32467 { # The result of the Google Maps.
32468 &quot;places&quot;: [ # The places that were found.
32469 {
32470 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
32471 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
32472 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
32473 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
32474 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
32475 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
32476 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
32477 },
32478 ],
32479 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
32480 },
32481 ],
32482 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
32483 },
32484 ],
32485 },
32486 &quot;googleSearchResult&quot;: { # Google Search result content.
32487 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
32488 &quot;result&quot;: [ # Required. The results of the Google Search.
32489 { # The result of the Google Search.
32490 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
32491 },
32492 ],
32493 },
32494 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
32495 &quot;contentList&quot;: {
32496 &quot;contents&quot;: [
32497 {
32498 &quot;image&quot;: { # An image content block.
32499 &quot;data&quot;: &quot;A String&quot;, # The image content.
32500 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
32501 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
32502 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
32503 },
32504 &quot;text&quot;: { # A text content block.
32505 &quot;annotations&quot;: [ # Citation information for model-generated content.
32506 { # Citation information for model-generated content.
32507 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
32508 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
32509 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
32510 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32511 { # Represents a single field in a struct.
32512 &quot;name&quot;: &quot;A String&quot;,
32513 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32514 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32515 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32516 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32517 # Object with schema name: GenaiVertexV1beta1Value
32518 ],
32519 },
32520 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32521 &quot;numberValue&quot;: 3.14, # Represents a double value.
32522 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32523 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32524 },
32525 },
32526 ],
32527 },
32528 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
32529 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
32530 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
32531 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
32532 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
32533 },
32534 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
32535 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
32536 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
32537 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
32538 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
32539 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
32540 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
32541 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
32542 },
32543 ],
32544 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
32545 },
32546 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
32547 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
32548 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
32549 &quot;url&quot;: &quot;A String&quot;, # The URL.
32550 },
32551 },
32552 ],
32553 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
32554 },
32555 },
32556 ],
32557 },
32558 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
32559 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
32560 &quot;stringResult&quot;: &quot;A String&quot;,
32561 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
32562 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32563 { # Represents a single field in a struct.
32564 &quot;name&quot;: &quot;A String&quot;,
32565 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32566 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32567 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32568 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32569 # Object with schema name: GenaiVertexV1beta1Value
32570 ],
32571 },
32572 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32573 &quot;numberValue&quot;: 3.14, # Represents a double value.
32574 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32575 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32576 },
32577 },
32578 ],
32579 },
32580 },
32581 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
32582 &quot;urlContextResult&quot;: { # URL context result content.
32583 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
32584 &quot;result&quot;: [ # Required. The results of the URL context.
32585 { # The result of the URL context.
32586 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
32587 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
32588 },
32589 ],
32590 },
32591 },
32592 &quot;video&quot;: { # A video content block.
32593 &quot;data&quot;: &quot;A String&quot;, # The video content.
32594 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
32595 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
32596 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
32597 },
32598 },
32599 ],
32600 },
32601 &quot;thought&quot;: { # A thought step.
32602 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
32603 &quot;summary&quot;: [ # A summary of the thought.
32604 { # The content of the response.
32605 &quot;audio&quot;: { # An audio content block.
32606 &quot;channels&quot;: 42, # The number of audio channels.
32607 &quot;data&quot;: &quot;A String&quot;, # The audio content.
32608 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
32609 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
32610 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
32611 },
32612 &quot;document&quot;: { # A document content block.
32613 &quot;data&quot;: &quot;A String&quot;, # The document content.
32614 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
32615 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
32616 },
32617 &quot;image&quot;: { # An image content block.
32618 &quot;data&quot;: &quot;A String&quot;, # The image content.
32619 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
32620 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
32621 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
32622 },
32623 &quot;text&quot;: { # A text content block.
32624 &quot;annotations&quot;: [ # Citation information for model-generated content.
32625 { # Citation information for model-generated content.
32626 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
32627 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
32628 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
32629 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32630 { # Represents a single field in a struct.
32631 &quot;name&quot;: &quot;A String&quot;,
32632 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32633 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32634 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32635 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32636 # Object with schema name: GenaiVertexV1beta1Value
32637 ],
32638 },
32639 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32640 &quot;numberValue&quot;: 3.14, # Represents a double value.
32641 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32642 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32643 },
32644 },
32645 ],
32646 },
32647 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
32648 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
32649 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
32650 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
32651 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
32652 },
32653 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
32654 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
32655 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
32656 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
32657 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
32658 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
32659 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
32660 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
32661 },
32662 ],
32663 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
32664 },
32665 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
32666 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
32667 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
32668 &quot;url&quot;: &quot;A String&quot;, # The URL.
32669 },
32670 },
32671 ],
32672 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
32673 },
32674 &quot;thought&quot;: { # A thought content block.
32675 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
32676 &quot;summary&quot;: [ # A summary of the thought.
32677 {
32678 &quot;image&quot;: { # An image content block.
32679 &quot;data&quot;: &quot;A String&quot;, # The image content.
32680 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
32681 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
32682 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
32683 },
32684 &quot;text&quot;: { # A text content block.
32685 &quot;annotations&quot;: [ # Citation information for model-generated content.
32686 { # Citation information for model-generated content.
32687 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
32688 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
32689 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
32690 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32691 { # Represents a single field in a struct.
32692 &quot;name&quot;: &quot;A String&quot;,
32693 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32694 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32695 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32696 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32697 # Object with schema name: GenaiVertexV1beta1Value
32698 ],
32699 },
32700 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32701 &quot;numberValue&quot;: 3.14, # Represents a double value.
32702 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32703 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32704 },
32705 },
32706 ],
32707 },
32708 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
32709 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
32710 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
32711 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
32712 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
32713 },
32714 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
32715 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
32716 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
32717 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
32718 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
32719 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
32720 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
32721 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
32722 },
32723 ],
32724 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
32725 },
32726 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
32727 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
32728 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
32729 &quot;url&quot;: &quot;A String&quot;, # The URL.
32730 },
32731 },
32732 ],
32733 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
32734 },
32735 },
32736 ],
32737 },
32738 &quot;toolCall&quot;: { # Tool call content.
32739 &quot;codeExecutionCall&quot;: { # Code execution content.
32740 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
32741 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
32742 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
32743 },
32744 },
32745 &quot;fileSearchCall&quot;: { # File Search content.
32746 },
32747 &quot;functionCall&quot;: { # A function tool call content block.
32748 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
32749 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32750 { # Represents a single field in a struct.
32751 &quot;name&quot;: &quot;A String&quot;,
32752 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32753 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32754 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32755 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32756 # Object with schema name: GenaiVertexV1beta1Value
32757 ],
32758 },
32759 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32760 &quot;numberValue&quot;: 3.14, # Represents a double value.
32761 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32762 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32763 },
32764 },
32765 ],
32766 },
32767 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
32768 },
32769 &quot;googleMapsCall&quot;: { # Google Maps content.
32770 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
32771 &quot;queries&quot;: [ # The queries to be executed.
32772 &quot;A String&quot;,
32773 ],
32774 },
32775 },
32776 &quot;googleSearchCall&quot;: { # Google Search content.
32777 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
32778 &quot;queries&quot;: [ # Web search queries for the following-up web search.
32779 &quot;A String&quot;,
32780 ],
32781 },
32782 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
32783 },
32784 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
32785 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
32786 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
32787 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32788 { # Represents a single field in a struct.
32789 &quot;name&quot;: &quot;A String&quot;,
32790 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32791 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32792 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32793 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32794 # Object with schema name: GenaiVertexV1beta1Value
32795 ],
32796 },
32797 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32798 &quot;numberValue&quot;: 3.14, # Represents a double value.
32799 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32800 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32801 },
32802 },
32803 ],
32804 },
32805 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
32806 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
32807 },
32808 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
32809 &quot;urlContextCall&quot;: { # URL context content.
32810 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
32811 &quot;urls&quot;: [ # The URLs to fetch.
32812 &quot;A String&quot;,
32813 ],
32814 },
32815 },
32816 },
32817 &quot;toolResult&quot;: { # Tool result content.
32818 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
32819 &quot;codeExecutionResult&quot;: { # Code execution result content.
32820 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
32821 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
32822 },
32823 &quot;fileSearchResult&quot;: { # File Search result content.
32824 &quot;result&quot;: [ # Optional. The results of the File Search.
32825 { # The result of the File Search.
32826 },
32827 ],
32828 },
32829 &quot;functionResult&quot;: { # A function tool result content block.
32830 &quot;contentList&quot;: {
32831 &quot;contents&quot;: [
32832 {
32833 &quot;image&quot;: { # An image content block.
32834 &quot;data&quot;: &quot;A String&quot;, # The image content.
32835 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
32836 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
32837 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
32838 },
32839 &quot;text&quot;: { # A text content block.
32840 &quot;annotations&quot;: [ # Citation information for model-generated content.
32841 { # Citation information for model-generated content.
32842 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
32843 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
32844 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
32845 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32846 { # Represents a single field in a struct.
32847 &quot;name&quot;: &quot;A String&quot;,
32848 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32849 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32850 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32851 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32852 # Object with schema name: GenaiVertexV1beta1Value
32853 ],
32854 },
32855 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32856 &quot;numberValue&quot;: 3.14, # Represents a double value.
32857 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32858 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32859 },
32860 },
32861 ],
32862 },
32863 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
32864 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
32865 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
32866 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
32867 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
32868 },
32869 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
32870 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
32871 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
32872 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
32873 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
32874 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
32875 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
32876 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
32877 },
32878 ],
32879 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
32880 },
32881 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
32882 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
32883 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
32884 &quot;url&quot;: &quot;A String&quot;, # The URL.
32885 },
32886 },
32887 ],
32888 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
32889 },
32890 },
32891 ],
32892 },
32893 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
32894 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
32895 &quot;stringResult&quot;: &quot;A String&quot;,
32896 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
32897 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32898 { # Represents a single field in a struct.
32899 &quot;name&quot;: &quot;A String&quot;,
32900 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32901 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32902 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32903 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32904 # Object with schema name: GenaiVertexV1beta1Value
32905 ],
32906 },
32907 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32908 &quot;numberValue&quot;: 3.14, # Represents a double value.
32909 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32910 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32911 },
32912 },
32913 ],
32914 },
32915 },
32916 &quot;googleMapsResult&quot;: { # Google Maps result content.
32917 &quot;result&quot;: [ # Required. The results of the Google Maps.
32918 { # The result of the Google Maps.
32919 &quot;places&quot;: [ # The places that were found.
32920 {
32921 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
32922 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
32923 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
32924 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
32925 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
32926 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
32927 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
32928 },
32929 ],
32930 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
32931 },
32932 ],
32933 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
32934 },
32935 ],
32936 },
32937 &quot;googleSearchResult&quot;: { # Google Search result content.
32938 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
32939 &quot;result&quot;: [ # Required. The results of the Google Search.
32940 { # The result of the Google Search.
32941 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
32942 },
32943 ],
32944 },
32945 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
32946 &quot;contentList&quot;: {
32947 &quot;contents&quot;: [
32948 {
32949 &quot;image&quot;: { # An image content block.
32950 &quot;data&quot;: &quot;A String&quot;, # The image content.
32951 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
32952 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
32953 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
32954 },
32955 &quot;text&quot;: { # A text content block.
32956 &quot;annotations&quot;: [ # Citation information for model-generated content.
32957 { # Citation information for model-generated content.
32958 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
32959 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
32960 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
32961 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
32962 { # Represents a single field in a struct.
32963 &quot;name&quot;: &quot;A String&quot;,
32964 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
32965 &quot;boolValue&quot;: True or False, # Represents a boolean value.
32966 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
32967 &quot;values&quot;: [ # Repeated field of dynamically typed values.
32968 # Object with schema name: GenaiVertexV1beta1Value
32969 ],
32970 },
32971 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
32972 &quot;numberValue&quot;: 3.14, # Represents a double value.
32973 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
32974 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
32975 },
32976 },
32977 ],
32978 },
32979 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
32980 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
32981 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
32982 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
32983 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
32984 },
32985 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
32986 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
32987 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
32988 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
32989 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
32990 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
32991 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
32992 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
32993 },
32994 ],
32995 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
32996 },
32997 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
32998 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
32999 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
33000 &quot;url&quot;: &quot;A String&quot;, # The URL.
33001 },
33002 },
33003 ],
33004 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
33005 },
33006 },
33007 ],
33008 },
33009 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
33010 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
33011 &quot;stringResult&quot;: &quot;A String&quot;,
33012 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
33013 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33014 { # Represents a single field in a struct.
33015 &quot;name&quot;: &quot;A String&quot;,
33016 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33017 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33018 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33019 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33020 # Object with schema name: GenaiVertexV1beta1Value
33021 ],
33022 },
33023 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33024 &quot;numberValue&quot;: 3.14, # Represents a double value.
33025 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33026 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33027 },
33028 },
33029 ],
33030 },
33031 },
33032 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
33033 &quot;urlContextResult&quot;: { # URL context result content.
33034 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
33035 &quot;result&quot;: [ # Required. The results of the URL context.
33036 { # The result of the URL context.
33037 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
33038 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
33039 },
33040 ],
33041 },
33042 },
33043 &quot;video&quot;: { # A video content block.
33044 &quot;data&quot;: &quot;A String&quot;, # The video content.
33045 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
33046 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
33047 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
33048 },
33049 },
33050 ],
33051 },
33052 &quot;toolCall&quot;: { # Tool call step.
33053 &quot;codeExecutionCall&quot;: { # Code execution call step.
33054 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
33055 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
33056 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
33057 },
33058 },
33059 &quot;fileSearchCall&quot;: { # File Search call step.
33060 },
33061 &quot;functionCall&quot;: { # A function tool call step.
33062 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
33063 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33064 { # Represents a single field in a struct.
33065 &quot;name&quot;: &quot;A String&quot;,
33066 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33067 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33068 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33069 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33070 # Object with schema name: GenaiVertexV1beta1Value
33071 ],
33072 },
33073 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33074 &quot;numberValue&quot;: 3.14, # Represents a double value.
33075 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33076 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33077 },
33078 },
33079 ],
33080 },
33081 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
33082 },
33083 &quot;googleMapsCall&quot;: { # Google Maps call step.
33084 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
33085 &quot;queries&quot;: [ # The queries to be executed.
33086 &quot;A String&quot;,
33087 ],
33088 },
33089 },
33090 &quot;googleSearchCall&quot;: { # Google Search call step.
33091 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
33092 &quot;queries&quot;: [ # Web search queries for the following-up web search.
33093 &quot;A String&quot;,
33094 ],
33095 },
33096 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
33097 },
33098 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
33099 &quot;mcpServerToolCall&quot;: { # MCPServer tool call step.
33100 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
33101 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33102 { # Represents a single field in a struct.
33103 &quot;name&quot;: &quot;A String&quot;,
33104 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33105 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33106 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33107 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33108 # Object with schema name: GenaiVertexV1beta1Value
33109 ],
33110 },
33111 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33112 &quot;numberValue&quot;: 3.14, # Represents a double value.
33113 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33114 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33115 },
33116 },
33117 ],
33118 },
33119 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
33120 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
33121 },
33122 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
33123 &quot;urlContextCall&quot;: { # URL context call step.
33124 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
33125 &quot;urls&quot;: [ # The URLs to fetch.
33126 &quot;A String&quot;,
33127 ],
33128 },
33129 },
33130 },
33131 &quot;toolResult&quot;: { # Tool result step.
33132 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
33133 &quot;codeExecutionResult&quot;: { # Code execution result step.
33134 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
33135 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
33136 },
33137 &quot;fileSearchResult&quot;: { # File Search result step.
33138 },
33139 &quot;functionResult&quot;: { # Result of a function tool call.
33140 &quot;contentList&quot;: { # A list of Content.
33141 &quot;contents&quot;: [ # The contents of the list.
33142 { # The content of the response.
33143 &quot;audio&quot;: { # An audio content block.
33144 &quot;channels&quot;: 42, # The number of audio channels.
33145 &quot;data&quot;: &quot;A String&quot;, # The audio content.
33146 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
33147 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
33148 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
33149 },
33150 &quot;document&quot;: { # A document content block.
33151 &quot;data&quot;: &quot;A String&quot;, # The document content.
33152 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
33153 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
33154 },
33155 &quot;image&quot;: { # An image content block.
33156 &quot;data&quot;: &quot;A String&quot;, # The image content.
33157 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
33158 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
33159 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
33160 },
33161 &quot;text&quot;: { # A text content block.
33162 &quot;annotations&quot;: [ # Citation information for model-generated content.
33163 { # Citation information for model-generated content.
33164 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
33165 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
33166 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
33167 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33168 { # Represents a single field in a struct.
33169 &quot;name&quot;: &quot;A String&quot;,
33170 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33171 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33172 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33173 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33174 # Object with schema name: GenaiVertexV1beta1Value
33175 ],
33176 },
33177 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33178 &quot;numberValue&quot;: 3.14, # Represents a double value.
33179 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33180 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33181 },
33182 },
33183 ],
33184 },
33185 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
33186 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
33187 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
33188 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
33189 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
33190 },
33191 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
33192 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
33193 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
33194 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
33195 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
33196 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
33197 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
33198 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
33199 },
33200 ],
33201 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
33202 },
33203 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
33204 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
33205 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
33206 &quot;url&quot;: &quot;A String&quot;, # The URL.
33207 },
33208 },
33209 ],
33210 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
33211 },
33212 &quot;thought&quot;: { # A thought content block.
33213 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
33214 &quot;summary&quot;: [ # A summary of the thought.
33215 {
33216 &quot;image&quot;: { # An image content block.
33217 &quot;data&quot;: &quot;A String&quot;, # The image content.
33218 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
33219 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
33220 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
33221 },
33222 &quot;text&quot;: { # A text content block.
33223 &quot;annotations&quot;: [ # Citation information for model-generated content.
33224 { # Citation information for model-generated content.
33225 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
33226 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
33227 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
33228 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33229 { # Represents a single field in a struct.
33230 &quot;name&quot;: &quot;A String&quot;,
33231 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33232 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33233 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33234 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33235 # Object with schema name: GenaiVertexV1beta1Value
33236 ],
33237 },
33238 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33239 &quot;numberValue&quot;: 3.14, # Represents a double value.
33240 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33241 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33242 },
33243 },
33244 ],
33245 },
33246 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
33247 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
33248 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
33249 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
33250 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
33251 },
33252 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
33253 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
33254 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
33255 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
33256 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
33257 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
33258 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
33259 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
33260 },
33261 ],
33262 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
33263 },
33264 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
33265 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
33266 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
33267 &quot;url&quot;: &quot;A String&quot;, # The URL.
33268 },
33269 },
33270 ],
33271 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
33272 },
33273 },
33274 ],
33275 },
33276 &quot;toolCall&quot;: { # Tool call content.
33277 &quot;codeExecutionCall&quot;: { # Code execution content.
33278 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
33279 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
33280 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
33281 },
33282 },
33283 &quot;fileSearchCall&quot;: { # File Search content.
33284 },
33285 &quot;functionCall&quot;: { # A function tool call content block.
33286 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
33287 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33288 { # Represents a single field in a struct.
33289 &quot;name&quot;: &quot;A String&quot;,
33290 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33291 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33292 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33293 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33294 # Object with schema name: GenaiVertexV1beta1Value
33295 ],
33296 },
33297 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33298 &quot;numberValue&quot;: 3.14, # Represents a double value.
33299 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33300 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33301 },
33302 },
33303 ],
33304 },
33305 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
33306 },
33307 &quot;googleMapsCall&quot;: { # Google Maps content.
33308 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
33309 &quot;queries&quot;: [ # The queries to be executed.
33310 &quot;A String&quot;,
33311 ],
33312 },
33313 },
33314 &quot;googleSearchCall&quot;: { # Google Search content.
33315 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
33316 &quot;queries&quot;: [ # Web search queries for the following-up web search.
33317 &quot;A String&quot;,
33318 ],
33319 },
33320 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
33321 },
33322 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
33323 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
33324 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
33325 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33326 { # Represents a single field in a struct.
33327 &quot;name&quot;: &quot;A String&quot;,
33328 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33329 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33330 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33331 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33332 # Object with schema name: GenaiVertexV1beta1Value
33333 ],
33334 },
33335 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33336 &quot;numberValue&quot;: 3.14, # Represents a double value.
33337 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33338 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33339 },
33340 },
33341 ],
33342 },
33343 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
33344 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
33345 },
33346 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
33347 &quot;urlContextCall&quot;: { # URL context content.
33348 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
33349 &quot;urls&quot;: [ # The URLs to fetch.
33350 &quot;A String&quot;,
33351 ],
33352 },
33353 },
33354 },
33355 &quot;toolResult&quot;: { # Tool result content.
33356 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
33357 &quot;codeExecutionResult&quot;: { # Code execution result content.
33358 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
33359 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
33360 },
33361 &quot;fileSearchResult&quot;: { # File Search result content.
33362 &quot;result&quot;: [ # Optional. The results of the File Search.
33363 { # The result of the File Search.
33364 },
33365 ],
33366 },
33367 &quot;functionResult&quot;: { # A function tool result content block.
33368 &quot;contentList&quot;: {
33369 &quot;contents&quot;: [
33370 {
33371 &quot;image&quot;: { # An image content block.
33372 &quot;data&quot;: &quot;A String&quot;, # The image content.
33373 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
33374 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
33375 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
33376 },
33377 &quot;text&quot;: { # A text content block.
33378 &quot;annotations&quot;: [ # Citation information for model-generated content.
33379 { # Citation information for model-generated content.
33380 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
33381 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
33382 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
33383 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33384 { # Represents a single field in a struct.
33385 &quot;name&quot;: &quot;A String&quot;,
33386 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33387 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33388 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33389 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33390 # Object with schema name: GenaiVertexV1beta1Value
33391 ],
33392 },
33393 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33394 &quot;numberValue&quot;: 3.14, # Represents a double value.
33395 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33396 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33397 },
33398 },
33399 ],
33400 },
33401 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
33402 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
33403 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
33404 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
33405 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
33406 },
33407 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
33408 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
33409 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
33410 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
33411 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
33412 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
33413 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
33414 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
33415 },
33416 ],
33417 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
33418 },
33419 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
33420 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
33421 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
33422 &quot;url&quot;: &quot;A String&quot;, # The URL.
33423 },
33424 },
33425 ],
33426 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
33427 },
33428 },
33429 ],
33430 },
33431 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
33432 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
33433 &quot;stringResult&quot;: &quot;A String&quot;,
33434 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
33435 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33436 { # Represents a single field in a struct.
33437 &quot;name&quot;: &quot;A String&quot;,
33438 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33439 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33440 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33441 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33442 # Object with schema name: GenaiVertexV1beta1Value
33443 ],
33444 },
33445 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33446 &quot;numberValue&quot;: 3.14, # Represents a double value.
33447 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33448 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33449 },
33450 },
33451 ],
33452 },
33453 },
33454 &quot;googleMapsResult&quot;: { # Google Maps result content.
33455 &quot;result&quot;: [ # Required. The results of the Google Maps.
33456 { # The result of the Google Maps.
33457 &quot;places&quot;: [ # The places that were found.
33458 {
33459 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
33460 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
33461 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
33462 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
33463 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
33464 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
33465 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
33466 },
33467 ],
33468 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
33469 },
33470 ],
33471 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
33472 },
33473 ],
33474 },
33475 &quot;googleSearchResult&quot;: { # Google Search result content.
33476 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
33477 &quot;result&quot;: [ # Required. The results of the Google Search.
33478 { # The result of the Google Search.
33479 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
33480 },
33481 ],
33482 },
33483 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
33484 &quot;contentList&quot;: {
33485 &quot;contents&quot;: [
33486 {
33487 &quot;image&quot;: { # An image content block.
33488 &quot;data&quot;: &quot;A String&quot;, # The image content.
33489 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
33490 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
33491 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
33492 },
33493 &quot;text&quot;: { # A text content block.
33494 &quot;annotations&quot;: [ # Citation information for model-generated content.
33495 { # Citation information for model-generated content.
33496 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
33497 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
33498 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
33499 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33500 { # Represents a single field in a struct.
33501 &quot;name&quot;: &quot;A String&quot;,
33502 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33503 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33504 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33505 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33506 # Object with schema name: GenaiVertexV1beta1Value
33507 ],
33508 },
33509 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33510 &quot;numberValue&quot;: 3.14, # Represents a double value.
33511 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33512 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33513 },
33514 },
33515 ],
33516 },
33517 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
33518 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
33519 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
33520 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
33521 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
33522 },
33523 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
33524 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
33525 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
33526 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
33527 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
33528 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
33529 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
33530 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
33531 },
33532 ],
33533 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
33534 },
33535 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
33536 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
33537 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
33538 &quot;url&quot;: &quot;A String&quot;, # The URL.
33539 },
33540 },
33541 ],
33542 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
33543 },
33544 },
33545 ],
33546 },
33547 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
33548 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
33549 &quot;stringResult&quot;: &quot;A String&quot;,
33550 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
33551 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33552 { # Represents a single field in a struct.
33553 &quot;name&quot;: &quot;A String&quot;,
33554 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33555 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33556 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33557 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33558 # Object with schema name: GenaiVertexV1beta1Value
33559 ],
33560 },
33561 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33562 &quot;numberValue&quot;: 3.14, # Represents a double value.
33563 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33564 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33565 },
33566 },
33567 ],
33568 },
33569 },
33570 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
33571 &quot;urlContextResult&quot;: { # URL context result content.
33572 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
33573 &quot;result&quot;: [ # Required. The results of the URL context.
33574 { # The result of the URL context.
33575 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
33576 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
33577 },
33578 ],
33579 },
33580 },
33581 &quot;video&quot;: { # A video content block.
33582 &quot;data&quot;: &quot;A String&quot;, # The video content.
33583 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
33584 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
33585 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
33586 },
33587 },
33588 ],
33589 },
33590 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
33591 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
33592 &quot;stringResult&quot;: &quot;A String&quot;,
33593 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
33594 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33595 { # Represents a single field in a struct.
33596 &quot;name&quot;: &quot;A String&quot;,
33597 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33598 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33599 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33600 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33601 # Object with schema name: GenaiVertexV1beta1Value
33602 ],
33603 },
33604 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33605 &quot;numberValue&quot;: 3.14, # Represents a double value.
33606 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33607 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33608 },
33609 },
33610 ],
33611 },
33612 },
33613 &quot;googleMapsResult&quot;: { # Google Maps result step.
33614 &quot;result&quot;: [
33615 { # The result of the Google Maps.
33616 &quot;places&quot;: [
33617 {
33618 &quot;name&quot;: &quot;A String&quot;,
33619 &quot;placeId&quot;: &quot;A String&quot;,
33620 &quot;reviewSnippets&quot;: [
33621 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
33622 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
33623 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
33624 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
33625 },
33626 ],
33627 &quot;url&quot;: &quot;A String&quot;,
33628 },
33629 ],
33630 &quot;widgetContextToken&quot;: &quot;A String&quot;,
33631 },
33632 ],
33633 },
33634 &quot;googleSearchResult&quot;: { # Google Search result step.
33635 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
33636 &quot;result&quot;: [ # Required. The results of the Google Search.
33637 { # The result of the Google Search.
33638 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
33639 },
33640 ],
33641 },
33642 &quot;mcpServerToolResult&quot;: { # MCPServer tool result step.
33643 &quot;contentList&quot;: { # A list of Content.
33644 &quot;contents&quot;: [ # The contents of the list.
33645 { # The content of the response.
33646 &quot;audio&quot;: { # An audio content block.
33647 &quot;channels&quot;: 42, # The number of audio channels.
33648 &quot;data&quot;: &quot;A String&quot;, # The audio content.
33649 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
33650 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
33651 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
33652 },
33653 &quot;document&quot;: { # A document content block.
33654 &quot;data&quot;: &quot;A String&quot;, # The document content.
33655 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
33656 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
33657 },
33658 &quot;image&quot;: { # An image content block.
33659 &quot;data&quot;: &quot;A String&quot;, # The image content.
33660 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
33661 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
33662 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
33663 },
33664 &quot;text&quot;: { # A text content block.
33665 &quot;annotations&quot;: [ # Citation information for model-generated content.
33666 { # Citation information for model-generated content.
33667 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
33668 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
33669 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
33670 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33671 { # Represents a single field in a struct.
33672 &quot;name&quot;: &quot;A String&quot;,
33673 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33674 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33675 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33676 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33677 # Object with schema name: GenaiVertexV1beta1Value
33678 ],
33679 },
33680 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33681 &quot;numberValue&quot;: 3.14, # Represents a double value.
33682 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33683 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33684 },
33685 },
33686 ],
33687 },
33688 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
33689 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
33690 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
33691 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
33692 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
33693 },
33694 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
33695 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
33696 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
33697 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
33698 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
33699 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
33700 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
33701 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
33702 },
33703 ],
33704 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
33705 },
33706 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
33707 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
33708 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
33709 &quot;url&quot;: &quot;A String&quot;, # The URL.
33710 },
33711 },
33712 ],
33713 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
33714 },
33715 &quot;thought&quot;: { # A thought content block.
33716 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
33717 &quot;summary&quot;: [ # A summary of the thought.
33718 {
33719 &quot;image&quot;: { # An image content block.
33720 &quot;data&quot;: &quot;A String&quot;, # The image content.
33721 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
33722 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
33723 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
33724 },
33725 &quot;text&quot;: { # A text content block.
33726 &quot;annotations&quot;: [ # Citation information for model-generated content.
33727 { # Citation information for model-generated content.
33728 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
33729 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
33730 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
33731 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33732 { # Represents a single field in a struct.
33733 &quot;name&quot;: &quot;A String&quot;,
33734 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33735 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33736 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33737 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33738 # Object with schema name: GenaiVertexV1beta1Value
33739 ],
33740 },
33741 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33742 &quot;numberValue&quot;: 3.14, # Represents a double value.
33743 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33744 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33745 },
33746 },
33747 ],
33748 },
33749 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
33750 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
33751 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
33752 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
33753 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
33754 },
33755 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
33756 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
33757 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
33758 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
33759 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
33760 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
33761 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
33762 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
33763 },
33764 ],
33765 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
33766 },
33767 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
33768 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
33769 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
33770 &quot;url&quot;: &quot;A String&quot;, # The URL.
33771 },
33772 },
33773 ],
33774 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
33775 },
33776 },
33777 ],
33778 },
33779 &quot;toolCall&quot;: { # Tool call content.
33780 &quot;codeExecutionCall&quot;: { # Code execution content.
33781 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
33782 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
33783 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
33784 },
33785 },
33786 &quot;fileSearchCall&quot;: { # File Search content.
33787 },
33788 &quot;functionCall&quot;: { # A function tool call content block.
33789 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
33790 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33791 { # Represents a single field in a struct.
33792 &quot;name&quot;: &quot;A String&quot;,
33793 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33794 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33795 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33796 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33797 # Object with schema name: GenaiVertexV1beta1Value
33798 ],
33799 },
33800 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33801 &quot;numberValue&quot;: 3.14, # Represents a double value.
33802 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33803 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33804 },
33805 },
33806 ],
33807 },
33808 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
33809 },
33810 &quot;googleMapsCall&quot;: { # Google Maps content.
33811 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
33812 &quot;queries&quot;: [ # The queries to be executed.
33813 &quot;A String&quot;,
33814 ],
33815 },
33816 },
33817 &quot;googleSearchCall&quot;: { # Google Search content.
33818 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
33819 &quot;queries&quot;: [ # Web search queries for the following-up web search.
33820 &quot;A String&quot;,
33821 ],
33822 },
33823 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
33824 },
33825 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
33826 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
33827 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
33828 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33829 { # Represents a single field in a struct.
33830 &quot;name&quot;: &quot;A String&quot;,
33831 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33832 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33833 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33834 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33835 # Object with schema name: GenaiVertexV1beta1Value
33836 ],
33837 },
33838 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33839 &quot;numberValue&quot;: 3.14, # Represents a double value.
33840 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33841 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33842 },
33843 },
33844 ],
33845 },
33846 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
33847 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
33848 },
33849 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
33850 &quot;urlContextCall&quot;: { # URL context content.
33851 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
33852 &quot;urls&quot;: [ # The URLs to fetch.
33853 &quot;A String&quot;,
33854 ],
33855 },
33856 },
33857 },
33858 &quot;toolResult&quot;: { # Tool result content.
33859 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
33860 &quot;codeExecutionResult&quot;: { # Code execution result content.
33861 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
33862 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
33863 },
33864 &quot;fileSearchResult&quot;: { # File Search result content.
33865 &quot;result&quot;: [ # Optional. The results of the File Search.
33866 { # The result of the File Search.
33867 },
33868 ],
33869 },
33870 &quot;functionResult&quot;: { # A function tool result content block.
33871 &quot;contentList&quot;: {
33872 &quot;contents&quot;: [
33873 {
33874 &quot;image&quot;: { # An image content block.
33875 &quot;data&quot;: &quot;A String&quot;, # The image content.
33876 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
33877 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
33878 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
33879 },
33880 &quot;text&quot;: { # A text content block.
33881 &quot;annotations&quot;: [ # Citation information for model-generated content.
33882 { # Citation information for model-generated content.
33883 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
33884 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
33885 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
33886 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33887 { # Represents a single field in a struct.
33888 &quot;name&quot;: &quot;A String&quot;,
33889 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33890 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33891 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33892 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33893 # Object with schema name: GenaiVertexV1beta1Value
33894 ],
33895 },
33896 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33897 &quot;numberValue&quot;: 3.14, # Represents a double value.
33898 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33899 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33900 },
33901 },
33902 ],
33903 },
33904 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
33905 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
33906 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
33907 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
33908 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
33909 },
33910 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
33911 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
33912 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
33913 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
33914 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
33915 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
33916 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
33917 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
33918 },
33919 ],
33920 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
33921 },
33922 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
33923 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
33924 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
33925 &quot;url&quot;: &quot;A String&quot;, # The URL.
33926 },
33927 },
33928 ],
33929 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
33930 },
33931 },
33932 ],
33933 },
33934 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
33935 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
33936 &quot;stringResult&quot;: &quot;A String&quot;,
33937 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
33938 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
33939 { # Represents a single field in a struct.
33940 &quot;name&quot;: &quot;A String&quot;,
33941 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
33942 &quot;boolValue&quot;: True or False, # Represents a boolean value.
33943 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
33944 &quot;values&quot;: [ # Repeated field of dynamically typed values.
33945 # Object with schema name: GenaiVertexV1beta1Value
33946 ],
33947 },
33948 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
33949 &quot;numberValue&quot;: 3.14, # Represents a double value.
33950 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
33951 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
33952 },
33953 },
33954 ],
33955 },
33956 },
33957 &quot;googleMapsResult&quot;: { # Google Maps result content.
33958 &quot;result&quot;: [ # Required. The results of the Google Maps.
33959 { # The result of the Google Maps.
33960 &quot;places&quot;: [ # The places that were found.
33961 {
33962 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
33963 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
33964 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
33965 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
33966 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
33967 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
33968 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
33969 },
33970 ],
33971 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
33972 },
33973 ],
33974 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
33975 },
33976 ],
33977 },
33978 &quot;googleSearchResult&quot;: { # Google Search result content.
33979 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
33980 &quot;result&quot;: [ # Required. The results of the Google Search.
33981 { # The result of the Google Search.
33982 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
33983 },
33984 ],
33985 },
33986 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
33987 &quot;contentList&quot;: {
33988 &quot;contents&quot;: [
33989 {
33990 &quot;image&quot;: { # An image content block.
33991 &quot;data&quot;: &quot;A String&quot;, # The image content.
33992 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
33993 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
33994 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
33995 },
33996 &quot;text&quot;: { # A text content block.
33997 &quot;annotations&quot;: [ # Citation information for model-generated content.
33998 { # Citation information for model-generated content.
33999 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
34000 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
34001 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
34002 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34003 { # Represents a single field in a struct.
34004 &quot;name&quot;: &quot;A String&quot;,
34005 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34006 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34007 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34008 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34009 # Object with schema name: GenaiVertexV1beta1Value
34010 ],
34011 },
34012 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34013 &quot;numberValue&quot;: 3.14, # Represents a double value.
34014 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34015 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34016 },
34017 },
34018 ],
34019 },
34020 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
34021 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
34022 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
34023 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
34024 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
34025 },
34026 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
34027 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
34028 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
34029 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
34030 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
34031 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
34032 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
34033 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
34034 },
34035 ],
34036 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
34037 },
34038 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
34039 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
34040 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
34041 &quot;url&quot;: &quot;A String&quot;, # The URL.
34042 },
34043 },
34044 ],
34045 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
34046 },
34047 },
34048 ],
34049 },
34050 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
34051 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
34052 &quot;stringResult&quot;: &quot;A String&quot;,
34053 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
34054 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34055 { # Represents a single field in a struct.
34056 &quot;name&quot;: &quot;A String&quot;,
34057 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34058 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34059 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34060 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34061 # Object with schema name: GenaiVertexV1beta1Value
34062 ],
34063 },
34064 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34065 &quot;numberValue&quot;: 3.14, # Represents a double value.
34066 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34067 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34068 },
34069 },
34070 ],
34071 },
34072 },
34073 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
34074 &quot;urlContextResult&quot;: { # URL context result content.
34075 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
34076 &quot;result&quot;: [ # Required. The results of the URL context.
34077 { # The result of the URL context.
34078 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
34079 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
34080 },
34081 ],
34082 },
34083 },
34084 &quot;video&quot;: { # A video content block.
34085 &quot;data&quot;: &quot;A String&quot;, # The video content.
34086 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
34087 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
34088 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
34089 },
34090 },
34091 ],
34092 },
34093 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
34094 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
34095 &quot;stringResult&quot;: &quot;A String&quot;,
34096 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
34097 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34098 { # Represents a single field in a struct.
34099 &quot;name&quot;: &quot;A String&quot;,
34100 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34101 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34102 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34103 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34104 # Object with schema name: GenaiVertexV1beta1Value
34105 ],
34106 },
34107 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34108 &quot;numberValue&quot;: 3.14, # Represents a double value.
34109 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34110 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34111 },
34112 },
34113 ],
34114 },
34115 },
34116 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
34117 &quot;urlContextResult&quot;: { # URL context result step.
34118 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
34119 &quot;result&quot;: [ # Required. The results of the URL context.
34120 { # The result of the URL context.
34121 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
34122 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
34123 },
34124 ],
34125 },
34126 },
34127 &quot;userInput&quot;: { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
34128 &quot;contentList&quot;: { # A list of Content. # The content of the step. An array of Content objects.
34129 &quot;contents&quot;: [ # The contents of the list.
34130 { # The content of the response.
34131 &quot;audio&quot;: { # An audio content block.
34132 &quot;channels&quot;: 42, # The number of audio channels.
34133 &quot;data&quot;: &quot;A String&quot;, # The audio content.
34134 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
34135 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
34136 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
34137 },
34138 &quot;document&quot;: { # A document content block.
34139 &quot;data&quot;: &quot;A String&quot;, # The document content.
34140 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
34141 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
34142 },
34143 &quot;image&quot;: { # An image content block.
34144 &quot;data&quot;: &quot;A String&quot;, # The image content.
34145 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
34146 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
34147 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
34148 },
34149 &quot;text&quot;: { # A text content block.
34150 &quot;annotations&quot;: [ # Citation information for model-generated content.
34151 { # Citation information for model-generated content.
34152 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
34153 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
34154 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
34155 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34156 { # Represents a single field in a struct.
34157 &quot;name&quot;: &quot;A String&quot;,
34158 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34159 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34160 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34161 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34162 # Object with schema name: GenaiVertexV1beta1Value
34163 ],
34164 },
34165 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34166 &quot;numberValue&quot;: 3.14, # Represents a double value.
34167 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34168 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34169 },
34170 },
34171 ],
34172 },
34173 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
34174 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
34175 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
34176 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
34177 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
34178 },
34179 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
34180 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
34181 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
34182 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
34183 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
34184 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
34185 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
34186 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
34187 },
34188 ],
34189 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
34190 },
34191 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
34192 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
34193 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
34194 &quot;url&quot;: &quot;A String&quot;, # The URL.
34195 },
34196 },
34197 ],
34198 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
34199 },
34200 &quot;thought&quot;: { # A thought content block.
34201 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
34202 &quot;summary&quot;: [ # A summary of the thought.
34203 {
34204 &quot;image&quot;: { # An image content block.
34205 &quot;data&quot;: &quot;A String&quot;, # The image content.
34206 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
34207 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
34208 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
34209 },
34210 &quot;text&quot;: { # A text content block.
34211 &quot;annotations&quot;: [ # Citation information for model-generated content.
34212 { # Citation information for model-generated content.
34213 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
34214 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
34215 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
34216 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34217 { # Represents a single field in a struct.
34218 &quot;name&quot;: &quot;A String&quot;,
34219 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34220 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34221 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34222 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34223 # Object with schema name: GenaiVertexV1beta1Value
34224 ],
34225 },
34226 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34227 &quot;numberValue&quot;: 3.14, # Represents a double value.
34228 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34229 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34230 },
34231 },
34232 ],
34233 },
34234 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
34235 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
34236 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
34237 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
34238 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
34239 },
34240 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
34241 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
34242 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
34243 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
34244 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
34245 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
34246 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
34247 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
34248 },
34249 ],
34250 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
34251 },
34252 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
34253 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
34254 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
34255 &quot;url&quot;: &quot;A String&quot;, # The URL.
34256 },
34257 },
34258 ],
34259 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
34260 },
34261 },
34262 ],
34263 },
34264 &quot;toolCall&quot;: { # Tool call content.
34265 &quot;codeExecutionCall&quot;: { # Code execution content.
34266 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
34267 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
34268 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
34269 },
34270 },
34271 &quot;fileSearchCall&quot;: { # File Search content.
34272 },
34273 &quot;functionCall&quot;: { # A function tool call content block.
34274 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
34275 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34276 { # Represents a single field in a struct.
34277 &quot;name&quot;: &quot;A String&quot;,
34278 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34279 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34280 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34281 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34282 # Object with schema name: GenaiVertexV1beta1Value
34283 ],
34284 },
34285 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34286 &quot;numberValue&quot;: 3.14, # Represents a double value.
34287 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34288 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34289 },
34290 },
34291 ],
34292 },
34293 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
34294 },
34295 &quot;googleMapsCall&quot;: { # Google Maps content.
34296 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
34297 &quot;queries&quot;: [ # The queries to be executed.
34298 &quot;A String&quot;,
34299 ],
34300 },
34301 },
34302 &quot;googleSearchCall&quot;: { # Google Search content.
34303 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
34304 &quot;queries&quot;: [ # Web search queries for the following-up web search.
34305 &quot;A String&quot;,
34306 ],
34307 },
34308 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
34309 },
34310 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
34311 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
34312 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
34313 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34314 { # Represents a single field in a struct.
34315 &quot;name&quot;: &quot;A String&quot;,
34316 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34317 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34318 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34319 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34320 # Object with schema name: GenaiVertexV1beta1Value
34321 ],
34322 },
34323 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34324 &quot;numberValue&quot;: 3.14, # Represents a double value.
34325 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34326 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34327 },
34328 },
34329 ],
34330 },
34331 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
34332 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
34333 },
34334 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
34335 &quot;urlContextCall&quot;: { # URL context content.
34336 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
34337 &quot;urls&quot;: [ # The URLs to fetch.
34338 &quot;A String&quot;,
34339 ],
34340 },
34341 },
34342 },
34343 &quot;toolResult&quot;: { # Tool result content.
34344 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
34345 &quot;codeExecutionResult&quot;: { # Code execution result content.
34346 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
34347 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
34348 },
34349 &quot;fileSearchResult&quot;: { # File Search result content.
34350 &quot;result&quot;: [ # Optional. The results of the File Search.
34351 { # The result of the File Search.
34352 },
34353 ],
34354 },
34355 &quot;functionResult&quot;: { # A function tool result content block.
34356 &quot;contentList&quot;: {
34357 &quot;contents&quot;: [
34358 {
34359 &quot;image&quot;: { # An image content block.
34360 &quot;data&quot;: &quot;A String&quot;, # The image content.
34361 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
34362 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
34363 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
34364 },
34365 &quot;text&quot;: { # A text content block.
34366 &quot;annotations&quot;: [ # Citation information for model-generated content.
34367 { # Citation information for model-generated content.
34368 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
34369 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
34370 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
34371 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34372 { # Represents a single field in a struct.
34373 &quot;name&quot;: &quot;A String&quot;,
34374 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34375 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34376 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34377 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34378 # Object with schema name: GenaiVertexV1beta1Value
34379 ],
34380 },
34381 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34382 &quot;numberValue&quot;: 3.14, # Represents a double value.
34383 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34384 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34385 },
34386 },
34387 ],
34388 },
34389 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
34390 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
34391 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
34392 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
34393 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
34394 },
34395 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
34396 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
34397 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
34398 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
34399 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
34400 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
34401 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
34402 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
34403 },
34404 ],
34405 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
34406 },
34407 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
34408 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
34409 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
34410 &quot;url&quot;: &quot;A String&quot;, # The URL.
34411 },
34412 },
34413 ],
34414 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
34415 },
34416 },
34417 ],
34418 },
34419 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
34420 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
34421 &quot;stringResult&quot;: &quot;A String&quot;,
34422 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
34423 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34424 { # Represents a single field in a struct.
34425 &quot;name&quot;: &quot;A String&quot;,
34426 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34427 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34428 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34429 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34430 # Object with schema name: GenaiVertexV1beta1Value
34431 ],
34432 },
34433 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34434 &quot;numberValue&quot;: 3.14, # Represents a double value.
34435 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34436 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34437 },
34438 },
34439 ],
34440 },
34441 },
34442 &quot;googleMapsResult&quot;: { # Google Maps result content.
34443 &quot;result&quot;: [ # Required. The results of the Google Maps.
34444 { # The result of the Google Maps.
34445 &quot;places&quot;: [ # The places that were found.
34446 {
34447 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
34448 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
34449 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
34450 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
34451 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
34452 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
34453 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
34454 },
34455 ],
34456 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
34457 },
34458 ],
34459 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
34460 },
34461 ],
34462 },
34463 &quot;googleSearchResult&quot;: { # Google Search result content.
34464 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
34465 &quot;result&quot;: [ # Required. The results of the Google Search.
34466 { # The result of the Google Search.
34467 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
34468 },
34469 ],
34470 },
34471 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
34472 &quot;contentList&quot;: {
34473 &quot;contents&quot;: [
34474 {
34475 &quot;image&quot;: { # An image content block.
34476 &quot;data&quot;: &quot;A String&quot;, # The image content.
34477 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
34478 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
34479 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
34480 },
34481 &quot;text&quot;: { # A text content block.
34482 &quot;annotations&quot;: [ # Citation information for model-generated content.
34483 { # Citation information for model-generated content.
34484 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
34485 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
34486 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
34487 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34488 { # Represents a single field in a struct.
34489 &quot;name&quot;: &quot;A String&quot;,
34490 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34491 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34492 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34493 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34494 # Object with schema name: GenaiVertexV1beta1Value
34495 ],
34496 },
34497 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34498 &quot;numberValue&quot;: 3.14, # Represents a double value.
34499 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34500 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34501 },
34502 },
34503 ],
34504 },
34505 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
34506 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
34507 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
34508 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
34509 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
34510 },
34511 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
34512 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
34513 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
34514 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
34515 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
34516 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
34517 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
34518 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
34519 },
34520 ],
34521 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
34522 },
34523 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
34524 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
34525 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
34526 &quot;url&quot;: &quot;A String&quot;, # The URL.
34527 },
34528 },
34529 ],
34530 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
34531 },
34532 },
34533 ],
34534 },
34535 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
34536 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
34537 &quot;stringResult&quot;: &quot;A String&quot;,
34538 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
34539 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34540 { # Represents a single field in a struct.
34541 &quot;name&quot;: &quot;A String&quot;,
34542 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34543 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34544 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34545 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34546 # Object with schema name: GenaiVertexV1beta1Value
34547 ],
34548 },
34549 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34550 &quot;numberValue&quot;: 3.14, # Represents a double value.
34551 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34552 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34553 },
34554 },
34555 ],
34556 },
34557 },
34558 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
34559 &quot;urlContextResult&quot;: { # URL context result content.
34560 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
34561 &quot;result&quot;: [ # Required. The results of the URL context.
34562 { # The result of the URL context.
34563 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
34564 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
34565 },
34566 ],
34567 },
34568 },
34569 &quot;video&quot;: { # A video content block.
34570 &quot;data&quot;: &quot;A String&quot;, # The video content.
34571 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
34572 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
34573 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
34574 },
34575 },
34576 ],
34577 },
34578 &quot;contentString&quot;: &quot;A String&quot;, # The content of the step. A single string.
34579 },
34580 },
34581 ],
34582 },
34583 &quot;steps&quot;: [ # Required. Output only. The steps that make up the interaction.
34584 { # A step in the interaction.
34585 &quot;modelOutput&quot;: { # Output generated by the model.
34586 &quot;content&quot;: [
34587 { # The content of the response.
34588 &quot;audio&quot;: { # An audio content block.
34589 &quot;channels&quot;: 42, # The number of audio channels.
34590 &quot;data&quot;: &quot;A String&quot;, # The audio content.
34591 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
34592 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
34593 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
34594 },
34595 &quot;document&quot;: { # A document content block.
34596 &quot;data&quot;: &quot;A String&quot;, # The document content.
34597 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
34598 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
34599 },
34600 &quot;image&quot;: { # An image content block.
34601 &quot;data&quot;: &quot;A String&quot;, # The image content.
34602 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
34603 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
34604 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
34605 },
34606 &quot;text&quot;: { # A text content block.
34607 &quot;annotations&quot;: [ # Citation information for model-generated content.
34608 { # Citation information for model-generated content.
34609 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
34610 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
34611 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
34612 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34613 { # Represents a single field in a struct.
34614 &quot;name&quot;: &quot;A String&quot;,
34615 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34616 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34617 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34618 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34619 # Object with schema name: GenaiVertexV1beta1Value
34620 ],
34621 },
34622 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34623 &quot;numberValue&quot;: 3.14, # Represents a double value.
34624 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34625 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34626 },
34627 },
34628 ],
34629 },
34630 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
34631 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
34632 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
34633 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
34634 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
34635 },
34636 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
34637 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
34638 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
34639 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
34640 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
34641 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
34642 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
34643 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
34644 },
34645 ],
34646 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
34647 },
34648 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
34649 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
34650 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
34651 &quot;url&quot;: &quot;A String&quot;, # The URL.
34652 },
34653 },
34654 ],
34655 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
34656 },
34657 &quot;thought&quot;: { # A thought content block.
34658 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
34659 &quot;summary&quot;: [ # A summary of the thought.
34660 {
34661 &quot;image&quot;: { # An image content block.
34662 &quot;data&quot;: &quot;A String&quot;, # The image content.
34663 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
34664 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
34665 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
34666 },
34667 &quot;text&quot;: { # A text content block.
34668 &quot;annotations&quot;: [ # Citation information for model-generated content.
34669 { # Citation information for model-generated content.
34670 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
34671 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
34672 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
34673 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34674 { # Represents a single field in a struct.
34675 &quot;name&quot;: &quot;A String&quot;,
34676 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34677 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34678 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34679 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34680 # Object with schema name: GenaiVertexV1beta1Value
34681 ],
34682 },
34683 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34684 &quot;numberValue&quot;: 3.14, # Represents a double value.
34685 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34686 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34687 },
34688 },
34689 ],
34690 },
34691 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
34692 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
34693 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
34694 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
34695 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
34696 },
34697 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
34698 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
34699 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
34700 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
34701 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
34702 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
34703 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
34704 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
34705 },
34706 ],
34707 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
34708 },
34709 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
34710 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
34711 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
34712 &quot;url&quot;: &quot;A String&quot;, # The URL.
34713 },
34714 },
34715 ],
34716 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
34717 },
34718 },
34719 ],
34720 },
34721 &quot;toolCall&quot;: { # Tool call content.
34722 &quot;codeExecutionCall&quot;: { # Code execution content.
34723 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
34724 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
34725 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
34726 },
34727 },
34728 &quot;fileSearchCall&quot;: { # File Search content.
34729 },
34730 &quot;functionCall&quot;: { # A function tool call content block.
34731 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
34732 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34733 { # Represents a single field in a struct.
34734 &quot;name&quot;: &quot;A String&quot;,
34735 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34736 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34737 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34738 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34739 # Object with schema name: GenaiVertexV1beta1Value
34740 ],
34741 },
34742 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34743 &quot;numberValue&quot;: 3.14, # Represents a double value.
34744 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34745 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34746 },
34747 },
34748 ],
34749 },
34750 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
34751 },
34752 &quot;googleMapsCall&quot;: { # Google Maps content.
34753 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
34754 &quot;queries&quot;: [ # The queries to be executed.
34755 &quot;A String&quot;,
34756 ],
34757 },
34758 },
34759 &quot;googleSearchCall&quot;: { # Google Search content.
34760 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
34761 &quot;queries&quot;: [ # Web search queries for the following-up web search.
34762 &quot;A String&quot;,
34763 ],
34764 },
34765 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
34766 },
34767 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
34768 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
34769 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
34770 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34771 { # Represents a single field in a struct.
34772 &quot;name&quot;: &quot;A String&quot;,
34773 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34774 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34775 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34776 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34777 # Object with schema name: GenaiVertexV1beta1Value
34778 ],
34779 },
34780 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34781 &quot;numberValue&quot;: 3.14, # Represents a double value.
34782 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34783 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34784 },
34785 },
34786 ],
34787 },
34788 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
34789 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
34790 },
34791 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
34792 &quot;urlContextCall&quot;: { # URL context content.
34793 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
34794 &quot;urls&quot;: [ # The URLs to fetch.
34795 &quot;A String&quot;,
34796 ],
34797 },
34798 },
34799 },
34800 &quot;toolResult&quot;: { # Tool result content.
34801 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
34802 &quot;codeExecutionResult&quot;: { # Code execution result content.
34803 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
34804 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
34805 },
34806 &quot;fileSearchResult&quot;: { # File Search result content.
34807 &quot;result&quot;: [ # Optional. The results of the File Search.
34808 { # The result of the File Search.
34809 },
34810 ],
34811 },
34812 &quot;functionResult&quot;: { # A function tool result content block.
34813 &quot;contentList&quot;: {
34814 &quot;contents&quot;: [
34815 {
34816 &quot;image&quot;: { # An image content block.
34817 &quot;data&quot;: &quot;A String&quot;, # The image content.
34818 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
34819 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
34820 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
34821 },
34822 &quot;text&quot;: { # A text content block.
34823 &quot;annotations&quot;: [ # Citation information for model-generated content.
34824 { # Citation information for model-generated content.
34825 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
34826 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
34827 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
34828 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34829 { # Represents a single field in a struct.
34830 &quot;name&quot;: &quot;A String&quot;,
34831 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34832 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34833 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34834 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34835 # Object with schema name: GenaiVertexV1beta1Value
34836 ],
34837 },
34838 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34839 &quot;numberValue&quot;: 3.14, # Represents a double value.
34840 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34841 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34842 },
34843 },
34844 ],
34845 },
34846 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
34847 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
34848 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
34849 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
34850 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
34851 },
34852 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
34853 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
34854 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
34855 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
34856 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
34857 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
34858 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
34859 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
34860 },
34861 ],
34862 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
34863 },
34864 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
34865 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
34866 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
34867 &quot;url&quot;: &quot;A String&quot;, # The URL.
34868 },
34869 },
34870 ],
34871 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
34872 },
34873 },
34874 ],
34875 },
34876 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
34877 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
34878 &quot;stringResult&quot;: &quot;A String&quot;,
34879 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
34880 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34881 { # Represents a single field in a struct.
34882 &quot;name&quot;: &quot;A String&quot;,
34883 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34884 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34885 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34886 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34887 # Object with schema name: GenaiVertexV1beta1Value
34888 ],
34889 },
34890 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34891 &quot;numberValue&quot;: 3.14, # Represents a double value.
34892 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34893 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34894 },
34895 },
34896 ],
34897 },
34898 },
34899 &quot;googleMapsResult&quot;: { # Google Maps result content.
34900 &quot;result&quot;: [ # Required. The results of the Google Maps.
34901 { # The result of the Google Maps.
34902 &quot;places&quot;: [ # The places that were found.
34903 {
34904 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
34905 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
34906 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
34907 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
34908 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
34909 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
34910 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
34911 },
34912 ],
34913 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
34914 },
34915 ],
34916 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
34917 },
34918 ],
34919 },
34920 &quot;googleSearchResult&quot;: { # Google Search result content.
34921 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
34922 &quot;result&quot;: [ # Required. The results of the Google Search.
34923 { # The result of the Google Search.
34924 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
34925 },
34926 ],
34927 },
34928 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
34929 &quot;contentList&quot;: {
34930 &quot;contents&quot;: [
34931 {
34932 &quot;image&quot;: { # An image content block.
34933 &quot;data&quot;: &quot;A String&quot;, # The image content.
34934 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
34935 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
34936 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
34937 },
34938 &quot;text&quot;: { # A text content block.
34939 &quot;annotations&quot;: [ # Citation information for model-generated content.
34940 { # Citation information for model-generated content.
34941 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
34942 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
34943 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
34944 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34945 { # Represents a single field in a struct.
34946 &quot;name&quot;: &quot;A String&quot;,
34947 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
34948 &quot;boolValue&quot;: True or False, # Represents a boolean value.
34949 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
34950 &quot;values&quot;: [ # Repeated field of dynamically typed values.
34951 # Object with schema name: GenaiVertexV1beta1Value
34952 ],
34953 },
34954 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
34955 &quot;numberValue&quot;: 3.14, # Represents a double value.
34956 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
34957 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
34958 },
34959 },
34960 ],
34961 },
34962 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
34963 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
34964 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
34965 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
34966 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
34967 },
34968 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
34969 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
34970 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
34971 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
34972 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
34973 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
34974 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
34975 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
34976 },
34977 ],
34978 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
34979 },
34980 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
34981 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
34982 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
34983 &quot;url&quot;: &quot;A String&quot;, # The URL.
34984 },
34985 },
34986 ],
34987 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
34988 },
34989 },
34990 ],
34991 },
34992 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
34993 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
34994 &quot;stringResult&quot;: &quot;A String&quot;,
34995 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
34996 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
34997 { # Represents a single field in a struct.
34998 &quot;name&quot;: &quot;A String&quot;,
34999 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35000 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35001 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35002 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35003 # Object with schema name: GenaiVertexV1beta1Value
35004 ],
35005 },
35006 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35007 &quot;numberValue&quot;: 3.14, # Represents a double value.
35008 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35009 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35010 },
35011 },
35012 ],
35013 },
35014 },
35015 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
35016 &quot;urlContextResult&quot;: { # URL context result content.
35017 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
35018 &quot;result&quot;: [ # Required. The results of the URL context.
35019 { # The result of the URL context.
35020 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
35021 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
35022 },
35023 ],
35024 },
35025 },
35026 &quot;video&quot;: { # A video content block.
35027 &quot;data&quot;: &quot;A String&quot;, # The video content.
35028 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
35029 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
35030 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
35031 },
35032 },
35033 ],
35034 },
35035 &quot;thought&quot;: { # A thought step.
35036 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
35037 &quot;summary&quot;: [ # A summary of the thought.
35038 { # The content of the response.
35039 &quot;audio&quot;: { # An audio content block.
35040 &quot;channels&quot;: 42, # The number of audio channels.
35041 &quot;data&quot;: &quot;A String&quot;, # The audio content.
35042 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
35043 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
35044 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
35045 },
35046 &quot;document&quot;: { # A document content block.
35047 &quot;data&quot;: &quot;A String&quot;, # The document content.
35048 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
35049 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
35050 },
35051 &quot;image&quot;: { # An image content block.
35052 &quot;data&quot;: &quot;A String&quot;, # The image content.
35053 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
35054 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
35055 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
35056 },
35057 &quot;text&quot;: { # A text content block.
35058 &quot;annotations&quot;: [ # Citation information for model-generated content.
35059 { # Citation information for model-generated content.
35060 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
35061 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
35062 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
35063 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35064 { # Represents a single field in a struct.
35065 &quot;name&quot;: &quot;A String&quot;,
35066 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35067 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35068 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35069 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35070 # Object with schema name: GenaiVertexV1beta1Value
35071 ],
35072 },
35073 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35074 &quot;numberValue&quot;: 3.14, # Represents a double value.
35075 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35076 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35077 },
35078 },
35079 ],
35080 },
35081 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
35082 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
35083 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
35084 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
35085 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
35086 },
35087 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
35088 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
35089 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
35090 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
35091 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
35092 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
35093 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
35094 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
35095 },
35096 ],
35097 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
35098 },
35099 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
35100 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
35101 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
35102 &quot;url&quot;: &quot;A String&quot;, # The URL.
35103 },
35104 },
35105 ],
35106 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
35107 },
35108 &quot;thought&quot;: { # A thought content block.
35109 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
35110 &quot;summary&quot;: [ # A summary of the thought.
35111 {
35112 &quot;image&quot;: { # An image content block.
35113 &quot;data&quot;: &quot;A String&quot;, # The image content.
35114 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
35115 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
35116 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
35117 },
35118 &quot;text&quot;: { # A text content block.
35119 &quot;annotations&quot;: [ # Citation information for model-generated content.
35120 { # Citation information for model-generated content.
35121 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
35122 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
35123 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
35124 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35125 { # Represents a single field in a struct.
35126 &quot;name&quot;: &quot;A String&quot;,
35127 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35128 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35129 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35130 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35131 # Object with schema name: GenaiVertexV1beta1Value
35132 ],
35133 },
35134 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35135 &quot;numberValue&quot;: 3.14, # Represents a double value.
35136 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35137 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35138 },
35139 },
35140 ],
35141 },
35142 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
35143 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
35144 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
35145 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
35146 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
35147 },
35148 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
35149 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
35150 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
35151 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
35152 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
35153 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
35154 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
35155 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
35156 },
35157 ],
35158 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
35159 },
35160 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
35161 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
35162 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
35163 &quot;url&quot;: &quot;A String&quot;, # The URL.
35164 },
35165 },
35166 ],
35167 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
35168 },
35169 },
35170 ],
35171 },
35172 &quot;toolCall&quot;: { # Tool call content.
35173 &quot;codeExecutionCall&quot;: { # Code execution content.
35174 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
35175 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
35176 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
35177 },
35178 },
35179 &quot;fileSearchCall&quot;: { # File Search content.
35180 },
35181 &quot;functionCall&quot;: { # A function tool call content block.
35182 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
35183 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35184 { # Represents a single field in a struct.
35185 &quot;name&quot;: &quot;A String&quot;,
35186 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35187 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35188 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35189 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35190 # Object with schema name: GenaiVertexV1beta1Value
35191 ],
35192 },
35193 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35194 &quot;numberValue&quot;: 3.14, # Represents a double value.
35195 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35196 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35197 },
35198 },
35199 ],
35200 },
35201 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
35202 },
35203 &quot;googleMapsCall&quot;: { # Google Maps content.
35204 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
35205 &quot;queries&quot;: [ # The queries to be executed.
35206 &quot;A String&quot;,
35207 ],
35208 },
35209 },
35210 &quot;googleSearchCall&quot;: { # Google Search content.
35211 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
35212 &quot;queries&quot;: [ # Web search queries for the following-up web search.
35213 &quot;A String&quot;,
35214 ],
35215 },
35216 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
35217 },
35218 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
35219 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
35220 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
35221 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35222 { # Represents a single field in a struct.
35223 &quot;name&quot;: &quot;A String&quot;,
35224 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35225 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35226 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35227 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35228 # Object with schema name: GenaiVertexV1beta1Value
35229 ],
35230 },
35231 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35232 &quot;numberValue&quot;: 3.14, # Represents a double value.
35233 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35234 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35235 },
35236 },
35237 ],
35238 },
35239 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
35240 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
35241 },
35242 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
35243 &quot;urlContextCall&quot;: { # URL context content.
35244 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
35245 &quot;urls&quot;: [ # The URLs to fetch.
35246 &quot;A String&quot;,
35247 ],
35248 },
35249 },
35250 },
35251 &quot;toolResult&quot;: { # Tool result content.
35252 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
35253 &quot;codeExecutionResult&quot;: { # Code execution result content.
35254 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
35255 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
35256 },
35257 &quot;fileSearchResult&quot;: { # File Search result content.
35258 &quot;result&quot;: [ # Optional. The results of the File Search.
35259 { # The result of the File Search.
35260 },
35261 ],
35262 },
35263 &quot;functionResult&quot;: { # A function tool result content block.
35264 &quot;contentList&quot;: {
35265 &quot;contents&quot;: [
35266 {
35267 &quot;image&quot;: { # An image content block.
35268 &quot;data&quot;: &quot;A String&quot;, # The image content.
35269 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
35270 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
35271 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
35272 },
35273 &quot;text&quot;: { # A text content block.
35274 &quot;annotations&quot;: [ # Citation information for model-generated content.
35275 { # Citation information for model-generated content.
35276 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
35277 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
35278 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
35279 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35280 { # Represents a single field in a struct.
35281 &quot;name&quot;: &quot;A String&quot;,
35282 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35283 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35284 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35285 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35286 # Object with schema name: GenaiVertexV1beta1Value
35287 ],
35288 },
35289 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35290 &quot;numberValue&quot;: 3.14, # Represents a double value.
35291 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35292 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35293 },
35294 },
35295 ],
35296 },
35297 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
35298 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
35299 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
35300 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
35301 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
35302 },
35303 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
35304 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
35305 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
35306 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
35307 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
35308 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
35309 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
35310 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
35311 },
35312 ],
35313 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
35314 },
35315 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
35316 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
35317 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
35318 &quot;url&quot;: &quot;A String&quot;, # The URL.
35319 },
35320 },
35321 ],
35322 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
35323 },
35324 },
35325 ],
35326 },
35327 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
35328 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
35329 &quot;stringResult&quot;: &quot;A String&quot;,
35330 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
35331 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35332 { # Represents a single field in a struct.
35333 &quot;name&quot;: &quot;A String&quot;,
35334 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35335 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35336 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35337 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35338 # Object with schema name: GenaiVertexV1beta1Value
35339 ],
35340 },
35341 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35342 &quot;numberValue&quot;: 3.14, # Represents a double value.
35343 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35344 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35345 },
35346 },
35347 ],
35348 },
35349 },
35350 &quot;googleMapsResult&quot;: { # Google Maps result content.
35351 &quot;result&quot;: [ # Required. The results of the Google Maps.
35352 { # The result of the Google Maps.
35353 &quot;places&quot;: [ # The places that were found.
35354 {
35355 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
35356 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
35357 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
35358 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
35359 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
35360 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
35361 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
35362 },
35363 ],
35364 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
35365 },
35366 ],
35367 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
35368 },
35369 ],
35370 },
35371 &quot;googleSearchResult&quot;: { # Google Search result content.
35372 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
35373 &quot;result&quot;: [ # Required. The results of the Google Search.
35374 { # The result of the Google Search.
35375 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
35376 },
35377 ],
35378 },
35379 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
35380 &quot;contentList&quot;: {
35381 &quot;contents&quot;: [
35382 {
35383 &quot;image&quot;: { # An image content block.
35384 &quot;data&quot;: &quot;A String&quot;, # The image content.
35385 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
35386 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
35387 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
35388 },
35389 &quot;text&quot;: { # A text content block.
35390 &quot;annotations&quot;: [ # Citation information for model-generated content.
35391 { # Citation information for model-generated content.
35392 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
35393 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
35394 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
35395 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35396 { # Represents a single field in a struct.
35397 &quot;name&quot;: &quot;A String&quot;,
35398 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35399 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35400 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35401 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35402 # Object with schema name: GenaiVertexV1beta1Value
35403 ],
35404 },
35405 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35406 &quot;numberValue&quot;: 3.14, # Represents a double value.
35407 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35408 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35409 },
35410 },
35411 ],
35412 },
35413 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
35414 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
35415 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
35416 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
35417 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
35418 },
35419 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
35420 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
35421 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
35422 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
35423 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
35424 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
35425 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
35426 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
35427 },
35428 ],
35429 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
35430 },
35431 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
35432 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
35433 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
35434 &quot;url&quot;: &quot;A String&quot;, # The URL.
35435 },
35436 },
35437 ],
35438 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
35439 },
35440 },
35441 ],
35442 },
35443 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
35444 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
35445 &quot;stringResult&quot;: &quot;A String&quot;,
35446 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
35447 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35448 { # Represents a single field in a struct.
35449 &quot;name&quot;: &quot;A String&quot;,
35450 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35451 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35452 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35453 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35454 # Object with schema name: GenaiVertexV1beta1Value
35455 ],
35456 },
35457 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35458 &quot;numberValue&quot;: 3.14, # Represents a double value.
35459 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35460 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35461 },
35462 },
35463 ],
35464 },
35465 },
35466 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
35467 &quot;urlContextResult&quot;: { # URL context result content.
35468 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
35469 &quot;result&quot;: [ # Required. The results of the URL context.
35470 { # The result of the URL context.
35471 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
35472 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
35473 },
35474 ],
35475 },
35476 },
35477 &quot;video&quot;: { # A video content block.
35478 &quot;data&quot;: &quot;A String&quot;, # The video content.
35479 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
35480 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
35481 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
35482 },
35483 },
35484 ],
35485 },
35486 &quot;toolCall&quot;: { # Tool call step.
35487 &quot;codeExecutionCall&quot;: { # Code execution call step.
35488 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
35489 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
35490 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
35491 },
35492 },
35493 &quot;fileSearchCall&quot;: { # File Search call step.
35494 },
35495 &quot;functionCall&quot;: { # A function tool call step.
35496 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
35497 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35498 { # Represents a single field in a struct.
35499 &quot;name&quot;: &quot;A String&quot;,
35500 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35501 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35502 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35503 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35504 # Object with schema name: GenaiVertexV1beta1Value
35505 ],
35506 },
35507 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35508 &quot;numberValue&quot;: 3.14, # Represents a double value.
35509 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35510 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35511 },
35512 },
35513 ],
35514 },
35515 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
35516 },
35517 &quot;googleMapsCall&quot;: { # Google Maps call step.
35518 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
35519 &quot;queries&quot;: [ # The queries to be executed.
35520 &quot;A String&quot;,
35521 ],
35522 },
35523 },
35524 &quot;googleSearchCall&quot;: { # Google Search call step.
35525 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
35526 &quot;queries&quot;: [ # Web search queries for the following-up web search.
35527 &quot;A String&quot;,
35528 ],
35529 },
35530 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
35531 },
35532 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
35533 &quot;mcpServerToolCall&quot;: { # MCPServer tool call step.
35534 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
35535 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35536 { # Represents a single field in a struct.
35537 &quot;name&quot;: &quot;A String&quot;,
35538 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35539 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35540 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35541 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35542 # Object with schema name: GenaiVertexV1beta1Value
35543 ],
35544 },
35545 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35546 &quot;numberValue&quot;: 3.14, # Represents a double value.
35547 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35548 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35549 },
35550 },
35551 ],
35552 },
35553 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
35554 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
35555 },
35556 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
35557 &quot;urlContextCall&quot;: { # URL context call step.
35558 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
35559 &quot;urls&quot;: [ # The URLs to fetch.
35560 &quot;A String&quot;,
35561 ],
35562 },
35563 },
35564 },
35565 &quot;toolResult&quot;: { # Tool result step.
35566 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
35567 &quot;codeExecutionResult&quot;: { # Code execution result step.
35568 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
35569 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
35570 },
35571 &quot;fileSearchResult&quot;: { # File Search result step.
35572 },
35573 &quot;functionResult&quot;: { # Result of a function tool call.
35574 &quot;contentList&quot;: { # A list of Content.
35575 &quot;contents&quot;: [ # The contents of the list.
35576 { # The content of the response.
35577 &quot;audio&quot;: { # An audio content block.
35578 &quot;channels&quot;: 42, # The number of audio channels.
35579 &quot;data&quot;: &quot;A String&quot;, # The audio content.
35580 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
35581 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
35582 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
35583 },
35584 &quot;document&quot;: { # A document content block.
35585 &quot;data&quot;: &quot;A String&quot;, # The document content.
35586 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
35587 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
35588 },
35589 &quot;image&quot;: { # An image content block.
35590 &quot;data&quot;: &quot;A String&quot;, # The image content.
35591 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
35592 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
35593 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
35594 },
35595 &quot;text&quot;: { # A text content block.
35596 &quot;annotations&quot;: [ # Citation information for model-generated content.
35597 { # Citation information for model-generated content.
35598 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
35599 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
35600 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
35601 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35602 { # Represents a single field in a struct.
35603 &quot;name&quot;: &quot;A String&quot;,
35604 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35605 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35606 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35607 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35608 # Object with schema name: GenaiVertexV1beta1Value
35609 ],
35610 },
35611 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35612 &quot;numberValue&quot;: 3.14, # Represents a double value.
35613 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35614 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35615 },
35616 },
35617 ],
35618 },
35619 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
35620 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
35621 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
35622 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
35623 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
35624 },
35625 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
35626 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
35627 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
35628 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
35629 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
35630 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
35631 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
35632 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
35633 },
35634 ],
35635 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
35636 },
35637 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
35638 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
35639 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
35640 &quot;url&quot;: &quot;A String&quot;, # The URL.
35641 },
35642 },
35643 ],
35644 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
35645 },
35646 &quot;thought&quot;: { # A thought content block.
35647 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
35648 &quot;summary&quot;: [ # A summary of the thought.
35649 {
35650 &quot;image&quot;: { # An image content block.
35651 &quot;data&quot;: &quot;A String&quot;, # The image content.
35652 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
35653 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
35654 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
35655 },
35656 &quot;text&quot;: { # A text content block.
35657 &quot;annotations&quot;: [ # Citation information for model-generated content.
35658 { # Citation information for model-generated content.
35659 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
35660 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
35661 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
35662 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35663 { # Represents a single field in a struct.
35664 &quot;name&quot;: &quot;A String&quot;,
35665 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35666 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35667 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35668 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35669 # Object with schema name: GenaiVertexV1beta1Value
35670 ],
35671 },
35672 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35673 &quot;numberValue&quot;: 3.14, # Represents a double value.
35674 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35675 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35676 },
35677 },
35678 ],
35679 },
35680 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
35681 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
35682 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
35683 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
35684 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
35685 },
35686 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
35687 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
35688 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
35689 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
35690 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
35691 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
35692 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
35693 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
35694 },
35695 ],
35696 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
35697 },
35698 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
35699 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
35700 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
35701 &quot;url&quot;: &quot;A String&quot;, # The URL.
35702 },
35703 },
35704 ],
35705 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
35706 },
35707 },
35708 ],
35709 },
35710 &quot;toolCall&quot;: { # Tool call content.
35711 &quot;codeExecutionCall&quot;: { # Code execution content.
35712 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
35713 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
35714 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
35715 },
35716 },
35717 &quot;fileSearchCall&quot;: { # File Search content.
35718 },
35719 &quot;functionCall&quot;: { # A function tool call content block.
35720 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
35721 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35722 { # Represents a single field in a struct.
35723 &quot;name&quot;: &quot;A String&quot;,
35724 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35725 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35726 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35727 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35728 # Object with schema name: GenaiVertexV1beta1Value
35729 ],
35730 },
35731 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35732 &quot;numberValue&quot;: 3.14, # Represents a double value.
35733 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35734 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35735 },
35736 },
35737 ],
35738 },
35739 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
35740 },
35741 &quot;googleMapsCall&quot;: { # Google Maps content.
35742 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
35743 &quot;queries&quot;: [ # The queries to be executed.
35744 &quot;A String&quot;,
35745 ],
35746 },
35747 },
35748 &quot;googleSearchCall&quot;: { # Google Search content.
35749 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
35750 &quot;queries&quot;: [ # Web search queries for the following-up web search.
35751 &quot;A String&quot;,
35752 ],
35753 },
35754 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
35755 },
35756 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
35757 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
35758 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
35759 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35760 { # Represents a single field in a struct.
35761 &quot;name&quot;: &quot;A String&quot;,
35762 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35763 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35764 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35765 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35766 # Object with schema name: GenaiVertexV1beta1Value
35767 ],
35768 },
35769 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35770 &quot;numberValue&quot;: 3.14, # Represents a double value.
35771 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35772 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35773 },
35774 },
35775 ],
35776 },
35777 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
35778 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
35779 },
35780 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
35781 &quot;urlContextCall&quot;: { # URL context content.
35782 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
35783 &quot;urls&quot;: [ # The URLs to fetch.
35784 &quot;A String&quot;,
35785 ],
35786 },
35787 },
35788 },
35789 &quot;toolResult&quot;: { # Tool result content.
35790 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
35791 &quot;codeExecutionResult&quot;: { # Code execution result content.
35792 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
35793 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
35794 },
35795 &quot;fileSearchResult&quot;: { # File Search result content.
35796 &quot;result&quot;: [ # Optional. The results of the File Search.
35797 { # The result of the File Search.
35798 },
35799 ],
35800 },
35801 &quot;functionResult&quot;: { # A function tool result content block.
35802 &quot;contentList&quot;: {
35803 &quot;contents&quot;: [
35804 {
35805 &quot;image&quot;: { # An image content block.
35806 &quot;data&quot;: &quot;A String&quot;, # The image content.
35807 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
35808 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
35809 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
35810 },
35811 &quot;text&quot;: { # A text content block.
35812 &quot;annotations&quot;: [ # Citation information for model-generated content.
35813 { # Citation information for model-generated content.
35814 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
35815 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
35816 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
35817 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35818 { # Represents a single field in a struct.
35819 &quot;name&quot;: &quot;A String&quot;,
35820 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35821 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35822 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35823 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35824 # Object with schema name: GenaiVertexV1beta1Value
35825 ],
35826 },
35827 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35828 &quot;numberValue&quot;: 3.14, # Represents a double value.
35829 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35830 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35831 },
35832 },
35833 ],
35834 },
35835 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
35836 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
35837 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
35838 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
35839 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
35840 },
35841 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
35842 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
35843 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
35844 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
35845 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
35846 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
35847 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
35848 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
35849 },
35850 ],
35851 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
35852 },
35853 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
35854 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
35855 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
35856 &quot;url&quot;: &quot;A String&quot;, # The URL.
35857 },
35858 },
35859 ],
35860 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
35861 },
35862 },
35863 ],
35864 },
35865 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
35866 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
35867 &quot;stringResult&quot;: &quot;A String&quot;,
35868 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
35869 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35870 { # Represents a single field in a struct.
35871 &quot;name&quot;: &quot;A String&quot;,
35872 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35873 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35874 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35875 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35876 # Object with schema name: GenaiVertexV1beta1Value
35877 ],
35878 },
35879 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35880 &quot;numberValue&quot;: 3.14, # Represents a double value.
35881 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35882 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35883 },
35884 },
35885 ],
35886 },
35887 },
35888 &quot;googleMapsResult&quot;: { # Google Maps result content.
35889 &quot;result&quot;: [ # Required. The results of the Google Maps.
35890 { # The result of the Google Maps.
35891 &quot;places&quot;: [ # The places that were found.
35892 {
35893 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
35894 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
35895 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
35896 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
35897 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
35898 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
35899 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
35900 },
35901 ],
35902 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
35903 },
35904 ],
35905 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
35906 },
35907 ],
35908 },
35909 &quot;googleSearchResult&quot;: { # Google Search result content.
35910 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
35911 &quot;result&quot;: [ # Required. The results of the Google Search.
35912 { # The result of the Google Search.
35913 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
35914 },
35915 ],
35916 },
35917 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
35918 &quot;contentList&quot;: {
35919 &quot;contents&quot;: [
35920 {
35921 &quot;image&quot;: { # An image content block.
35922 &quot;data&quot;: &quot;A String&quot;, # The image content.
35923 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
35924 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
35925 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
35926 },
35927 &quot;text&quot;: { # A text content block.
35928 &quot;annotations&quot;: [ # Citation information for model-generated content.
35929 { # Citation information for model-generated content.
35930 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
35931 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
35932 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
35933 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35934 { # Represents a single field in a struct.
35935 &quot;name&quot;: &quot;A String&quot;,
35936 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35937 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35938 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35939 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35940 # Object with schema name: GenaiVertexV1beta1Value
35941 ],
35942 },
35943 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35944 &quot;numberValue&quot;: 3.14, # Represents a double value.
35945 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35946 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35947 },
35948 },
35949 ],
35950 },
35951 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
35952 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
35953 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
35954 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
35955 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
35956 },
35957 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
35958 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
35959 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
35960 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
35961 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
35962 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
35963 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
35964 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
35965 },
35966 ],
35967 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
35968 },
35969 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
35970 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
35971 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
35972 &quot;url&quot;: &quot;A String&quot;, # The URL.
35973 },
35974 },
35975 ],
35976 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
35977 },
35978 },
35979 ],
35980 },
35981 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
35982 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
35983 &quot;stringResult&quot;: &quot;A String&quot;,
35984 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
35985 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
35986 { # Represents a single field in a struct.
35987 &quot;name&quot;: &quot;A String&quot;,
35988 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
35989 &quot;boolValue&quot;: True or False, # Represents a boolean value.
35990 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
35991 &quot;values&quot;: [ # Repeated field of dynamically typed values.
35992 # Object with schema name: GenaiVertexV1beta1Value
35993 ],
35994 },
35995 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
35996 &quot;numberValue&quot;: 3.14, # Represents a double value.
35997 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
35998 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
35999 },
36000 },
36001 ],
36002 },
36003 },
36004 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
36005 &quot;urlContextResult&quot;: { # URL context result content.
36006 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
36007 &quot;result&quot;: [ # Required. The results of the URL context.
36008 { # The result of the URL context.
36009 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
36010 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
36011 },
36012 ],
36013 },
36014 },
36015 &quot;video&quot;: { # A video content block.
36016 &quot;data&quot;: &quot;A String&quot;, # The video content.
36017 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
36018 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
36019 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
36020 },
36021 },
36022 ],
36023 },
36024 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
36025 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
36026 &quot;stringResult&quot;: &quot;A String&quot;,
36027 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
36028 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36029 { # Represents a single field in a struct.
36030 &quot;name&quot;: &quot;A String&quot;,
36031 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36032 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36033 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36034 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36035 # Object with schema name: GenaiVertexV1beta1Value
36036 ],
36037 },
36038 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36039 &quot;numberValue&quot;: 3.14, # Represents a double value.
36040 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36041 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36042 },
36043 },
36044 ],
36045 },
36046 },
36047 &quot;googleMapsResult&quot;: { # Google Maps result step.
36048 &quot;result&quot;: [
36049 { # The result of the Google Maps.
36050 &quot;places&quot;: [
36051 {
36052 &quot;name&quot;: &quot;A String&quot;,
36053 &quot;placeId&quot;: &quot;A String&quot;,
36054 &quot;reviewSnippets&quot;: [
36055 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
36056 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
36057 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
36058 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
36059 },
36060 ],
36061 &quot;url&quot;: &quot;A String&quot;,
36062 },
36063 ],
36064 &quot;widgetContextToken&quot;: &quot;A String&quot;,
36065 },
36066 ],
36067 },
36068 &quot;googleSearchResult&quot;: { # Google Search result step.
36069 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
36070 &quot;result&quot;: [ # Required. The results of the Google Search.
36071 { # The result of the Google Search.
36072 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
36073 },
36074 ],
36075 },
36076 &quot;mcpServerToolResult&quot;: { # MCPServer tool result step.
36077 &quot;contentList&quot;: { # A list of Content.
36078 &quot;contents&quot;: [ # The contents of the list.
36079 { # The content of the response.
36080 &quot;audio&quot;: { # An audio content block.
36081 &quot;channels&quot;: 42, # The number of audio channels.
36082 &quot;data&quot;: &quot;A String&quot;, # The audio content.
36083 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
36084 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
36085 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
36086 },
36087 &quot;document&quot;: { # A document content block.
36088 &quot;data&quot;: &quot;A String&quot;, # The document content.
36089 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
36090 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
36091 },
36092 &quot;image&quot;: { # An image content block.
36093 &quot;data&quot;: &quot;A String&quot;, # The image content.
36094 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
36095 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
36096 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
36097 },
36098 &quot;text&quot;: { # A text content block.
36099 &quot;annotations&quot;: [ # Citation information for model-generated content.
36100 { # Citation information for model-generated content.
36101 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
36102 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
36103 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
36104 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36105 { # Represents a single field in a struct.
36106 &quot;name&quot;: &quot;A String&quot;,
36107 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36108 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36109 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36110 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36111 # Object with schema name: GenaiVertexV1beta1Value
36112 ],
36113 },
36114 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36115 &quot;numberValue&quot;: 3.14, # Represents a double value.
36116 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36117 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36118 },
36119 },
36120 ],
36121 },
36122 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
36123 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
36124 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
36125 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
36126 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
36127 },
36128 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
36129 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
36130 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
36131 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
36132 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
36133 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
36134 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
36135 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
36136 },
36137 ],
36138 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
36139 },
36140 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
36141 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
36142 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
36143 &quot;url&quot;: &quot;A String&quot;, # The URL.
36144 },
36145 },
36146 ],
36147 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
36148 },
36149 &quot;thought&quot;: { # A thought content block.
36150 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
36151 &quot;summary&quot;: [ # A summary of the thought.
36152 {
36153 &quot;image&quot;: { # An image content block.
36154 &quot;data&quot;: &quot;A String&quot;, # The image content.
36155 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
36156 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
36157 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
36158 },
36159 &quot;text&quot;: { # A text content block.
36160 &quot;annotations&quot;: [ # Citation information for model-generated content.
36161 { # Citation information for model-generated content.
36162 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
36163 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
36164 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
36165 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36166 { # Represents a single field in a struct.
36167 &quot;name&quot;: &quot;A String&quot;,
36168 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36169 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36170 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36171 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36172 # Object with schema name: GenaiVertexV1beta1Value
36173 ],
36174 },
36175 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36176 &quot;numberValue&quot;: 3.14, # Represents a double value.
36177 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36178 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36179 },
36180 },
36181 ],
36182 },
36183 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
36184 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
36185 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
36186 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
36187 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
36188 },
36189 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
36190 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
36191 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
36192 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
36193 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
36194 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
36195 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
36196 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
36197 },
36198 ],
36199 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
36200 },
36201 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
36202 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
36203 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
36204 &quot;url&quot;: &quot;A String&quot;, # The URL.
36205 },
36206 },
36207 ],
36208 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
36209 },
36210 },
36211 ],
36212 },
36213 &quot;toolCall&quot;: { # Tool call content.
36214 &quot;codeExecutionCall&quot;: { # Code execution content.
36215 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
36216 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
36217 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
36218 },
36219 },
36220 &quot;fileSearchCall&quot;: { # File Search content.
36221 },
36222 &quot;functionCall&quot;: { # A function tool call content block.
36223 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
36224 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36225 { # Represents a single field in a struct.
36226 &quot;name&quot;: &quot;A String&quot;,
36227 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36228 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36229 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36230 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36231 # Object with schema name: GenaiVertexV1beta1Value
36232 ],
36233 },
36234 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36235 &quot;numberValue&quot;: 3.14, # Represents a double value.
36236 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36237 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36238 },
36239 },
36240 ],
36241 },
36242 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
36243 },
36244 &quot;googleMapsCall&quot;: { # Google Maps content.
36245 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
36246 &quot;queries&quot;: [ # The queries to be executed.
36247 &quot;A String&quot;,
36248 ],
36249 },
36250 },
36251 &quot;googleSearchCall&quot;: { # Google Search content.
36252 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
36253 &quot;queries&quot;: [ # Web search queries for the following-up web search.
36254 &quot;A String&quot;,
36255 ],
36256 },
36257 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
36258 },
36259 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
36260 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
36261 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
36262 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36263 { # Represents a single field in a struct.
36264 &quot;name&quot;: &quot;A String&quot;,
36265 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36266 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36267 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36268 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36269 # Object with schema name: GenaiVertexV1beta1Value
36270 ],
36271 },
36272 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36273 &quot;numberValue&quot;: 3.14, # Represents a double value.
36274 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36275 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36276 },
36277 },
36278 ],
36279 },
36280 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
36281 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
36282 },
36283 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
36284 &quot;urlContextCall&quot;: { # URL context content.
36285 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
36286 &quot;urls&quot;: [ # The URLs to fetch.
36287 &quot;A String&quot;,
36288 ],
36289 },
36290 },
36291 },
36292 &quot;toolResult&quot;: { # Tool result content.
36293 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
36294 &quot;codeExecutionResult&quot;: { # Code execution result content.
36295 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
36296 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
36297 },
36298 &quot;fileSearchResult&quot;: { # File Search result content.
36299 &quot;result&quot;: [ # Optional. The results of the File Search.
36300 { # The result of the File Search.
36301 },
36302 ],
36303 },
36304 &quot;functionResult&quot;: { # A function tool result content block.
36305 &quot;contentList&quot;: {
36306 &quot;contents&quot;: [
36307 {
36308 &quot;image&quot;: { # An image content block.
36309 &quot;data&quot;: &quot;A String&quot;, # The image content.
36310 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
36311 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
36312 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
36313 },
36314 &quot;text&quot;: { # A text content block.
36315 &quot;annotations&quot;: [ # Citation information for model-generated content.
36316 { # Citation information for model-generated content.
36317 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
36318 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
36319 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
36320 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36321 { # Represents a single field in a struct.
36322 &quot;name&quot;: &quot;A String&quot;,
36323 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36324 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36325 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36326 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36327 # Object with schema name: GenaiVertexV1beta1Value
36328 ],
36329 },
36330 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36331 &quot;numberValue&quot;: 3.14, # Represents a double value.
36332 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36333 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36334 },
36335 },
36336 ],
36337 },
36338 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
36339 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
36340 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
36341 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
36342 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
36343 },
36344 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
36345 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
36346 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
36347 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
36348 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
36349 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
36350 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
36351 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
36352 },
36353 ],
36354 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
36355 },
36356 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
36357 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
36358 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
36359 &quot;url&quot;: &quot;A String&quot;, # The URL.
36360 },
36361 },
36362 ],
36363 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
36364 },
36365 },
36366 ],
36367 },
36368 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
36369 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
36370 &quot;stringResult&quot;: &quot;A String&quot;,
36371 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
36372 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36373 { # Represents a single field in a struct.
36374 &quot;name&quot;: &quot;A String&quot;,
36375 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36376 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36377 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36378 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36379 # Object with schema name: GenaiVertexV1beta1Value
36380 ],
36381 },
36382 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36383 &quot;numberValue&quot;: 3.14, # Represents a double value.
36384 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36385 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36386 },
36387 },
36388 ],
36389 },
36390 },
36391 &quot;googleMapsResult&quot;: { # Google Maps result content.
36392 &quot;result&quot;: [ # Required. The results of the Google Maps.
36393 { # The result of the Google Maps.
36394 &quot;places&quot;: [ # The places that were found.
36395 {
36396 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
36397 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
36398 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
36399 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
36400 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
36401 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
36402 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
36403 },
36404 ],
36405 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
36406 },
36407 ],
36408 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
36409 },
36410 ],
36411 },
36412 &quot;googleSearchResult&quot;: { # Google Search result content.
36413 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
36414 &quot;result&quot;: [ # Required. The results of the Google Search.
36415 { # The result of the Google Search.
36416 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
36417 },
36418 ],
36419 },
36420 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
36421 &quot;contentList&quot;: {
36422 &quot;contents&quot;: [
36423 {
36424 &quot;image&quot;: { # An image content block.
36425 &quot;data&quot;: &quot;A String&quot;, # The image content.
36426 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
36427 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
36428 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
36429 },
36430 &quot;text&quot;: { # A text content block.
36431 &quot;annotations&quot;: [ # Citation information for model-generated content.
36432 { # Citation information for model-generated content.
36433 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
36434 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
36435 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
36436 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36437 { # Represents a single field in a struct.
36438 &quot;name&quot;: &quot;A String&quot;,
36439 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36440 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36441 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36442 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36443 # Object with schema name: GenaiVertexV1beta1Value
36444 ],
36445 },
36446 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36447 &quot;numberValue&quot;: 3.14, # Represents a double value.
36448 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36449 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36450 },
36451 },
36452 ],
36453 },
36454 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
36455 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
36456 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
36457 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
36458 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
36459 },
36460 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
36461 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
36462 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
36463 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
36464 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
36465 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
36466 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
36467 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
36468 },
36469 ],
36470 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
36471 },
36472 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
36473 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
36474 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
36475 &quot;url&quot;: &quot;A String&quot;, # The URL.
36476 },
36477 },
36478 ],
36479 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
36480 },
36481 },
36482 ],
36483 },
36484 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
36485 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
36486 &quot;stringResult&quot;: &quot;A String&quot;,
36487 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
36488 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36489 { # Represents a single field in a struct.
36490 &quot;name&quot;: &quot;A String&quot;,
36491 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36492 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36493 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36494 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36495 # Object with schema name: GenaiVertexV1beta1Value
36496 ],
36497 },
36498 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36499 &quot;numberValue&quot;: 3.14, # Represents a double value.
36500 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36501 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36502 },
36503 },
36504 ],
36505 },
36506 },
36507 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
36508 &quot;urlContextResult&quot;: { # URL context result content.
36509 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
36510 &quot;result&quot;: [ # Required. The results of the URL context.
36511 { # The result of the URL context.
36512 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
36513 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
36514 },
36515 ],
36516 },
36517 },
36518 &quot;video&quot;: { # A video content block.
36519 &quot;data&quot;: &quot;A String&quot;, # The video content.
36520 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
36521 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
36522 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
36523 },
36524 },
36525 ],
36526 },
36527 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
36528 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
36529 &quot;stringResult&quot;: &quot;A String&quot;,
36530 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
36531 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36532 { # Represents a single field in a struct.
36533 &quot;name&quot;: &quot;A String&quot;,
36534 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36535 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36536 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36537 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36538 # Object with schema name: GenaiVertexV1beta1Value
36539 ],
36540 },
36541 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36542 &quot;numberValue&quot;: 3.14, # Represents a double value.
36543 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36544 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36545 },
36546 },
36547 ],
36548 },
36549 },
36550 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
36551 &quot;urlContextResult&quot;: { # URL context result step.
36552 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
36553 &quot;result&quot;: [ # Required. The results of the URL context.
36554 { # The result of the URL context.
36555 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
36556 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
36557 },
36558 ],
36559 },
36560 },
36561 &quot;userInput&quot;: { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
36562 &quot;contentList&quot;: { # A list of Content. # The content of the step. An array of Content objects.
36563 &quot;contents&quot;: [ # The contents of the list.
36564 { # The content of the response.
36565 &quot;audio&quot;: { # An audio content block.
36566 &quot;channels&quot;: 42, # The number of audio channels.
36567 &quot;data&quot;: &quot;A String&quot;, # The audio content.
36568 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
36569 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
36570 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
36571 },
36572 &quot;document&quot;: { # A document content block.
36573 &quot;data&quot;: &quot;A String&quot;, # The document content.
36574 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
36575 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
36576 },
36577 &quot;image&quot;: { # An image content block.
36578 &quot;data&quot;: &quot;A String&quot;, # The image content.
36579 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
36580 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
36581 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
36582 },
36583 &quot;text&quot;: { # A text content block.
36584 &quot;annotations&quot;: [ # Citation information for model-generated content.
36585 { # Citation information for model-generated content.
36586 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
36587 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
36588 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
36589 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36590 { # Represents a single field in a struct.
36591 &quot;name&quot;: &quot;A String&quot;,
36592 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36593 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36594 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36595 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36596 # Object with schema name: GenaiVertexV1beta1Value
36597 ],
36598 },
36599 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36600 &quot;numberValue&quot;: 3.14, # Represents a double value.
36601 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36602 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36603 },
36604 },
36605 ],
36606 },
36607 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
36608 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
36609 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
36610 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
36611 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
36612 },
36613 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
36614 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
36615 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
36616 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
36617 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
36618 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
36619 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
36620 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
36621 },
36622 ],
36623 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
36624 },
36625 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
36626 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
36627 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
36628 &quot;url&quot;: &quot;A String&quot;, # The URL.
36629 },
36630 },
36631 ],
36632 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
36633 },
36634 &quot;thought&quot;: { # A thought content block.
36635 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
36636 &quot;summary&quot;: [ # A summary of the thought.
36637 {
36638 &quot;image&quot;: { # An image content block.
36639 &quot;data&quot;: &quot;A String&quot;, # The image content.
36640 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
36641 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
36642 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
36643 },
36644 &quot;text&quot;: { # A text content block.
36645 &quot;annotations&quot;: [ # Citation information for model-generated content.
36646 { # Citation information for model-generated content.
36647 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
36648 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
36649 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
36650 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36651 { # Represents a single field in a struct.
36652 &quot;name&quot;: &quot;A String&quot;,
36653 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36654 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36655 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36656 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36657 # Object with schema name: GenaiVertexV1beta1Value
36658 ],
36659 },
36660 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36661 &quot;numberValue&quot;: 3.14, # Represents a double value.
36662 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36663 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36664 },
36665 },
36666 ],
36667 },
36668 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
36669 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
36670 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
36671 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
36672 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
36673 },
36674 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
36675 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
36676 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
36677 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
36678 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
36679 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
36680 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
36681 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
36682 },
36683 ],
36684 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
36685 },
36686 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
36687 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
36688 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
36689 &quot;url&quot;: &quot;A String&quot;, # The URL.
36690 },
36691 },
36692 ],
36693 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
36694 },
36695 },
36696 ],
36697 },
36698 &quot;toolCall&quot;: { # Tool call content.
36699 &quot;codeExecutionCall&quot;: { # Code execution content.
36700 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
36701 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
36702 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
36703 },
36704 },
36705 &quot;fileSearchCall&quot;: { # File Search content.
36706 },
36707 &quot;functionCall&quot;: { # A function tool call content block.
36708 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
36709 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36710 { # Represents a single field in a struct.
36711 &quot;name&quot;: &quot;A String&quot;,
36712 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36713 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36714 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36715 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36716 # Object with schema name: GenaiVertexV1beta1Value
36717 ],
36718 },
36719 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36720 &quot;numberValue&quot;: 3.14, # Represents a double value.
36721 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36722 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36723 },
36724 },
36725 ],
36726 },
36727 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
36728 },
36729 &quot;googleMapsCall&quot;: { # Google Maps content.
36730 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
36731 &quot;queries&quot;: [ # The queries to be executed.
36732 &quot;A String&quot;,
36733 ],
36734 },
36735 },
36736 &quot;googleSearchCall&quot;: { # Google Search content.
36737 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
36738 &quot;queries&quot;: [ # Web search queries for the following-up web search.
36739 &quot;A String&quot;,
36740 ],
36741 },
36742 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
36743 },
36744 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
36745 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
36746 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
36747 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36748 { # Represents a single field in a struct.
36749 &quot;name&quot;: &quot;A String&quot;,
36750 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36751 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36752 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36753 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36754 # Object with schema name: GenaiVertexV1beta1Value
36755 ],
36756 },
36757 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36758 &quot;numberValue&quot;: 3.14, # Represents a double value.
36759 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36760 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36761 },
36762 },
36763 ],
36764 },
36765 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
36766 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
36767 },
36768 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
36769 &quot;urlContextCall&quot;: { # URL context content.
36770 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
36771 &quot;urls&quot;: [ # The URLs to fetch.
36772 &quot;A String&quot;,
36773 ],
36774 },
36775 },
36776 },
36777 &quot;toolResult&quot;: { # Tool result content.
36778 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
36779 &quot;codeExecutionResult&quot;: { # Code execution result content.
36780 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
36781 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
36782 },
36783 &quot;fileSearchResult&quot;: { # File Search result content.
36784 &quot;result&quot;: [ # Optional. The results of the File Search.
36785 { # The result of the File Search.
36786 },
36787 ],
36788 },
36789 &quot;functionResult&quot;: { # A function tool result content block.
36790 &quot;contentList&quot;: {
36791 &quot;contents&quot;: [
36792 {
36793 &quot;image&quot;: { # An image content block.
36794 &quot;data&quot;: &quot;A String&quot;, # The image content.
36795 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
36796 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
36797 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
36798 },
36799 &quot;text&quot;: { # A text content block.
36800 &quot;annotations&quot;: [ # Citation information for model-generated content.
36801 { # Citation information for model-generated content.
36802 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
36803 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
36804 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
36805 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36806 { # Represents a single field in a struct.
36807 &quot;name&quot;: &quot;A String&quot;,
36808 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36809 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36810 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36811 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36812 # Object with schema name: GenaiVertexV1beta1Value
36813 ],
36814 },
36815 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36816 &quot;numberValue&quot;: 3.14, # Represents a double value.
36817 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36818 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36819 },
36820 },
36821 ],
36822 },
36823 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
36824 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
36825 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
36826 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
36827 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
36828 },
36829 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
36830 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
36831 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
36832 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
36833 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
36834 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
36835 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
36836 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
36837 },
36838 ],
36839 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
36840 },
36841 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
36842 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
36843 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
36844 &quot;url&quot;: &quot;A String&quot;, # The URL.
36845 },
36846 },
36847 ],
36848 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
36849 },
36850 },
36851 ],
36852 },
36853 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
36854 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
36855 &quot;stringResult&quot;: &quot;A String&quot;,
36856 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
36857 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36858 { # Represents a single field in a struct.
36859 &quot;name&quot;: &quot;A String&quot;,
36860 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36861 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36862 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36863 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36864 # Object with schema name: GenaiVertexV1beta1Value
36865 ],
36866 },
36867 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36868 &quot;numberValue&quot;: 3.14, # Represents a double value.
36869 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36870 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36871 },
36872 },
36873 ],
36874 },
36875 },
36876 &quot;googleMapsResult&quot;: { # Google Maps result content.
36877 &quot;result&quot;: [ # Required. The results of the Google Maps.
36878 { # The result of the Google Maps.
36879 &quot;places&quot;: [ # The places that were found.
36880 {
36881 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
36882 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
36883 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
36884 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
36885 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
36886 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
36887 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
36888 },
36889 ],
36890 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
36891 },
36892 ],
36893 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
36894 },
36895 ],
36896 },
36897 &quot;googleSearchResult&quot;: { # Google Search result content.
36898 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
36899 &quot;result&quot;: [ # Required. The results of the Google Search.
36900 { # The result of the Google Search.
36901 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
36902 },
36903 ],
36904 },
36905 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
36906 &quot;contentList&quot;: {
36907 &quot;contents&quot;: [
36908 {
36909 &quot;image&quot;: { # An image content block.
36910 &quot;data&quot;: &quot;A String&quot;, # The image content.
36911 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
36912 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
36913 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
36914 },
36915 &quot;text&quot;: { # A text content block.
36916 &quot;annotations&quot;: [ # Citation information for model-generated content.
36917 { # Citation information for model-generated content.
36918 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
36919 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
36920 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
36921 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36922 { # Represents a single field in a struct.
36923 &quot;name&quot;: &quot;A String&quot;,
36924 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36925 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36926 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36927 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36928 # Object with schema name: GenaiVertexV1beta1Value
36929 ],
36930 },
36931 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36932 &quot;numberValue&quot;: 3.14, # Represents a double value.
36933 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36934 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36935 },
36936 },
36937 ],
36938 },
36939 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
36940 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
36941 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
36942 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
36943 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
36944 },
36945 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
36946 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
36947 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
36948 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
36949 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
36950 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
36951 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
36952 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
36953 },
36954 ],
36955 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
36956 },
36957 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
36958 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
36959 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
36960 &quot;url&quot;: &quot;A String&quot;, # The URL.
36961 },
36962 },
36963 ],
36964 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
36965 },
36966 },
36967 ],
36968 },
36969 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
36970 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
36971 &quot;stringResult&quot;: &quot;A String&quot;,
36972 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
36973 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
36974 { # Represents a single field in a struct.
36975 &quot;name&quot;: &quot;A String&quot;,
36976 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
36977 &quot;boolValue&quot;: True or False, # Represents a boolean value.
36978 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
36979 &quot;values&quot;: [ # Repeated field of dynamically typed values.
36980 # Object with schema name: GenaiVertexV1beta1Value
36981 ],
36982 },
36983 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
36984 &quot;numberValue&quot;: 3.14, # Represents a double value.
36985 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
36986 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
36987 },
36988 },
36989 ],
36990 },
36991 },
36992 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
36993 &quot;urlContextResult&quot;: { # URL context result content.
36994 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
36995 &quot;result&quot;: [ # Required. The results of the URL context.
36996 { # The result of the URL context.
36997 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
36998 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
36999 },
37000 ],
37001 },
37002 },
37003 &quot;video&quot;: { # A video content block.
37004 &quot;data&quot;: &quot;A String&quot;, # The video content.
37005 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
37006 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
37007 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
37008 },
37009 },
37010 ],
37011 },
37012 &quot;contentString&quot;: &quot;A String&quot;, # The content of the step. A single string.
37013 },
37014 },
37015 ],
37016 &quot;stringContent&quot;: &quot;A String&quot;, # A string input for the interaction, it will be processed as a single text input.
37017 &quot;systemInstruction&quot;: &quot;A String&quot;, # System instruction for the interaction.
37018 &quot;tools&quot;: [ # A list of tool declarations the model may call during interaction.
37019 { # A tool that can be used by the model.
37020 &quot;codeExecution&quot;: { # A tool that can be used by the model to execute code. # A tool that can be used by the model to execute code.
37021 },
37022 &quot;computerUse&quot;: { # A tool that can be used by the model to interact with the computer. # Tool to support the model interacting directly with the computer.
37023 &quot;environment&quot;: &quot;A String&quot;, # The environment being operated.
37024 &quot;excludedPredefinedFunctions&quot;: [ # The list of predefined functions that are excluded from the model call.
37025 &quot;A String&quot;,
37026 ],
37027 },
37028 &quot;fileSearch&quot;: { # A tool that can be used by the model to search files. # A tool that can be used by the model to search files.
37029 &quot;fileSearchStoreNames&quot;: [ # The file search store names to search.
37030 &quot;A String&quot;,
37031 ],
37032 &quot;metadataFilter&quot;: &quot;A String&quot;, # Metadata filter to apply to the semantic retrieval documents and chunks.
37033 &quot;topK&quot;: 42, # The number of semantic retrieval chunks to retrieve.
37034 },
37035 &quot;function&quot;: { # A tool that can be used by the model. # A function that can be used by the model.
37036 &quot;description&quot;: &quot;A String&quot;, # A description of the function.
37037 &quot;name&quot;: &quot;A String&quot;, # The name of the function.
37038 &quot;parameters&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # The JSON Schema for the function&#x27;s parameters.
37039 &quot;boolValue&quot;: True or False, # Represents a boolean value.
37040 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
37041 &quot;values&quot;: [ # Repeated field of dynamically typed values.
37042 # Object with schema name: GenaiVertexV1beta1Value
37043 ],
37044 },
37045 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
37046 &quot;numberValue&quot;: 3.14, # Represents a double value.
37047 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
37048 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
37049 },
37050 },
37051 &quot;googleMaps&quot;: { # A tool that can be used by the model to call Google Maps. # A tool that can be used by the model to search Google Maps.
37052 &quot;enableWidget&quot;: True or False, # Whether to return a widget context token in the tool call result of the response.
37053 &quot;latitude&quot;: 3.14, # The latitude of the user&#x27;s location.
37054 &quot;longitude&quot;: 3.14, # The longitude of the user&#x27;s location.
37055 },
37056 &quot;googleSearch&quot;: { # A tool that can be used by the model to search Google. # A tool that can be used by the model to search Google.
37057 &quot;searchTypes&quot;: [ # The types of search grounding to enable.
37058 &quot;A String&quot;,
37059 ],
37060 },
37061 &quot;mcpServer&quot;: { # A MCPServer is a server that can be called by the model to perform actions. # A MCPServer is a server that can be called by the model to perform actions.
37062 &quot;allowedTools&quot;: [ # The allowed tools.
37063 { # The configuration for allowed tools.
37064 &quot;mode&quot;: &quot;A String&quot;, # The mode of the tool choice.
37065 &quot;tools&quot;: [ # The names of the allowed tools.
37066 &quot;A String&quot;,
37067 ],
37068 },
37069 ],
37070 &quot;headers&quot;: { # Optional: Fields for authentication headers, timeouts, etc., if needed.
37071 &quot;a_key&quot;: &quot;A String&quot;,
37072 },
37073 &quot;name&quot;: &quot;A String&quot;, # The name of the MCPServer.
37074 &quot;url&quot;: &quot;A String&quot;, # The full URL for the MCPServer endpoint. Example: &quot;https://api.example.com/mcp&quot;
37075 },
37076 &quot;retrieval&quot;: { # A tool that can be used by the model to retrieve files. # A tool that can be used by the model to retrieve files.
37077 &quot;exa_ai_search_config&quot;: { # Used to specify configuration for ExaAISearch. # Used to specify configuration for ExaAISearch.
37078 &quot;api_key&quot;: &quot;A String&quot;, # Required. The API key for ExaAiSearch.
37079 &quot;custom_config&quot;: { # Optional. This field can be used to pass any parameter from the Exa.ai Search API.
37080 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
37081 },
37082 },
37083 &quot;parallel_ai_search_config&quot;: { # Used to specify configuration for ParallelAISearch. # Used to specify configuration for ParallelAISearch.
37084 &quot;api_key&quot;: &quot;A String&quot;, # Optional. The API key for ParallelAiSearch.
37085 &quot;custom_config&quot;: { # Optional. Custom configs for ParallelAiSearch.
37086 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
37087 },
37088 },
37089 &quot;rag_store_config&quot;: { # Use to specify configuration for RAG Store. # Used to specify configuration for RagStore.
37090 &quot;rag_resources&quot;: [ # Optional. The representation of the rag source.
37091 { # The definition of the Rag resource.
37092 &quot;rag_corpus&quot;: &quot;A String&quot;, # Optional. RagCorpora resource name.
37093 &quot;rag_file_ids&quot;: [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
37094 &quot;A String&quot;,
37095 ],
37096 },
37097 ],
37098 &quot;rag_retrieval_config&quot;: { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
37099 &quot;filter&quot;: { # Config for filters. # Optional. Config for filters.
37100 &quot;metadata_filter&quot;: &quot;A String&quot;, # Optional. String for metadata filtering.
37101 &quot;vector_distance_threshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
37102 &quot;vector_similarity_threshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
37103 },
37104 &quot;hybrid_search&quot;: { # Config for Hybrid Search. # Optional. Config for Hybrid Search.
37105 &quot;alpha&quot;: 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results.
37106 },
37107 &quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
37108 &quot;rank_service&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
37109 &quot;model_name&quot;: &quot;A String&quot;, # Optional. The model name of the rank service.
37110 },
37111 },
37112 &quot;top_k&quot;: 42, # Optional. The number of contexts to retrieve.
37113 },
37114 &quot;similarity_top_k&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
37115 &quot;vector_distance_threshold&quot;: 3.14, # Optional. Only return results with vector distance smaller than the threshold.
37116 },
37117 &quot;retrievalTypes&quot;: [ # The types of file retrieval to enable.
37118 &quot;A String&quot;,
37119 ],
37120 &quot;vertex_ai_search_config&quot;: { # Used to specify configuration for VertexAISearch. # Used to specify configuration for VertexAISearch.
37121 &quot;datastores&quot;: [ # Optional. Used to specify Vertex AI Search datastores.
37122 &quot;A String&quot;,
37123 ],
37124 &quot;engine&quot;: &quot;A String&quot;, # Optional. Used to specify Vertex AI Search engine.
37125 },
37126 },
37127 &quot;urlContext&quot;: { # A tool that can be used by the model to fetch URL context. # A tool that can be used by the model to fetch URL context.
37128 },
37129 },
37130 ],
37131 &quot;turnList&quot;: { # A list of Turns. # The turns for the interaction.
37132 &quot;turns&quot;: [
37133 {
37134 &quot;contentList&quot;: { # A list of Content. # The content of the turn. An array of Content objects.
37135 &quot;contents&quot;: [ # The contents of the list.
37136 { # The content of the response.
37137 &quot;audio&quot;: { # An audio content block.
37138 &quot;channels&quot;: 42, # The number of audio channels.
37139 &quot;data&quot;: &quot;A String&quot;, # The audio content.
37140 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
37141 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
37142 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
37143 },
37144 &quot;document&quot;: { # A document content block.
37145 &quot;data&quot;: &quot;A String&quot;, # The document content.
37146 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
37147 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
37148 },
37149 &quot;image&quot;: { # An image content block.
37150 &quot;data&quot;: &quot;A String&quot;, # The image content.
37151 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
37152 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
37153 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
37154 },
37155 &quot;text&quot;: { # A text content block.
37156 &quot;annotations&quot;: [ # Citation information for model-generated content.
37157 { # Citation information for model-generated content.
37158 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
37159 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
37160 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
37161 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
37162 { # Represents a single field in a struct.
37163 &quot;name&quot;: &quot;A String&quot;,
37164 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
37165 &quot;boolValue&quot;: True or False, # Represents a boolean value.
37166 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
37167 &quot;values&quot;: [ # Repeated field of dynamically typed values.
37168 # Object with schema name: GenaiVertexV1beta1Value
37169 ],
37170 },
37171 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
37172 &quot;numberValue&quot;: 3.14, # Represents a double value.
37173 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
37174 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
37175 },
37176 },
37177 ],
37178 },
37179 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
37180 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
37181 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
37182 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
37183 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
37184 },
37185 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
37186 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
37187 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
37188 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
37189 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
37190 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
37191 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
37192 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
37193 },
37194 ],
37195 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
37196 },
37197 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
37198 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
37199 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
37200 &quot;url&quot;: &quot;A String&quot;, # The URL.
37201 },
37202 },
37203 ],
37204 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
37205 },
37206 &quot;thought&quot;: { # A thought content block.
37207 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
37208 &quot;summary&quot;: [ # A summary of the thought.
37209 {
37210 &quot;image&quot;: { # An image content block.
37211 &quot;data&quot;: &quot;A String&quot;, # The image content.
37212 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
37213 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
37214 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
37215 },
37216 &quot;text&quot;: { # A text content block.
37217 &quot;annotations&quot;: [ # Citation information for model-generated content.
37218 { # Citation information for model-generated content.
37219 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
37220 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
37221 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
37222 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
37223 { # Represents a single field in a struct.
37224 &quot;name&quot;: &quot;A String&quot;,
37225 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
37226 &quot;boolValue&quot;: True or False, # Represents a boolean value.
37227 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
37228 &quot;values&quot;: [ # Repeated field of dynamically typed values.
37229 # Object with schema name: GenaiVertexV1beta1Value
37230 ],
37231 },
37232 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
37233 &quot;numberValue&quot;: 3.14, # Represents a double value.
37234 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
37235 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
37236 },
37237 },
37238 ],
37239 },
37240 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
37241 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
37242 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
37243 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
37244 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
37245 },
37246 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
37247 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
37248 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
37249 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
37250 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
37251 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
37252 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
37253 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
37254 },
37255 ],
37256 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
37257 },
37258 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
37259 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
37260 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
37261 &quot;url&quot;: &quot;A String&quot;, # The URL.
37262 },
37263 },
37264 ],
37265 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
37266 },
37267 },
37268 ],
37269 },
37270 &quot;toolCall&quot;: { # Tool call content.
37271 &quot;codeExecutionCall&quot;: { # Code execution content.
37272 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
37273 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
37274 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
37275 },
37276 },
37277 &quot;fileSearchCall&quot;: { # File Search content.
37278 },
37279 &quot;functionCall&quot;: { # A function tool call content block.
37280 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
37281 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
37282 { # Represents a single field in a struct.
37283 &quot;name&quot;: &quot;A String&quot;,
37284 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
37285 &quot;boolValue&quot;: True or False, # Represents a boolean value.
37286 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
37287 &quot;values&quot;: [ # Repeated field of dynamically typed values.
37288 # Object with schema name: GenaiVertexV1beta1Value
37289 ],
37290 },
37291 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
37292 &quot;numberValue&quot;: 3.14, # Represents a double value.
37293 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
37294 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
37295 },
37296 },
37297 ],
37298 },
37299 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
37300 },
37301 &quot;googleMapsCall&quot;: { # Google Maps content.
37302 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
37303 &quot;queries&quot;: [ # The queries to be executed.
37304 &quot;A String&quot;,
37305 ],
37306 },
37307 },
37308 &quot;googleSearchCall&quot;: { # Google Search content.
37309 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
37310 &quot;queries&quot;: [ # Web search queries for the following-up web search.
37311 &quot;A String&quot;,
37312 ],
37313 },
37314 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
37315 },
37316 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
37317 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
37318 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
37319 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
37320 { # Represents a single field in a struct.
37321 &quot;name&quot;: &quot;A String&quot;,
37322 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
37323 &quot;boolValue&quot;: True or False, # Represents a boolean value.
37324 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
37325 &quot;values&quot;: [ # Repeated field of dynamically typed values.
37326 # Object with schema name: GenaiVertexV1beta1Value
37327 ],
37328 },
37329 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
37330 &quot;numberValue&quot;: 3.14, # Represents a double value.
37331 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
37332 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
37333 },
37334 },
37335 ],
37336 },
37337 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
37338 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
37339 },
37340 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
37341 &quot;urlContextCall&quot;: { # URL context content.
37342 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
37343 &quot;urls&quot;: [ # The URLs to fetch.
37344 &quot;A String&quot;,
37345 ],
37346 },
37347 },
37348 },
37349 &quot;toolResult&quot;: { # Tool result content.
37350 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
37351 &quot;codeExecutionResult&quot;: { # Code execution result content.
37352 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
37353 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
37354 },
37355 &quot;fileSearchResult&quot;: { # File Search result content.
37356 &quot;result&quot;: [ # Optional. The results of the File Search.
37357 { # The result of the File Search.
37358 },
37359 ],
37360 },
37361 &quot;functionResult&quot;: { # A function tool result content block.
37362 &quot;contentList&quot;: {
37363 &quot;contents&quot;: [
37364 {
37365 &quot;image&quot;: { # An image content block.
37366 &quot;data&quot;: &quot;A String&quot;, # The image content.
37367 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
37368 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
37369 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
37370 },
37371 &quot;text&quot;: { # A text content block.
37372 &quot;annotations&quot;: [ # Citation information for model-generated content.
37373 { # Citation information for model-generated content.
37374 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
37375 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
37376 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
37377 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
37378 { # Represents a single field in a struct.
37379 &quot;name&quot;: &quot;A String&quot;,
37380 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
37381 &quot;boolValue&quot;: True or False, # Represents a boolean value.
37382 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
37383 &quot;values&quot;: [ # Repeated field of dynamically typed values.
37384 # Object with schema name: GenaiVertexV1beta1Value
37385 ],
37386 },
37387 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
37388 &quot;numberValue&quot;: 3.14, # Represents a double value.
37389 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
37390 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
37391 },
37392 },
37393 ],
37394 },
37395 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
37396 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
37397 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
37398 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
37399 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
37400 },
37401 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
37402 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
37403 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
37404 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
37405 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
37406 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
37407 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
37408 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
37409 },
37410 ],
37411 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
37412 },
37413 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
37414 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
37415 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
37416 &quot;url&quot;: &quot;A String&quot;, # The URL.
37417 },
37418 },
37419 ],
37420 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
37421 },
37422 },
37423 ],
37424 },
37425 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
37426 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
37427 &quot;stringResult&quot;: &quot;A String&quot;,
37428 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
37429 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
37430 { # Represents a single field in a struct.
37431 &quot;name&quot;: &quot;A String&quot;,
37432 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
37433 &quot;boolValue&quot;: True or False, # Represents a boolean value.
37434 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
37435 &quot;values&quot;: [ # Repeated field of dynamically typed values.
37436 # Object with schema name: GenaiVertexV1beta1Value
37437 ],
37438 },
37439 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
37440 &quot;numberValue&quot;: 3.14, # Represents a double value.
37441 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
37442 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
37443 },
37444 },
37445 ],
37446 },
37447 },
37448 &quot;googleMapsResult&quot;: { # Google Maps result content.
37449 &quot;result&quot;: [ # Required. The results of the Google Maps.
37450 { # The result of the Google Maps.
37451 &quot;places&quot;: [ # The places that were found.
37452 {
37453 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
37454 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
37455 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
37456 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
37457 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
37458 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
37459 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
37460 },
37461 ],
37462 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
37463 },
37464 ],
37465 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
37466 },
37467 ],
37468 },
37469 &quot;googleSearchResult&quot;: { # Google Search result content.
37470 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
37471 &quot;result&quot;: [ # Required. The results of the Google Search.
37472 { # The result of the Google Search.
37473 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
37474 },
37475 ],
37476 },
37477 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
37478 &quot;contentList&quot;: {
37479 &quot;contents&quot;: [
37480 {
37481 &quot;image&quot;: { # An image content block.
37482 &quot;data&quot;: &quot;A String&quot;, # The image content.
37483 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
37484 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
37485 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
37486 },
37487 &quot;text&quot;: { # A text content block.
37488 &quot;annotations&quot;: [ # Citation information for model-generated content.
37489 { # Citation information for model-generated content.
37490 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
37491 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
37492 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
37493 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
37494 { # Represents a single field in a struct.
37495 &quot;name&quot;: &quot;A String&quot;,
37496 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
37497 &quot;boolValue&quot;: True or False, # Represents a boolean value.
37498 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
37499 &quot;values&quot;: [ # Repeated field of dynamically typed values.
37500 # Object with schema name: GenaiVertexV1beta1Value
37501 ],
37502 },
37503 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
37504 &quot;numberValue&quot;: 3.14, # Represents a double value.
37505 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
37506 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
37507 },
37508 },
37509 ],
37510 },
37511 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
37512 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
37513 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
37514 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
37515 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
37516 },
37517 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
37518 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
37519 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
37520 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
37521 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
37522 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
37523 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
37524 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
37525 },
37526 ],
37527 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
37528 },
37529 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
37530 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
37531 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
37532 &quot;url&quot;: &quot;A String&quot;, # The URL.
37533 },
37534 },
37535 ],
37536 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
37537 },
37538 },
37539 ],
37540 },
37541 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
37542 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
37543 &quot;stringResult&quot;: &quot;A String&quot;,
37544 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
37545 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
37546 { # Represents a single field in a struct.
37547 &quot;name&quot;: &quot;A String&quot;,
37548 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
37549 &quot;boolValue&quot;: True or False, # Represents a boolean value.
37550 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
37551 &quot;values&quot;: [ # Repeated field of dynamically typed values.
37552 # Object with schema name: GenaiVertexV1beta1Value
37553 ],
37554 },
37555 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
37556 &quot;numberValue&quot;: 3.14, # Represents a double value.
37557 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
37558 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
37559 },
37560 },
37561 ],
37562 },
37563 },
37564 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
37565 &quot;urlContextResult&quot;: { # URL context result content.
37566 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
37567 &quot;result&quot;: [ # Required. The results of the URL context.
37568 { # The result of the URL context.
37569 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
37570 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
37571 },
37572 ],
37573 },
37574 },
37575 &quot;video&quot;: { # A video content block.
37576 &quot;data&quot;: &quot;A String&quot;, # The video content.
37577 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
37578 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
37579 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
37580 },
37581 },
37582 ],
37583 },
37584 &quot;contentString&quot;: &quot;A String&quot;, # The content of the turn. A single string.
37585 &quot;role&quot;: &quot;A String&quot;, # The originator of this turn. Must be user for input or model for model output.
37586 },
37587 ],
37588 },
37589 &quot;updated&quot;: &quot;A String&quot;, # Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
37590 &quot;usage&quot;: { # Statistics on the interaction request&#x27;s token usage. # Output only. Statistics on the interaction request&#x27;s token usage.
37591 &quot;cachedTokensByModality&quot;: [ # A breakdown of cached token usage by modality.
37592 { # The token count for a single response modality.
37593 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
37594 &quot;tokens&quot;: 42, # Number of tokens for the modality.
37595 },
37596 ],
37597 &quot;groundingToolCount&quot;: [ # Grounding tool count.
37598 { # The number of grounding tool counts.
37599 &quot;count&quot;: 42, # The number of grounding tool counts.
37600 &quot;type&quot;: &quot;A String&quot;, # The grounding tool type associated with the count.
37601 },
37602 ],
37603 &quot;inputTokensByModality&quot;: [ # A breakdown of input token usage by modality.
37604 { # The token count for a single response modality.
37605 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
37606 &quot;tokens&quot;: 42, # Number of tokens for the modality.
37607 },
37608 ],
37609 &quot;outputTokensByModality&quot;: [ # A breakdown of output token usage by modality.
37610 { # The token count for a single response modality.
37611 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
37612 &quot;tokens&quot;: 42, # Number of tokens for the modality.
37613 },
37614 ],
37615 &quot;toolUseTokensByModality&quot;: [ # A breakdown of tool-use token usage by modality.
37616 { # The token count for a single response modality.
37617 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
37618 &quot;tokens&quot;: 42, # Number of tokens for the modality.
37619 },
37620 ],
37621 &quot;totalCachedTokens&quot;: 42, # Number of tokens in the cached part of the prompt (the cached content).
37622 &quot;totalInputTokens&quot;: 42, # Number of tokens in the prompt (context).
37623 &quot;totalOutputTokens&quot;: 42, # Total number of tokens across all the generated responses.
37624 &quot;totalThoughtTokens&quot;: 42, # Number of tokens of thoughts for thinking models.
37625 &quot;totalTokens&quot;: 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
37626 &quot;totalToolUseTokens&quot;: 42, # Number of tokens present in tool-use prompt(s).
37627 },
37628 },
37629 },
37630 &quot;interactionStartEvent&quot;: { # The interaction data, used for interaction.start events.
37631 &quot;interaction&quot;: { # Response for InteractionService.CreateInteraction.
37632 &quot;agentInteraction&quot;: { # Interaction for generating the completion using agents. # Interaction for generating the completion using agents.
37633 &quot;agent&quot;: &quot;A String&quot;, # The name of the `Agent` used for generating the completion.
37634 &quot;code_mender_config&quot;: { # Configuration for the CodeMender agent.
37635 &quot;find_request&quot;: { # Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. # Parameters for finding vulnerabilities.
37636 &quot;description&quot;: &quot;A String&quot;, # Additional context or custom instructions provided by the user to guide the vulnerability analysis.
37637 &quot;finding_id&quot;: &quot;A String&quot;, # The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent&#x27;s execution-based validation on a single vulnerability.
37638 &quot;source_files&quot;: [ # A list of source files to provide as context for the scan.
37639 { # Content of a single file in the codebase.
37640 &quot;content&quot;: &quot;A String&quot;, # The UTF-8 encoded text content of the file.
37641 &quot;path&quot;: &quot;A String&quot;, # The relative path of the file from the project root.
37642 },
37643 ],
37644 },
37645 &quot;fix_request&quot;: { # Request parameters specific to FIX sessions, used for generating and validating security patches. # Parameters for fixing vulnerabilities.
37646 &quot;description&quot;: &quot;A String&quot;, # Additional context or custom instructions provided by the user to guide the patch generation process.
37647 &quot;finding_id&quot;: &quot;A String&quot;, # The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.
37648 &quot;source_files&quot;: [ # A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.
37649 { # Content of a single file in the codebase.
37650 &quot;content&quot;: &quot;A String&quot;, # The UTF-8 encoded text content of the file.
37651 &quot;path&quot;: &quot;A String&quot;, # The relative path of the file from the project root.
37652 },
37653 ],
37654 },
37655 &quot;model&quot;: &quot;A String&quot;, # The name of the model to use for the CodeMender agent. One CodeMender session will only use one model.
37656 &quot;session_config&quot;: { # The configuration of CodeMender sessions. # Optional session-specific configurations to override default agent behavior.
37657 &quot;max_rounds&quot;: 42, # The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
37658 &quot;pipeline_mode&quot;: &quot;A String&quot;, # The pipeline mode of a CodeMender session. It can only be used for a find session.
37659 &quot;topology&quot;: &quot;A String&quot;, # The cognitive architecture or &quot;thinking&quot; topology used by the agent (e.g. &quot;default&quot;, &quot;deep&quot;).
37660 },
37661 &quot;session_id&quot;: &quot;A String&quot;, # Parameter for grouping multiple interactions that belong to the same CodeMender session.
37662 },
37663 &quot;deepResearchConfig&quot;: { # Configuration for the Deep Research agent.
37664 &quot;collaborativePlanning&quot;: True or False, # Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep Research agent will provide a research plan in its response. The agent will then proceed only if the user confirms the plan in the next turn.
37665 &quot;enableBigqueryTool&quot;: True or False, # Enables bigquery tool for the Deep Research agent.
37666 &quot;thinkingSummaries&quot;: &quot;A String&quot;, # Whether to include thought summaries in the response.
37667 &quot;visualization&quot;: &quot;A String&quot;, # Whether to include visualizations in the response.
37668 },
37669 &quot;dynamicConfig&quot;: { # Configuration for dynamic agents.
37670 &quot;config&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # For agents that are not supported statically in the API definition.
37671 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
37672 { # Represents a single field in a struct.
37673 &quot;name&quot;: &quot;A String&quot;,
37674 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
37675 &quot;boolValue&quot;: True or False, # Represents a boolean value.
37676 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
37677 &quot;values&quot;: [ # Repeated field of dynamically typed values.
37678 # Object with schema name: GenaiVertexV1beta1Value
37679 ],
37680 },
37681 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
37682 &quot;numberValue&quot;: 3.14, # Represents a double value.
37683 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
37684 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
37685 },
37686 },
37687 ],
37688 },
37689 },
37690 },
37691 &quot;content&quot;: { # The content of the response. # The content for the interaction.
37692 &quot;audio&quot;: { # An audio content block.
37693 &quot;channels&quot;: 42, # The number of audio channels.
37694 &quot;data&quot;: &quot;A String&quot;, # The audio content.
37695 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
37696 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
37697 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
37698 },
37699 &quot;document&quot;: { # A document content block.
37700 &quot;data&quot;: &quot;A String&quot;, # The document content.
37701 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
37702 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
37703 },
37704 &quot;image&quot;: { # An image content block.
37705 &quot;data&quot;: &quot;A String&quot;, # The image content.
37706 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
37707 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
37708 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
37709 },
37710 &quot;text&quot;: { # A text content block.
37711 &quot;annotations&quot;: [ # Citation information for model-generated content.
37712 { # Citation information for model-generated content.
37713 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
37714 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
37715 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
37716 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
37717 { # Represents a single field in a struct.
37718 &quot;name&quot;: &quot;A String&quot;,
37719 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
37720 &quot;boolValue&quot;: True or False, # Represents a boolean value.
37721 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
37722 &quot;values&quot;: [ # Repeated field of dynamically typed values.
37723 # Object with schema name: GenaiVertexV1beta1Value
37724 ],
37725 },
37726 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
37727 &quot;numberValue&quot;: 3.14, # Represents a double value.
37728 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
37729 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
37730 },
37731 },
37732 ],
37733 },
37734 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
37735 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
37736 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
37737 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
37738 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
37739 },
37740 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
37741 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
37742 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
37743 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
37744 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
37745 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
37746 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
37747 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
37748 },
37749 ],
37750 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
37751 },
37752 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
37753 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
37754 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
37755 &quot;url&quot;: &quot;A String&quot;, # The URL.
37756 },
37757 },
37758 ],
37759 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
37760 },
37761 &quot;thought&quot;: { # A thought content block.
37762 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
37763 &quot;summary&quot;: [ # A summary of the thought.
37764 {
37765 &quot;image&quot;: { # An image content block.
37766 &quot;data&quot;: &quot;A String&quot;, # The image content.
37767 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
37768 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
37769 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
37770 },
37771 &quot;text&quot;: { # A text content block.
37772 &quot;annotations&quot;: [ # Citation information for model-generated content.
37773 { # Citation information for model-generated content.
37774 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
37775 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
37776 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
37777 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
37778 { # Represents a single field in a struct.
37779 &quot;name&quot;: &quot;A String&quot;,
37780 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
37781 &quot;boolValue&quot;: True or False, # Represents a boolean value.
37782 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
37783 &quot;values&quot;: [ # Repeated field of dynamically typed values.
37784 # Object with schema name: GenaiVertexV1beta1Value
37785 ],
37786 },
37787 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
37788 &quot;numberValue&quot;: 3.14, # Represents a double value.
37789 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
37790 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
37791 },
37792 },
37793 ],
37794 },
37795 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
37796 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
37797 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
37798 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
37799 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
37800 },
37801 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
37802 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
37803 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
37804 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
37805 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
37806 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
37807 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
37808 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
37809 },
37810 ],
37811 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
37812 },
37813 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
37814 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
37815 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
37816 &quot;url&quot;: &quot;A String&quot;, # The URL.
37817 },
37818 },
37819 ],
37820 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
37821 },
37822 },
37823 ],
37824 },
37825 &quot;toolCall&quot;: { # Tool call content.
37826 &quot;codeExecutionCall&quot;: { # Code execution content.
37827 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
37828 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
37829 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
37830 },
37831 },
37832 &quot;fileSearchCall&quot;: { # File Search content.
37833 },
37834 &quot;functionCall&quot;: { # A function tool call content block.
37835 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
37836 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
37837 { # Represents a single field in a struct.
37838 &quot;name&quot;: &quot;A String&quot;,
37839 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
37840 &quot;boolValue&quot;: True or False, # Represents a boolean value.
37841 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
37842 &quot;values&quot;: [ # Repeated field of dynamically typed values.
37843 # Object with schema name: GenaiVertexV1beta1Value
37844 ],
37845 },
37846 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
37847 &quot;numberValue&quot;: 3.14, # Represents a double value.
37848 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
37849 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
37850 },
37851 },
37852 ],
37853 },
37854 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
37855 },
37856 &quot;googleMapsCall&quot;: { # Google Maps content.
37857 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
37858 &quot;queries&quot;: [ # The queries to be executed.
37859 &quot;A String&quot;,
37860 ],
37861 },
37862 },
37863 &quot;googleSearchCall&quot;: { # Google Search content.
37864 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
37865 &quot;queries&quot;: [ # Web search queries for the following-up web search.
37866 &quot;A String&quot;,
37867 ],
37868 },
37869 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
37870 },
37871 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
37872 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
37873 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
37874 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
37875 { # Represents a single field in a struct.
37876 &quot;name&quot;: &quot;A String&quot;,
37877 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
37878 &quot;boolValue&quot;: True or False, # Represents a boolean value.
37879 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
37880 &quot;values&quot;: [ # Repeated field of dynamically typed values.
37881 # Object with schema name: GenaiVertexV1beta1Value
37882 ],
37883 },
37884 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
37885 &quot;numberValue&quot;: 3.14, # Represents a double value.
37886 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
37887 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
37888 },
37889 },
37890 ],
37891 },
37892 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
37893 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
37894 },
37895 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
37896 &quot;urlContextCall&quot;: { # URL context content.
37897 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
37898 &quot;urls&quot;: [ # The URLs to fetch.
37899 &quot;A String&quot;,
37900 ],
37901 },
37902 },
37903 },
37904 &quot;toolResult&quot;: { # Tool result content.
37905 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
37906 &quot;codeExecutionResult&quot;: { # Code execution result content.
37907 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
37908 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
37909 },
37910 &quot;fileSearchResult&quot;: { # File Search result content.
37911 &quot;result&quot;: [ # Optional. The results of the File Search.
37912 { # The result of the File Search.
37913 },
37914 ],
37915 },
37916 &quot;functionResult&quot;: { # A function tool result content block.
37917 &quot;contentList&quot;: {
37918 &quot;contents&quot;: [
37919 {
37920 &quot;image&quot;: { # An image content block.
37921 &quot;data&quot;: &quot;A String&quot;, # The image content.
37922 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
37923 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
37924 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
37925 },
37926 &quot;text&quot;: { # A text content block.
37927 &quot;annotations&quot;: [ # Citation information for model-generated content.
37928 { # Citation information for model-generated content.
37929 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
37930 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
37931 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
37932 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
37933 { # Represents a single field in a struct.
37934 &quot;name&quot;: &quot;A String&quot;,
37935 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
37936 &quot;boolValue&quot;: True or False, # Represents a boolean value.
37937 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
37938 &quot;values&quot;: [ # Repeated field of dynamically typed values.
37939 # Object with schema name: GenaiVertexV1beta1Value
37940 ],
37941 },
37942 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
37943 &quot;numberValue&quot;: 3.14, # Represents a double value.
37944 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
37945 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
37946 },
37947 },
37948 ],
37949 },
37950 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
37951 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
37952 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
37953 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
37954 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
37955 },
37956 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
37957 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
37958 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
37959 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
37960 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
37961 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
37962 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
37963 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
37964 },
37965 ],
37966 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
37967 },
37968 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
37969 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
37970 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
37971 &quot;url&quot;: &quot;A String&quot;, # The URL.
37972 },
37973 },
37974 ],
37975 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
37976 },
37977 },
37978 ],
37979 },
37980 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
37981 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
37982 &quot;stringResult&quot;: &quot;A String&quot;,
37983 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
37984 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
37985 { # Represents a single field in a struct.
37986 &quot;name&quot;: &quot;A String&quot;,
37987 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
37988 &quot;boolValue&quot;: True or False, # Represents a boolean value.
37989 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
37990 &quot;values&quot;: [ # Repeated field of dynamically typed values.
37991 # Object with schema name: GenaiVertexV1beta1Value
37992 ],
37993 },
37994 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
37995 &quot;numberValue&quot;: 3.14, # Represents a double value.
37996 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
37997 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
37998 },
37999 },
38000 ],
38001 },
38002 },
38003 &quot;googleMapsResult&quot;: { # Google Maps result content.
38004 &quot;result&quot;: [ # Required. The results of the Google Maps.
38005 { # The result of the Google Maps.
38006 &quot;places&quot;: [ # The places that were found.
38007 {
38008 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
38009 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
38010 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
38011 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
38012 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
38013 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
38014 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
38015 },
38016 ],
38017 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
38018 },
38019 ],
38020 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
38021 },
38022 ],
38023 },
38024 &quot;googleSearchResult&quot;: { # Google Search result content.
38025 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
38026 &quot;result&quot;: [ # Required. The results of the Google Search.
38027 { # The result of the Google Search.
38028 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
38029 },
38030 ],
38031 },
38032 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
38033 &quot;contentList&quot;: {
38034 &quot;contents&quot;: [
38035 {
38036 &quot;image&quot;: { # An image content block.
38037 &quot;data&quot;: &quot;A String&quot;, # The image content.
38038 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
38039 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
38040 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
38041 },
38042 &quot;text&quot;: { # A text content block.
38043 &quot;annotations&quot;: [ # Citation information for model-generated content.
38044 { # Citation information for model-generated content.
38045 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
38046 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
38047 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
38048 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38049 { # Represents a single field in a struct.
38050 &quot;name&quot;: &quot;A String&quot;,
38051 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38052 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38053 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38054 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38055 # Object with schema name: GenaiVertexV1beta1Value
38056 ],
38057 },
38058 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38059 &quot;numberValue&quot;: 3.14, # Represents a double value.
38060 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38061 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
38062 },
38063 },
38064 ],
38065 },
38066 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
38067 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
38068 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
38069 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
38070 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
38071 },
38072 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
38073 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
38074 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
38075 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
38076 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
38077 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
38078 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
38079 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
38080 },
38081 ],
38082 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
38083 },
38084 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
38085 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
38086 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
38087 &quot;url&quot;: &quot;A String&quot;, # The URL.
38088 },
38089 },
38090 ],
38091 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
38092 },
38093 },
38094 ],
38095 },
38096 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
38097 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
38098 &quot;stringResult&quot;: &quot;A String&quot;,
38099 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
38100 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38101 { # Represents a single field in a struct.
38102 &quot;name&quot;: &quot;A String&quot;,
38103 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38104 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38105 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38106 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38107 # Object with schema name: GenaiVertexV1beta1Value
38108 ],
38109 },
38110 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38111 &quot;numberValue&quot;: 3.14, # Represents a double value.
38112 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38113 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
38114 },
38115 },
38116 ],
38117 },
38118 },
38119 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
38120 &quot;urlContextResult&quot;: { # URL context result content.
38121 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
38122 &quot;result&quot;: [ # Required. The results of the URL context.
38123 { # The result of the URL context.
38124 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
38125 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
38126 },
38127 ],
38128 },
38129 },
38130 &quot;video&quot;: { # A video content block.
38131 &quot;data&quot;: &quot;A String&quot;, # The video content.
38132 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
38133 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
38134 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
38135 },
38136 },
38137 &quot;contentList&quot;: { # A list of Content. # The inputs for the interaction.
38138 &quot;contents&quot;: [ # The contents of the list.
38139 { # The content of the response.
38140 &quot;audio&quot;: { # An audio content block.
38141 &quot;channels&quot;: 42, # The number of audio channels.
38142 &quot;data&quot;: &quot;A String&quot;, # The audio content.
38143 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
38144 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
38145 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
38146 },
38147 &quot;document&quot;: { # A document content block.
38148 &quot;data&quot;: &quot;A String&quot;, # The document content.
38149 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
38150 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
38151 },
38152 &quot;image&quot;: { # An image content block.
38153 &quot;data&quot;: &quot;A String&quot;, # The image content.
38154 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
38155 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
38156 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
38157 },
38158 &quot;text&quot;: { # A text content block.
38159 &quot;annotations&quot;: [ # Citation information for model-generated content.
38160 { # Citation information for model-generated content.
38161 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
38162 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
38163 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
38164 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38165 { # Represents a single field in a struct.
38166 &quot;name&quot;: &quot;A String&quot;,
38167 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38168 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38169 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38170 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38171 # Object with schema name: GenaiVertexV1beta1Value
38172 ],
38173 },
38174 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38175 &quot;numberValue&quot;: 3.14, # Represents a double value.
38176 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38177 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
38178 },
38179 },
38180 ],
38181 },
38182 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
38183 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
38184 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
38185 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
38186 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
38187 },
38188 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
38189 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
38190 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
38191 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
38192 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
38193 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
38194 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
38195 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
38196 },
38197 ],
38198 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
38199 },
38200 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
38201 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
38202 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
38203 &quot;url&quot;: &quot;A String&quot;, # The URL.
38204 },
38205 },
38206 ],
38207 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
38208 },
38209 &quot;thought&quot;: { # A thought content block.
38210 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
38211 &quot;summary&quot;: [ # A summary of the thought.
38212 {
38213 &quot;image&quot;: { # An image content block.
38214 &quot;data&quot;: &quot;A String&quot;, # The image content.
38215 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
38216 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
38217 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
38218 },
38219 &quot;text&quot;: { # A text content block.
38220 &quot;annotations&quot;: [ # Citation information for model-generated content.
38221 { # Citation information for model-generated content.
38222 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
38223 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
38224 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
38225 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38226 { # Represents a single field in a struct.
38227 &quot;name&quot;: &quot;A String&quot;,
38228 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38229 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38230 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38231 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38232 # Object with schema name: GenaiVertexV1beta1Value
38233 ],
38234 },
38235 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38236 &quot;numberValue&quot;: 3.14, # Represents a double value.
38237 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38238 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
38239 },
38240 },
38241 ],
38242 },
38243 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
38244 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
38245 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
38246 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
38247 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
38248 },
38249 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
38250 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
38251 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
38252 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
38253 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
38254 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
38255 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
38256 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
38257 },
38258 ],
38259 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
38260 },
38261 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
38262 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
38263 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
38264 &quot;url&quot;: &quot;A String&quot;, # The URL.
38265 },
38266 },
38267 ],
38268 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
38269 },
38270 },
38271 ],
38272 },
38273 &quot;toolCall&quot;: { # Tool call content.
38274 &quot;codeExecutionCall&quot;: { # Code execution content.
38275 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
38276 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
38277 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
38278 },
38279 },
38280 &quot;fileSearchCall&quot;: { # File Search content.
38281 },
38282 &quot;functionCall&quot;: { # A function tool call content block.
38283 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
38284 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38285 { # Represents a single field in a struct.
38286 &quot;name&quot;: &quot;A String&quot;,
38287 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38288 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38289 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38290 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38291 # Object with schema name: GenaiVertexV1beta1Value
38292 ],
38293 },
38294 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38295 &quot;numberValue&quot;: 3.14, # Represents a double value.
38296 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38297 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
38298 },
38299 },
38300 ],
38301 },
38302 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
38303 },
38304 &quot;googleMapsCall&quot;: { # Google Maps content.
38305 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
38306 &quot;queries&quot;: [ # The queries to be executed.
38307 &quot;A String&quot;,
38308 ],
38309 },
38310 },
38311 &quot;googleSearchCall&quot;: { # Google Search content.
38312 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
38313 &quot;queries&quot;: [ # Web search queries for the following-up web search.
38314 &quot;A String&quot;,
38315 ],
38316 },
38317 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
38318 },
38319 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
38320 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
38321 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
38322 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38323 { # Represents a single field in a struct.
38324 &quot;name&quot;: &quot;A String&quot;,
38325 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38326 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38327 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38328 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38329 # Object with schema name: GenaiVertexV1beta1Value
38330 ],
38331 },
38332 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38333 &quot;numberValue&quot;: 3.14, # Represents a double value.
38334 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38335 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
38336 },
38337 },
38338 ],
38339 },
38340 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
38341 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
38342 },
38343 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
38344 &quot;urlContextCall&quot;: { # URL context content.
38345 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
38346 &quot;urls&quot;: [ # The URLs to fetch.
38347 &quot;A String&quot;,
38348 ],
38349 },
38350 },
38351 },
38352 &quot;toolResult&quot;: { # Tool result content.
38353 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
38354 &quot;codeExecutionResult&quot;: { # Code execution result content.
38355 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
38356 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
38357 },
38358 &quot;fileSearchResult&quot;: { # File Search result content.
38359 &quot;result&quot;: [ # Optional. The results of the File Search.
38360 { # The result of the File Search.
38361 },
38362 ],
38363 },
38364 &quot;functionResult&quot;: { # A function tool result content block.
38365 &quot;contentList&quot;: {
38366 &quot;contents&quot;: [
38367 {
38368 &quot;image&quot;: { # An image content block.
38369 &quot;data&quot;: &quot;A String&quot;, # The image content.
38370 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
38371 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
38372 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
38373 },
38374 &quot;text&quot;: { # A text content block.
38375 &quot;annotations&quot;: [ # Citation information for model-generated content.
38376 { # Citation information for model-generated content.
38377 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
38378 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
38379 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
38380 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38381 { # Represents a single field in a struct.
38382 &quot;name&quot;: &quot;A String&quot;,
38383 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38384 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38385 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38386 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38387 # Object with schema name: GenaiVertexV1beta1Value
38388 ],
38389 },
38390 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38391 &quot;numberValue&quot;: 3.14, # Represents a double value.
38392 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38393 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
38394 },
38395 },
38396 ],
38397 },
38398 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
38399 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
38400 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
38401 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
38402 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
38403 },
38404 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
38405 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
38406 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
38407 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
38408 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
38409 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
38410 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
38411 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
38412 },
38413 ],
38414 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
38415 },
38416 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
38417 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
38418 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
38419 &quot;url&quot;: &quot;A String&quot;, # The URL.
38420 },
38421 },
38422 ],
38423 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
38424 },
38425 },
38426 ],
38427 },
38428 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
38429 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
38430 &quot;stringResult&quot;: &quot;A String&quot;,
38431 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
38432 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38433 { # Represents a single field in a struct.
38434 &quot;name&quot;: &quot;A String&quot;,
38435 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38436 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38437 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38438 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38439 # Object with schema name: GenaiVertexV1beta1Value
38440 ],
38441 },
38442 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38443 &quot;numberValue&quot;: 3.14, # Represents a double value.
38444 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38445 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
38446 },
38447 },
38448 ],
38449 },
38450 },
38451 &quot;googleMapsResult&quot;: { # Google Maps result content.
38452 &quot;result&quot;: [ # Required. The results of the Google Maps.
38453 { # The result of the Google Maps.
38454 &quot;places&quot;: [ # The places that were found.
38455 {
38456 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
38457 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
38458 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
38459 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
38460 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
38461 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
38462 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
38463 },
38464 ],
38465 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
38466 },
38467 ],
38468 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
38469 },
38470 ],
38471 },
38472 &quot;googleSearchResult&quot;: { # Google Search result content.
38473 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
38474 &quot;result&quot;: [ # Required. The results of the Google Search.
38475 { # The result of the Google Search.
38476 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
38477 },
38478 ],
38479 },
38480 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
38481 &quot;contentList&quot;: {
38482 &quot;contents&quot;: [
38483 {
38484 &quot;image&quot;: { # An image content block.
38485 &quot;data&quot;: &quot;A String&quot;, # The image content.
38486 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
38487 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
38488 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
38489 },
38490 &quot;text&quot;: { # A text content block.
38491 &quot;annotations&quot;: [ # Citation information for model-generated content.
38492 { # Citation information for model-generated content.
38493 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
38494 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
38495 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
38496 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38497 { # Represents a single field in a struct.
38498 &quot;name&quot;: &quot;A String&quot;,
38499 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38500 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38501 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38502 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38503 # Object with schema name: GenaiVertexV1beta1Value
38504 ],
38505 },
38506 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38507 &quot;numberValue&quot;: 3.14, # Represents a double value.
38508 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38509 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
38510 },
38511 },
38512 ],
38513 },
38514 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
38515 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
38516 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
38517 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
38518 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
38519 },
38520 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
38521 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
38522 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
38523 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
38524 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
38525 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
38526 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
38527 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
38528 },
38529 ],
38530 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
38531 },
38532 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
38533 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
38534 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
38535 &quot;url&quot;: &quot;A String&quot;, # The URL.
38536 },
38537 },
38538 ],
38539 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
38540 },
38541 },
38542 ],
38543 },
38544 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
38545 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
38546 &quot;stringResult&quot;: &quot;A String&quot;,
38547 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
38548 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38549 { # Represents a single field in a struct.
38550 &quot;name&quot;: &quot;A String&quot;,
38551 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38552 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38553 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38554 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38555 # Object with schema name: GenaiVertexV1beta1Value
38556 ],
38557 },
38558 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38559 &quot;numberValue&quot;: 3.14, # Represents a double value.
38560 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38561 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
38562 },
38563 },
38564 ],
38565 },
38566 },
38567 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
38568 &quot;urlContextResult&quot;: { # URL context result content.
38569 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
38570 &quot;result&quot;: [ # Required. The results of the URL context.
38571 { # The result of the URL context.
38572 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
38573 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
38574 },
38575 ],
38576 },
38577 },
38578 &quot;video&quot;: { # A video content block.
38579 &quot;data&quot;: &quot;A String&quot;, # The video content.
38580 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
38581 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
38582 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
38583 },
38584 },
38585 ],
38586 },
38587 &quot;created&quot;: &quot;A String&quot;, # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
38588 &quot;envId&quot;: &quot;A String&quot;, # The environment ID for the interaction. Can be &#x27;remote&#x27; for default environment.
38589 &quot;environmentId&quot;: &quot;A String&quot;, # Output only. The environment ID for the interaction. Only populated if environment config is set in the request.
38590 &quot;id&quot;: &quot;A String&quot;, # Required. Output only. A unique identifier for the interaction completion.
38591 &quot;modelInteraction&quot;: { # Interaction for generating the completion using models. # Interaction for generating the completion using models.
38592 &quot;cached_content&quot;: &quot;A String&quot;, # The name of the cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings. Format: `projects/{project}/locations/{location}/cachedContents/{cachedContent}`
38593 &quot;generationConfig&quot;: { # Configuration parameters for model interactions. # Input only. Configuration parameters for the model interaction.
38594 &quot;frequency_penalty&quot;: 3.14, # Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0].
38595 &quot;imageConfig&quot;: { # The configuration for image interaction. # Configuration for image interaction.
38596 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio of the image to generate. Supported aspect ratios: 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9. If not specified, the model will choose a default aspect ratio based on any reference images provided.
38597 &quot;imageSize&quot;: &quot;A String&quot;, # Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.
38598 },
38599 &quot;maxOutputTokens&quot;: 42, # The maximum number of tokens to include in the response.
38600 &quot;presence_penalty&quot;: 3.14, # Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0].
38601 &quot;seed&quot;: 42, # Seed used in decoding for reproducibility.
38602 &quot;speechConfig&quot;: [ # Configuration for speech interaction.
38603 { # The configuration for speech interaction.
38604 &quot;language&quot;: &quot;A String&quot;, # The language of the speech.
38605 &quot;speaker&quot;: &quot;A String&quot;, # The speaker&#x27;s name, it should match the speaker name given in the prompt.
38606 &quot;voice&quot;: &quot;A String&quot;, # The voice of the speaker.
38607 },
38608 ],
38609 &quot;stopSequences&quot;: [ # A list of character sequences that will stop output interaction.
38610 &quot;A String&quot;,
38611 ],
38612 &quot;temperature&quot;: 3.14, # Controls the randomness of the output.
38613 &quot;thinkingLevel&quot;: &quot;A String&quot;, # The level of thought tokens that the model should generate.
38614 &quot;thinkingSummaries&quot;: &quot;A String&quot;, # Whether to include thought summaries in the response.
38615 &quot;toolChoiceConfig&quot;: { # The tool choice configuration containing allowed tools. # The config for the tool choice.
38616 &quot;allowedTools&quot;: { # The configuration for allowed tools. # The allowed tools.
38617 &quot;mode&quot;: &quot;A String&quot;, # The mode of the tool choice.
38618 &quot;tools&quot;: [ # The names of the allowed tools.
38619 &quot;A String&quot;,
38620 ],
38621 },
38622 },
38623 &quot;toolChoiceMode&quot;: &quot;A String&quot;, # The mode of the tool choice.
38624 &quot;topP&quot;: 3.14, # The maximum cumulative probability of tokens to consider when sampling.
38625 },
38626 &quot;model&quot;: &quot;A String&quot;, # The name of the `Model` used for generating the completion.
38627 },
38628 &quot;outputs&quot;: [ # Output only. Responses from the model.
38629 { # The content of the response.
38630 &quot;audio&quot;: { # An audio content block.
38631 &quot;channels&quot;: 42, # The number of audio channels.
38632 &quot;data&quot;: &quot;A String&quot;, # The audio content.
38633 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
38634 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
38635 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
38636 },
38637 &quot;document&quot;: { # A document content block.
38638 &quot;data&quot;: &quot;A String&quot;, # The document content.
38639 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
38640 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
38641 },
38642 &quot;image&quot;: { # An image content block.
38643 &quot;data&quot;: &quot;A String&quot;, # The image content.
38644 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
38645 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
38646 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
38647 },
38648 &quot;text&quot;: { # A text content block.
38649 &quot;annotations&quot;: [ # Citation information for model-generated content.
38650 { # Citation information for model-generated content.
38651 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
38652 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
38653 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
38654 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38655 { # Represents a single field in a struct.
38656 &quot;name&quot;: &quot;A String&quot;,
38657 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38658 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38659 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38660 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38661 # Object with schema name: GenaiVertexV1beta1Value
38662 ],
38663 },
38664 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38665 &quot;numberValue&quot;: 3.14, # Represents a double value.
38666 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38667 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
38668 },
38669 },
38670 ],
38671 },
38672 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
38673 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
38674 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
38675 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
38676 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
38677 },
38678 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
38679 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
38680 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
38681 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
38682 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
38683 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
38684 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
38685 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
38686 },
38687 ],
38688 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
38689 },
38690 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
38691 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
38692 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
38693 &quot;url&quot;: &quot;A String&quot;, # The URL.
38694 },
38695 },
38696 ],
38697 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
38698 },
38699 &quot;thought&quot;: { # A thought content block.
38700 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
38701 &quot;summary&quot;: [ # A summary of the thought.
38702 {
38703 &quot;image&quot;: { # An image content block.
38704 &quot;data&quot;: &quot;A String&quot;, # The image content.
38705 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
38706 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
38707 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
38708 },
38709 &quot;text&quot;: { # A text content block.
38710 &quot;annotations&quot;: [ # Citation information for model-generated content.
38711 { # Citation information for model-generated content.
38712 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
38713 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
38714 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
38715 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38716 { # Represents a single field in a struct.
38717 &quot;name&quot;: &quot;A String&quot;,
38718 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38719 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38720 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38721 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38722 # Object with schema name: GenaiVertexV1beta1Value
38723 ],
38724 },
38725 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38726 &quot;numberValue&quot;: 3.14, # Represents a double value.
38727 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38728 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
38729 },
38730 },
38731 ],
38732 },
38733 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
38734 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
38735 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
38736 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
38737 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
38738 },
38739 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
38740 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
38741 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
38742 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
38743 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
38744 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
38745 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
38746 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
38747 },
38748 ],
38749 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
38750 },
38751 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
38752 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
38753 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
38754 &quot;url&quot;: &quot;A String&quot;, # The URL.
38755 },
38756 },
38757 ],
38758 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
38759 },
38760 },
38761 ],
38762 },
38763 &quot;toolCall&quot;: { # Tool call content.
38764 &quot;codeExecutionCall&quot;: { # Code execution content.
38765 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
38766 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
38767 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
38768 },
38769 },
38770 &quot;fileSearchCall&quot;: { # File Search content.
38771 },
38772 &quot;functionCall&quot;: { # A function tool call content block.
38773 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
38774 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38775 { # Represents a single field in a struct.
38776 &quot;name&quot;: &quot;A String&quot;,
38777 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38778 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38779 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38780 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38781 # Object with schema name: GenaiVertexV1beta1Value
38782 ],
38783 },
38784 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38785 &quot;numberValue&quot;: 3.14, # Represents a double value.
38786 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38787 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
38788 },
38789 },
38790 ],
38791 },
38792 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
38793 },
38794 &quot;googleMapsCall&quot;: { # Google Maps content.
38795 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
38796 &quot;queries&quot;: [ # The queries to be executed.
38797 &quot;A String&quot;,
38798 ],
38799 },
38800 },
38801 &quot;googleSearchCall&quot;: { # Google Search content.
38802 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
38803 &quot;queries&quot;: [ # Web search queries for the following-up web search.
38804 &quot;A String&quot;,
38805 ],
38806 },
38807 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
38808 },
38809 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
38810 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
38811 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
38812 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38813 { # Represents a single field in a struct.
38814 &quot;name&quot;: &quot;A String&quot;,
38815 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38816 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38817 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38818 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38819 # Object with schema name: GenaiVertexV1beta1Value
38820 ],
38821 },
38822 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38823 &quot;numberValue&quot;: 3.14, # Represents a double value.
38824 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38825 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
38826 },
38827 },
38828 ],
38829 },
38830 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
38831 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
38832 },
38833 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
38834 &quot;urlContextCall&quot;: { # URL context content.
38835 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
38836 &quot;urls&quot;: [ # The URLs to fetch.
38837 &quot;A String&quot;,
38838 ],
38839 },
38840 },
38841 },
38842 &quot;toolResult&quot;: { # Tool result content.
38843 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
38844 &quot;codeExecutionResult&quot;: { # Code execution result content.
38845 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
38846 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
38847 },
38848 &quot;fileSearchResult&quot;: { # File Search result content.
38849 &quot;result&quot;: [ # Optional. The results of the File Search.
38850 { # The result of the File Search.
38851 },
38852 ],
38853 },
38854 &quot;functionResult&quot;: { # A function tool result content block.
38855 &quot;contentList&quot;: {
38856 &quot;contents&quot;: [
38857 {
38858 &quot;image&quot;: { # An image content block.
38859 &quot;data&quot;: &quot;A String&quot;, # The image content.
38860 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
38861 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
38862 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
38863 },
38864 &quot;text&quot;: { # A text content block.
38865 &quot;annotations&quot;: [ # Citation information for model-generated content.
38866 { # Citation information for model-generated content.
38867 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
38868 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
38869 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
38870 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38871 { # Represents a single field in a struct.
38872 &quot;name&quot;: &quot;A String&quot;,
38873 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38874 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38875 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38876 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38877 # Object with schema name: GenaiVertexV1beta1Value
38878 ],
38879 },
38880 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38881 &quot;numberValue&quot;: 3.14, # Represents a double value.
38882 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38883 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
38884 },
38885 },
38886 ],
38887 },
38888 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
38889 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
38890 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
38891 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
38892 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
38893 },
38894 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
38895 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
38896 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
38897 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
38898 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
38899 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
38900 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
38901 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
38902 },
38903 ],
38904 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
38905 },
38906 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
38907 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
38908 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
38909 &quot;url&quot;: &quot;A String&quot;, # The URL.
38910 },
38911 },
38912 ],
38913 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
38914 },
38915 },
38916 ],
38917 },
38918 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
38919 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
38920 &quot;stringResult&quot;: &quot;A String&quot;,
38921 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
38922 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38923 { # Represents a single field in a struct.
38924 &quot;name&quot;: &quot;A String&quot;,
38925 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38926 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38927 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38928 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38929 # Object with schema name: GenaiVertexV1beta1Value
38930 ],
38931 },
38932 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38933 &quot;numberValue&quot;: 3.14, # Represents a double value.
38934 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38935 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
38936 },
38937 },
38938 ],
38939 },
38940 },
38941 &quot;googleMapsResult&quot;: { # Google Maps result content.
38942 &quot;result&quot;: [ # Required. The results of the Google Maps.
38943 { # The result of the Google Maps.
38944 &quot;places&quot;: [ # The places that were found.
38945 {
38946 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
38947 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
38948 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
38949 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
38950 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
38951 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
38952 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
38953 },
38954 ],
38955 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
38956 },
38957 ],
38958 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
38959 },
38960 ],
38961 },
38962 &quot;googleSearchResult&quot;: { # Google Search result content.
38963 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
38964 &quot;result&quot;: [ # Required. The results of the Google Search.
38965 { # The result of the Google Search.
38966 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
38967 },
38968 ],
38969 },
38970 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
38971 &quot;contentList&quot;: {
38972 &quot;contents&quot;: [
38973 {
38974 &quot;image&quot;: { # An image content block.
38975 &quot;data&quot;: &quot;A String&quot;, # The image content.
38976 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
38977 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
38978 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
38979 },
38980 &quot;text&quot;: { # A text content block.
38981 &quot;annotations&quot;: [ # Citation information for model-generated content.
38982 { # Citation information for model-generated content.
38983 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
38984 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
38985 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
38986 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
38987 { # Represents a single field in a struct.
38988 &quot;name&quot;: &quot;A String&quot;,
38989 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
38990 &quot;boolValue&quot;: True or False, # Represents a boolean value.
38991 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
38992 &quot;values&quot;: [ # Repeated field of dynamically typed values.
38993 # Object with schema name: GenaiVertexV1beta1Value
38994 ],
38995 },
38996 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
38997 &quot;numberValue&quot;: 3.14, # Represents a double value.
38998 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
38999 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39000 },
39001 },
39002 ],
39003 },
39004 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
39005 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
39006 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
39007 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
39008 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
39009 },
39010 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
39011 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
39012 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
39013 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
39014 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
39015 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
39016 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
39017 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
39018 },
39019 ],
39020 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
39021 },
39022 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
39023 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
39024 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
39025 &quot;url&quot;: &quot;A String&quot;, # The URL.
39026 },
39027 },
39028 ],
39029 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
39030 },
39031 },
39032 ],
39033 },
39034 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
39035 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
39036 &quot;stringResult&quot;: &quot;A String&quot;,
39037 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
39038 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39039 { # Represents a single field in a struct.
39040 &quot;name&quot;: &quot;A String&quot;,
39041 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39042 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39043 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39044 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39045 # Object with schema name: GenaiVertexV1beta1Value
39046 ],
39047 },
39048 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39049 &quot;numberValue&quot;: 3.14, # Represents a double value.
39050 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39051 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39052 },
39053 },
39054 ],
39055 },
39056 },
39057 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
39058 &quot;urlContextResult&quot;: { # URL context result content.
39059 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
39060 &quot;result&quot;: [ # Required. The results of the URL context.
39061 { # The result of the URL context.
39062 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
39063 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
39064 },
39065 ],
39066 },
39067 },
39068 &quot;video&quot;: { # A video content block.
39069 &quot;data&quot;: &quot;A String&quot;, # The video content.
39070 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
39071 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
39072 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
39073 },
39074 },
39075 ],
39076 &quot;previousInteractionId&quot;: &quot;A String&quot;, # The ID of the previous interaction, if any.
39077 &quot;remoteEnvironment&quot;: { # Configuration for a custom environment.
39078 &quot;networkAllowlist&quot;: { # Network egress configuration for the environment. # Allow only specific domains.
39079 &quot;allowlist&quot;: [ # List of allowed domains and their configurations.
39080 { # A network egress rule that controls which external domains the environment is allowed to reach. Each rule identifies a target domain and, optionally, a set of HTTP headers to inject into every matching outbound request.
39081 &quot;domain&quot;: &quot;A String&quot;, # The domain pattern to match for this rule. Use an exact hostname (e.g., `github.com`), a wildcard prefix (e.g., `*.googleapis.com`), or `*` to match all domains.
39082 &quot;transform&quot;: { # Headers to inject into requests matching this rule. Key: header name (e.g., &quot;Authorization&quot;). Value: header value (e.g., &quot;Bearer your-token&quot;).
39083 &quot;a_key&quot;: &quot;A String&quot;,
39084 },
39085 },
39086 ],
39087 },
39088 &quot;networkMode&quot;: &quot;A String&quot;, # Network egress mode.
39089 &quot;sources&quot;: [
39090 { # A source to be mounted into the environment.
39091 &quot;content&quot;: &quot;A String&quot;, # The inline content if `type` is `INLINE`.
39092 &quot;encoding&quot;: &quot;A String&quot;, # Optional encoding for inline content (e.g. `base64`).
39093 &quot;source&quot;: &quot;A String&quot;, # The source of the environment. For GCS, this is the GCS path. For GitHub, this is the GitHub path.
39094 &quot;target&quot;: &quot;A String&quot;, # Where the source should appear in the environment.
39095 &quot;type&quot;: &quot;A String&quot;,
39096 },
39097 ],
39098 },
39099 &quot;responseFormat&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
39100 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39101 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39102 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39103 # Object with schema name: GenaiVertexV1beta1Value
39104 ],
39105 },
39106 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39107 &quot;numberValue&quot;: 3.14, # Represents a double value.
39108 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39109 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39110 },
39111 &quot;responseFormatList&quot;: {
39112 &quot;responseFormats&quot;: [
39113 {
39114 &quot;audio&quot;: { # Configuration for audio output format.
39115 &quot;bitRate&quot;: 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
39116 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the audio output.
39117 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the audio output.
39118 &quot;sampleRate&quot;: 42, # Sample rate in Hz.
39119 },
39120 &quot;image&quot;: { # Configuration for image output format.
39121 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio for the image output.
39122 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the image output.
39123 &quot;imageSize&quot;: &quot;A String&quot;, # The size of the image output.
39124 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the image output.
39125 },
39126 &quot;structValue&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
39127 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39128 { # Represents a single field in a struct.
39129 &quot;name&quot;: &quot;A String&quot;,
39130 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39131 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39132 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39133 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39134 # Object with schema name: GenaiVertexV1beta1Value
39135 ],
39136 },
39137 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39138 &quot;numberValue&quot;: 3.14, # Represents a double value.
39139 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39140 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39141 },
39142 },
39143 ],
39144 },
39145 &quot;text&quot;: { # Configuration for text output format.
39146 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the text output.
39147 &quot;schema&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
39148 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39149 { # Represents a single field in a struct.
39150 &quot;name&quot;: &quot;A String&quot;,
39151 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39152 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39153 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39154 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39155 # Object with schema name: GenaiVertexV1beta1Value
39156 ],
39157 },
39158 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39159 &quot;numberValue&quot;: 3.14, # Represents a double value.
39160 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39161 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39162 },
39163 },
39164 ],
39165 },
39166 },
39167 },
39168 ],
39169 },
39170 &quot;responseFormatSingleton&quot;: {
39171 &quot;audio&quot;: { # Configuration for audio output format.
39172 &quot;bitRate&quot;: 42, # Bit rate in bits per second (bps). Only applicable for compressed formats (MP3, Opus).
39173 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the audio output.
39174 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the audio output.
39175 &quot;sampleRate&quot;: 42, # Sample rate in Hz.
39176 },
39177 &quot;image&quot;: { # Configuration for image output format.
39178 &quot;aspectRatio&quot;: &quot;A String&quot;, # The aspect ratio for the image output.
39179 &quot;delivery&quot;: &quot;A String&quot;, # The delivery mode for the image output.
39180 &quot;imageSize&quot;: &quot;A String&quot;, # The size of the image output.
39181 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the image output.
39182 },
39183 &quot;structValue&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Multi-discriminator values is already enabled in GAOS
39184 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39185 { # Represents a single field in a struct.
39186 &quot;name&quot;: &quot;A String&quot;,
39187 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39188 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39189 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39190 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39191 # Object with schema name: GenaiVertexV1beta1Value
39192 ],
39193 },
39194 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39195 &quot;numberValue&quot;: 3.14, # Represents a double value.
39196 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39197 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39198 },
39199 },
39200 ],
39201 },
39202 &quot;text&quot;: { # Configuration for text output format.
39203 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the text output.
39204 &quot;schema&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # The JSON schema that the output should conform to. Only applicable when mime_type is application/json.
39205 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39206 { # Represents a single field in a struct.
39207 &quot;name&quot;: &quot;A String&quot;,
39208 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39209 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39210 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39211 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39212 # Object with schema name: GenaiVertexV1beta1Value
39213 ],
39214 },
39215 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39216 &quot;numberValue&quot;: 3.14, # Represents a double value.
39217 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39218 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39219 },
39220 },
39221 ],
39222 },
39223 },
39224 },
39225 &quot;responseMimeType&quot;: &quot;A String&quot;, # The mime type of the response. This is required if response_format is set.
39226 &quot;responseModalities&quot;: [ # The requested modalities of the response (TEXT, IMAGE, AUDIO).
39227 &quot;A String&quot;,
39228 ],
39229 &quot;role&quot;: &quot;A String&quot;, # Output only. The role of the interaction.
39230 &quot;status&quot;: &quot;A String&quot;, # Required. Output only. The status of the interaction.
39231 &quot;stepList&quot;: { # A list of Steps. # Input only. The steps for the interaction.
39232 &quot;steps&quot;: [ # The steps of the list.
39233 { # A step in the interaction.
39234 &quot;modelOutput&quot;: { # Output generated by the model.
39235 &quot;content&quot;: [
39236 { # The content of the response.
39237 &quot;audio&quot;: { # An audio content block.
39238 &quot;channels&quot;: 42, # The number of audio channels.
39239 &quot;data&quot;: &quot;A String&quot;, # The audio content.
39240 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
39241 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
39242 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
39243 },
39244 &quot;document&quot;: { # A document content block.
39245 &quot;data&quot;: &quot;A String&quot;, # The document content.
39246 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
39247 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
39248 },
39249 &quot;image&quot;: { # An image content block.
39250 &quot;data&quot;: &quot;A String&quot;, # The image content.
39251 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
39252 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
39253 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
39254 },
39255 &quot;text&quot;: { # A text content block.
39256 &quot;annotations&quot;: [ # Citation information for model-generated content.
39257 { # Citation information for model-generated content.
39258 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
39259 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
39260 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
39261 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39262 { # Represents a single field in a struct.
39263 &quot;name&quot;: &quot;A String&quot;,
39264 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39265 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39266 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39267 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39268 # Object with schema name: GenaiVertexV1beta1Value
39269 ],
39270 },
39271 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39272 &quot;numberValue&quot;: 3.14, # Represents a double value.
39273 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39274 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39275 },
39276 },
39277 ],
39278 },
39279 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
39280 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
39281 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
39282 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
39283 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
39284 },
39285 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
39286 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
39287 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
39288 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
39289 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
39290 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
39291 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
39292 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
39293 },
39294 ],
39295 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
39296 },
39297 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
39298 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
39299 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
39300 &quot;url&quot;: &quot;A String&quot;, # The URL.
39301 },
39302 },
39303 ],
39304 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
39305 },
39306 &quot;thought&quot;: { # A thought content block.
39307 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
39308 &quot;summary&quot;: [ # A summary of the thought.
39309 {
39310 &quot;image&quot;: { # An image content block.
39311 &quot;data&quot;: &quot;A String&quot;, # The image content.
39312 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
39313 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
39314 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
39315 },
39316 &quot;text&quot;: { # A text content block.
39317 &quot;annotations&quot;: [ # Citation information for model-generated content.
39318 { # Citation information for model-generated content.
39319 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
39320 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
39321 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
39322 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39323 { # Represents a single field in a struct.
39324 &quot;name&quot;: &quot;A String&quot;,
39325 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39326 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39327 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39328 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39329 # Object with schema name: GenaiVertexV1beta1Value
39330 ],
39331 },
39332 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39333 &quot;numberValue&quot;: 3.14, # Represents a double value.
39334 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39335 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39336 },
39337 },
39338 ],
39339 },
39340 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
39341 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
39342 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
39343 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
39344 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
39345 },
39346 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
39347 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
39348 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
39349 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
39350 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
39351 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
39352 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
39353 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
39354 },
39355 ],
39356 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
39357 },
39358 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
39359 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
39360 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
39361 &quot;url&quot;: &quot;A String&quot;, # The URL.
39362 },
39363 },
39364 ],
39365 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
39366 },
39367 },
39368 ],
39369 },
39370 &quot;toolCall&quot;: { # Tool call content.
39371 &quot;codeExecutionCall&quot;: { # Code execution content.
39372 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
39373 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
39374 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
39375 },
39376 },
39377 &quot;fileSearchCall&quot;: { # File Search content.
39378 },
39379 &quot;functionCall&quot;: { # A function tool call content block.
39380 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
39381 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39382 { # Represents a single field in a struct.
39383 &quot;name&quot;: &quot;A String&quot;,
39384 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39385 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39386 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39387 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39388 # Object with schema name: GenaiVertexV1beta1Value
39389 ],
39390 },
39391 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39392 &quot;numberValue&quot;: 3.14, # Represents a double value.
39393 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39394 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39395 },
39396 },
39397 ],
39398 },
39399 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
39400 },
39401 &quot;googleMapsCall&quot;: { # Google Maps content.
39402 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
39403 &quot;queries&quot;: [ # The queries to be executed.
39404 &quot;A String&quot;,
39405 ],
39406 },
39407 },
39408 &quot;googleSearchCall&quot;: { # Google Search content.
39409 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
39410 &quot;queries&quot;: [ # Web search queries for the following-up web search.
39411 &quot;A String&quot;,
39412 ],
39413 },
39414 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
39415 },
39416 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
39417 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
39418 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
39419 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39420 { # Represents a single field in a struct.
39421 &quot;name&quot;: &quot;A String&quot;,
39422 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39423 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39424 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39425 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39426 # Object with schema name: GenaiVertexV1beta1Value
39427 ],
39428 },
39429 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39430 &quot;numberValue&quot;: 3.14, # Represents a double value.
39431 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39432 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39433 },
39434 },
39435 ],
39436 },
39437 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
39438 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
39439 },
39440 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
39441 &quot;urlContextCall&quot;: { # URL context content.
39442 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
39443 &quot;urls&quot;: [ # The URLs to fetch.
39444 &quot;A String&quot;,
39445 ],
39446 },
39447 },
39448 },
39449 &quot;toolResult&quot;: { # Tool result content.
39450 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
39451 &quot;codeExecutionResult&quot;: { # Code execution result content.
39452 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
39453 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
39454 },
39455 &quot;fileSearchResult&quot;: { # File Search result content.
39456 &quot;result&quot;: [ # Optional. The results of the File Search.
39457 { # The result of the File Search.
39458 },
39459 ],
39460 },
39461 &quot;functionResult&quot;: { # A function tool result content block.
39462 &quot;contentList&quot;: {
39463 &quot;contents&quot;: [
39464 {
39465 &quot;image&quot;: { # An image content block.
39466 &quot;data&quot;: &quot;A String&quot;, # The image content.
39467 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
39468 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
39469 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
39470 },
39471 &quot;text&quot;: { # A text content block.
39472 &quot;annotations&quot;: [ # Citation information for model-generated content.
39473 { # Citation information for model-generated content.
39474 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
39475 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
39476 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
39477 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39478 { # Represents a single field in a struct.
39479 &quot;name&quot;: &quot;A String&quot;,
39480 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39481 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39482 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39483 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39484 # Object with schema name: GenaiVertexV1beta1Value
39485 ],
39486 },
39487 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39488 &quot;numberValue&quot;: 3.14, # Represents a double value.
39489 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39490 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39491 },
39492 },
39493 ],
39494 },
39495 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
39496 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
39497 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
39498 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
39499 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
39500 },
39501 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
39502 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
39503 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
39504 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
39505 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
39506 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
39507 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
39508 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
39509 },
39510 ],
39511 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
39512 },
39513 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
39514 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
39515 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
39516 &quot;url&quot;: &quot;A String&quot;, # The URL.
39517 },
39518 },
39519 ],
39520 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
39521 },
39522 },
39523 ],
39524 },
39525 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
39526 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
39527 &quot;stringResult&quot;: &quot;A String&quot;,
39528 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
39529 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39530 { # Represents a single field in a struct.
39531 &quot;name&quot;: &quot;A String&quot;,
39532 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39533 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39534 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39535 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39536 # Object with schema name: GenaiVertexV1beta1Value
39537 ],
39538 },
39539 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39540 &quot;numberValue&quot;: 3.14, # Represents a double value.
39541 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39542 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39543 },
39544 },
39545 ],
39546 },
39547 },
39548 &quot;googleMapsResult&quot;: { # Google Maps result content.
39549 &quot;result&quot;: [ # Required. The results of the Google Maps.
39550 { # The result of the Google Maps.
39551 &quot;places&quot;: [ # The places that were found.
39552 {
39553 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
39554 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
39555 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
39556 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
39557 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
39558 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
39559 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
39560 },
39561 ],
39562 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
39563 },
39564 ],
39565 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
39566 },
39567 ],
39568 },
39569 &quot;googleSearchResult&quot;: { # Google Search result content.
39570 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
39571 &quot;result&quot;: [ # Required. The results of the Google Search.
39572 { # The result of the Google Search.
39573 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
39574 },
39575 ],
39576 },
39577 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
39578 &quot;contentList&quot;: {
39579 &quot;contents&quot;: [
39580 {
39581 &quot;image&quot;: { # An image content block.
39582 &quot;data&quot;: &quot;A String&quot;, # The image content.
39583 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
39584 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
39585 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
39586 },
39587 &quot;text&quot;: { # A text content block.
39588 &quot;annotations&quot;: [ # Citation information for model-generated content.
39589 { # Citation information for model-generated content.
39590 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
39591 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
39592 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
39593 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39594 { # Represents a single field in a struct.
39595 &quot;name&quot;: &quot;A String&quot;,
39596 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39597 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39598 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39599 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39600 # Object with schema name: GenaiVertexV1beta1Value
39601 ],
39602 },
39603 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39604 &quot;numberValue&quot;: 3.14, # Represents a double value.
39605 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39606 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39607 },
39608 },
39609 ],
39610 },
39611 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
39612 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
39613 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
39614 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
39615 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
39616 },
39617 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
39618 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
39619 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
39620 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
39621 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
39622 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
39623 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
39624 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
39625 },
39626 ],
39627 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
39628 },
39629 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
39630 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
39631 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
39632 &quot;url&quot;: &quot;A String&quot;, # The URL.
39633 },
39634 },
39635 ],
39636 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
39637 },
39638 },
39639 ],
39640 },
39641 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
39642 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
39643 &quot;stringResult&quot;: &quot;A String&quot;,
39644 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
39645 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39646 { # Represents a single field in a struct.
39647 &quot;name&quot;: &quot;A String&quot;,
39648 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39649 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39650 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39651 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39652 # Object with schema name: GenaiVertexV1beta1Value
39653 ],
39654 },
39655 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39656 &quot;numberValue&quot;: 3.14, # Represents a double value.
39657 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39658 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39659 },
39660 },
39661 ],
39662 },
39663 },
39664 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
39665 &quot;urlContextResult&quot;: { # URL context result content.
39666 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
39667 &quot;result&quot;: [ # Required. The results of the URL context.
39668 { # The result of the URL context.
39669 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
39670 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
39671 },
39672 ],
39673 },
39674 },
39675 &quot;video&quot;: { # A video content block.
39676 &quot;data&quot;: &quot;A String&quot;, # The video content.
39677 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
39678 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
39679 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
39680 },
39681 },
39682 ],
39683 },
39684 &quot;thought&quot;: { # A thought step.
39685 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
39686 &quot;summary&quot;: [ # A summary of the thought.
39687 { # The content of the response.
39688 &quot;audio&quot;: { # An audio content block.
39689 &quot;channels&quot;: 42, # The number of audio channels.
39690 &quot;data&quot;: &quot;A String&quot;, # The audio content.
39691 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
39692 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
39693 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
39694 },
39695 &quot;document&quot;: { # A document content block.
39696 &quot;data&quot;: &quot;A String&quot;, # The document content.
39697 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
39698 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
39699 },
39700 &quot;image&quot;: { # An image content block.
39701 &quot;data&quot;: &quot;A String&quot;, # The image content.
39702 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
39703 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
39704 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
39705 },
39706 &quot;text&quot;: { # A text content block.
39707 &quot;annotations&quot;: [ # Citation information for model-generated content.
39708 { # Citation information for model-generated content.
39709 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
39710 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
39711 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
39712 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39713 { # Represents a single field in a struct.
39714 &quot;name&quot;: &quot;A String&quot;,
39715 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39716 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39717 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39718 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39719 # Object with schema name: GenaiVertexV1beta1Value
39720 ],
39721 },
39722 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39723 &quot;numberValue&quot;: 3.14, # Represents a double value.
39724 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39725 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39726 },
39727 },
39728 ],
39729 },
39730 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
39731 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
39732 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
39733 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
39734 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
39735 },
39736 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
39737 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
39738 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
39739 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
39740 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
39741 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
39742 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
39743 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
39744 },
39745 ],
39746 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
39747 },
39748 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
39749 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
39750 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
39751 &quot;url&quot;: &quot;A String&quot;, # The URL.
39752 },
39753 },
39754 ],
39755 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
39756 },
39757 &quot;thought&quot;: { # A thought content block.
39758 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
39759 &quot;summary&quot;: [ # A summary of the thought.
39760 {
39761 &quot;image&quot;: { # An image content block.
39762 &quot;data&quot;: &quot;A String&quot;, # The image content.
39763 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
39764 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
39765 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
39766 },
39767 &quot;text&quot;: { # A text content block.
39768 &quot;annotations&quot;: [ # Citation information for model-generated content.
39769 { # Citation information for model-generated content.
39770 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
39771 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
39772 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
39773 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39774 { # Represents a single field in a struct.
39775 &quot;name&quot;: &quot;A String&quot;,
39776 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39777 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39778 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39779 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39780 # Object with schema name: GenaiVertexV1beta1Value
39781 ],
39782 },
39783 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39784 &quot;numberValue&quot;: 3.14, # Represents a double value.
39785 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39786 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39787 },
39788 },
39789 ],
39790 },
39791 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
39792 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
39793 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
39794 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
39795 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
39796 },
39797 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
39798 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
39799 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
39800 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
39801 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
39802 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
39803 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
39804 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
39805 },
39806 ],
39807 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
39808 },
39809 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
39810 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
39811 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
39812 &quot;url&quot;: &quot;A String&quot;, # The URL.
39813 },
39814 },
39815 ],
39816 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
39817 },
39818 },
39819 ],
39820 },
39821 &quot;toolCall&quot;: { # Tool call content.
39822 &quot;codeExecutionCall&quot;: { # Code execution content.
39823 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
39824 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
39825 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
39826 },
39827 },
39828 &quot;fileSearchCall&quot;: { # File Search content.
39829 },
39830 &quot;functionCall&quot;: { # A function tool call content block.
39831 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
39832 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39833 { # Represents a single field in a struct.
39834 &quot;name&quot;: &quot;A String&quot;,
39835 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39836 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39837 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39838 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39839 # Object with schema name: GenaiVertexV1beta1Value
39840 ],
39841 },
39842 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39843 &quot;numberValue&quot;: 3.14, # Represents a double value.
39844 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39845 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39846 },
39847 },
39848 ],
39849 },
39850 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
39851 },
39852 &quot;googleMapsCall&quot;: { # Google Maps content.
39853 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
39854 &quot;queries&quot;: [ # The queries to be executed.
39855 &quot;A String&quot;,
39856 ],
39857 },
39858 },
39859 &quot;googleSearchCall&quot;: { # Google Search content.
39860 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
39861 &quot;queries&quot;: [ # Web search queries for the following-up web search.
39862 &quot;A String&quot;,
39863 ],
39864 },
39865 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
39866 },
39867 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
39868 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
39869 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
39870 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39871 { # Represents a single field in a struct.
39872 &quot;name&quot;: &quot;A String&quot;,
39873 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39874 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39875 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39876 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39877 # Object with schema name: GenaiVertexV1beta1Value
39878 ],
39879 },
39880 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39881 &quot;numberValue&quot;: 3.14, # Represents a double value.
39882 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39883 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39884 },
39885 },
39886 ],
39887 },
39888 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
39889 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
39890 },
39891 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
39892 &quot;urlContextCall&quot;: { # URL context content.
39893 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
39894 &quot;urls&quot;: [ # The URLs to fetch.
39895 &quot;A String&quot;,
39896 ],
39897 },
39898 },
39899 },
39900 &quot;toolResult&quot;: { # Tool result content.
39901 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
39902 &quot;codeExecutionResult&quot;: { # Code execution result content.
39903 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
39904 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
39905 },
39906 &quot;fileSearchResult&quot;: { # File Search result content.
39907 &quot;result&quot;: [ # Optional. The results of the File Search.
39908 { # The result of the File Search.
39909 },
39910 ],
39911 },
39912 &quot;functionResult&quot;: { # A function tool result content block.
39913 &quot;contentList&quot;: {
39914 &quot;contents&quot;: [
39915 {
39916 &quot;image&quot;: { # An image content block.
39917 &quot;data&quot;: &quot;A String&quot;, # The image content.
39918 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
39919 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
39920 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
39921 },
39922 &quot;text&quot;: { # A text content block.
39923 &quot;annotations&quot;: [ # Citation information for model-generated content.
39924 { # Citation information for model-generated content.
39925 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
39926 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
39927 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
39928 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39929 { # Represents a single field in a struct.
39930 &quot;name&quot;: &quot;A String&quot;,
39931 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39932 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39933 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39934 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39935 # Object with schema name: GenaiVertexV1beta1Value
39936 ],
39937 },
39938 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39939 &quot;numberValue&quot;: 3.14, # Represents a double value.
39940 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39941 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39942 },
39943 },
39944 ],
39945 },
39946 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
39947 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
39948 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
39949 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
39950 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
39951 },
39952 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
39953 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
39954 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
39955 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
39956 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
39957 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
39958 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
39959 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
39960 },
39961 ],
39962 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
39963 },
39964 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
39965 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
39966 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
39967 &quot;url&quot;: &quot;A String&quot;, # The URL.
39968 },
39969 },
39970 ],
39971 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
39972 },
39973 },
39974 ],
39975 },
39976 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
39977 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
39978 &quot;stringResult&quot;: &quot;A String&quot;,
39979 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
39980 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
39981 { # Represents a single field in a struct.
39982 &quot;name&quot;: &quot;A String&quot;,
39983 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
39984 &quot;boolValue&quot;: True or False, # Represents a boolean value.
39985 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
39986 &quot;values&quot;: [ # Repeated field of dynamically typed values.
39987 # Object with schema name: GenaiVertexV1beta1Value
39988 ],
39989 },
39990 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
39991 &quot;numberValue&quot;: 3.14, # Represents a double value.
39992 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
39993 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
39994 },
39995 },
39996 ],
39997 },
39998 },
39999 &quot;googleMapsResult&quot;: { # Google Maps result content.
40000 &quot;result&quot;: [ # Required. The results of the Google Maps.
40001 { # The result of the Google Maps.
40002 &quot;places&quot;: [ # The places that were found.
40003 {
40004 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
40005 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
40006 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
40007 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
40008 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
40009 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
40010 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
40011 },
40012 ],
40013 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
40014 },
40015 ],
40016 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
40017 },
40018 ],
40019 },
40020 &quot;googleSearchResult&quot;: { # Google Search result content.
40021 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
40022 &quot;result&quot;: [ # Required. The results of the Google Search.
40023 { # The result of the Google Search.
40024 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
40025 },
40026 ],
40027 },
40028 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
40029 &quot;contentList&quot;: {
40030 &quot;contents&quot;: [
40031 {
40032 &quot;image&quot;: { # An image content block.
40033 &quot;data&quot;: &quot;A String&quot;, # The image content.
40034 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
40035 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
40036 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
40037 },
40038 &quot;text&quot;: { # A text content block.
40039 &quot;annotations&quot;: [ # Citation information for model-generated content.
40040 { # Citation information for model-generated content.
40041 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
40042 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
40043 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
40044 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40045 { # Represents a single field in a struct.
40046 &quot;name&quot;: &quot;A String&quot;,
40047 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40048 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40049 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40050 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40051 # Object with schema name: GenaiVertexV1beta1Value
40052 ],
40053 },
40054 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40055 &quot;numberValue&quot;: 3.14, # Represents a double value.
40056 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40057 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40058 },
40059 },
40060 ],
40061 },
40062 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
40063 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
40064 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
40065 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
40066 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
40067 },
40068 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
40069 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
40070 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
40071 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
40072 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
40073 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
40074 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
40075 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
40076 },
40077 ],
40078 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
40079 },
40080 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
40081 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
40082 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
40083 &quot;url&quot;: &quot;A String&quot;, # The URL.
40084 },
40085 },
40086 ],
40087 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
40088 },
40089 },
40090 ],
40091 },
40092 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
40093 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
40094 &quot;stringResult&quot;: &quot;A String&quot;,
40095 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
40096 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40097 { # Represents a single field in a struct.
40098 &quot;name&quot;: &quot;A String&quot;,
40099 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40100 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40101 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40102 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40103 # Object with schema name: GenaiVertexV1beta1Value
40104 ],
40105 },
40106 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40107 &quot;numberValue&quot;: 3.14, # Represents a double value.
40108 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40109 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40110 },
40111 },
40112 ],
40113 },
40114 },
40115 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
40116 &quot;urlContextResult&quot;: { # URL context result content.
40117 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
40118 &quot;result&quot;: [ # Required. The results of the URL context.
40119 { # The result of the URL context.
40120 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
40121 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
40122 },
40123 ],
40124 },
40125 },
40126 &quot;video&quot;: { # A video content block.
40127 &quot;data&quot;: &quot;A String&quot;, # The video content.
40128 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
40129 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
40130 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
40131 },
40132 },
40133 ],
40134 },
40135 &quot;toolCall&quot;: { # Tool call step.
40136 &quot;codeExecutionCall&quot;: { # Code execution call step.
40137 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
40138 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
40139 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
40140 },
40141 },
40142 &quot;fileSearchCall&quot;: { # File Search call step.
40143 },
40144 &quot;functionCall&quot;: { # A function tool call step.
40145 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
40146 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40147 { # Represents a single field in a struct.
40148 &quot;name&quot;: &quot;A String&quot;,
40149 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40150 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40151 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40152 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40153 # Object with schema name: GenaiVertexV1beta1Value
40154 ],
40155 },
40156 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40157 &quot;numberValue&quot;: 3.14, # Represents a double value.
40158 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40159 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40160 },
40161 },
40162 ],
40163 },
40164 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
40165 },
40166 &quot;googleMapsCall&quot;: { # Google Maps call step.
40167 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
40168 &quot;queries&quot;: [ # The queries to be executed.
40169 &quot;A String&quot;,
40170 ],
40171 },
40172 },
40173 &quot;googleSearchCall&quot;: { # Google Search call step.
40174 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
40175 &quot;queries&quot;: [ # Web search queries for the following-up web search.
40176 &quot;A String&quot;,
40177 ],
40178 },
40179 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
40180 },
40181 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
40182 &quot;mcpServerToolCall&quot;: { # MCPServer tool call step.
40183 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
40184 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40185 { # Represents a single field in a struct.
40186 &quot;name&quot;: &quot;A String&quot;,
40187 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40188 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40189 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40190 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40191 # Object with schema name: GenaiVertexV1beta1Value
40192 ],
40193 },
40194 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40195 &quot;numberValue&quot;: 3.14, # Represents a double value.
40196 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40197 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40198 },
40199 },
40200 ],
40201 },
40202 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
40203 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
40204 },
40205 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
40206 &quot;urlContextCall&quot;: { # URL context call step.
40207 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
40208 &quot;urls&quot;: [ # The URLs to fetch.
40209 &quot;A String&quot;,
40210 ],
40211 },
40212 },
40213 },
40214 &quot;toolResult&quot;: { # Tool result step.
40215 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
40216 &quot;codeExecutionResult&quot;: { # Code execution result step.
40217 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
40218 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
40219 },
40220 &quot;fileSearchResult&quot;: { # File Search result step.
40221 },
40222 &quot;functionResult&quot;: { # Result of a function tool call.
40223 &quot;contentList&quot;: { # A list of Content.
40224 &quot;contents&quot;: [ # The contents of the list.
40225 { # The content of the response.
40226 &quot;audio&quot;: { # An audio content block.
40227 &quot;channels&quot;: 42, # The number of audio channels.
40228 &quot;data&quot;: &quot;A String&quot;, # The audio content.
40229 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
40230 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
40231 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
40232 },
40233 &quot;document&quot;: { # A document content block.
40234 &quot;data&quot;: &quot;A String&quot;, # The document content.
40235 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
40236 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
40237 },
40238 &quot;image&quot;: { # An image content block.
40239 &quot;data&quot;: &quot;A String&quot;, # The image content.
40240 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
40241 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
40242 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
40243 },
40244 &quot;text&quot;: { # A text content block.
40245 &quot;annotations&quot;: [ # Citation information for model-generated content.
40246 { # Citation information for model-generated content.
40247 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
40248 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
40249 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
40250 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40251 { # Represents a single field in a struct.
40252 &quot;name&quot;: &quot;A String&quot;,
40253 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40254 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40255 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40256 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40257 # Object with schema name: GenaiVertexV1beta1Value
40258 ],
40259 },
40260 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40261 &quot;numberValue&quot;: 3.14, # Represents a double value.
40262 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40263 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40264 },
40265 },
40266 ],
40267 },
40268 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
40269 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
40270 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
40271 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
40272 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
40273 },
40274 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
40275 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
40276 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
40277 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
40278 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
40279 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
40280 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
40281 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
40282 },
40283 ],
40284 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
40285 },
40286 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
40287 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
40288 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
40289 &quot;url&quot;: &quot;A String&quot;, # The URL.
40290 },
40291 },
40292 ],
40293 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
40294 },
40295 &quot;thought&quot;: { # A thought content block.
40296 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
40297 &quot;summary&quot;: [ # A summary of the thought.
40298 {
40299 &quot;image&quot;: { # An image content block.
40300 &quot;data&quot;: &quot;A String&quot;, # The image content.
40301 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
40302 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
40303 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
40304 },
40305 &quot;text&quot;: { # A text content block.
40306 &quot;annotations&quot;: [ # Citation information for model-generated content.
40307 { # Citation information for model-generated content.
40308 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
40309 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
40310 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
40311 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40312 { # Represents a single field in a struct.
40313 &quot;name&quot;: &quot;A String&quot;,
40314 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40315 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40316 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40317 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40318 # Object with schema name: GenaiVertexV1beta1Value
40319 ],
40320 },
40321 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40322 &quot;numberValue&quot;: 3.14, # Represents a double value.
40323 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40324 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40325 },
40326 },
40327 ],
40328 },
40329 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
40330 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
40331 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
40332 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
40333 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
40334 },
40335 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
40336 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
40337 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
40338 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
40339 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
40340 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
40341 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
40342 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
40343 },
40344 ],
40345 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
40346 },
40347 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
40348 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
40349 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
40350 &quot;url&quot;: &quot;A String&quot;, # The URL.
40351 },
40352 },
40353 ],
40354 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
40355 },
40356 },
40357 ],
40358 },
40359 &quot;toolCall&quot;: { # Tool call content.
40360 &quot;codeExecutionCall&quot;: { # Code execution content.
40361 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
40362 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
40363 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
40364 },
40365 },
40366 &quot;fileSearchCall&quot;: { # File Search content.
40367 },
40368 &quot;functionCall&quot;: { # A function tool call content block.
40369 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
40370 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40371 { # Represents a single field in a struct.
40372 &quot;name&quot;: &quot;A String&quot;,
40373 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40374 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40375 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40376 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40377 # Object with schema name: GenaiVertexV1beta1Value
40378 ],
40379 },
40380 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40381 &quot;numberValue&quot;: 3.14, # Represents a double value.
40382 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40383 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40384 },
40385 },
40386 ],
40387 },
40388 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
40389 },
40390 &quot;googleMapsCall&quot;: { # Google Maps content.
40391 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
40392 &quot;queries&quot;: [ # The queries to be executed.
40393 &quot;A String&quot;,
40394 ],
40395 },
40396 },
40397 &quot;googleSearchCall&quot;: { # Google Search content.
40398 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
40399 &quot;queries&quot;: [ # Web search queries for the following-up web search.
40400 &quot;A String&quot;,
40401 ],
40402 },
40403 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
40404 },
40405 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
40406 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
40407 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
40408 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40409 { # Represents a single field in a struct.
40410 &quot;name&quot;: &quot;A String&quot;,
40411 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40412 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40413 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40414 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40415 # Object with schema name: GenaiVertexV1beta1Value
40416 ],
40417 },
40418 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40419 &quot;numberValue&quot;: 3.14, # Represents a double value.
40420 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40421 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40422 },
40423 },
40424 ],
40425 },
40426 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
40427 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
40428 },
40429 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
40430 &quot;urlContextCall&quot;: { # URL context content.
40431 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
40432 &quot;urls&quot;: [ # The URLs to fetch.
40433 &quot;A String&quot;,
40434 ],
40435 },
40436 },
40437 },
40438 &quot;toolResult&quot;: { # Tool result content.
40439 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
40440 &quot;codeExecutionResult&quot;: { # Code execution result content.
40441 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
40442 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
40443 },
40444 &quot;fileSearchResult&quot;: { # File Search result content.
40445 &quot;result&quot;: [ # Optional. The results of the File Search.
40446 { # The result of the File Search.
40447 },
40448 ],
40449 },
40450 &quot;functionResult&quot;: { # A function tool result content block.
40451 &quot;contentList&quot;: {
40452 &quot;contents&quot;: [
40453 {
40454 &quot;image&quot;: { # An image content block.
40455 &quot;data&quot;: &quot;A String&quot;, # The image content.
40456 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
40457 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
40458 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
40459 },
40460 &quot;text&quot;: { # A text content block.
40461 &quot;annotations&quot;: [ # Citation information for model-generated content.
40462 { # Citation information for model-generated content.
40463 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
40464 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
40465 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
40466 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40467 { # Represents a single field in a struct.
40468 &quot;name&quot;: &quot;A String&quot;,
40469 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40470 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40471 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40472 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40473 # Object with schema name: GenaiVertexV1beta1Value
40474 ],
40475 },
40476 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40477 &quot;numberValue&quot;: 3.14, # Represents a double value.
40478 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40479 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40480 },
40481 },
40482 ],
40483 },
40484 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
40485 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
40486 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
40487 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
40488 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
40489 },
40490 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
40491 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
40492 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
40493 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
40494 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
40495 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
40496 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
40497 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
40498 },
40499 ],
40500 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
40501 },
40502 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
40503 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
40504 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
40505 &quot;url&quot;: &quot;A String&quot;, # The URL.
40506 },
40507 },
40508 ],
40509 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
40510 },
40511 },
40512 ],
40513 },
40514 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
40515 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
40516 &quot;stringResult&quot;: &quot;A String&quot;,
40517 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
40518 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40519 { # Represents a single field in a struct.
40520 &quot;name&quot;: &quot;A String&quot;,
40521 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40522 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40523 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40524 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40525 # Object with schema name: GenaiVertexV1beta1Value
40526 ],
40527 },
40528 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40529 &quot;numberValue&quot;: 3.14, # Represents a double value.
40530 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40531 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40532 },
40533 },
40534 ],
40535 },
40536 },
40537 &quot;googleMapsResult&quot;: { # Google Maps result content.
40538 &quot;result&quot;: [ # Required. The results of the Google Maps.
40539 { # The result of the Google Maps.
40540 &quot;places&quot;: [ # The places that were found.
40541 {
40542 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
40543 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
40544 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
40545 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
40546 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
40547 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
40548 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
40549 },
40550 ],
40551 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
40552 },
40553 ],
40554 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
40555 },
40556 ],
40557 },
40558 &quot;googleSearchResult&quot;: { # Google Search result content.
40559 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
40560 &quot;result&quot;: [ # Required. The results of the Google Search.
40561 { # The result of the Google Search.
40562 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
40563 },
40564 ],
40565 },
40566 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
40567 &quot;contentList&quot;: {
40568 &quot;contents&quot;: [
40569 {
40570 &quot;image&quot;: { # An image content block.
40571 &quot;data&quot;: &quot;A String&quot;, # The image content.
40572 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
40573 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
40574 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
40575 },
40576 &quot;text&quot;: { # A text content block.
40577 &quot;annotations&quot;: [ # Citation information for model-generated content.
40578 { # Citation information for model-generated content.
40579 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
40580 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
40581 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
40582 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40583 { # Represents a single field in a struct.
40584 &quot;name&quot;: &quot;A String&quot;,
40585 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40586 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40587 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40588 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40589 # Object with schema name: GenaiVertexV1beta1Value
40590 ],
40591 },
40592 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40593 &quot;numberValue&quot;: 3.14, # Represents a double value.
40594 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40595 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40596 },
40597 },
40598 ],
40599 },
40600 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
40601 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
40602 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
40603 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
40604 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
40605 },
40606 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
40607 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
40608 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
40609 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
40610 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
40611 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
40612 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
40613 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
40614 },
40615 ],
40616 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
40617 },
40618 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
40619 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
40620 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
40621 &quot;url&quot;: &quot;A String&quot;, # The URL.
40622 },
40623 },
40624 ],
40625 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
40626 },
40627 },
40628 ],
40629 },
40630 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
40631 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
40632 &quot;stringResult&quot;: &quot;A String&quot;,
40633 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
40634 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40635 { # Represents a single field in a struct.
40636 &quot;name&quot;: &quot;A String&quot;,
40637 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40638 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40639 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40640 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40641 # Object with schema name: GenaiVertexV1beta1Value
40642 ],
40643 },
40644 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40645 &quot;numberValue&quot;: 3.14, # Represents a double value.
40646 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40647 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40648 },
40649 },
40650 ],
40651 },
40652 },
40653 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
40654 &quot;urlContextResult&quot;: { # URL context result content.
40655 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
40656 &quot;result&quot;: [ # Required. The results of the URL context.
40657 { # The result of the URL context.
40658 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
40659 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
40660 },
40661 ],
40662 },
40663 },
40664 &quot;video&quot;: { # A video content block.
40665 &quot;data&quot;: &quot;A String&quot;, # The video content.
40666 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
40667 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
40668 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
40669 },
40670 },
40671 ],
40672 },
40673 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
40674 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
40675 &quot;stringResult&quot;: &quot;A String&quot;,
40676 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
40677 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40678 { # Represents a single field in a struct.
40679 &quot;name&quot;: &quot;A String&quot;,
40680 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40681 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40682 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40683 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40684 # Object with schema name: GenaiVertexV1beta1Value
40685 ],
40686 },
40687 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40688 &quot;numberValue&quot;: 3.14, # Represents a double value.
40689 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40690 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40691 },
40692 },
40693 ],
40694 },
40695 },
40696 &quot;googleMapsResult&quot;: { # Google Maps result step.
40697 &quot;result&quot;: [
40698 { # The result of the Google Maps.
40699 &quot;places&quot;: [
40700 {
40701 &quot;name&quot;: &quot;A String&quot;,
40702 &quot;placeId&quot;: &quot;A String&quot;,
40703 &quot;reviewSnippets&quot;: [
40704 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
40705 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
40706 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
40707 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
40708 },
40709 ],
40710 &quot;url&quot;: &quot;A String&quot;,
40711 },
40712 ],
40713 &quot;widgetContextToken&quot;: &quot;A String&quot;,
40714 },
40715 ],
40716 },
40717 &quot;googleSearchResult&quot;: { # Google Search result step.
40718 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
40719 &quot;result&quot;: [ # Required. The results of the Google Search.
40720 { # The result of the Google Search.
40721 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
40722 },
40723 ],
40724 },
40725 &quot;mcpServerToolResult&quot;: { # MCPServer tool result step.
40726 &quot;contentList&quot;: { # A list of Content.
40727 &quot;contents&quot;: [ # The contents of the list.
40728 { # The content of the response.
40729 &quot;audio&quot;: { # An audio content block.
40730 &quot;channels&quot;: 42, # The number of audio channels.
40731 &quot;data&quot;: &quot;A String&quot;, # The audio content.
40732 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
40733 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
40734 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
40735 },
40736 &quot;document&quot;: { # A document content block.
40737 &quot;data&quot;: &quot;A String&quot;, # The document content.
40738 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
40739 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
40740 },
40741 &quot;image&quot;: { # An image content block.
40742 &quot;data&quot;: &quot;A String&quot;, # The image content.
40743 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
40744 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
40745 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
40746 },
40747 &quot;text&quot;: { # A text content block.
40748 &quot;annotations&quot;: [ # Citation information for model-generated content.
40749 { # Citation information for model-generated content.
40750 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
40751 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
40752 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
40753 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40754 { # Represents a single field in a struct.
40755 &quot;name&quot;: &quot;A String&quot;,
40756 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40757 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40758 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40759 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40760 # Object with schema name: GenaiVertexV1beta1Value
40761 ],
40762 },
40763 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40764 &quot;numberValue&quot;: 3.14, # Represents a double value.
40765 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40766 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40767 },
40768 },
40769 ],
40770 },
40771 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
40772 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
40773 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
40774 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
40775 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
40776 },
40777 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
40778 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
40779 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
40780 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
40781 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
40782 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
40783 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
40784 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
40785 },
40786 ],
40787 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
40788 },
40789 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
40790 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
40791 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
40792 &quot;url&quot;: &quot;A String&quot;, # The URL.
40793 },
40794 },
40795 ],
40796 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
40797 },
40798 &quot;thought&quot;: { # A thought content block.
40799 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
40800 &quot;summary&quot;: [ # A summary of the thought.
40801 {
40802 &quot;image&quot;: { # An image content block.
40803 &quot;data&quot;: &quot;A String&quot;, # The image content.
40804 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
40805 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
40806 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
40807 },
40808 &quot;text&quot;: { # A text content block.
40809 &quot;annotations&quot;: [ # Citation information for model-generated content.
40810 { # Citation information for model-generated content.
40811 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
40812 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
40813 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
40814 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40815 { # Represents a single field in a struct.
40816 &quot;name&quot;: &quot;A String&quot;,
40817 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40818 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40819 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40820 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40821 # Object with schema name: GenaiVertexV1beta1Value
40822 ],
40823 },
40824 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40825 &quot;numberValue&quot;: 3.14, # Represents a double value.
40826 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40827 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40828 },
40829 },
40830 ],
40831 },
40832 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
40833 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
40834 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
40835 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
40836 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
40837 },
40838 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
40839 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
40840 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
40841 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
40842 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
40843 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
40844 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
40845 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
40846 },
40847 ],
40848 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
40849 },
40850 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
40851 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
40852 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
40853 &quot;url&quot;: &quot;A String&quot;, # The URL.
40854 },
40855 },
40856 ],
40857 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
40858 },
40859 },
40860 ],
40861 },
40862 &quot;toolCall&quot;: { # Tool call content.
40863 &quot;codeExecutionCall&quot;: { # Code execution content.
40864 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
40865 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
40866 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
40867 },
40868 },
40869 &quot;fileSearchCall&quot;: { # File Search content.
40870 },
40871 &quot;functionCall&quot;: { # A function tool call content block.
40872 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
40873 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40874 { # Represents a single field in a struct.
40875 &quot;name&quot;: &quot;A String&quot;,
40876 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40877 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40878 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40879 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40880 # Object with schema name: GenaiVertexV1beta1Value
40881 ],
40882 },
40883 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40884 &quot;numberValue&quot;: 3.14, # Represents a double value.
40885 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40886 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40887 },
40888 },
40889 ],
40890 },
40891 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
40892 },
40893 &quot;googleMapsCall&quot;: { # Google Maps content.
40894 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
40895 &quot;queries&quot;: [ # The queries to be executed.
40896 &quot;A String&quot;,
40897 ],
40898 },
40899 },
40900 &quot;googleSearchCall&quot;: { # Google Search content.
40901 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
40902 &quot;queries&quot;: [ # Web search queries for the following-up web search.
40903 &quot;A String&quot;,
40904 ],
40905 },
40906 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
40907 },
40908 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
40909 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
40910 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
40911 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40912 { # Represents a single field in a struct.
40913 &quot;name&quot;: &quot;A String&quot;,
40914 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40915 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40916 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40917 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40918 # Object with schema name: GenaiVertexV1beta1Value
40919 ],
40920 },
40921 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40922 &quot;numberValue&quot;: 3.14, # Represents a double value.
40923 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40924 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40925 },
40926 },
40927 ],
40928 },
40929 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
40930 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
40931 },
40932 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
40933 &quot;urlContextCall&quot;: { # URL context content.
40934 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
40935 &quot;urls&quot;: [ # The URLs to fetch.
40936 &quot;A String&quot;,
40937 ],
40938 },
40939 },
40940 },
40941 &quot;toolResult&quot;: { # Tool result content.
40942 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
40943 &quot;codeExecutionResult&quot;: { # Code execution result content.
40944 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
40945 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
40946 },
40947 &quot;fileSearchResult&quot;: { # File Search result content.
40948 &quot;result&quot;: [ # Optional. The results of the File Search.
40949 { # The result of the File Search.
40950 },
40951 ],
40952 },
40953 &quot;functionResult&quot;: { # A function tool result content block.
40954 &quot;contentList&quot;: {
40955 &quot;contents&quot;: [
40956 {
40957 &quot;image&quot;: { # An image content block.
40958 &quot;data&quot;: &quot;A String&quot;, # The image content.
40959 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
40960 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
40961 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
40962 },
40963 &quot;text&quot;: { # A text content block.
40964 &quot;annotations&quot;: [ # Citation information for model-generated content.
40965 { # Citation information for model-generated content.
40966 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
40967 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
40968 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
40969 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
40970 { # Represents a single field in a struct.
40971 &quot;name&quot;: &quot;A String&quot;,
40972 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
40973 &quot;boolValue&quot;: True or False, # Represents a boolean value.
40974 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
40975 &quot;values&quot;: [ # Repeated field of dynamically typed values.
40976 # Object with schema name: GenaiVertexV1beta1Value
40977 ],
40978 },
40979 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
40980 &quot;numberValue&quot;: 3.14, # Represents a double value.
40981 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
40982 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
40983 },
40984 },
40985 ],
40986 },
40987 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
40988 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
40989 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
40990 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
40991 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
40992 },
40993 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
40994 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
40995 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
40996 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
40997 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
40998 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
40999 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
41000 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
41001 },
41002 ],
41003 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
41004 },
41005 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
41006 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
41007 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
41008 &quot;url&quot;: &quot;A String&quot;, # The URL.
41009 },
41010 },
41011 ],
41012 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
41013 },
41014 },
41015 ],
41016 },
41017 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
41018 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
41019 &quot;stringResult&quot;: &quot;A String&quot;,
41020 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
41021 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41022 { # Represents a single field in a struct.
41023 &quot;name&quot;: &quot;A String&quot;,
41024 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41025 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41026 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41027 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41028 # Object with schema name: GenaiVertexV1beta1Value
41029 ],
41030 },
41031 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41032 &quot;numberValue&quot;: 3.14, # Represents a double value.
41033 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41034 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41035 },
41036 },
41037 ],
41038 },
41039 },
41040 &quot;googleMapsResult&quot;: { # Google Maps result content.
41041 &quot;result&quot;: [ # Required. The results of the Google Maps.
41042 { # The result of the Google Maps.
41043 &quot;places&quot;: [ # The places that were found.
41044 {
41045 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
41046 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
41047 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
41048 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
41049 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
41050 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
41051 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
41052 },
41053 ],
41054 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
41055 },
41056 ],
41057 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
41058 },
41059 ],
41060 },
41061 &quot;googleSearchResult&quot;: { # Google Search result content.
41062 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
41063 &quot;result&quot;: [ # Required. The results of the Google Search.
41064 { # The result of the Google Search.
41065 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
41066 },
41067 ],
41068 },
41069 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
41070 &quot;contentList&quot;: {
41071 &quot;contents&quot;: [
41072 {
41073 &quot;image&quot;: { # An image content block.
41074 &quot;data&quot;: &quot;A String&quot;, # The image content.
41075 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
41076 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
41077 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
41078 },
41079 &quot;text&quot;: { # A text content block.
41080 &quot;annotations&quot;: [ # Citation information for model-generated content.
41081 { # Citation information for model-generated content.
41082 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
41083 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
41084 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
41085 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41086 { # Represents a single field in a struct.
41087 &quot;name&quot;: &quot;A String&quot;,
41088 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41089 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41090 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41091 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41092 # Object with schema name: GenaiVertexV1beta1Value
41093 ],
41094 },
41095 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41096 &quot;numberValue&quot;: 3.14, # Represents a double value.
41097 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41098 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41099 },
41100 },
41101 ],
41102 },
41103 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
41104 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
41105 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
41106 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
41107 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
41108 },
41109 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
41110 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
41111 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
41112 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
41113 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
41114 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
41115 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
41116 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
41117 },
41118 ],
41119 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
41120 },
41121 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
41122 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
41123 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
41124 &quot;url&quot;: &quot;A String&quot;, # The URL.
41125 },
41126 },
41127 ],
41128 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
41129 },
41130 },
41131 ],
41132 },
41133 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
41134 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
41135 &quot;stringResult&quot;: &quot;A String&quot;,
41136 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
41137 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41138 { # Represents a single field in a struct.
41139 &quot;name&quot;: &quot;A String&quot;,
41140 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41141 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41142 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41143 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41144 # Object with schema name: GenaiVertexV1beta1Value
41145 ],
41146 },
41147 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41148 &quot;numberValue&quot;: 3.14, # Represents a double value.
41149 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41150 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41151 },
41152 },
41153 ],
41154 },
41155 },
41156 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
41157 &quot;urlContextResult&quot;: { # URL context result content.
41158 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
41159 &quot;result&quot;: [ # Required. The results of the URL context.
41160 { # The result of the URL context.
41161 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
41162 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
41163 },
41164 ],
41165 },
41166 },
41167 &quot;video&quot;: { # A video content block.
41168 &quot;data&quot;: &quot;A String&quot;, # The video content.
41169 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
41170 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
41171 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
41172 },
41173 },
41174 ],
41175 },
41176 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
41177 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
41178 &quot;stringResult&quot;: &quot;A String&quot;,
41179 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
41180 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41181 { # Represents a single field in a struct.
41182 &quot;name&quot;: &quot;A String&quot;,
41183 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41184 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41185 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41186 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41187 # Object with schema name: GenaiVertexV1beta1Value
41188 ],
41189 },
41190 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41191 &quot;numberValue&quot;: 3.14, # Represents a double value.
41192 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41193 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41194 },
41195 },
41196 ],
41197 },
41198 },
41199 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
41200 &quot;urlContextResult&quot;: { # URL context result step.
41201 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
41202 &quot;result&quot;: [ # Required. The results of the URL context.
41203 { # The result of the URL context.
41204 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
41205 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
41206 },
41207 ],
41208 },
41209 },
41210 &quot;userInput&quot;: { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
41211 &quot;contentList&quot;: { # A list of Content. # The content of the step. An array of Content objects.
41212 &quot;contents&quot;: [ # The contents of the list.
41213 { # The content of the response.
41214 &quot;audio&quot;: { # An audio content block.
41215 &quot;channels&quot;: 42, # The number of audio channels.
41216 &quot;data&quot;: &quot;A String&quot;, # The audio content.
41217 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
41218 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
41219 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
41220 },
41221 &quot;document&quot;: { # A document content block.
41222 &quot;data&quot;: &quot;A String&quot;, # The document content.
41223 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
41224 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
41225 },
41226 &quot;image&quot;: { # An image content block.
41227 &quot;data&quot;: &quot;A String&quot;, # The image content.
41228 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
41229 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
41230 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
41231 },
41232 &quot;text&quot;: { # A text content block.
41233 &quot;annotations&quot;: [ # Citation information for model-generated content.
41234 { # Citation information for model-generated content.
41235 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
41236 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
41237 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
41238 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41239 { # Represents a single field in a struct.
41240 &quot;name&quot;: &quot;A String&quot;,
41241 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41242 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41243 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41244 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41245 # Object with schema name: GenaiVertexV1beta1Value
41246 ],
41247 },
41248 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41249 &quot;numberValue&quot;: 3.14, # Represents a double value.
41250 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41251 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41252 },
41253 },
41254 ],
41255 },
41256 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
41257 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
41258 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
41259 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
41260 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
41261 },
41262 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
41263 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
41264 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
41265 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
41266 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
41267 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
41268 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
41269 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
41270 },
41271 ],
41272 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
41273 },
41274 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
41275 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
41276 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
41277 &quot;url&quot;: &quot;A String&quot;, # The URL.
41278 },
41279 },
41280 ],
41281 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
41282 },
41283 &quot;thought&quot;: { # A thought content block.
41284 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
41285 &quot;summary&quot;: [ # A summary of the thought.
41286 {
41287 &quot;image&quot;: { # An image content block.
41288 &quot;data&quot;: &quot;A String&quot;, # The image content.
41289 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
41290 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
41291 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
41292 },
41293 &quot;text&quot;: { # A text content block.
41294 &quot;annotations&quot;: [ # Citation information for model-generated content.
41295 { # Citation information for model-generated content.
41296 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
41297 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
41298 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
41299 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41300 { # Represents a single field in a struct.
41301 &quot;name&quot;: &quot;A String&quot;,
41302 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41303 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41304 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41305 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41306 # Object with schema name: GenaiVertexV1beta1Value
41307 ],
41308 },
41309 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41310 &quot;numberValue&quot;: 3.14, # Represents a double value.
41311 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41312 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41313 },
41314 },
41315 ],
41316 },
41317 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
41318 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
41319 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
41320 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
41321 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
41322 },
41323 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
41324 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
41325 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
41326 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
41327 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
41328 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
41329 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
41330 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
41331 },
41332 ],
41333 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
41334 },
41335 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
41336 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
41337 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
41338 &quot;url&quot;: &quot;A String&quot;, # The URL.
41339 },
41340 },
41341 ],
41342 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
41343 },
41344 },
41345 ],
41346 },
41347 &quot;toolCall&quot;: { # Tool call content.
41348 &quot;codeExecutionCall&quot;: { # Code execution content.
41349 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
41350 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
41351 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
41352 },
41353 },
41354 &quot;fileSearchCall&quot;: { # File Search content.
41355 },
41356 &quot;functionCall&quot;: { # A function tool call content block.
41357 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
41358 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41359 { # Represents a single field in a struct.
41360 &quot;name&quot;: &quot;A String&quot;,
41361 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41362 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41363 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41364 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41365 # Object with schema name: GenaiVertexV1beta1Value
41366 ],
41367 },
41368 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41369 &quot;numberValue&quot;: 3.14, # Represents a double value.
41370 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41371 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41372 },
41373 },
41374 ],
41375 },
41376 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
41377 },
41378 &quot;googleMapsCall&quot;: { # Google Maps content.
41379 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
41380 &quot;queries&quot;: [ # The queries to be executed.
41381 &quot;A String&quot;,
41382 ],
41383 },
41384 },
41385 &quot;googleSearchCall&quot;: { # Google Search content.
41386 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
41387 &quot;queries&quot;: [ # Web search queries for the following-up web search.
41388 &quot;A String&quot;,
41389 ],
41390 },
41391 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
41392 },
41393 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
41394 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
41395 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
41396 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41397 { # Represents a single field in a struct.
41398 &quot;name&quot;: &quot;A String&quot;,
41399 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41400 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41401 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41402 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41403 # Object with schema name: GenaiVertexV1beta1Value
41404 ],
41405 },
41406 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41407 &quot;numberValue&quot;: 3.14, # Represents a double value.
41408 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41409 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41410 },
41411 },
41412 ],
41413 },
41414 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
41415 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
41416 },
41417 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
41418 &quot;urlContextCall&quot;: { # URL context content.
41419 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
41420 &quot;urls&quot;: [ # The URLs to fetch.
41421 &quot;A String&quot;,
41422 ],
41423 },
41424 },
41425 },
41426 &quot;toolResult&quot;: { # Tool result content.
41427 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
41428 &quot;codeExecutionResult&quot;: { # Code execution result content.
41429 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
41430 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
41431 },
41432 &quot;fileSearchResult&quot;: { # File Search result content.
41433 &quot;result&quot;: [ # Optional. The results of the File Search.
41434 { # The result of the File Search.
41435 },
41436 ],
41437 },
41438 &quot;functionResult&quot;: { # A function tool result content block.
41439 &quot;contentList&quot;: {
41440 &quot;contents&quot;: [
41441 {
41442 &quot;image&quot;: { # An image content block.
41443 &quot;data&quot;: &quot;A String&quot;, # The image content.
41444 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
41445 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
41446 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
41447 },
41448 &quot;text&quot;: { # A text content block.
41449 &quot;annotations&quot;: [ # Citation information for model-generated content.
41450 { # Citation information for model-generated content.
41451 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
41452 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
41453 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
41454 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41455 { # Represents a single field in a struct.
41456 &quot;name&quot;: &quot;A String&quot;,
41457 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41458 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41459 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41460 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41461 # Object with schema name: GenaiVertexV1beta1Value
41462 ],
41463 },
41464 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41465 &quot;numberValue&quot;: 3.14, # Represents a double value.
41466 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41467 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41468 },
41469 },
41470 ],
41471 },
41472 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
41473 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
41474 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
41475 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
41476 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
41477 },
41478 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
41479 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
41480 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
41481 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
41482 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
41483 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
41484 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
41485 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
41486 },
41487 ],
41488 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
41489 },
41490 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
41491 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
41492 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
41493 &quot;url&quot;: &quot;A String&quot;, # The URL.
41494 },
41495 },
41496 ],
41497 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
41498 },
41499 },
41500 ],
41501 },
41502 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
41503 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
41504 &quot;stringResult&quot;: &quot;A String&quot;,
41505 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
41506 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41507 { # Represents a single field in a struct.
41508 &quot;name&quot;: &quot;A String&quot;,
41509 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41510 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41511 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41512 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41513 # Object with schema name: GenaiVertexV1beta1Value
41514 ],
41515 },
41516 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41517 &quot;numberValue&quot;: 3.14, # Represents a double value.
41518 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41519 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41520 },
41521 },
41522 ],
41523 },
41524 },
41525 &quot;googleMapsResult&quot;: { # Google Maps result content.
41526 &quot;result&quot;: [ # Required. The results of the Google Maps.
41527 { # The result of the Google Maps.
41528 &quot;places&quot;: [ # The places that were found.
41529 {
41530 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
41531 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
41532 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
41533 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
41534 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
41535 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
41536 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
41537 },
41538 ],
41539 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
41540 },
41541 ],
41542 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
41543 },
41544 ],
41545 },
41546 &quot;googleSearchResult&quot;: { # Google Search result content.
41547 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
41548 &quot;result&quot;: [ # Required. The results of the Google Search.
41549 { # The result of the Google Search.
41550 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
41551 },
41552 ],
41553 },
41554 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
41555 &quot;contentList&quot;: {
41556 &quot;contents&quot;: [
41557 {
41558 &quot;image&quot;: { # An image content block.
41559 &quot;data&quot;: &quot;A String&quot;, # The image content.
41560 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
41561 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
41562 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
41563 },
41564 &quot;text&quot;: { # A text content block.
41565 &quot;annotations&quot;: [ # Citation information for model-generated content.
41566 { # Citation information for model-generated content.
41567 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
41568 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
41569 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
41570 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41571 { # Represents a single field in a struct.
41572 &quot;name&quot;: &quot;A String&quot;,
41573 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41574 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41575 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41576 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41577 # Object with schema name: GenaiVertexV1beta1Value
41578 ],
41579 },
41580 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41581 &quot;numberValue&quot;: 3.14, # Represents a double value.
41582 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41583 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41584 },
41585 },
41586 ],
41587 },
41588 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
41589 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
41590 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
41591 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
41592 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
41593 },
41594 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
41595 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
41596 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
41597 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
41598 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
41599 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
41600 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
41601 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
41602 },
41603 ],
41604 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
41605 },
41606 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
41607 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
41608 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
41609 &quot;url&quot;: &quot;A String&quot;, # The URL.
41610 },
41611 },
41612 ],
41613 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
41614 },
41615 },
41616 ],
41617 },
41618 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
41619 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
41620 &quot;stringResult&quot;: &quot;A String&quot;,
41621 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
41622 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41623 { # Represents a single field in a struct.
41624 &quot;name&quot;: &quot;A String&quot;,
41625 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41626 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41627 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41628 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41629 # Object with schema name: GenaiVertexV1beta1Value
41630 ],
41631 },
41632 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41633 &quot;numberValue&quot;: 3.14, # Represents a double value.
41634 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41635 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41636 },
41637 },
41638 ],
41639 },
41640 },
41641 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
41642 &quot;urlContextResult&quot;: { # URL context result content.
41643 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
41644 &quot;result&quot;: [ # Required. The results of the URL context.
41645 { # The result of the URL context.
41646 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
41647 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
41648 },
41649 ],
41650 },
41651 },
41652 &quot;video&quot;: { # A video content block.
41653 &quot;data&quot;: &quot;A String&quot;, # The video content.
41654 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
41655 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
41656 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
41657 },
41658 },
41659 ],
41660 },
41661 &quot;contentString&quot;: &quot;A String&quot;, # The content of the step. A single string.
41662 },
41663 },
41664 ],
41665 },
41666 &quot;steps&quot;: [ # Required. Output only. The steps that make up the interaction.
41667 { # A step in the interaction.
41668 &quot;modelOutput&quot;: { # Output generated by the model.
41669 &quot;content&quot;: [
41670 { # The content of the response.
41671 &quot;audio&quot;: { # An audio content block.
41672 &quot;channels&quot;: 42, # The number of audio channels.
41673 &quot;data&quot;: &quot;A String&quot;, # The audio content.
41674 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
41675 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
41676 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
41677 },
41678 &quot;document&quot;: { # A document content block.
41679 &quot;data&quot;: &quot;A String&quot;, # The document content.
41680 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
41681 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
41682 },
41683 &quot;image&quot;: { # An image content block.
41684 &quot;data&quot;: &quot;A String&quot;, # The image content.
41685 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
41686 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
41687 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
41688 },
41689 &quot;text&quot;: { # A text content block.
41690 &quot;annotations&quot;: [ # Citation information for model-generated content.
41691 { # Citation information for model-generated content.
41692 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
41693 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
41694 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
41695 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41696 { # Represents a single field in a struct.
41697 &quot;name&quot;: &quot;A String&quot;,
41698 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41699 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41700 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41701 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41702 # Object with schema name: GenaiVertexV1beta1Value
41703 ],
41704 },
41705 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41706 &quot;numberValue&quot;: 3.14, # Represents a double value.
41707 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41708 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41709 },
41710 },
41711 ],
41712 },
41713 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
41714 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
41715 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
41716 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
41717 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
41718 },
41719 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
41720 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
41721 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
41722 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
41723 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
41724 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
41725 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
41726 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
41727 },
41728 ],
41729 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
41730 },
41731 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
41732 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
41733 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
41734 &quot;url&quot;: &quot;A String&quot;, # The URL.
41735 },
41736 },
41737 ],
41738 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
41739 },
41740 &quot;thought&quot;: { # A thought content block.
41741 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
41742 &quot;summary&quot;: [ # A summary of the thought.
41743 {
41744 &quot;image&quot;: { # An image content block.
41745 &quot;data&quot;: &quot;A String&quot;, # The image content.
41746 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
41747 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
41748 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
41749 },
41750 &quot;text&quot;: { # A text content block.
41751 &quot;annotations&quot;: [ # Citation information for model-generated content.
41752 { # Citation information for model-generated content.
41753 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
41754 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
41755 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
41756 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41757 { # Represents a single field in a struct.
41758 &quot;name&quot;: &quot;A String&quot;,
41759 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41760 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41761 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41762 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41763 # Object with schema name: GenaiVertexV1beta1Value
41764 ],
41765 },
41766 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41767 &quot;numberValue&quot;: 3.14, # Represents a double value.
41768 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41769 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41770 },
41771 },
41772 ],
41773 },
41774 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
41775 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
41776 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
41777 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
41778 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
41779 },
41780 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
41781 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
41782 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
41783 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
41784 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
41785 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
41786 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
41787 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
41788 },
41789 ],
41790 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
41791 },
41792 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
41793 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
41794 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
41795 &quot;url&quot;: &quot;A String&quot;, # The URL.
41796 },
41797 },
41798 ],
41799 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
41800 },
41801 },
41802 ],
41803 },
41804 &quot;toolCall&quot;: { # Tool call content.
41805 &quot;codeExecutionCall&quot;: { # Code execution content.
41806 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
41807 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
41808 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
41809 },
41810 },
41811 &quot;fileSearchCall&quot;: { # File Search content.
41812 },
41813 &quot;functionCall&quot;: { # A function tool call content block.
41814 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
41815 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41816 { # Represents a single field in a struct.
41817 &quot;name&quot;: &quot;A String&quot;,
41818 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41819 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41820 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41821 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41822 # Object with schema name: GenaiVertexV1beta1Value
41823 ],
41824 },
41825 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41826 &quot;numberValue&quot;: 3.14, # Represents a double value.
41827 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41828 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41829 },
41830 },
41831 ],
41832 },
41833 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
41834 },
41835 &quot;googleMapsCall&quot;: { # Google Maps content.
41836 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
41837 &quot;queries&quot;: [ # The queries to be executed.
41838 &quot;A String&quot;,
41839 ],
41840 },
41841 },
41842 &quot;googleSearchCall&quot;: { # Google Search content.
41843 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
41844 &quot;queries&quot;: [ # Web search queries for the following-up web search.
41845 &quot;A String&quot;,
41846 ],
41847 },
41848 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
41849 },
41850 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
41851 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
41852 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
41853 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41854 { # Represents a single field in a struct.
41855 &quot;name&quot;: &quot;A String&quot;,
41856 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41857 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41858 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41859 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41860 # Object with schema name: GenaiVertexV1beta1Value
41861 ],
41862 },
41863 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41864 &quot;numberValue&quot;: 3.14, # Represents a double value.
41865 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41866 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41867 },
41868 },
41869 ],
41870 },
41871 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
41872 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
41873 },
41874 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
41875 &quot;urlContextCall&quot;: { # URL context content.
41876 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
41877 &quot;urls&quot;: [ # The URLs to fetch.
41878 &quot;A String&quot;,
41879 ],
41880 },
41881 },
41882 },
41883 &quot;toolResult&quot;: { # Tool result content.
41884 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
41885 &quot;codeExecutionResult&quot;: { # Code execution result content.
41886 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
41887 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
41888 },
41889 &quot;fileSearchResult&quot;: { # File Search result content.
41890 &quot;result&quot;: [ # Optional. The results of the File Search.
41891 { # The result of the File Search.
41892 },
41893 ],
41894 },
41895 &quot;functionResult&quot;: { # A function tool result content block.
41896 &quot;contentList&quot;: {
41897 &quot;contents&quot;: [
41898 {
41899 &quot;image&quot;: { # An image content block.
41900 &quot;data&quot;: &quot;A String&quot;, # The image content.
41901 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
41902 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
41903 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
41904 },
41905 &quot;text&quot;: { # A text content block.
41906 &quot;annotations&quot;: [ # Citation information for model-generated content.
41907 { # Citation information for model-generated content.
41908 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
41909 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
41910 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
41911 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41912 { # Represents a single field in a struct.
41913 &quot;name&quot;: &quot;A String&quot;,
41914 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41915 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41916 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41917 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41918 # Object with schema name: GenaiVertexV1beta1Value
41919 ],
41920 },
41921 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41922 &quot;numberValue&quot;: 3.14, # Represents a double value.
41923 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41924 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41925 },
41926 },
41927 ],
41928 },
41929 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
41930 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
41931 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
41932 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
41933 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
41934 },
41935 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
41936 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
41937 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
41938 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
41939 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
41940 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
41941 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
41942 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
41943 },
41944 ],
41945 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
41946 },
41947 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
41948 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
41949 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
41950 &quot;url&quot;: &quot;A String&quot;, # The URL.
41951 },
41952 },
41953 ],
41954 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
41955 },
41956 },
41957 ],
41958 },
41959 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
41960 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
41961 &quot;stringResult&quot;: &quot;A String&quot;,
41962 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
41963 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
41964 { # Represents a single field in a struct.
41965 &quot;name&quot;: &quot;A String&quot;,
41966 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
41967 &quot;boolValue&quot;: True or False, # Represents a boolean value.
41968 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
41969 &quot;values&quot;: [ # Repeated field of dynamically typed values.
41970 # Object with schema name: GenaiVertexV1beta1Value
41971 ],
41972 },
41973 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
41974 &quot;numberValue&quot;: 3.14, # Represents a double value.
41975 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
41976 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
41977 },
41978 },
41979 ],
41980 },
41981 },
41982 &quot;googleMapsResult&quot;: { # Google Maps result content.
41983 &quot;result&quot;: [ # Required. The results of the Google Maps.
41984 { # The result of the Google Maps.
41985 &quot;places&quot;: [ # The places that were found.
41986 {
41987 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
41988 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
41989 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
41990 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
41991 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
41992 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
41993 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
41994 },
41995 ],
41996 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
41997 },
41998 ],
41999 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
42000 },
42001 ],
42002 },
42003 &quot;googleSearchResult&quot;: { # Google Search result content.
42004 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
42005 &quot;result&quot;: [ # Required. The results of the Google Search.
42006 { # The result of the Google Search.
42007 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
42008 },
42009 ],
42010 },
42011 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
42012 &quot;contentList&quot;: {
42013 &quot;contents&quot;: [
42014 {
42015 &quot;image&quot;: { # An image content block.
42016 &quot;data&quot;: &quot;A String&quot;, # The image content.
42017 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
42018 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
42019 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
42020 },
42021 &quot;text&quot;: { # A text content block.
42022 &quot;annotations&quot;: [ # Citation information for model-generated content.
42023 { # Citation information for model-generated content.
42024 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
42025 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
42026 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
42027 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42028 { # Represents a single field in a struct.
42029 &quot;name&quot;: &quot;A String&quot;,
42030 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42031 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42032 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42033 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42034 # Object with schema name: GenaiVertexV1beta1Value
42035 ],
42036 },
42037 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42038 &quot;numberValue&quot;: 3.14, # Represents a double value.
42039 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42040 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42041 },
42042 },
42043 ],
42044 },
42045 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
42046 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
42047 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
42048 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
42049 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
42050 },
42051 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
42052 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
42053 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
42054 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
42055 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
42056 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
42057 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
42058 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
42059 },
42060 ],
42061 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
42062 },
42063 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
42064 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
42065 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
42066 &quot;url&quot;: &quot;A String&quot;, # The URL.
42067 },
42068 },
42069 ],
42070 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
42071 },
42072 },
42073 ],
42074 },
42075 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
42076 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
42077 &quot;stringResult&quot;: &quot;A String&quot;,
42078 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
42079 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42080 { # Represents a single field in a struct.
42081 &quot;name&quot;: &quot;A String&quot;,
42082 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42083 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42084 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42085 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42086 # Object with schema name: GenaiVertexV1beta1Value
42087 ],
42088 },
42089 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42090 &quot;numberValue&quot;: 3.14, # Represents a double value.
42091 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42092 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42093 },
42094 },
42095 ],
42096 },
42097 },
42098 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
42099 &quot;urlContextResult&quot;: { # URL context result content.
42100 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
42101 &quot;result&quot;: [ # Required. The results of the URL context.
42102 { # The result of the URL context.
42103 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
42104 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
42105 },
42106 ],
42107 },
42108 },
42109 &quot;video&quot;: { # A video content block.
42110 &quot;data&quot;: &quot;A String&quot;, # The video content.
42111 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
42112 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
42113 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
42114 },
42115 },
42116 ],
42117 },
42118 &quot;thought&quot;: { # A thought step.
42119 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
42120 &quot;summary&quot;: [ # A summary of the thought.
42121 { # The content of the response.
42122 &quot;audio&quot;: { # An audio content block.
42123 &quot;channels&quot;: 42, # The number of audio channels.
42124 &quot;data&quot;: &quot;A String&quot;, # The audio content.
42125 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
42126 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
42127 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
42128 },
42129 &quot;document&quot;: { # A document content block.
42130 &quot;data&quot;: &quot;A String&quot;, # The document content.
42131 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
42132 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
42133 },
42134 &quot;image&quot;: { # An image content block.
42135 &quot;data&quot;: &quot;A String&quot;, # The image content.
42136 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
42137 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
42138 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
42139 },
42140 &quot;text&quot;: { # A text content block.
42141 &quot;annotations&quot;: [ # Citation information for model-generated content.
42142 { # Citation information for model-generated content.
42143 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
42144 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
42145 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
42146 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42147 { # Represents a single field in a struct.
42148 &quot;name&quot;: &quot;A String&quot;,
42149 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42150 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42151 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42152 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42153 # Object with schema name: GenaiVertexV1beta1Value
42154 ],
42155 },
42156 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42157 &quot;numberValue&quot;: 3.14, # Represents a double value.
42158 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42159 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42160 },
42161 },
42162 ],
42163 },
42164 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
42165 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
42166 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
42167 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
42168 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
42169 },
42170 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
42171 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
42172 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
42173 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
42174 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
42175 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
42176 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
42177 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
42178 },
42179 ],
42180 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
42181 },
42182 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
42183 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
42184 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
42185 &quot;url&quot;: &quot;A String&quot;, # The URL.
42186 },
42187 },
42188 ],
42189 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
42190 },
42191 &quot;thought&quot;: { # A thought content block.
42192 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
42193 &quot;summary&quot;: [ # A summary of the thought.
42194 {
42195 &quot;image&quot;: { # An image content block.
42196 &quot;data&quot;: &quot;A String&quot;, # The image content.
42197 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
42198 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
42199 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
42200 },
42201 &quot;text&quot;: { # A text content block.
42202 &quot;annotations&quot;: [ # Citation information for model-generated content.
42203 { # Citation information for model-generated content.
42204 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
42205 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
42206 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
42207 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42208 { # Represents a single field in a struct.
42209 &quot;name&quot;: &quot;A String&quot;,
42210 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42211 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42212 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42213 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42214 # Object with schema name: GenaiVertexV1beta1Value
42215 ],
42216 },
42217 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42218 &quot;numberValue&quot;: 3.14, # Represents a double value.
42219 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42220 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42221 },
42222 },
42223 ],
42224 },
42225 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
42226 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
42227 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
42228 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
42229 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
42230 },
42231 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
42232 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
42233 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
42234 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
42235 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
42236 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
42237 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
42238 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
42239 },
42240 ],
42241 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
42242 },
42243 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
42244 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
42245 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
42246 &quot;url&quot;: &quot;A String&quot;, # The URL.
42247 },
42248 },
42249 ],
42250 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
42251 },
42252 },
42253 ],
42254 },
42255 &quot;toolCall&quot;: { # Tool call content.
42256 &quot;codeExecutionCall&quot;: { # Code execution content.
42257 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
42258 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
42259 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
42260 },
42261 },
42262 &quot;fileSearchCall&quot;: { # File Search content.
42263 },
42264 &quot;functionCall&quot;: { # A function tool call content block.
42265 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
42266 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42267 { # Represents a single field in a struct.
42268 &quot;name&quot;: &quot;A String&quot;,
42269 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42270 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42271 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42272 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42273 # Object with schema name: GenaiVertexV1beta1Value
42274 ],
42275 },
42276 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42277 &quot;numberValue&quot;: 3.14, # Represents a double value.
42278 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42279 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42280 },
42281 },
42282 ],
42283 },
42284 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
42285 },
42286 &quot;googleMapsCall&quot;: { # Google Maps content.
42287 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
42288 &quot;queries&quot;: [ # The queries to be executed.
42289 &quot;A String&quot;,
42290 ],
42291 },
42292 },
42293 &quot;googleSearchCall&quot;: { # Google Search content.
42294 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
42295 &quot;queries&quot;: [ # Web search queries for the following-up web search.
42296 &quot;A String&quot;,
42297 ],
42298 },
42299 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
42300 },
42301 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
42302 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
42303 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
42304 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42305 { # Represents a single field in a struct.
42306 &quot;name&quot;: &quot;A String&quot;,
42307 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42308 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42309 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42310 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42311 # Object with schema name: GenaiVertexV1beta1Value
42312 ],
42313 },
42314 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42315 &quot;numberValue&quot;: 3.14, # Represents a double value.
42316 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42317 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42318 },
42319 },
42320 ],
42321 },
42322 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
42323 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
42324 },
42325 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
42326 &quot;urlContextCall&quot;: { # URL context content.
42327 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
42328 &quot;urls&quot;: [ # The URLs to fetch.
42329 &quot;A String&quot;,
42330 ],
42331 },
42332 },
42333 },
42334 &quot;toolResult&quot;: { # Tool result content.
42335 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
42336 &quot;codeExecutionResult&quot;: { # Code execution result content.
42337 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
42338 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
42339 },
42340 &quot;fileSearchResult&quot;: { # File Search result content.
42341 &quot;result&quot;: [ # Optional. The results of the File Search.
42342 { # The result of the File Search.
42343 },
42344 ],
42345 },
42346 &quot;functionResult&quot;: { # A function tool result content block.
42347 &quot;contentList&quot;: {
42348 &quot;contents&quot;: [
42349 {
42350 &quot;image&quot;: { # An image content block.
42351 &quot;data&quot;: &quot;A String&quot;, # The image content.
42352 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
42353 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
42354 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
42355 },
42356 &quot;text&quot;: { # A text content block.
42357 &quot;annotations&quot;: [ # Citation information for model-generated content.
42358 { # Citation information for model-generated content.
42359 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
42360 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
42361 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
42362 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42363 { # Represents a single field in a struct.
42364 &quot;name&quot;: &quot;A String&quot;,
42365 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42366 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42367 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42368 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42369 # Object with schema name: GenaiVertexV1beta1Value
42370 ],
42371 },
42372 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42373 &quot;numberValue&quot;: 3.14, # Represents a double value.
42374 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42375 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42376 },
42377 },
42378 ],
42379 },
42380 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
42381 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
42382 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
42383 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
42384 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
42385 },
42386 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
42387 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
42388 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
42389 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
42390 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
42391 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
42392 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
42393 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
42394 },
42395 ],
42396 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
42397 },
42398 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
42399 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
42400 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
42401 &quot;url&quot;: &quot;A String&quot;, # The URL.
42402 },
42403 },
42404 ],
42405 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
42406 },
42407 },
42408 ],
42409 },
42410 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
42411 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
42412 &quot;stringResult&quot;: &quot;A String&quot;,
42413 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
42414 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42415 { # Represents a single field in a struct.
42416 &quot;name&quot;: &quot;A String&quot;,
42417 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42418 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42419 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42420 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42421 # Object with schema name: GenaiVertexV1beta1Value
42422 ],
42423 },
42424 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42425 &quot;numberValue&quot;: 3.14, # Represents a double value.
42426 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42427 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42428 },
42429 },
42430 ],
42431 },
42432 },
42433 &quot;googleMapsResult&quot;: { # Google Maps result content.
42434 &quot;result&quot;: [ # Required. The results of the Google Maps.
42435 { # The result of the Google Maps.
42436 &quot;places&quot;: [ # The places that were found.
42437 {
42438 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
42439 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
42440 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
42441 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
42442 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
42443 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
42444 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
42445 },
42446 ],
42447 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
42448 },
42449 ],
42450 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
42451 },
42452 ],
42453 },
42454 &quot;googleSearchResult&quot;: { # Google Search result content.
42455 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
42456 &quot;result&quot;: [ # Required. The results of the Google Search.
42457 { # The result of the Google Search.
42458 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
42459 },
42460 ],
42461 },
42462 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
42463 &quot;contentList&quot;: {
42464 &quot;contents&quot;: [
42465 {
42466 &quot;image&quot;: { # An image content block.
42467 &quot;data&quot;: &quot;A String&quot;, # The image content.
42468 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
42469 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
42470 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
42471 },
42472 &quot;text&quot;: { # A text content block.
42473 &quot;annotations&quot;: [ # Citation information for model-generated content.
42474 { # Citation information for model-generated content.
42475 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
42476 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
42477 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
42478 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42479 { # Represents a single field in a struct.
42480 &quot;name&quot;: &quot;A String&quot;,
42481 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42482 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42483 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42484 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42485 # Object with schema name: GenaiVertexV1beta1Value
42486 ],
42487 },
42488 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42489 &quot;numberValue&quot;: 3.14, # Represents a double value.
42490 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42491 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42492 },
42493 },
42494 ],
42495 },
42496 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
42497 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
42498 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
42499 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
42500 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
42501 },
42502 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
42503 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
42504 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
42505 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
42506 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
42507 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
42508 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
42509 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
42510 },
42511 ],
42512 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
42513 },
42514 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
42515 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
42516 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
42517 &quot;url&quot;: &quot;A String&quot;, # The URL.
42518 },
42519 },
42520 ],
42521 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
42522 },
42523 },
42524 ],
42525 },
42526 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
42527 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
42528 &quot;stringResult&quot;: &quot;A String&quot;,
42529 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
42530 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42531 { # Represents a single field in a struct.
42532 &quot;name&quot;: &quot;A String&quot;,
42533 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42534 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42535 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42536 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42537 # Object with schema name: GenaiVertexV1beta1Value
42538 ],
42539 },
42540 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42541 &quot;numberValue&quot;: 3.14, # Represents a double value.
42542 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42543 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42544 },
42545 },
42546 ],
42547 },
42548 },
42549 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
42550 &quot;urlContextResult&quot;: { # URL context result content.
42551 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
42552 &quot;result&quot;: [ # Required. The results of the URL context.
42553 { # The result of the URL context.
42554 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
42555 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
42556 },
42557 ],
42558 },
42559 },
42560 &quot;video&quot;: { # A video content block.
42561 &quot;data&quot;: &quot;A String&quot;, # The video content.
42562 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
42563 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
42564 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
42565 },
42566 },
42567 ],
42568 },
42569 &quot;toolCall&quot;: { # Tool call step.
42570 &quot;codeExecutionCall&quot;: { # Code execution call step.
42571 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
42572 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
42573 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
42574 },
42575 },
42576 &quot;fileSearchCall&quot;: { # File Search call step.
42577 },
42578 &quot;functionCall&quot;: { # A function tool call step.
42579 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
42580 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42581 { # Represents a single field in a struct.
42582 &quot;name&quot;: &quot;A String&quot;,
42583 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42584 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42585 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42586 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42587 # Object with schema name: GenaiVertexV1beta1Value
42588 ],
42589 },
42590 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42591 &quot;numberValue&quot;: 3.14, # Represents a double value.
42592 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42593 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42594 },
42595 },
42596 ],
42597 },
42598 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
42599 },
42600 &quot;googleMapsCall&quot;: { # Google Maps call step.
42601 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
42602 &quot;queries&quot;: [ # The queries to be executed.
42603 &quot;A String&quot;,
42604 ],
42605 },
42606 },
42607 &quot;googleSearchCall&quot;: { # Google Search call step.
42608 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
42609 &quot;queries&quot;: [ # Web search queries for the following-up web search.
42610 &quot;A String&quot;,
42611 ],
42612 },
42613 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
42614 },
42615 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
42616 &quot;mcpServerToolCall&quot;: { # MCPServer tool call step.
42617 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
42618 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42619 { # Represents a single field in a struct.
42620 &quot;name&quot;: &quot;A String&quot;,
42621 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42622 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42623 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42624 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42625 # Object with schema name: GenaiVertexV1beta1Value
42626 ],
42627 },
42628 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42629 &quot;numberValue&quot;: 3.14, # Represents a double value.
42630 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42631 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42632 },
42633 },
42634 ],
42635 },
42636 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
42637 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
42638 },
42639 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
42640 &quot;urlContextCall&quot;: { # URL context call step.
42641 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
42642 &quot;urls&quot;: [ # The URLs to fetch.
42643 &quot;A String&quot;,
42644 ],
42645 },
42646 },
42647 },
42648 &quot;toolResult&quot;: { # Tool result step.
42649 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
42650 &quot;codeExecutionResult&quot;: { # Code execution result step.
42651 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
42652 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
42653 },
42654 &quot;fileSearchResult&quot;: { # File Search result step.
42655 },
42656 &quot;functionResult&quot;: { # Result of a function tool call.
42657 &quot;contentList&quot;: { # A list of Content.
42658 &quot;contents&quot;: [ # The contents of the list.
42659 { # The content of the response.
42660 &quot;audio&quot;: { # An audio content block.
42661 &quot;channels&quot;: 42, # The number of audio channels.
42662 &quot;data&quot;: &quot;A String&quot;, # The audio content.
42663 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
42664 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
42665 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
42666 },
42667 &quot;document&quot;: { # A document content block.
42668 &quot;data&quot;: &quot;A String&quot;, # The document content.
42669 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
42670 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
42671 },
42672 &quot;image&quot;: { # An image content block.
42673 &quot;data&quot;: &quot;A String&quot;, # The image content.
42674 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
42675 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
42676 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
42677 },
42678 &quot;text&quot;: { # A text content block.
42679 &quot;annotations&quot;: [ # Citation information for model-generated content.
42680 { # Citation information for model-generated content.
42681 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
42682 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
42683 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
42684 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42685 { # Represents a single field in a struct.
42686 &quot;name&quot;: &quot;A String&quot;,
42687 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42688 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42689 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42690 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42691 # Object with schema name: GenaiVertexV1beta1Value
42692 ],
42693 },
42694 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42695 &quot;numberValue&quot;: 3.14, # Represents a double value.
42696 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42697 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42698 },
42699 },
42700 ],
42701 },
42702 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
42703 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
42704 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
42705 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
42706 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
42707 },
42708 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
42709 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
42710 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
42711 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
42712 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
42713 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
42714 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
42715 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
42716 },
42717 ],
42718 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
42719 },
42720 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
42721 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
42722 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
42723 &quot;url&quot;: &quot;A String&quot;, # The URL.
42724 },
42725 },
42726 ],
42727 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
42728 },
42729 &quot;thought&quot;: { # A thought content block.
42730 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
42731 &quot;summary&quot;: [ # A summary of the thought.
42732 {
42733 &quot;image&quot;: { # An image content block.
42734 &quot;data&quot;: &quot;A String&quot;, # The image content.
42735 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
42736 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
42737 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
42738 },
42739 &quot;text&quot;: { # A text content block.
42740 &quot;annotations&quot;: [ # Citation information for model-generated content.
42741 { # Citation information for model-generated content.
42742 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
42743 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
42744 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
42745 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42746 { # Represents a single field in a struct.
42747 &quot;name&quot;: &quot;A String&quot;,
42748 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42749 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42750 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42751 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42752 # Object with schema name: GenaiVertexV1beta1Value
42753 ],
42754 },
42755 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42756 &quot;numberValue&quot;: 3.14, # Represents a double value.
42757 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42758 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42759 },
42760 },
42761 ],
42762 },
42763 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
42764 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
42765 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
42766 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
42767 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
42768 },
42769 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
42770 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
42771 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
42772 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
42773 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
42774 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
42775 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
42776 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
42777 },
42778 ],
42779 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
42780 },
42781 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
42782 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
42783 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
42784 &quot;url&quot;: &quot;A String&quot;, # The URL.
42785 },
42786 },
42787 ],
42788 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
42789 },
42790 },
42791 ],
42792 },
42793 &quot;toolCall&quot;: { # Tool call content.
42794 &quot;codeExecutionCall&quot;: { # Code execution content.
42795 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
42796 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
42797 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
42798 },
42799 },
42800 &quot;fileSearchCall&quot;: { # File Search content.
42801 },
42802 &quot;functionCall&quot;: { # A function tool call content block.
42803 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
42804 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42805 { # Represents a single field in a struct.
42806 &quot;name&quot;: &quot;A String&quot;,
42807 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42808 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42809 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42810 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42811 # Object with schema name: GenaiVertexV1beta1Value
42812 ],
42813 },
42814 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42815 &quot;numberValue&quot;: 3.14, # Represents a double value.
42816 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42817 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42818 },
42819 },
42820 ],
42821 },
42822 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
42823 },
42824 &quot;googleMapsCall&quot;: { # Google Maps content.
42825 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
42826 &quot;queries&quot;: [ # The queries to be executed.
42827 &quot;A String&quot;,
42828 ],
42829 },
42830 },
42831 &quot;googleSearchCall&quot;: { # Google Search content.
42832 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
42833 &quot;queries&quot;: [ # Web search queries for the following-up web search.
42834 &quot;A String&quot;,
42835 ],
42836 },
42837 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
42838 },
42839 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
42840 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
42841 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
42842 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42843 { # Represents a single field in a struct.
42844 &quot;name&quot;: &quot;A String&quot;,
42845 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42846 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42847 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42848 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42849 # Object with schema name: GenaiVertexV1beta1Value
42850 ],
42851 },
42852 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42853 &quot;numberValue&quot;: 3.14, # Represents a double value.
42854 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42855 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42856 },
42857 },
42858 ],
42859 },
42860 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
42861 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
42862 },
42863 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
42864 &quot;urlContextCall&quot;: { # URL context content.
42865 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
42866 &quot;urls&quot;: [ # The URLs to fetch.
42867 &quot;A String&quot;,
42868 ],
42869 },
42870 },
42871 },
42872 &quot;toolResult&quot;: { # Tool result content.
42873 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
42874 &quot;codeExecutionResult&quot;: { # Code execution result content.
42875 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
42876 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
42877 },
42878 &quot;fileSearchResult&quot;: { # File Search result content.
42879 &quot;result&quot;: [ # Optional. The results of the File Search.
42880 { # The result of the File Search.
42881 },
42882 ],
42883 },
42884 &quot;functionResult&quot;: { # A function tool result content block.
42885 &quot;contentList&quot;: {
42886 &quot;contents&quot;: [
42887 {
42888 &quot;image&quot;: { # An image content block.
42889 &quot;data&quot;: &quot;A String&quot;, # The image content.
42890 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
42891 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
42892 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
42893 },
42894 &quot;text&quot;: { # A text content block.
42895 &quot;annotations&quot;: [ # Citation information for model-generated content.
42896 { # Citation information for model-generated content.
42897 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
42898 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
42899 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
42900 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42901 { # Represents a single field in a struct.
42902 &quot;name&quot;: &quot;A String&quot;,
42903 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42904 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42905 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42906 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42907 # Object with schema name: GenaiVertexV1beta1Value
42908 ],
42909 },
42910 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42911 &quot;numberValue&quot;: 3.14, # Represents a double value.
42912 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42913 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42914 },
42915 },
42916 ],
42917 },
42918 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
42919 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
42920 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
42921 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
42922 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
42923 },
42924 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
42925 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
42926 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
42927 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
42928 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
42929 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
42930 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
42931 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
42932 },
42933 ],
42934 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
42935 },
42936 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
42937 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
42938 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
42939 &quot;url&quot;: &quot;A String&quot;, # The URL.
42940 },
42941 },
42942 ],
42943 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
42944 },
42945 },
42946 ],
42947 },
42948 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
42949 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
42950 &quot;stringResult&quot;: &quot;A String&quot;,
42951 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
42952 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
42953 { # Represents a single field in a struct.
42954 &quot;name&quot;: &quot;A String&quot;,
42955 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
42956 &quot;boolValue&quot;: True or False, # Represents a boolean value.
42957 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
42958 &quot;values&quot;: [ # Repeated field of dynamically typed values.
42959 # Object with schema name: GenaiVertexV1beta1Value
42960 ],
42961 },
42962 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
42963 &quot;numberValue&quot;: 3.14, # Represents a double value.
42964 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
42965 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
42966 },
42967 },
42968 ],
42969 },
42970 },
42971 &quot;googleMapsResult&quot;: { # Google Maps result content.
42972 &quot;result&quot;: [ # Required. The results of the Google Maps.
42973 { # The result of the Google Maps.
42974 &quot;places&quot;: [ # The places that were found.
42975 {
42976 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
42977 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
42978 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
42979 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
42980 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
42981 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
42982 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
42983 },
42984 ],
42985 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
42986 },
42987 ],
42988 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
42989 },
42990 ],
42991 },
42992 &quot;googleSearchResult&quot;: { # Google Search result content.
42993 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
42994 &quot;result&quot;: [ # Required. The results of the Google Search.
42995 { # The result of the Google Search.
42996 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
42997 },
42998 ],
42999 },
43000 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
43001 &quot;contentList&quot;: {
43002 &quot;contents&quot;: [
43003 {
43004 &quot;image&quot;: { # An image content block.
43005 &quot;data&quot;: &quot;A String&quot;, # The image content.
43006 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
43007 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
43008 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
43009 },
43010 &quot;text&quot;: { # A text content block.
43011 &quot;annotations&quot;: [ # Citation information for model-generated content.
43012 { # Citation information for model-generated content.
43013 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
43014 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
43015 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
43016 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43017 { # Represents a single field in a struct.
43018 &quot;name&quot;: &quot;A String&quot;,
43019 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43020 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43021 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43022 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43023 # Object with schema name: GenaiVertexV1beta1Value
43024 ],
43025 },
43026 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43027 &quot;numberValue&quot;: 3.14, # Represents a double value.
43028 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43029 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43030 },
43031 },
43032 ],
43033 },
43034 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
43035 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
43036 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
43037 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
43038 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
43039 },
43040 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
43041 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
43042 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
43043 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
43044 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
43045 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
43046 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
43047 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
43048 },
43049 ],
43050 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
43051 },
43052 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
43053 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
43054 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
43055 &quot;url&quot;: &quot;A String&quot;, # The URL.
43056 },
43057 },
43058 ],
43059 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
43060 },
43061 },
43062 ],
43063 },
43064 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
43065 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
43066 &quot;stringResult&quot;: &quot;A String&quot;,
43067 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
43068 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43069 { # Represents a single field in a struct.
43070 &quot;name&quot;: &quot;A String&quot;,
43071 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43072 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43073 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43074 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43075 # Object with schema name: GenaiVertexV1beta1Value
43076 ],
43077 },
43078 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43079 &quot;numberValue&quot;: 3.14, # Represents a double value.
43080 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43081 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43082 },
43083 },
43084 ],
43085 },
43086 },
43087 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
43088 &quot;urlContextResult&quot;: { # URL context result content.
43089 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
43090 &quot;result&quot;: [ # Required. The results of the URL context.
43091 { # The result of the URL context.
43092 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
43093 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
43094 },
43095 ],
43096 },
43097 },
43098 &quot;video&quot;: { # A video content block.
43099 &quot;data&quot;: &quot;A String&quot;, # The video content.
43100 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
43101 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
43102 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
43103 },
43104 },
43105 ],
43106 },
43107 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
43108 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
43109 &quot;stringResult&quot;: &quot;A String&quot;,
43110 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
43111 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43112 { # Represents a single field in a struct.
43113 &quot;name&quot;: &quot;A String&quot;,
43114 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43115 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43116 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43117 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43118 # Object with schema name: GenaiVertexV1beta1Value
43119 ],
43120 },
43121 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43122 &quot;numberValue&quot;: 3.14, # Represents a double value.
43123 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43124 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43125 },
43126 },
43127 ],
43128 },
43129 },
43130 &quot;googleMapsResult&quot;: { # Google Maps result step.
43131 &quot;result&quot;: [
43132 { # The result of the Google Maps.
43133 &quot;places&quot;: [
43134 {
43135 &quot;name&quot;: &quot;A String&quot;,
43136 &quot;placeId&quot;: &quot;A String&quot;,
43137 &quot;reviewSnippets&quot;: [
43138 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
43139 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
43140 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
43141 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
43142 },
43143 ],
43144 &quot;url&quot;: &quot;A String&quot;,
43145 },
43146 ],
43147 &quot;widgetContextToken&quot;: &quot;A String&quot;,
43148 },
43149 ],
43150 },
43151 &quot;googleSearchResult&quot;: { # Google Search result step.
43152 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
43153 &quot;result&quot;: [ # Required. The results of the Google Search.
43154 { # The result of the Google Search.
43155 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
43156 },
43157 ],
43158 },
43159 &quot;mcpServerToolResult&quot;: { # MCPServer tool result step.
43160 &quot;contentList&quot;: { # A list of Content.
43161 &quot;contents&quot;: [ # The contents of the list.
43162 { # The content of the response.
43163 &quot;audio&quot;: { # An audio content block.
43164 &quot;channels&quot;: 42, # The number of audio channels.
43165 &quot;data&quot;: &quot;A String&quot;, # The audio content.
43166 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
43167 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
43168 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
43169 },
43170 &quot;document&quot;: { # A document content block.
43171 &quot;data&quot;: &quot;A String&quot;, # The document content.
43172 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
43173 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
43174 },
43175 &quot;image&quot;: { # An image content block.
43176 &quot;data&quot;: &quot;A String&quot;, # The image content.
43177 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
43178 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
43179 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
43180 },
43181 &quot;text&quot;: { # A text content block.
43182 &quot;annotations&quot;: [ # Citation information for model-generated content.
43183 { # Citation information for model-generated content.
43184 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
43185 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
43186 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
43187 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43188 { # Represents a single field in a struct.
43189 &quot;name&quot;: &quot;A String&quot;,
43190 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43191 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43192 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43193 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43194 # Object with schema name: GenaiVertexV1beta1Value
43195 ],
43196 },
43197 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43198 &quot;numberValue&quot;: 3.14, # Represents a double value.
43199 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43200 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43201 },
43202 },
43203 ],
43204 },
43205 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
43206 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
43207 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
43208 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
43209 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
43210 },
43211 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
43212 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
43213 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
43214 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
43215 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
43216 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
43217 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
43218 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
43219 },
43220 ],
43221 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
43222 },
43223 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
43224 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
43225 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
43226 &quot;url&quot;: &quot;A String&quot;, # The URL.
43227 },
43228 },
43229 ],
43230 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
43231 },
43232 &quot;thought&quot;: { # A thought content block.
43233 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
43234 &quot;summary&quot;: [ # A summary of the thought.
43235 {
43236 &quot;image&quot;: { # An image content block.
43237 &quot;data&quot;: &quot;A String&quot;, # The image content.
43238 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
43239 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
43240 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
43241 },
43242 &quot;text&quot;: { # A text content block.
43243 &quot;annotations&quot;: [ # Citation information for model-generated content.
43244 { # Citation information for model-generated content.
43245 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
43246 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
43247 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
43248 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43249 { # Represents a single field in a struct.
43250 &quot;name&quot;: &quot;A String&quot;,
43251 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43252 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43253 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43254 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43255 # Object with schema name: GenaiVertexV1beta1Value
43256 ],
43257 },
43258 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43259 &quot;numberValue&quot;: 3.14, # Represents a double value.
43260 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43261 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43262 },
43263 },
43264 ],
43265 },
43266 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
43267 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
43268 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
43269 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
43270 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
43271 },
43272 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
43273 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
43274 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
43275 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
43276 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
43277 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
43278 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
43279 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
43280 },
43281 ],
43282 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
43283 },
43284 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
43285 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
43286 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
43287 &quot;url&quot;: &quot;A String&quot;, # The URL.
43288 },
43289 },
43290 ],
43291 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
43292 },
43293 },
43294 ],
43295 },
43296 &quot;toolCall&quot;: { # Tool call content.
43297 &quot;codeExecutionCall&quot;: { # Code execution content.
43298 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
43299 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
43300 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
43301 },
43302 },
43303 &quot;fileSearchCall&quot;: { # File Search content.
43304 },
43305 &quot;functionCall&quot;: { # A function tool call content block.
43306 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
43307 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43308 { # Represents a single field in a struct.
43309 &quot;name&quot;: &quot;A String&quot;,
43310 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43311 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43312 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43313 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43314 # Object with schema name: GenaiVertexV1beta1Value
43315 ],
43316 },
43317 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43318 &quot;numberValue&quot;: 3.14, # Represents a double value.
43319 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43320 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43321 },
43322 },
43323 ],
43324 },
43325 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
43326 },
43327 &quot;googleMapsCall&quot;: { # Google Maps content.
43328 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
43329 &quot;queries&quot;: [ # The queries to be executed.
43330 &quot;A String&quot;,
43331 ],
43332 },
43333 },
43334 &quot;googleSearchCall&quot;: { # Google Search content.
43335 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
43336 &quot;queries&quot;: [ # Web search queries for the following-up web search.
43337 &quot;A String&quot;,
43338 ],
43339 },
43340 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
43341 },
43342 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
43343 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
43344 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
43345 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43346 { # Represents a single field in a struct.
43347 &quot;name&quot;: &quot;A String&quot;,
43348 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43349 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43350 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43351 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43352 # Object with schema name: GenaiVertexV1beta1Value
43353 ],
43354 },
43355 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43356 &quot;numberValue&quot;: 3.14, # Represents a double value.
43357 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43358 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43359 },
43360 },
43361 ],
43362 },
43363 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
43364 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
43365 },
43366 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
43367 &quot;urlContextCall&quot;: { # URL context content.
43368 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
43369 &quot;urls&quot;: [ # The URLs to fetch.
43370 &quot;A String&quot;,
43371 ],
43372 },
43373 },
43374 },
43375 &quot;toolResult&quot;: { # Tool result content.
43376 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
43377 &quot;codeExecutionResult&quot;: { # Code execution result content.
43378 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
43379 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
43380 },
43381 &quot;fileSearchResult&quot;: { # File Search result content.
43382 &quot;result&quot;: [ # Optional. The results of the File Search.
43383 { # The result of the File Search.
43384 },
43385 ],
43386 },
43387 &quot;functionResult&quot;: { # A function tool result content block.
43388 &quot;contentList&quot;: {
43389 &quot;contents&quot;: [
43390 {
43391 &quot;image&quot;: { # An image content block.
43392 &quot;data&quot;: &quot;A String&quot;, # The image content.
43393 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
43394 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
43395 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
43396 },
43397 &quot;text&quot;: { # A text content block.
43398 &quot;annotations&quot;: [ # Citation information for model-generated content.
43399 { # Citation information for model-generated content.
43400 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
43401 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
43402 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
43403 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43404 { # Represents a single field in a struct.
43405 &quot;name&quot;: &quot;A String&quot;,
43406 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43407 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43408 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43409 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43410 # Object with schema name: GenaiVertexV1beta1Value
43411 ],
43412 },
43413 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43414 &quot;numberValue&quot;: 3.14, # Represents a double value.
43415 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43416 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43417 },
43418 },
43419 ],
43420 },
43421 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
43422 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
43423 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
43424 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
43425 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
43426 },
43427 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
43428 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
43429 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
43430 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
43431 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
43432 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
43433 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
43434 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
43435 },
43436 ],
43437 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
43438 },
43439 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
43440 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
43441 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
43442 &quot;url&quot;: &quot;A String&quot;, # The URL.
43443 },
43444 },
43445 ],
43446 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
43447 },
43448 },
43449 ],
43450 },
43451 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
43452 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
43453 &quot;stringResult&quot;: &quot;A String&quot;,
43454 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
43455 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43456 { # Represents a single field in a struct.
43457 &quot;name&quot;: &quot;A String&quot;,
43458 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43459 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43460 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43461 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43462 # Object with schema name: GenaiVertexV1beta1Value
43463 ],
43464 },
43465 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43466 &quot;numberValue&quot;: 3.14, # Represents a double value.
43467 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43468 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43469 },
43470 },
43471 ],
43472 },
43473 },
43474 &quot;googleMapsResult&quot;: { # Google Maps result content.
43475 &quot;result&quot;: [ # Required. The results of the Google Maps.
43476 { # The result of the Google Maps.
43477 &quot;places&quot;: [ # The places that were found.
43478 {
43479 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
43480 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
43481 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
43482 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
43483 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
43484 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
43485 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
43486 },
43487 ],
43488 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
43489 },
43490 ],
43491 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
43492 },
43493 ],
43494 },
43495 &quot;googleSearchResult&quot;: { # Google Search result content.
43496 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
43497 &quot;result&quot;: [ # Required. The results of the Google Search.
43498 { # The result of the Google Search.
43499 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
43500 },
43501 ],
43502 },
43503 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
43504 &quot;contentList&quot;: {
43505 &quot;contents&quot;: [
43506 {
43507 &quot;image&quot;: { # An image content block.
43508 &quot;data&quot;: &quot;A String&quot;, # The image content.
43509 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
43510 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
43511 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
43512 },
43513 &quot;text&quot;: { # A text content block.
43514 &quot;annotations&quot;: [ # Citation information for model-generated content.
43515 { # Citation information for model-generated content.
43516 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
43517 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
43518 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
43519 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43520 { # Represents a single field in a struct.
43521 &quot;name&quot;: &quot;A String&quot;,
43522 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43523 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43524 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43525 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43526 # Object with schema name: GenaiVertexV1beta1Value
43527 ],
43528 },
43529 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43530 &quot;numberValue&quot;: 3.14, # Represents a double value.
43531 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43532 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43533 },
43534 },
43535 ],
43536 },
43537 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
43538 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
43539 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
43540 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
43541 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
43542 },
43543 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
43544 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
43545 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
43546 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
43547 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
43548 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
43549 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
43550 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
43551 },
43552 ],
43553 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
43554 },
43555 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
43556 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
43557 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
43558 &quot;url&quot;: &quot;A String&quot;, # The URL.
43559 },
43560 },
43561 ],
43562 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
43563 },
43564 },
43565 ],
43566 },
43567 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
43568 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
43569 &quot;stringResult&quot;: &quot;A String&quot;,
43570 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
43571 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43572 { # Represents a single field in a struct.
43573 &quot;name&quot;: &quot;A String&quot;,
43574 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43575 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43576 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43577 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43578 # Object with schema name: GenaiVertexV1beta1Value
43579 ],
43580 },
43581 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43582 &quot;numberValue&quot;: 3.14, # Represents a double value.
43583 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43584 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43585 },
43586 },
43587 ],
43588 },
43589 },
43590 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
43591 &quot;urlContextResult&quot;: { # URL context result content.
43592 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
43593 &quot;result&quot;: [ # Required. The results of the URL context.
43594 { # The result of the URL context.
43595 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
43596 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
43597 },
43598 ],
43599 },
43600 },
43601 &quot;video&quot;: { # A video content block.
43602 &quot;data&quot;: &quot;A String&quot;, # The video content.
43603 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
43604 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
43605 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
43606 },
43607 },
43608 ],
43609 },
43610 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
43611 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
43612 &quot;stringResult&quot;: &quot;A String&quot;,
43613 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
43614 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43615 { # Represents a single field in a struct.
43616 &quot;name&quot;: &quot;A String&quot;,
43617 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43618 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43619 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43620 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43621 # Object with schema name: GenaiVertexV1beta1Value
43622 ],
43623 },
43624 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43625 &quot;numberValue&quot;: 3.14, # Represents a double value.
43626 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43627 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43628 },
43629 },
43630 ],
43631 },
43632 },
43633 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
43634 &quot;urlContextResult&quot;: { # URL context result step.
43635 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
43636 &quot;result&quot;: [ # Required. The results of the URL context.
43637 { # The result of the URL context.
43638 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
43639 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
43640 },
43641 ],
43642 },
43643 },
43644 &quot;userInput&quot;: { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
43645 &quot;contentList&quot;: { # A list of Content. # The content of the step. An array of Content objects.
43646 &quot;contents&quot;: [ # The contents of the list.
43647 { # The content of the response.
43648 &quot;audio&quot;: { # An audio content block.
43649 &quot;channels&quot;: 42, # The number of audio channels.
43650 &quot;data&quot;: &quot;A String&quot;, # The audio content.
43651 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
43652 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
43653 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
43654 },
43655 &quot;document&quot;: { # A document content block.
43656 &quot;data&quot;: &quot;A String&quot;, # The document content.
43657 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
43658 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
43659 },
43660 &quot;image&quot;: { # An image content block.
43661 &quot;data&quot;: &quot;A String&quot;, # The image content.
43662 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
43663 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
43664 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
43665 },
43666 &quot;text&quot;: { # A text content block.
43667 &quot;annotations&quot;: [ # Citation information for model-generated content.
43668 { # Citation information for model-generated content.
43669 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
43670 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
43671 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
43672 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43673 { # Represents a single field in a struct.
43674 &quot;name&quot;: &quot;A String&quot;,
43675 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43676 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43677 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43678 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43679 # Object with schema name: GenaiVertexV1beta1Value
43680 ],
43681 },
43682 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43683 &quot;numberValue&quot;: 3.14, # Represents a double value.
43684 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43685 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43686 },
43687 },
43688 ],
43689 },
43690 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
43691 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
43692 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
43693 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
43694 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
43695 },
43696 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
43697 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
43698 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
43699 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
43700 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
43701 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
43702 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
43703 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
43704 },
43705 ],
43706 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
43707 },
43708 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
43709 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
43710 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
43711 &quot;url&quot;: &quot;A String&quot;, # The URL.
43712 },
43713 },
43714 ],
43715 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
43716 },
43717 &quot;thought&quot;: { # A thought content block.
43718 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
43719 &quot;summary&quot;: [ # A summary of the thought.
43720 {
43721 &quot;image&quot;: { # An image content block.
43722 &quot;data&quot;: &quot;A String&quot;, # The image content.
43723 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
43724 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
43725 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
43726 },
43727 &quot;text&quot;: { # A text content block.
43728 &quot;annotations&quot;: [ # Citation information for model-generated content.
43729 { # Citation information for model-generated content.
43730 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
43731 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
43732 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
43733 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43734 { # Represents a single field in a struct.
43735 &quot;name&quot;: &quot;A String&quot;,
43736 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43737 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43738 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43739 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43740 # Object with schema name: GenaiVertexV1beta1Value
43741 ],
43742 },
43743 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43744 &quot;numberValue&quot;: 3.14, # Represents a double value.
43745 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43746 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43747 },
43748 },
43749 ],
43750 },
43751 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
43752 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
43753 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
43754 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
43755 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
43756 },
43757 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
43758 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
43759 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
43760 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
43761 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
43762 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
43763 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
43764 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
43765 },
43766 ],
43767 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
43768 },
43769 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
43770 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
43771 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
43772 &quot;url&quot;: &quot;A String&quot;, # The URL.
43773 },
43774 },
43775 ],
43776 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
43777 },
43778 },
43779 ],
43780 },
43781 &quot;toolCall&quot;: { # Tool call content.
43782 &quot;codeExecutionCall&quot;: { # Code execution content.
43783 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
43784 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
43785 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
43786 },
43787 },
43788 &quot;fileSearchCall&quot;: { # File Search content.
43789 },
43790 &quot;functionCall&quot;: { # A function tool call content block.
43791 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
43792 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43793 { # Represents a single field in a struct.
43794 &quot;name&quot;: &quot;A String&quot;,
43795 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43796 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43797 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43798 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43799 # Object with schema name: GenaiVertexV1beta1Value
43800 ],
43801 },
43802 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43803 &quot;numberValue&quot;: 3.14, # Represents a double value.
43804 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43805 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43806 },
43807 },
43808 ],
43809 },
43810 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
43811 },
43812 &quot;googleMapsCall&quot;: { # Google Maps content.
43813 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
43814 &quot;queries&quot;: [ # The queries to be executed.
43815 &quot;A String&quot;,
43816 ],
43817 },
43818 },
43819 &quot;googleSearchCall&quot;: { # Google Search content.
43820 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
43821 &quot;queries&quot;: [ # Web search queries for the following-up web search.
43822 &quot;A String&quot;,
43823 ],
43824 },
43825 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
43826 },
43827 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
43828 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
43829 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
43830 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43831 { # Represents a single field in a struct.
43832 &quot;name&quot;: &quot;A String&quot;,
43833 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43834 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43835 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43836 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43837 # Object with schema name: GenaiVertexV1beta1Value
43838 ],
43839 },
43840 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43841 &quot;numberValue&quot;: 3.14, # Represents a double value.
43842 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43843 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43844 },
43845 },
43846 ],
43847 },
43848 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
43849 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
43850 },
43851 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
43852 &quot;urlContextCall&quot;: { # URL context content.
43853 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
43854 &quot;urls&quot;: [ # The URLs to fetch.
43855 &quot;A String&quot;,
43856 ],
43857 },
43858 },
43859 },
43860 &quot;toolResult&quot;: { # Tool result content.
43861 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
43862 &quot;codeExecutionResult&quot;: { # Code execution result content.
43863 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
43864 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
43865 },
43866 &quot;fileSearchResult&quot;: { # File Search result content.
43867 &quot;result&quot;: [ # Optional. The results of the File Search.
43868 { # The result of the File Search.
43869 },
43870 ],
43871 },
43872 &quot;functionResult&quot;: { # A function tool result content block.
43873 &quot;contentList&quot;: {
43874 &quot;contents&quot;: [
43875 {
43876 &quot;image&quot;: { # An image content block.
43877 &quot;data&quot;: &quot;A String&quot;, # The image content.
43878 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
43879 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
43880 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
43881 },
43882 &quot;text&quot;: { # A text content block.
43883 &quot;annotations&quot;: [ # Citation information for model-generated content.
43884 { # Citation information for model-generated content.
43885 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
43886 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
43887 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
43888 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43889 { # Represents a single field in a struct.
43890 &quot;name&quot;: &quot;A String&quot;,
43891 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43892 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43893 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43894 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43895 # Object with schema name: GenaiVertexV1beta1Value
43896 ],
43897 },
43898 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43899 &quot;numberValue&quot;: 3.14, # Represents a double value.
43900 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43901 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43902 },
43903 },
43904 ],
43905 },
43906 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
43907 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
43908 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
43909 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
43910 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
43911 },
43912 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
43913 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
43914 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
43915 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
43916 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
43917 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
43918 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
43919 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
43920 },
43921 ],
43922 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
43923 },
43924 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
43925 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
43926 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
43927 &quot;url&quot;: &quot;A String&quot;, # The URL.
43928 },
43929 },
43930 ],
43931 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
43932 },
43933 },
43934 ],
43935 },
43936 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
43937 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
43938 &quot;stringResult&quot;: &quot;A String&quot;,
43939 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
43940 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
43941 { # Represents a single field in a struct.
43942 &quot;name&quot;: &quot;A String&quot;,
43943 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
43944 &quot;boolValue&quot;: True or False, # Represents a boolean value.
43945 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
43946 &quot;values&quot;: [ # Repeated field of dynamically typed values.
43947 # Object with schema name: GenaiVertexV1beta1Value
43948 ],
43949 },
43950 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
43951 &quot;numberValue&quot;: 3.14, # Represents a double value.
43952 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
43953 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
43954 },
43955 },
43956 ],
43957 },
43958 },
43959 &quot;googleMapsResult&quot;: { # Google Maps result content.
43960 &quot;result&quot;: [ # Required. The results of the Google Maps.
43961 { # The result of the Google Maps.
43962 &quot;places&quot;: [ # The places that were found.
43963 {
43964 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
43965 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
43966 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
43967 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
43968 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
43969 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
43970 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
43971 },
43972 ],
43973 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
43974 },
43975 ],
43976 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
43977 },
43978 ],
43979 },
43980 &quot;googleSearchResult&quot;: { # Google Search result content.
43981 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
43982 &quot;result&quot;: [ # Required. The results of the Google Search.
43983 { # The result of the Google Search.
43984 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
43985 },
43986 ],
43987 },
43988 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
43989 &quot;contentList&quot;: {
43990 &quot;contents&quot;: [
43991 {
43992 &quot;image&quot;: { # An image content block.
43993 &quot;data&quot;: &quot;A String&quot;, # The image content.
43994 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
43995 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
43996 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
43997 },
43998 &quot;text&quot;: { # A text content block.
43999 &quot;annotations&quot;: [ # Citation information for model-generated content.
44000 { # Citation information for model-generated content.
44001 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
44002 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
44003 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
44004 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
44005 { # Represents a single field in a struct.
44006 &quot;name&quot;: &quot;A String&quot;,
44007 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
44008 &quot;boolValue&quot;: True or False, # Represents a boolean value.
44009 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
44010 &quot;values&quot;: [ # Repeated field of dynamically typed values.
44011 # Object with schema name: GenaiVertexV1beta1Value
44012 ],
44013 },
44014 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
44015 &quot;numberValue&quot;: 3.14, # Represents a double value.
44016 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
44017 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
44018 },
44019 },
44020 ],
44021 },
44022 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
44023 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
44024 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
44025 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
44026 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
44027 },
44028 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
44029 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
44030 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
44031 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
44032 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
44033 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
44034 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
44035 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
44036 },
44037 ],
44038 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
44039 },
44040 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
44041 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
44042 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
44043 &quot;url&quot;: &quot;A String&quot;, # The URL.
44044 },
44045 },
44046 ],
44047 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
44048 },
44049 },
44050 ],
44051 },
44052 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
44053 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
44054 &quot;stringResult&quot;: &quot;A String&quot;,
44055 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
44056 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
44057 { # Represents a single field in a struct.
44058 &quot;name&quot;: &quot;A String&quot;,
44059 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
44060 &quot;boolValue&quot;: True or False, # Represents a boolean value.
44061 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
44062 &quot;values&quot;: [ # Repeated field of dynamically typed values.
44063 # Object with schema name: GenaiVertexV1beta1Value
44064 ],
44065 },
44066 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
44067 &quot;numberValue&quot;: 3.14, # Represents a double value.
44068 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
44069 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
44070 },
44071 },
44072 ],
44073 },
44074 },
44075 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
44076 &quot;urlContextResult&quot;: { # URL context result content.
44077 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
44078 &quot;result&quot;: [ # Required. The results of the URL context.
44079 { # The result of the URL context.
44080 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
44081 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
44082 },
44083 ],
44084 },
44085 },
44086 &quot;video&quot;: { # A video content block.
44087 &quot;data&quot;: &quot;A String&quot;, # The video content.
44088 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
44089 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
44090 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
44091 },
44092 },
44093 ],
44094 },
44095 &quot;contentString&quot;: &quot;A String&quot;, # The content of the step. A single string.
44096 },
44097 },
44098 ],
44099 &quot;stringContent&quot;: &quot;A String&quot;, # A string input for the interaction, it will be processed as a single text input.
44100 &quot;systemInstruction&quot;: &quot;A String&quot;, # System instruction for the interaction.
44101 &quot;tools&quot;: [ # A list of tool declarations the model may call during interaction.
44102 { # A tool that can be used by the model.
44103 &quot;codeExecution&quot;: { # A tool that can be used by the model to execute code. # A tool that can be used by the model to execute code.
44104 },
44105 &quot;computerUse&quot;: { # A tool that can be used by the model to interact with the computer. # Tool to support the model interacting directly with the computer.
44106 &quot;environment&quot;: &quot;A String&quot;, # The environment being operated.
44107 &quot;excludedPredefinedFunctions&quot;: [ # The list of predefined functions that are excluded from the model call.
44108 &quot;A String&quot;,
44109 ],
44110 },
44111 &quot;fileSearch&quot;: { # A tool that can be used by the model to search files. # A tool that can be used by the model to search files.
44112 &quot;fileSearchStoreNames&quot;: [ # The file search store names to search.
44113 &quot;A String&quot;,
44114 ],
44115 &quot;metadataFilter&quot;: &quot;A String&quot;, # Metadata filter to apply to the semantic retrieval documents and chunks.
44116 &quot;topK&quot;: 42, # The number of semantic retrieval chunks to retrieve.
44117 },
44118 &quot;function&quot;: { # A tool that can be used by the model. # A function that can be used by the model.
44119 &quot;description&quot;: &quot;A String&quot;, # A description of the function.
44120 &quot;name&quot;: &quot;A String&quot;, # The name of the function.
44121 &quot;parameters&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. # The JSON Schema for the function&#x27;s parameters.
44122 &quot;boolValue&quot;: True or False, # Represents a boolean value.
44123 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
44124 &quot;values&quot;: [ # Repeated field of dynamically typed values.
44125 # Object with schema name: GenaiVertexV1beta1Value
44126 ],
44127 },
44128 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
44129 &quot;numberValue&quot;: 3.14, # Represents a double value.
44130 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
44131 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
44132 },
44133 },
44134 &quot;googleMaps&quot;: { # A tool that can be used by the model to call Google Maps. # A tool that can be used by the model to search Google Maps.
44135 &quot;enableWidget&quot;: True or False, # Whether to return a widget context token in the tool call result of the response.
44136 &quot;latitude&quot;: 3.14, # The latitude of the user&#x27;s location.
44137 &quot;longitude&quot;: 3.14, # The longitude of the user&#x27;s location.
44138 },
44139 &quot;googleSearch&quot;: { # A tool that can be used by the model to search Google. # A tool that can be used by the model to search Google.
44140 &quot;searchTypes&quot;: [ # The types of search grounding to enable.
44141 &quot;A String&quot;,
44142 ],
44143 },
44144 &quot;mcpServer&quot;: { # A MCPServer is a server that can be called by the model to perform actions. # A MCPServer is a server that can be called by the model to perform actions.
44145 &quot;allowedTools&quot;: [ # The allowed tools.
44146 { # The configuration for allowed tools.
44147 &quot;mode&quot;: &quot;A String&quot;, # The mode of the tool choice.
44148 &quot;tools&quot;: [ # The names of the allowed tools.
44149 &quot;A String&quot;,
44150 ],
44151 },
44152 ],
44153 &quot;headers&quot;: { # Optional: Fields for authentication headers, timeouts, etc., if needed.
44154 &quot;a_key&quot;: &quot;A String&quot;,
44155 },
44156 &quot;name&quot;: &quot;A String&quot;, # The name of the MCPServer.
44157 &quot;url&quot;: &quot;A String&quot;, # The full URL for the MCPServer endpoint. Example: &quot;https://api.example.com/mcp&quot;
44158 },
44159 &quot;retrieval&quot;: { # A tool that can be used by the model to retrieve files. # A tool that can be used by the model to retrieve files.
44160 &quot;exa_ai_search_config&quot;: { # Used to specify configuration for ExaAISearch. # Used to specify configuration for ExaAISearch.
44161 &quot;api_key&quot;: &quot;A String&quot;, # Required. The API key for ExaAiSearch.
44162 &quot;custom_config&quot;: { # Optional. This field can be used to pass any parameter from the Exa.ai Search API.
44163 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
44164 },
44165 },
44166 &quot;parallel_ai_search_config&quot;: { # Used to specify configuration for ParallelAISearch. # Used to specify configuration for ParallelAISearch.
44167 &quot;api_key&quot;: &quot;A String&quot;, # Optional. The API key for ParallelAiSearch.
44168 &quot;custom_config&quot;: { # Optional. Custom configs for ParallelAiSearch.
44169 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
44170 },
44171 },
44172 &quot;rag_store_config&quot;: { # Use to specify configuration for RAG Store. # Used to specify configuration for RagStore.
44173 &quot;rag_resources&quot;: [ # Optional. The representation of the rag source.
44174 { # The definition of the Rag resource.
44175 &quot;rag_corpus&quot;: &quot;A String&quot;, # Optional. RagCorpora resource name.
44176 &quot;rag_file_ids&quot;: [ # Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
44177 &quot;A String&quot;,
44178 ],
44179 },
44180 ],
44181 &quot;rag_retrieval_config&quot;: { # Specifies the context retrieval config. # Optional. The retrieval config for the Rag query.
44182 &quot;filter&quot;: { # Config for filters. # Optional. Config for filters.
44183 &quot;metadata_filter&quot;: &quot;A String&quot;, # Optional. String for metadata filtering.
44184 &quot;vector_distance_threshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
44185 &quot;vector_similarity_threshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
44186 },
44187 &quot;hybrid_search&quot;: { # Config for Hybrid Search. # Optional. Config for Hybrid Search.
44188 &quot;alpha&quot;: 3.14, # Optional. Alpha value controls the weight between dense and sparse vector search results.
44189 },
44190 &quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
44191 &quot;rank_service&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
44192 &quot;model_name&quot;: &quot;A String&quot;, # Optional. The model name of the rank service.
44193 },
44194 },
44195 &quot;top_k&quot;: 42, # Optional. The number of contexts to retrieve.
44196 },
44197 &quot;similarity_top_k&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
44198 &quot;vector_distance_threshold&quot;: 3.14, # Optional. Only return results with vector distance smaller than the threshold.
44199 },
44200 &quot;retrievalTypes&quot;: [ # The types of file retrieval to enable.
44201 &quot;A String&quot;,
44202 ],
44203 &quot;vertex_ai_search_config&quot;: { # Used to specify configuration for VertexAISearch. # Used to specify configuration for VertexAISearch.
44204 &quot;datastores&quot;: [ # Optional. Used to specify Vertex AI Search datastores.
44205 &quot;A String&quot;,
44206 ],
44207 &quot;engine&quot;: &quot;A String&quot;, # Optional. Used to specify Vertex AI Search engine.
44208 },
44209 },
44210 &quot;urlContext&quot;: { # A tool that can be used by the model to fetch URL context. # A tool that can be used by the model to fetch URL context.
44211 },
44212 },
44213 ],
44214 &quot;turnList&quot;: { # A list of Turns. # The turns for the interaction.
44215 &quot;turns&quot;: [
44216 {
44217 &quot;contentList&quot;: { # A list of Content. # The content of the turn. An array of Content objects.
44218 &quot;contents&quot;: [ # The contents of the list.
44219 { # The content of the response.
44220 &quot;audio&quot;: { # An audio content block.
44221 &quot;channels&quot;: 42, # The number of audio channels.
44222 &quot;data&quot;: &quot;A String&quot;, # The audio content.
44223 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
44224 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
44225 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
44226 },
44227 &quot;document&quot;: { # A document content block.
44228 &quot;data&quot;: &quot;A String&quot;, # The document content.
44229 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
44230 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
44231 },
44232 &quot;image&quot;: { # An image content block.
44233 &quot;data&quot;: &quot;A String&quot;, # The image content.
44234 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
44235 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
44236 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
44237 },
44238 &quot;text&quot;: { # A text content block.
44239 &quot;annotations&quot;: [ # Citation information for model-generated content.
44240 { # Citation information for model-generated content.
44241 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
44242 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
44243 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
44244 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
44245 { # Represents a single field in a struct.
44246 &quot;name&quot;: &quot;A String&quot;,
44247 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
44248 &quot;boolValue&quot;: True or False, # Represents a boolean value.
44249 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
44250 &quot;values&quot;: [ # Repeated field of dynamically typed values.
44251 # Object with schema name: GenaiVertexV1beta1Value
44252 ],
44253 },
44254 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
44255 &quot;numberValue&quot;: 3.14, # Represents a double value.
44256 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
44257 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
44258 },
44259 },
44260 ],
44261 },
44262 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
44263 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
44264 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
44265 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
44266 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
44267 },
44268 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
44269 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
44270 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
44271 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
44272 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
44273 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
44274 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
44275 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
44276 },
44277 ],
44278 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
44279 },
44280 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
44281 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
44282 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
44283 &quot;url&quot;: &quot;A String&quot;, # The URL.
44284 },
44285 },
44286 ],
44287 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
44288 },
44289 &quot;thought&quot;: { # A thought content block.
44290 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
44291 &quot;summary&quot;: [ # A summary of the thought.
44292 {
44293 &quot;image&quot;: { # An image content block.
44294 &quot;data&quot;: &quot;A String&quot;, # The image content.
44295 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
44296 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
44297 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
44298 },
44299 &quot;text&quot;: { # A text content block.
44300 &quot;annotations&quot;: [ # Citation information for model-generated content.
44301 { # Citation information for model-generated content.
44302 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
44303 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
44304 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
44305 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
44306 { # Represents a single field in a struct.
44307 &quot;name&quot;: &quot;A String&quot;,
44308 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
44309 &quot;boolValue&quot;: True or False, # Represents a boolean value.
44310 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
44311 &quot;values&quot;: [ # Repeated field of dynamically typed values.
44312 # Object with schema name: GenaiVertexV1beta1Value
44313 ],
44314 },
44315 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
44316 &quot;numberValue&quot;: 3.14, # Represents a double value.
44317 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
44318 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
44319 },
44320 },
44321 ],
44322 },
44323 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
44324 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
44325 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
44326 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
44327 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
44328 },
44329 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
44330 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
44331 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
44332 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
44333 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
44334 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
44335 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
44336 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
44337 },
44338 ],
44339 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
44340 },
44341 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
44342 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
44343 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
44344 &quot;url&quot;: &quot;A String&quot;, # The URL.
44345 },
44346 },
44347 ],
44348 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
44349 },
44350 },
44351 ],
44352 },
44353 &quot;toolCall&quot;: { # Tool call content.
44354 &quot;codeExecutionCall&quot;: { # Code execution content.
44355 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
44356 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
44357 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
44358 },
44359 },
44360 &quot;fileSearchCall&quot;: { # File Search content.
44361 },
44362 &quot;functionCall&quot;: { # A function tool call content block.
44363 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
44364 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
44365 { # Represents a single field in a struct.
44366 &quot;name&quot;: &quot;A String&quot;,
44367 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
44368 &quot;boolValue&quot;: True or False, # Represents a boolean value.
44369 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
44370 &quot;values&quot;: [ # Repeated field of dynamically typed values.
44371 # Object with schema name: GenaiVertexV1beta1Value
44372 ],
44373 },
44374 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
44375 &quot;numberValue&quot;: 3.14, # Represents a double value.
44376 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
44377 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
44378 },
44379 },
44380 ],
44381 },
44382 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
44383 },
44384 &quot;googleMapsCall&quot;: { # Google Maps content.
44385 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
44386 &quot;queries&quot;: [ # The queries to be executed.
44387 &quot;A String&quot;,
44388 ],
44389 },
44390 },
44391 &quot;googleSearchCall&quot;: { # Google Search content.
44392 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
44393 &quot;queries&quot;: [ # Web search queries for the following-up web search.
44394 &quot;A String&quot;,
44395 ],
44396 },
44397 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
44398 },
44399 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
44400 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
44401 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
44402 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
44403 { # Represents a single field in a struct.
44404 &quot;name&quot;: &quot;A String&quot;,
44405 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
44406 &quot;boolValue&quot;: True or False, # Represents a boolean value.
44407 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
44408 &quot;values&quot;: [ # Repeated field of dynamically typed values.
44409 # Object with schema name: GenaiVertexV1beta1Value
44410 ],
44411 },
44412 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
44413 &quot;numberValue&quot;: 3.14, # Represents a double value.
44414 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
44415 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
44416 },
44417 },
44418 ],
44419 },
44420 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
44421 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
44422 },
44423 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
44424 &quot;urlContextCall&quot;: { # URL context content.
44425 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
44426 &quot;urls&quot;: [ # The URLs to fetch.
44427 &quot;A String&quot;,
44428 ],
44429 },
44430 },
44431 },
44432 &quot;toolResult&quot;: { # Tool result content.
44433 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
44434 &quot;codeExecutionResult&quot;: { # Code execution result content.
44435 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
44436 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
44437 },
44438 &quot;fileSearchResult&quot;: { # File Search result content.
44439 &quot;result&quot;: [ # Optional. The results of the File Search.
44440 { # The result of the File Search.
44441 },
44442 ],
44443 },
44444 &quot;functionResult&quot;: { # A function tool result content block.
44445 &quot;contentList&quot;: {
44446 &quot;contents&quot;: [
44447 {
44448 &quot;image&quot;: { # An image content block.
44449 &quot;data&quot;: &quot;A String&quot;, # The image content.
44450 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
44451 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
44452 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
44453 },
44454 &quot;text&quot;: { # A text content block.
44455 &quot;annotations&quot;: [ # Citation information for model-generated content.
44456 { # Citation information for model-generated content.
44457 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
44458 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
44459 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
44460 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
44461 { # Represents a single field in a struct.
44462 &quot;name&quot;: &quot;A String&quot;,
44463 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
44464 &quot;boolValue&quot;: True or False, # Represents a boolean value.
44465 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
44466 &quot;values&quot;: [ # Repeated field of dynamically typed values.
44467 # Object with schema name: GenaiVertexV1beta1Value
44468 ],
44469 },
44470 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
44471 &quot;numberValue&quot;: 3.14, # Represents a double value.
44472 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
44473 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
44474 },
44475 },
44476 ],
44477 },
44478 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
44479 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
44480 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
44481 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
44482 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
44483 },
44484 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
44485 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
44486 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
44487 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
44488 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
44489 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
44490 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
44491 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
44492 },
44493 ],
44494 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
44495 },
44496 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
44497 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
44498 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
44499 &quot;url&quot;: &quot;A String&quot;, # The URL.
44500 },
44501 },
44502 ],
44503 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
44504 },
44505 },
44506 ],
44507 },
44508 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
44509 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
44510 &quot;stringResult&quot;: &quot;A String&quot;,
44511 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
44512 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
44513 { # Represents a single field in a struct.
44514 &quot;name&quot;: &quot;A String&quot;,
44515 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
44516 &quot;boolValue&quot;: True or False, # Represents a boolean value.
44517 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
44518 &quot;values&quot;: [ # Repeated field of dynamically typed values.
44519 # Object with schema name: GenaiVertexV1beta1Value
44520 ],
44521 },
44522 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
44523 &quot;numberValue&quot;: 3.14, # Represents a double value.
44524 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
44525 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
44526 },
44527 },
44528 ],
44529 },
44530 },
44531 &quot;googleMapsResult&quot;: { # Google Maps result content.
44532 &quot;result&quot;: [ # Required. The results of the Google Maps.
44533 { # The result of the Google Maps.
44534 &quot;places&quot;: [ # The places that were found.
44535 {
44536 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
44537 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
44538 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
44539 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
44540 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
44541 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
44542 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
44543 },
44544 ],
44545 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
44546 },
44547 ],
44548 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
44549 },
44550 ],
44551 },
44552 &quot;googleSearchResult&quot;: { # Google Search result content.
44553 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
44554 &quot;result&quot;: [ # Required. The results of the Google Search.
44555 { # The result of the Google Search.
44556 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
44557 },
44558 ],
44559 },
44560 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
44561 &quot;contentList&quot;: {
44562 &quot;contents&quot;: [
44563 {
44564 &quot;image&quot;: { # An image content block.
44565 &quot;data&quot;: &quot;A String&quot;, # The image content.
44566 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
44567 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
44568 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
44569 },
44570 &quot;text&quot;: { # A text content block.
44571 &quot;annotations&quot;: [ # Citation information for model-generated content.
44572 { # Citation information for model-generated content.
44573 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
44574 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
44575 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
44576 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
44577 { # Represents a single field in a struct.
44578 &quot;name&quot;: &quot;A String&quot;,
44579 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
44580 &quot;boolValue&quot;: True or False, # Represents a boolean value.
44581 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
44582 &quot;values&quot;: [ # Repeated field of dynamically typed values.
44583 # Object with schema name: GenaiVertexV1beta1Value
44584 ],
44585 },
44586 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
44587 &quot;numberValue&quot;: 3.14, # Represents a double value.
44588 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
44589 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
44590 },
44591 },
44592 ],
44593 },
44594 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
44595 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
44596 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
44597 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
44598 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
44599 },
44600 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
44601 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
44602 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
44603 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
44604 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
44605 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
44606 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
44607 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
44608 },
44609 ],
44610 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
44611 },
44612 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
44613 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
44614 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
44615 &quot;url&quot;: &quot;A String&quot;, # The URL.
44616 },
44617 },
44618 ],
44619 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
44620 },
44621 },
44622 ],
44623 },
44624 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
44625 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
44626 &quot;stringResult&quot;: &quot;A String&quot;,
44627 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
44628 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
44629 { # Represents a single field in a struct.
44630 &quot;name&quot;: &quot;A String&quot;,
44631 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
44632 &quot;boolValue&quot;: True or False, # Represents a boolean value.
44633 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
44634 &quot;values&quot;: [ # Repeated field of dynamically typed values.
44635 # Object with schema name: GenaiVertexV1beta1Value
44636 ],
44637 },
44638 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
44639 &quot;numberValue&quot;: 3.14, # Represents a double value.
44640 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
44641 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
44642 },
44643 },
44644 ],
44645 },
44646 },
44647 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
44648 &quot;urlContextResult&quot;: { # URL context result content.
44649 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
44650 &quot;result&quot;: [ # Required. The results of the URL context.
44651 { # The result of the URL context.
44652 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
44653 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
44654 },
44655 ],
44656 },
44657 },
44658 &quot;video&quot;: { # A video content block.
44659 &quot;data&quot;: &quot;A String&quot;, # The video content.
44660 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
44661 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
44662 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
44663 },
44664 },
44665 ],
44666 },
44667 &quot;contentString&quot;: &quot;A String&quot;, # The content of the turn. A single string.
44668 &quot;role&quot;: &quot;A String&quot;, # The originator of this turn. Must be user for input or model for model output.
44669 },
44670 ],
44671 },
44672 &quot;updated&quot;: &quot;A String&quot;, # Required. Output only. The time at which the response was last updated in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).
44673 &quot;usage&quot;: { # Statistics on the interaction request&#x27;s token usage. # Output only. Statistics on the interaction request&#x27;s token usage.
44674 &quot;cachedTokensByModality&quot;: [ # A breakdown of cached token usage by modality.
44675 { # The token count for a single response modality.
44676 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
44677 &quot;tokens&quot;: 42, # Number of tokens for the modality.
44678 },
44679 ],
44680 &quot;groundingToolCount&quot;: [ # Grounding tool count.
44681 { # The number of grounding tool counts.
44682 &quot;count&quot;: 42, # The number of grounding tool counts.
44683 &quot;type&quot;: &quot;A String&quot;, # The grounding tool type associated with the count.
44684 },
44685 ],
44686 &quot;inputTokensByModality&quot;: [ # A breakdown of input token usage by modality.
44687 { # The token count for a single response modality.
44688 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
44689 &quot;tokens&quot;: 42, # Number of tokens for the modality.
44690 },
44691 ],
44692 &quot;outputTokensByModality&quot;: [ # A breakdown of output token usage by modality.
44693 { # The token count for a single response modality.
44694 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
44695 &quot;tokens&quot;: 42, # Number of tokens for the modality.
44696 },
44697 ],
44698 &quot;toolUseTokensByModality&quot;: [ # A breakdown of tool-use token usage by modality.
44699 { # The token count for a single response modality.
44700 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
44701 &quot;tokens&quot;: 42, # Number of tokens for the modality.
44702 },
44703 ],
44704 &quot;totalCachedTokens&quot;: 42, # Number of tokens in the cached part of the prompt (the cached content).
44705 &quot;totalInputTokens&quot;: 42, # Number of tokens in the prompt (context).
44706 &quot;totalOutputTokens&quot;: 42, # Total number of tokens across all the generated responses.
44707 &quot;totalThoughtTokens&quot;: 42, # Number of tokens of thoughts for thinking models.
44708 &quot;totalTokens&quot;: 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
44709 &quot;totalToolUseTokens&quot;: 42, # Number of tokens present in tool-use prompt(s).
44710 },
44711 },
44712 },
44713 &quot;interactionStatusUpdate&quot;: { # The interaction status data, used for interaction.status_update events.
44714 &quot;interactionId&quot;: &quot;A String&quot;,
44715 &quot;status&quot;: &quot;A String&quot;,
44716 },
44717 &quot;metadata&quot;: { # Optional metadata accompanying ANY streamed event.
44718 &quot;totalUsage&quot;: { # Statistics on the interaction request&#x27;s token usage.
44719 &quot;cachedTokensByModality&quot;: [ # A breakdown of cached token usage by modality.
44720 { # The token count for a single response modality.
44721 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
44722 &quot;tokens&quot;: 42, # Number of tokens for the modality.
44723 },
44724 ],
44725 &quot;groundingToolCount&quot;: [ # Grounding tool count.
44726 { # The number of grounding tool counts.
44727 &quot;count&quot;: 42, # The number of grounding tool counts.
44728 &quot;type&quot;: &quot;A String&quot;, # The grounding tool type associated with the count.
44729 },
44730 ],
44731 &quot;inputTokensByModality&quot;: [ # A breakdown of input token usage by modality.
44732 { # The token count for a single response modality.
44733 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
44734 &quot;tokens&quot;: 42, # Number of tokens for the modality.
44735 },
44736 ],
44737 &quot;outputTokensByModality&quot;: [ # A breakdown of output token usage by modality.
44738 { # The token count for a single response modality.
44739 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
44740 &quot;tokens&quot;: 42, # Number of tokens for the modality.
44741 },
44742 ],
44743 &quot;toolUseTokensByModality&quot;: [ # A breakdown of tool-use token usage by modality.
44744 { # The token count for a single response modality.
44745 &quot;modality&quot;: &quot;A String&quot;, # The modality associated with the token count.
44746 &quot;tokens&quot;: 42, # Number of tokens for the modality.
44747 },
44748 ],
44749 &quot;totalCachedTokens&quot;: 42, # Number of tokens in the cached part of the prompt (the cached content).
44750 &quot;totalInputTokens&quot;: 42, # Number of tokens in the prompt (context).
44751 &quot;totalOutputTokens&quot;: 42, # Total number of tokens across all the generated responses.
44752 &quot;totalThoughtTokens&quot;: 42, # Number of tokens of thoughts for thinking models.
44753 &quot;totalTokens&quot;: 42, # Total token count for the interaction request (prompt + responses + other internal tokens).
44754 &quot;totalToolUseTokens&quot;: 42, # Number of tokens present in tool-use prompt(s).
44755 },
44756 },
44757 &quot;stepDelta&quot;: { # The step delta data, used for step.delta events.
44758 &quot;delta&quot;: {
44759 &quot;argumentsDelta&quot;: {
44760 &quot;arguments&quot;: &quot;A String&quot;,
44761 },
44762 &quot;audio&quot;: {
44763 &quot;channels&quot;: 42, # The number of audio channels.
44764 &quot;data&quot;: &quot;A String&quot;,
44765 &quot;mimeType&quot;: &quot;A String&quot;,
44766 &quot;rate&quot;: 42, # Deprecated. Use sample_rate instead. The value is ignored.
44767 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
44768 &quot;uri&quot;: &quot;A String&quot;,
44769 },
44770 &quot;document&quot;: {
44771 &quot;data&quot;: &quot;A String&quot;,
44772 &quot;mimeType&quot;: &quot;A String&quot;,
44773 &quot;uri&quot;: &quot;A String&quot;,
44774 },
44775 &quot;functionResult&quot;: {
44776 &quot;contentList&quot;: { # A list of Content.
44777 &quot;contents&quot;: [ # The contents of the list.
44778 { # The content of the response.
44779 &quot;audio&quot;: { # An audio content block.
44780 &quot;channels&quot;: 42, # The number of audio channels.
44781 &quot;data&quot;: &quot;A String&quot;, # The audio content.
44782 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
44783 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
44784 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
44785 },
44786 &quot;document&quot;: { # A document content block.
44787 &quot;data&quot;: &quot;A String&quot;, # The document content.
44788 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
44789 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
44790 },
44791 &quot;image&quot;: { # An image content block.
44792 &quot;data&quot;: &quot;A String&quot;, # The image content.
44793 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
44794 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
44795 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
44796 },
44797 &quot;text&quot;: { # A text content block.
44798 &quot;annotations&quot;: [ # Citation information for model-generated content.
44799 { # Citation information for model-generated content.
44800 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
44801 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
44802 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
44803 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
44804 { # Represents a single field in a struct.
44805 &quot;name&quot;: &quot;A String&quot;,
44806 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
44807 &quot;boolValue&quot;: True or False, # Represents a boolean value.
44808 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
44809 &quot;values&quot;: [ # Repeated field of dynamically typed values.
44810 # Object with schema name: GenaiVertexV1beta1Value
44811 ],
44812 },
44813 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
44814 &quot;numberValue&quot;: 3.14, # Represents a double value.
44815 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
44816 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
44817 },
44818 },
44819 ],
44820 },
44821 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
44822 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
44823 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
44824 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
44825 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
44826 },
44827 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
44828 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
44829 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
44830 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
44831 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
44832 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
44833 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
44834 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
44835 },
44836 ],
44837 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
44838 },
44839 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
44840 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
44841 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
44842 &quot;url&quot;: &quot;A String&quot;, # The URL.
44843 },
44844 },
44845 ],
44846 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
44847 },
44848 &quot;thought&quot;: { # A thought content block.
44849 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
44850 &quot;summary&quot;: [ # A summary of the thought.
44851 {
44852 &quot;image&quot;: { # An image content block.
44853 &quot;data&quot;: &quot;A String&quot;, # The image content.
44854 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
44855 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
44856 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
44857 },
44858 &quot;text&quot;: { # A text content block.
44859 &quot;annotations&quot;: [ # Citation information for model-generated content.
44860 { # Citation information for model-generated content.
44861 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
44862 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
44863 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
44864 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
44865 { # Represents a single field in a struct.
44866 &quot;name&quot;: &quot;A String&quot;,
44867 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
44868 &quot;boolValue&quot;: True or False, # Represents a boolean value.
44869 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
44870 &quot;values&quot;: [ # Repeated field of dynamically typed values.
44871 # Object with schema name: GenaiVertexV1beta1Value
44872 ],
44873 },
44874 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
44875 &quot;numberValue&quot;: 3.14, # Represents a double value.
44876 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
44877 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
44878 },
44879 },
44880 ],
44881 },
44882 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
44883 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
44884 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
44885 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
44886 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
44887 },
44888 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
44889 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
44890 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
44891 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
44892 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
44893 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
44894 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
44895 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
44896 },
44897 ],
44898 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
44899 },
44900 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
44901 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
44902 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
44903 &quot;url&quot;: &quot;A String&quot;, # The URL.
44904 },
44905 },
44906 ],
44907 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
44908 },
44909 },
44910 ],
44911 },
44912 &quot;toolCall&quot;: { # Tool call content.
44913 &quot;codeExecutionCall&quot;: { # Code execution content.
44914 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
44915 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
44916 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
44917 },
44918 },
44919 &quot;fileSearchCall&quot;: { # File Search content.
44920 },
44921 &quot;functionCall&quot;: { # A function tool call content block.
44922 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
44923 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
44924 { # Represents a single field in a struct.
44925 &quot;name&quot;: &quot;A String&quot;,
44926 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
44927 &quot;boolValue&quot;: True or False, # Represents a boolean value.
44928 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
44929 &quot;values&quot;: [ # Repeated field of dynamically typed values.
44930 # Object with schema name: GenaiVertexV1beta1Value
44931 ],
44932 },
44933 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
44934 &quot;numberValue&quot;: 3.14, # Represents a double value.
44935 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
44936 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
44937 },
44938 },
44939 ],
44940 },
44941 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
44942 },
44943 &quot;googleMapsCall&quot;: { # Google Maps content.
44944 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
44945 &quot;queries&quot;: [ # The queries to be executed.
44946 &quot;A String&quot;,
44947 ],
44948 },
44949 },
44950 &quot;googleSearchCall&quot;: { # Google Search content.
44951 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
44952 &quot;queries&quot;: [ # Web search queries for the following-up web search.
44953 &quot;A String&quot;,
44954 ],
44955 },
44956 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
44957 },
44958 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
44959 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
44960 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
44961 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
44962 { # Represents a single field in a struct.
44963 &quot;name&quot;: &quot;A String&quot;,
44964 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
44965 &quot;boolValue&quot;: True or False, # Represents a boolean value.
44966 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
44967 &quot;values&quot;: [ # Repeated field of dynamically typed values.
44968 # Object with schema name: GenaiVertexV1beta1Value
44969 ],
44970 },
44971 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
44972 &quot;numberValue&quot;: 3.14, # Represents a double value.
44973 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
44974 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
44975 },
44976 },
44977 ],
44978 },
44979 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
44980 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
44981 },
44982 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
44983 &quot;urlContextCall&quot;: { # URL context content.
44984 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
44985 &quot;urls&quot;: [ # The URLs to fetch.
44986 &quot;A String&quot;,
44987 ],
44988 },
44989 },
44990 },
44991 &quot;toolResult&quot;: { # Tool result content.
44992 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
44993 &quot;codeExecutionResult&quot;: { # Code execution result content.
44994 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
44995 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
44996 },
44997 &quot;fileSearchResult&quot;: { # File Search result content.
44998 &quot;result&quot;: [ # Optional. The results of the File Search.
44999 { # The result of the File Search.
45000 },
45001 ],
45002 },
45003 &quot;functionResult&quot;: { # A function tool result content block.
45004 &quot;contentList&quot;: {
45005 &quot;contents&quot;: [
45006 {
45007 &quot;image&quot;: { # An image content block.
45008 &quot;data&quot;: &quot;A String&quot;, # The image content.
45009 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
45010 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
45011 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
45012 },
45013 &quot;text&quot;: { # A text content block.
45014 &quot;annotations&quot;: [ # Citation information for model-generated content.
45015 { # Citation information for model-generated content.
45016 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
45017 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
45018 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
45019 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45020 { # Represents a single field in a struct.
45021 &quot;name&quot;: &quot;A String&quot;,
45022 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45023 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45024 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45025 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45026 # Object with schema name: GenaiVertexV1beta1Value
45027 ],
45028 },
45029 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45030 &quot;numberValue&quot;: 3.14, # Represents a double value.
45031 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45032 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45033 },
45034 },
45035 ],
45036 },
45037 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
45038 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
45039 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
45040 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
45041 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
45042 },
45043 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
45044 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
45045 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
45046 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
45047 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
45048 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
45049 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
45050 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
45051 },
45052 ],
45053 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
45054 },
45055 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
45056 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
45057 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
45058 &quot;url&quot;: &quot;A String&quot;, # The URL.
45059 },
45060 },
45061 ],
45062 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
45063 },
45064 },
45065 ],
45066 },
45067 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
45068 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
45069 &quot;stringResult&quot;: &quot;A String&quot;,
45070 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
45071 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45072 { # Represents a single field in a struct.
45073 &quot;name&quot;: &quot;A String&quot;,
45074 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45075 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45076 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45077 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45078 # Object with schema name: GenaiVertexV1beta1Value
45079 ],
45080 },
45081 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45082 &quot;numberValue&quot;: 3.14, # Represents a double value.
45083 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45084 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45085 },
45086 },
45087 ],
45088 },
45089 },
45090 &quot;googleMapsResult&quot;: { # Google Maps result content.
45091 &quot;result&quot;: [ # Required. The results of the Google Maps.
45092 { # The result of the Google Maps.
45093 &quot;places&quot;: [ # The places that were found.
45094 {
45095 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
45096 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
45097 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
45098 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
45099 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
45100 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
45101 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
45102 },
45103 ],
45104 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
45105 },
45106 ],
45107 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
45108 },
45109 ],
45110 },
45111 &quot;googleSearchResult&quot;: { # Google Search result content.
45112 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
45113 &quot;result&quot;: [ # Required. The results of the Google Search.
45114 { # The result of the Google Search.
45115 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
45116 },
45117 ],
45118 },
45119 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
45120 &quot;contentList&quot;: {
45121 &quot;contents&quot;: [
45122 {
45123 &quot;image&quot;: { # An image content block.
45124 &quot;data&quot;: &quot;A String&quot;, # The image content.
45125 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
45126 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
45127 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
45128 },
45129 &quot;text&quot;: { # A text content block.
45130 &quot;annotations&quot;: [ # Citation information for model-generated content.
45131 { # Citation information for model-generated content.
45132 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
45133 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
45134 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
45135 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45136 { # Represents a single field in a struct.
45137 &quot;name&quot;: &quot;A String&quot;,
45138 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45139 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45140 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45141 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45142 # Object with schema name: GenaiVertexV1beta1Value
45143 ],
45144 },
45145 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45146 &quot;numberValue&quot;: 3.14, # Represents a double value.
45147 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45148 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45149 },
45150 },
45151 ],
45152 },
45153 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
45154 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
45155 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
45156 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
45157 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
45158 },
45159 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
45160 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
45161 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
45162 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
45163 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
45164 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
45165 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
45166 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
45167 },
45168 ],
45169 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
45170 },
45171 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
45172 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
45173 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
45174 &quot;url&quot;: &quot;A String&quot;, # The URL.
45175 },
45176 },
45177 ],
45178 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
45179 },
45180 },
45181 ],
45182 },
45183 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
45184 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
45185 &quot;stringResult&quot;: &quot;A String&quot;,
45186 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
45187 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45188 { # Represents a single field in a struct.
45189 &quot;name&quot;: &quot;A String&quot;,
45190 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45191 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45192 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45193 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45194 # Object with schema name: GenaiVertexV1beta1Value
45195 ],
45196 },
45197 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45198 &quot;numberValue&quot;: 3.14, # Represents a double value.
45199 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45200 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45201 },
45202 },
45203 ],
45204 },
45205 },
45206 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
45207 &quot;urlContextResult&quot;: { # URL context result content.
45208 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
45209 &quot;result&quot;: [ # Required. The results of the URL context.
45210 { # The result of the URL context.
45211 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
45212 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
45213 },
45214 ],
45215 },
45216 },
45217 &quot;video&quot;: { # A video content block.
45218 &quot;data&quot;: &quot;A String&quot;, # The video content.
45219 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
45220 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
45221 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
45222 },
45223 },
45224 ],
45225 },
45226 &quot;isError&quot;: True or False,
45227 &quot;name&quot;: &quot;A String&quot;,
45228 &quot;stringResult&quot;: &quot;A String&quot;,
45229 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
45230 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45231 { # Represents a single field in a struct.
45232 &quot;name&quot;: &quot;A String&quot;,
45233 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45234 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45235 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45236 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45237 # Object with schema name: GenaiVertexV1beta1Value
45238 ],
45239 },
45240 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45241 &quot;numberValue&quot;: 3.14, # Represents a double value.
45242 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45243 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45244 },
45245 },
45246 ],
45247 },
45248 },
45249 &quot;image&quot;: {
45250 &quot;data&quot;: &quot;A String&quot;,
45251 &quot;mimeType&quot;: &quot;A String&quot;,
45252 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
45253 &quot;uri&quot;: &quot;A String&quot;,
45254 },
45255 &quot;serverToolCall&quot;: {
45256 &quot;codeExecutionCall&quot;: {
45257 &quot;arguments&quot;: { # The arguments to pass to the code execution.
45258 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
45259 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
45260 },
45261 },
45262 &quot;fileSearchCall&quot;: {
45263 },
45264 &quot;googleMapsCall&quot;: {
45265 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
45266 &quot;queries&quot;: [ # The queries to be executed.
45267 &quot;A String&quot;,
45268 ],
45269 },
45270 },
45271 &quot;googleSearchCall&quot;: {
45272 &quot;arguments&quot;: { # The arguments to pass to Google Search.
45273 &quot;queries&quot;: [ # Web search queries for the following-up web search.
45274 &quot;A String&quot;,
45275 ],
45276 },
45277 },
45278 &quot;mcpServerToolCall&quot;: {
45279 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
45280 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45281 { # Represents a single field in a struct.
45282 &quot;name&quot;: &quot;A String&quot;,
45283 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45284 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45285 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45286 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45287 # Object with schema name: GenaiVertexV1beta1Value
45288 ],
45289 },
45290 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45291 &quot;numberValue&quot;: 3.14, # Represents a double value.
45292 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45293 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45294 },
45295 },
45296 ],
45297 },
45298 &quot;name&quot;: &quot;A String&quot;,
45299 &quot;serverName&quot;: &quot;A String&quot;,
45300 },
45301 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
45302 &quot;urlContextCall&quot;: {
45303 &quot;arguments&quot;: { # The arguments to pass to the URL context.
45304 &quot;urls&quot;: [ # The URLs to fetch.
45305 &quot;A String&quot;,
45306 ],
45307 },
45308 },
45309 },
45310 &quot;serverToolResult&quot;: {
45311 &quot;codeExecutionResult&quot;: {
45312 &quot;isError&quot;: True or False,
45313 &quot;result&quot;: &quot;A String&quot;,
45314 },
45315 &quot;fileSearchResult&quot;: {
45316 &quot;result&quot;: [
45317 { # The result of the File Search.
45318 },
45319 ],
45320 },
45321 &quot;googleMapsResult&quot;: {
45322 &quot;result&quot;: [ # The results of the Google Maps.
45323 { # The result of the Google Maps.
45324 &quot;places&quot;: [ # The places that were found.
45325 {
45326 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
45327 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
45328 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
45329 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
45330 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
45331 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
45332 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
45333 },
45334 ],
45335 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
45336 },
45337 ],
45338 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
45339 },
45340 ],
45341 },
45342 &quot;googleSearchResult&quot;: {
45343 &quot;isError&quot;: True or False,
45344 &quot;result&quot;: [
45345 { # The result of the Google Search.
45346 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
45347 },
45348 ],
45349 },
45350 &quot;mcpServerToolResult&quot;: {
45351 &quot;contentList&quot;: { # A list of Content.
45352 &quot;contents&quot;: [ # The contents of the list.
45353 { # The content of the response.
45354 &quot;audio&quot;: { # An audio content block.
45355 &quot;channels&quot;: 42, # The number of audio channels.
45356 &quot;data&quot;: &quot;A String&quot;, # The audio content.
45357 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
45358 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
45359 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
45360 },
45361 &quot;document&quot;: { # A document content block.
45362 &quot;data&quot;: &quot;A String&quot;, # The document content.
45363 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
45364 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
45365 },
45366 &quot;image&quot;: { # An image content block.
45367 &quot;data&quot;: &quot;A String&quot;, # The image content.
45368 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
45369 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
45370 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
45371 },
45372 &quot;text&quot;: { # A text content block.
45373 &quot;annotations&quot;: [ # Citation information for model-generated content.
45374 { # Citation information for model-generated content.
45375 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
45376 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
45377 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
45378 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45379 { # Represents a single field in a struct.
45380 &quot;name&quot;: &quot;A String&quot;,
45381 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45382 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45383 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45384 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45385 # Object with schema name: GenaiVertexV1beta1Value
45386 ],
45387 },
45388 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45389 &quot;numberValue&quot;: 3.14, # Represents a double value.
45390 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45391 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45392 },
45393 },
45394 ],
45395 },
45396 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
45397 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
45398 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
45399 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
45400 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
45401 },
45402 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
45403 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
45404 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
45405 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
45406 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
45407 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
45408 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
45409 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
45410 },
45411 ],
45412 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
45413 },
45414 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
45415 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
45416 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
45417 &quot;url&quot;: &quot;A String&quot;, # The URL.
45418 },
45419 },
45420 ],
45421 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
45422 },
45423 &quot;thought&quot;: { # A thought content block.
45424 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
45425 &quot;summary&quot;: [ # A summary of the thought.
45426 {
45427 &quot;image&quot;: { # An image content block.
45428 &quot;data&quot;: &quot;A String&quot;, # The image content.
45429 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
45430 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
45431 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
45432 },
45433 &quot;text&quot;: { # A text content block.
45434 &quot;annotations&quot;: [ # Citation information for model-generated content.
45435 { # Citation information for model-generated content.
45436 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
45437 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
45438 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
45439 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45440 { # Represents a single field in a struct.
45441 &quot;name&quot;: &quot;A String&quot;,
45442 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45443 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45444 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45445 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45446 # Object with schema name: GenaiVertexV1beta1Value
45447 ],
45448 },
45449 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45450 &quot;numberValue&quot;: 3.14, # Represents a double value.
45451 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45452 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45453 },
45454 },
45455 ],
45456 },
45457 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
45458 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
45459 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
45460 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
45461 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
45462 },
45463 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
45464 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
45465 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
45466 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
45467 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
45468 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
45469 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
45470 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
45471 },
45472 ],
45473 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
45474 },
45475 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
45476 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
45477 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
45478 &quot;url&quot;: &quot;A String&quot;, # The URL.
45479 },
45480 },
45481 ],
45482 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
45483 },
45484 },
45485 ],
45486 },
45487 &quot;toolCall&quot;: { # Tool call content.
45488 &quot;codeExecutionCall&quot;: { # Code execution content.
45489 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
45490 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
45491 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
45492 },
45493 },
45494 &quot;fileSearchCall&quot;: { # File Search content.
45495 },
45496 &quot;functionCall&quot;: { # A function tool call content block.
45497 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
45498 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45499 { # Represents a single field in a struct.
45500 &quot;name&quot;: &quot;A String&quot;,
45501 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45502 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45503 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45504 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45505 # Object with schema name: GenaiVertexV1beta1Value
45506 ],
45507 },
45508 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45509 &quot;numberValue&quot;: 3.14, # Represents a double value.
45510 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45511 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45512 },
45513 },
45514 ],
45515 },
45516 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
45517 },
45518 &quot;googleMapsCall&quot;: { # Google Maps content.
45519 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
45520 &quot;queries&quot;: [ # The queries to be executed.
45521 &quot;A String&quot;,
45522 ],
45523 },
45524 },
45525 &quot;googleSearchCall&quot;: { # Google Search content.
45526 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
45527 &quot;queries&quot;: [ # Web search queries for the following-up web search.
45528 &quot;A String&quot;,
45529 ],
45530 },
45531 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
45532 },
45533 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
45534 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
45535 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
45536 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45537 { # Represents a single field in a struct.
45538 &quot;name&quot;: &quot;A String&quot;,
45539 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45540 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45541 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45542 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45543 # Object with schema name: GenaiVertexV1beta1Value
45544 ],
45545 },
45546 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45547 &quot;numberValue&quot;: 3.14, # Represents a double value.
45548 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45549 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45550 },
45551 },
45552 ],
45553 },
45554 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
45555 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
45556 },
45557 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
45558 &quot;urlContextCall&quot;: { # URL context content.
45559 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
45560 &quot;urls&quot;: [ # The URLs to fetch.
45561 &quot;A String&quot;,
45562 ],
45563 },
45564 },
45565 },
45566 &quot;toolResult&quot;: { # Tool result content.
45567 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
45568 &quot;codeExecutionResult&quot;: { # Code execution result content.
45569 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
45570 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
45571 },
45572 &quot;fileSearchResult&quot;: { # File Search result content.
45573 &quot;result&quot;: [ # Optional. The results of the File Search.
45574 { # The result of the File Search.
45575 },
45576 ],
45577 },
45578 &quot;functionResult&quot;: { # A function tool result content block.
45579 &quot;contentList&quot;: {
45580 &quot;contents&quot;: [
45581 {
45582 &quot;image&quot;: { # An image content block.
45583 &quot;data&quot;: &quot;A String&quot;, # The image content.
45584 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
45585 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
45586 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
45587 },
45588 &quot;text&quot;: { # A text content block.
45589 &quot;annotations&quot;: [ # Citation information for model-generated content.
45590 { # Citation information for model-generated content.
45591 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
45592 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
45593 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
45594 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45595 { # Represents a single field in a struct.
45596 &quot;name&quot;: &quot;A String&quot;,
45597 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45598 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45599 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45600 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45601 # Object with schema name: GenaiVertexV1beta1Value
45602 ],
45603 },
45604 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45605 &quot;numberValue&quot;: 3.14, # Represents a double value.
45606 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45607 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45608 },
45609 },
45610 ],
45611 },
45612 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
45613 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
45614 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
45615 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
45616 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
45617 },
45618 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
45619 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
45620 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
45621 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
45622 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
45623 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
45624 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
45625 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
45626 },
45627 ],
45628 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
45629 },
45630 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
45631 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
45632 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
45633 &quot;url&quot;: &quot;A String&quot;, # The URL.
45634 },
45635 },
45636 ],
45637 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
45638 },
45639 },
45640 ],
45641 },
45642 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
45643 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
45644 &quot;stringResult&quot;: &quot;A String&quot;,
45645 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
45646 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45647 { # Represents a single field in a struct.
45648 &quot;name&quot;: &quot;A String&quot;,
45649 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45650 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45651 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45652 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45653 # Object with schema name: GenaiVertexV1beta1Value
45654 ],
45655 },
45656 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45657 &quot;numberValue&quot;: 3.14, # Represents a double value.
45658 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45659 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45660 },
45661 },
45662 ],
45663 },
45664 },
45665 &quot;googleMapsResult&quot;: { # Google Maps result content.
45666 &quot;result&quot;: [ # Required. The results of the Google Maps.
45667 { # The result of the Google Maps.
45668 &quot;places&quot;: [ # The places that were found.
45669 {
45670 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
45671 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
45672 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
45673 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
45674 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
45675 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
45676 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
45677 },
45678 ],
45679 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
45680 },
45681 ],
45682 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
45683 },
45684 ],
45685 },
45686 &quot;googleSearchResult&quot;: { # Google Search result content.
45687 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
45688 &quot;result&quot;: [ # Required. The results of the Google Search.
45689 { # The result of the Google Search.
45690 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
45691 },
45692 ],
45693 },
45694 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
45695 &quot;contentList&quot;: {
45696 &quot;contents&quot;: [
45697 {
45698 &quot;image&quot;: { # An image content block.
45699 &quot;data&quot;: &quot;A String&quot;, # The image content.
45700 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
45701 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
45702 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
45703 },
45704 &quot;text&quot;: { # A text content block.
45705 &quot;annotations&quot;: [ # Citation information for model-generated content.
45706 { # Citation information for model-generated content.
45707 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
45708 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
45709 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
45710 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45711 { # Represents a single field in a struct.
45712 &quot;name&quot;: &quot;A String&quot;,
45713 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45714 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45715 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45716 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45717 # Object with schema name: GenaiVertexV1beta1Value
45718 ],
45719 },
45720 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45721 &quot;numberValue&quot;: 3.14, # Represents a double value.
45722 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45723 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45724 },
45725 },
45726 ],
45727 },
45728 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
45729 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
45730 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
45731 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
45732 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
45733 },
45734 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
45735 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
45736 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
45737 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
45738 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
45739 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
45740 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
45741 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
45742 },
45743 ],
45744 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
45745 },
45746 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
45747 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
45748 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
45749 &quot;url&quot;: &quot;A String&quot;, # The URL.
45750 },
45751 },
45752 ],
45753 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
45754 },
45755 },
45756 ],
45757 },
45758 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
45759 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
45760 &quot;stringResult&quot;: &quot;A String&quot;,
45761 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
45762 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45763 { # Represents a single field in a struct.
45764 &quot;name&quot;: &quot;A String&quot;,
45765 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45766 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45767 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45768 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45769 # Object with schema name: GenaiVertexV1beta1Value
45770 ],
45771 },
45772 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45773 &quot;numberValue&quot;: 3.14, # Represents a double value.
45774 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45775 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45776 },
45777 },
45778 ],
45779 },
45780 },
45781 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
45782 &quot;urlContextResult&quot;: { # URL context result content.
45783 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
45784 &quot;result&quot;: [ # Required. The results of the URL context.
45785 { # The result of the URL context.
45786 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
45787 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
45788 },
45789 ],
45790 },
45791 },
45792 &quot;video&quot;: { # A video content block.
45793 &quot;data&quot;: &quot;A String&quot;, # The video content.
45794 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
45795 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
45796 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
45797 },
45798 },
45799 ],
45800 },
45801 &quot;name&quot;: &quot;A String&quot;,
45802 &quot;serverName&quot;: &quot;A String&quot;,
45803 &quot;stringResult&quot;: &quot;A String&quot;,
45804 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
45805 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45806 { # Represents a single field in a struct.
45807 &quot;name&quot;: &quot;A String&quot;,
45808 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45809 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45810 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45811 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45812 # Object with schema name: GenaiVertexV1beta1Value
45813 ],
45814 },
45815 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45816 &quot;numberValue&quot;: 3.14, # Represents a double value.
45817 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45818 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45819 },
45820 },
45821 ],
45822 },
45823 },
45824 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
45825 &quot;urlContextResult&quot;: {
45826 &quot;isError&quot;: True or False,
45827 &quot;result&quot;: [
45828 { # The result of the URL context.
45829 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
45830 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
45831 },
45832 ],
45833 },
45834 },
45835 &quot;text&quot;: {
45836 &quot;text&quot;: &quot;A String&quot;,
45837 },
45838 &quot;textAnnotationDelta&quot;: {
45839 &quot;annotations&quot;: [ # Citation information for model-generated content.
45840 { # Citation information for model-generated content.
45841 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
45842 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
45843 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
45844 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45845 { # Represents a single field in a struct.
45846 &quot;name&quot;: &quot;A String&quot;,
45847 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45848 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45849 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45850 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45851 # Object with schema name: GenaiVertexV1beta1Value
45852 ],
45853 },
45854 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45855 &quot;numberValue&quot;: 3.14, # Represents a double value.
45856 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45857 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45858 },
45859 },
45860 ],
45861 },
45862 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
45863 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
45864 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
45865 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
45866 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
45867 },
45868 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
45869 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
45870 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
45871 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
45872 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
45873 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
45874 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
45875 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
45876 },
45877 ],
45878 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
45879 },
45880 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
45881 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
45882 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
45883 &quot;url&quot;: &quot;A String&quot;, # The URL.
45884 },
45885 },
45886 ],
45887 },
45888 &quot;thoughtSignature&quot;: {
45889 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
45890 },
45891 &quot;thoughtSummary&quot;: {
45892 &quot;content&quot;: { # The content of the response. # A new summary item to be added to the thought.
45893 &quot;audio&quot;: { # An audio content block.
45894 &quot;channels&quot;: 42, # The number of audio channels.
45895 &quot;data&quot;: &quot;A String&quot;, # The audio content.
45896 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
45897 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
45898 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
45899 },
45900 &quot;document&quot;: { # A document content block.
45901 &quot;data&quot;: &quot;A String&quot;, # The document content.
45902 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
45903 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
45904 },
45905 &quot;image&quot;: { # An image content block.
45906 &quot;data&quot;: &quot;A String&quot;, # The image content.
45907 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
45908 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
45909 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
45910 },
45911 &quot;text&quot;: { # A text content block.
45912 &quot;annotations&quot;: [ # Citation information for model-generated content.
45913 { # Citation information for model-generated content.
45914 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
45915 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
45916 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
45917 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45918 { # Represents a single field in a struct.
45919 &quot;name&quot;: &quot;A String&quot;,
45920 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45921 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45922 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45923 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45924 # Object with schema name: GenaiVertexV1beta1Value
45925 ],
45926 },
45927 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45928 &quot;numberValue&quot;: 3.14, # Represents a double value.
45929 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45930 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45931 },
45932 },
45933 ],
45934 },
45935 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
45936 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
45937 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
45938 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
45939 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
45940 },
45941 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
45942 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
45943 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
45944 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
45945 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
45946 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
45947 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
45948 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
45949 },
45950 ],
45951 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
45952 },
45953 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
45954 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
45955 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
45956 &quot;url&quot;: &quot;A String&quot;, # The URL.
45957 },
45958 },
45959 ],
45960 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
45961 },
45962 &quot;thought&quot;: { # A thought content block.
45963 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
45964 &quot;summary&quot;: [ # A summary of the thought.
45965 {
45966 &quot;image&quot;: { # An image content block.
45967 &quot;data&quot;: &quot;A String&quot;, # The image content.
45968 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
45969 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
45970 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
45971 },
45972 &quot;text&quot;: { # A text content block.
45973 &quot;annotations&quot;: [ # Citation information for model-generated content.
45974 { # Citation information for model-generated content.
45975 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
45976 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
45977 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
45978 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
45979 { # Represents a single field in a struct.
45980 &quot;name&quot;: &quot;A String&quot;,
45981 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
45982 &quot;boolValue&quot;: True or False, # Represents a boolean value.
45983 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
45984 &quot;values&quot;: [ # Repeated field of dynamically typed values.
45985 # Object with schema name: GenaiVertexV1beta1Value
45986 ],
45987 },
45988 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
45989 &quot;numberValue&quot;: 3.14, # Represents a double value.
45990 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
45991 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
45992 },
45993 },
45994 ],
45995 },
45996 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
45997 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
45998 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
45999 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
46000 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
46001 },
46002 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
46003 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
46004 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
46005 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
46006 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
46007 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
46008 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
46009 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
46010 },
46011 ],
46012 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
46013 },
46014 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
46015 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
46016 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
46017 &quot;url&quot;: &quot;A String&quot;, # The URL.
46018 },
46019 },
46020 ],
46021 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
46022 },
46023 },
46024 ],
46025 },
46026 &quot;toolCall&quot;: { # Tool call content.
46027 &quot;codeExecutionCall&quot;: { # Code execution content.
46028 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
46029 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
46030 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
46031 },
46032 },
46033 &quot;fileSearchCall&quot;: { # File Search content.
46034 },
46035 &quot;functionCall&quot;: { # A function tool call content block.
46036 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
46037 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46038 { # Represents a single field in a struct.
46039 &quot;name&quot;: &quot;A String&quot;,
46040 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46041 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46042 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46043 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46044 # Object with schema name: GenaiVertexV1beta1Value
46045 ],
46046 },
46047 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46048 &quot;numberValue&quot;: 3.14, # Represents a double value.
46049 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46050 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46051 },
46052 },
46053 ],
46054 },
46055 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
46056 },
46057 &quot;googleMapsCall&quot;: { # Google Maps content.
46058 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
46059 &quot;queries&quot;: [ # The queries to be executed.
46060 &quot;A String&quot;,
46061 ],
46062 },
46063 },
46064 &quot;googleSearchCall&quot;: { # Google Search content.
46065 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
46066 &quot;queries&quot;: [ # Web search queries for the following-up web search.
46067 &quot;A String&quot;,
46068 ],
46069 },
46070 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
46071 },
46072 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
46073 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
46074 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
46075 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46076 { # Represents a single field in a struct.
46077 &quot;name&quot;: &quot;A String&quot;,
46078 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46079 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46080 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46081 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46082 # Object with schema name: GenaiVertexV1beta1Value
46083 ],
46084 },
46085 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46086 &quot;numberValue&quot;: 3.14, # Represents a double value.
46087 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46088 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46089 },
46090 },
46091 ],
46092 },
46093 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
46094 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
46095 },
46096 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
46097 &quot;urlContextCall&quot;: { # URL context content.
46098 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
46099 &quot;urls&quot;: [ # The URLs to fetch.
46100 &quot;A String&quot;,
46101 ],
46102 },
46103 },
46104 },
46105 &quot;toolResult&quot;: { # Tool result content.
46106 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
46107 &quot;codeExecutionResult&quot;: { # Code execution result content.
46108 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
46109 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
46110 },
46111 &quot;fileSearchResult&quot;: { # File Search result content.
46112 &quot;result&quot;: [ # Optional. The results of the File Search.
46113 { # The result of the File Search.
46114 },
46115 ],
46116 },
46117 &quot;functionResult&quot;: { # A function tool result content block.
46118 &quot;contentList&quot;: {
46119 &quot;contents&quot;: [
46120 {
46121 &quot;image&quot;: { # An image content block.
46122 &quot;data&quot;: &quot;A String&quot;, # The image content.
46123 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
46124 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
46125 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
46126 },
46127 &quot;text&quot;: { # A text content block.
46128 &quot;annotations&quot;: [ # Citation information for model-generated content.
46129 { # Citation information for model-generated content.
46130 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
46131 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
46132 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
46133 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46134 { # Represents a single field in a struct.
46135 &quot;name&quot;: &quot;A String&quot;,
46136 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46137 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46138 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46139 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46140 # Object with schema name: GenaiVertexV1beta1Value
46141 ],
46142 },
46143 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46144 &quot;numberValue&quot;: 3.14, # Represents a double value.
46145 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46146 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46147 },
46148 },
46149 ],
46150 },
46151 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
46152 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
46153 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
46154 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
46155 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
46156 },
46157 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
46158 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
46159 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
46160 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
46161 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
46162 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
46163 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
46164 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
46165 },
46166 ],
46167 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
46168 },
46169 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
46170 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
46171 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
46172 &quot;url&quot;: &quot;A String&quot;, # The URL.
46173 },
46174 },
46175 ],
46176 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
46177 },
46178 },
46179 ],
46180 },
46181 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
46182 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
46183 &quot;stringResult&quot;: &quot;A String&quot;,
46184 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
46185 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46186 { # Represents a single field in a struct.
46187 &quot;name&quot;: &quot;A String&quot;,
46188 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46189 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46190 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46191 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46192 # Object with schema name: GenaiVertexV1beta1Value
46193 ],
46194 },
46195 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46196 &quot;numberValue&quot;: 3.14, # Represents a double value.
46197 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46198 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46199 },
46200 },
46201 ],
46202 },
46203 },
46204 &quot;googleMapsResult&quot;: { # Google Maps result content.
46205 &quot;result&quot;: [ # Required. The results of the Google Maps.
46206 { # The result of the Google Maps.
46207 &quot;places&quot;: [ # The places that were found.
46208 {
46209 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
46210 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
46211 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
46212 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
46213 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
46214 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
46215 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
46216 },
46217 ],
46218 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
46219 },
46220 ],
46221 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
46222 },
46223 ],
46224 },
46225 &quot;googleSearchResult&quot;: { # Google Search result content.
46226 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
46227 &quot;result&quot;: [ # Required. The results of the Google Search.
46228 { # The result of the Google Search.
46229 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
46230 },
46231 ],
46232 },
46233 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
46234 &quot;contentList&quot;: {
46235 &quot;contents&quot;: [
46236 {
46237 &quot;image&quot;: { # An image content block.
46238 &quot;data&quot;: &quot;A String&quot;, # The image content.
46239 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
46240 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
46241 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
46242 },
46243 &quot;text&quot;: { # A text content block.
46244 &quot;annotations&quot;: [ # Citation information for model-generated content.
46245 { # Citation information for model-generated content.
46246 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
46247 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
46248 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
46249 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46250 { # Represents a single field in a struct.
46251 &quot;name&quot;: &quot;A String&quot;,
46252 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46253 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46254 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46255 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46256 # Object with schema name: GenaiVertexV1beta1Value
46257 ],
46258 },
46259 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46260 &quot;numberValue&quot;: 3.14, # Represents a double value.
46261 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46262 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46263 },
46264 },
46265 ],
46266 },
46267 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
46268 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
46269 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
46270 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
46271 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
46272 },
46273 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
46274 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
46275 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
46276 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
46277 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
46278 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
46279 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
46280 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
46281 },
46282 ],
46283 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
46284 },
46285 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
46286 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
46287 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
46288 &quot;url&quot;: &quot;A String&quot;, # The URL.
46289 },
46290 },
46291 ],
46292 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
46293 },
46294 },
46295 ],
46296 },
46297 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
46298 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
46299 &quot;stringResult&quot;: &quot;A String&quot;,
46300 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
46301 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46302 { # Represents a single field in a struct.
46303 &quot;name&quot;: &quot;A String&quot;,
46304 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46305 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46306 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46307 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46308 # Object with schema name: GenaiVertexV1beta1Value
46309 ],
46310 },
46311 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46312 &quot;numberValue&quot;: 3.14, # Represents a double value.
46313 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46314 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46315 },
46316 },
46317 ],
46318 },
46319 },
46320 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
46321 &quot;urlContextResult&quot;: { # URL context result content.
46322 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
46323 &quot;result&quot;: [ # Required. The results of the URL context.
46324 { # The result of the URL context.
46325 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
46326 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
46327 },
46328 ],
46329 },
46330 },
46331 &quot;video&quot;: { # A video content block.
46332 &quot;data&quot;: &quot;A String&quot;, # The video content.
46333 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
46334 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
46335 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
46336 },
46337 },
46338 },
46339 &quot;video&quot;: {
46340 &quot;data&quot;: &quot;A String&quot;,
46341 &quot;mimeType&quot;: &quot;A String&quot;,
46342 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
46343 &quot;uri&quot;: &quot;A String&quot;,
46344 },
46345 },
46346 &quot;index&quot;: 42,
46347 },
46348 &quot;stepStart&quot;: { # The step start data, used for step.start events.
46349 &quot;index&quot;: 42,
46350 &quot;step&quot;: { # A step in the interaction.
46351 &quot;modelOutput&quot;: { # Output generated by the model.
46352 &quot;content&quot;: [
46353 { # The content of the response.
46354 &quot;audio&quot;: { # An audio content block.
46355 &quot;channels&quot;: 42, # The number of audio channels.
46356 &quot;data&quot;: &quot;A String&quot;, # The audio content.
46357 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
46358 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
46359 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
46360 },
46361 &quot;document&quot;: { # A document content block.
46362 &quot;data&quot;: &quot;A String&quot;, # The document content.
46363 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
46364 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
46365 },
46366 &quot;image&quot;: { # An image content block.
46367 &quot;data&quot;: &quot;A String&quot;, # The image content.
46368 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
46369 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
46370 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
46371 },
46372 &quot;text&quot;: { # A text content block.
46373 &quot;annotations&quot;: [ # Citation information for model-generated content.
46374 { # Citation information for model-generated content.
46375 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
46376 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
46377 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
46378 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46379 { # Represents a single field in a struct.
46380 &quot;name&quot;: &quot;A String&quot;,
46381 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46382 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46383 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46384 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46385 # Object with schema name: GenaiVertexV1beta1Value
46386 ],
46387 },
46388 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46389 &quot;numberValue&quot;: 3.14, # Represents a double value.
46390 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46391 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46392 },
46393 },
46394 ],
46395 },
46396 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
46397 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
46398 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
46399 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
46400 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
46401 },
46402 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
46403 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
46404 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
46405 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
46406 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
46407 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
46408 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
46409 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
46410 },
46411 ],
46412 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
46413 },
46414 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
46415 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
46416 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
46417 &quot;url&quot;: &quot;A String&quot;, # The URL.
46418 },
46419 },
46420 ],
46421 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
46422 },
46423 &quot;thought&quot;: { # A thought content block.
46424 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
46425 &quot;summary&quot;: [ # A summary of the thought.
46426 {
46427 &quot;image&quot;: { # An image content block.
46428 &quot;data&quot;: &quot;A String&quot;, # The image content.
46429 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
46430 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
46431 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
46432 },
46433 &quot;text&quot;: { # A text content block.
46434 &quot;annotations&quot;: [ # Citation information for model-generated content.
46435 { # Citation information for model-generated content.
46436 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
46437 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
46438 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
46439 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46440 { # Represents a single field in a struct.
46441 &quot;name&quot;: &quot;A String&quot;,
46442 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46443 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46444 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46445 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46446 # Object with schema name: GenaiVertexV1beta1Value
46447 ],
46448 },
46449 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46450 &quot;numberValue&quot;: 3.14, # Represents a double value.
46451 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46452 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46453 },
46454 },
46455 ],
46456 },
46457 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
46458 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
46459 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
46460 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
46461 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
46462 },
46463 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
46464 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
46465 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
46466 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
46467 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
46468 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
46469 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
46470 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
46471 },
46472 ],
46473 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
46474 },
46475 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
46476 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
46477 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
46478 &quot;url&quot;: &quot;A String&quot;, # The URL.
46479 },
46480 },
46481 ],
46482 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
46483 },
46484 },
46485 ],
46486 },
46487 &quot;toolCall&quot;: { # Tool call content.
46488 &quot;codeExecutionCall&quot;: { # Code execution content.
46489 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
46490 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
46491 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
46492 },
46493 },
46494 &quot;fileSearchCall&quot;: { # File Search content.
46495 },
46496 &quot;functionCall&quot;: { # A function tool call content block.
46497 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
46498 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46499 { # Represents a single field in a struct.
46500 &quot;name&quot;: &quot;A String&quot;,
46501 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46502 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46503 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46504 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46505 # Object with schema name: GenaiVertexV1beta1Value
46506 ],
46507 },
46508 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46509 &quot;numberValue&quot;: 3.14, # Represents a double value.
46510 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46511 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46512 },
46513 },
46514 ],
46515 },
46516 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
46517 },
46518 &quot;googleMapsCall&quot;: { # Google Maps content.
46519 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
46520 &quot;queries&quot;: [ # The queries to be executed.
46521 &quot;A String&quot;,
46522 ],
46523 },
46524 },
46525 &quot;googleSearchCall&quot;: { # Google Search content.
46526 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
46527 &quot;queries&quot;: [ # Web search queries for the following-up web search.
46528 &quot;A String&quot;,
46529 ],
46530 },
46531 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
46532 },
46533 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
46534 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
46535 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
46536 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46537 { # Represents a single field in a struct.
46538 &quot;name&quot;: &quot;A String&quot;,
46539 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46540 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46541 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46542 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46543 # Object with schema name: GenaiVertexV1beta1Value
46544 ],
46545 },
46546 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46547 &quot;numberValue&quot;: 3.14, # Represents a double value.
46548 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46549 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46550 },
46551 },
46552 ],
46553 },
46554 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
46555 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
46556 },
46557 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
46558 &quot;urlContextCall&quot;: { # URL context content.
46559 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
46560 &quot;urls&quot;: [ # The URLs to fetch.
46561 &quot;A String&quot;,
46562 ],
46563 },
46564 },
46565 },
46566 &quot;toolResult&quot;: { # Tool result content.
46567 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
46568 &quot;codeExecutionResult&quot;: { # Code execution result content.
46569 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
46570 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
46571 },
46572 &quot;fileSearchResult&quot;: { # File Search result content.
46573 &quot;result&quot;: [ # Optional. The results of the File Search.
46574 { # The result of the File Search.
46575 },
46576 ],
46577 },
46578 &quot;functionResult&quot;: { # A function tool result content block.
46579 &quot;contentList&quot;: {
46580 &quot;contents&quot;: [
46581 {
46582 &quot;image&quot;: { # An image content block.
46583 &quot;data&quot;: &quot;A String&quot;, # The image content.
46584 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
46585 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
46586 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
46587 },
46588 &quot;text&quot;: { # A text content block.
46589 &quot;annotations&quot;: [ # Citation information for model-generated content.
46590 { # Citation information for model-generated content.
46591 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
46592 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
46593 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
46594 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46595 { # Represents a single field in a struct.
46596 &quot;name&quot;: &quot;A String&quot;,
46597 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46598 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46599 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46600 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46601 # Object with schema name: GenaiVertexV1beta1Value
46602 ],
46603 },
46604 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46605 &quot;numberValue&quot;: 3.14, # Represents a double value.
46606 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46607 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46608 },
46609 },
46610 ],
46611 },
46612 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
46613 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
46614 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
46615 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
46616 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
46617 },
46618 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
46619 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
46620 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
46621 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
46622 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
46623 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
46624 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
46625 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
46626 },
46627 ],
46628 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
46629 },
46630 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
46631 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
46632 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
46633 &quot;url&quot;: &quot;A String&quot;, # The URL.
46634 },
46635 },
46636 ],
46637 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
46638 },
46639 },
46640 ],
46641 },
46642 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
46643 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
46644 &quot;stringResult&quot;: &quot;A String&quot;,
46645 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
46646 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46647 { # Represents a single field in a struct.
46648 &quot;name&quot;: &quot;A String&quot;,
46649 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46650 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46651 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46652 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46653 # Object with schema name: GenaiVertexV1beta1Value
46654 ],
46655 },
46656 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46657 &quot;numberValue&quot;: 3.14, # Represents a double value.
46658 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46659 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46660 },
46661 },
46662 ],
46663 },
46664 },
46665 &quot;googleMapsResult&quot;: { # Google Maps result content.
46666 &quot;result&quot;: [ # Required. The results of the Google Maps.
46667 { # The result of the Google Maps.
46668 &quot;places&quot;: [ # The places that were found.
46669 {
46670 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
46671 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
46672 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
46673 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
46674 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
46675 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
46676 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
46677 },
46678 ],
46679 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
46680 },
46681 ],
46682 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
46683 },
46684 ],
46685 },
46686 &quot;googleSearchResult&quot;: { # Google Search result content.
46687 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
46688 &quot;result&quot;: [ # Required. The results of the Google Search.
46689 { # The result of the Google Search.
46690 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
46691 },
46692 ],
46693 },
46694 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
46695 &quot;contentList&quot;: {
46696 &quot;contents&quot;: [
46697 {
46698 &quot;image&quot;: { # An image content block.
46699 &quot;data&quot;: &quot;A String&quot;, # The image content.
46700 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
46701 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
46702 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
46703 },
46704 &quot;text&quot;: { # A text content block.
46705 &quot;annotations&quot;: [ # Citation information for model-generated content.
46706 { # Citation information for model-generated content.
46707 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
46708 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
46709 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
46710 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46711 { # Represents a single field in a struct.
46712 &quot;name&quot;: &quot;A String&quot;,
46713 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46714 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46715 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46716 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46717 # Object with schema name: GenaiVertexV1beta1Value
46718 ],
46719 },
46720 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46721 &quot;numberValue&quot;: 3.14, # Represents a double value.
46722 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46723 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46724 },
46725 },
46726 ],
46727 },
46728 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
46729 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
46730 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
46731 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
46732 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
46733 },
46734 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
46735 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
46736 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
46737 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
46738 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
46739 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
46740 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
46741 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
46742 },
46743 ],
46744 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
46745 },
46746 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
46747 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
46748 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
46749 &quot;url&quot;: &quot;A String&quot;, # The URL.
46750 },
46751 },
46752 ],
46753 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
46754 },
46755 },
46756 ],
46757 },
46758 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
46759 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
46760 &quot;stringResult&quot;: &quot;A String&quot;,
46761 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
46762 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46763 { # Represents a single field in a struct.
46764 &quot;name&quot;: &quot;A String&quot;,
46765 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46766 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46767 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46768 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46769 # Object with schema name: GenaiVertexV1beta1Value
46770 ],
46771 },
46772 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46773 &quot;numberValue&quot;: 3.14, # Represents a double value.
46774 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46775 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46776 },
46777 },
46778 ],
46779 },
46780 },
46781 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
46782 &quot;urlContextResult&quot;: { # URL context result content.
46783 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
46784 &quot;result&quot;: [ # Required. The results of the URL context.
46785 { # The result of the URL context.
46786 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
46787 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
46788 },
46789 ],
46790 },
46791 },
46792 &quot;video&quot;: { # A video content block.
46793 &quot;data&quot;: &quot;A String&quot;, # The video content.
46794 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
46795 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
46796 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
46797 },
46798 },
46799 ],
46800 },
46801 &quot;thought&quot;: { # A thought step.
46802 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
46803 &quot;summary&quot;: [ # A summary of the thought.
46804 { # The content of the response.
46805 &quot;audio&quot;: { # An audio content block.
46806 &quot;channels&quot;: 42, # The number of audio channels.
46807 &quot;data&quot;: &quot;A String&quot;, # The audio content.
46808 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
46809 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
46810 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
46811 },
46812 &quot;document&quot;: { # A document content block.
46813 &quot;data&quot;: &quot;A String&quot;, # The document content.
46814 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
46815 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
46816 },
46817 &quot;image&quot;: { # An image content block.
46818 &quot;data&quot;: &quot;A String&quot;, # The image content.
46819 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
46820 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
46821 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
46822 },
46823 &quot;text&quot;: { # A text content block.
46824 &quot;annotations&quot;: [ # Citation information for model-generated content.
46825 { # Citation information for model-generated content.
46826 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
46827 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
46828 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
46829 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46830 { # Represents a single field in a struct.
46831 &quot;name&quot;: &quot;A String&quot;,
46832 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46833 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46834 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46835 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46836 # Object with schema name: GenaiVertexV1beta1Value
46837 ],
46838 },
46839 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46840 &quot;numberValue&quot;: 3.14, # Represents a double value.
46841 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46842 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46843 },
46844 },
46845 ],
46846 },
46847 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
46848 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
46849 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
46850 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
46851 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
46852 },
46853 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
46854 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
46855 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
46856 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
46857 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
46858 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
46859 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
46860 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
46861 },
46862 ],
46863 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
46864 },
46865 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
46866 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
46867 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
46868 &quot;url&quot;: &quot;A String&quot;, # The URL.
46869 },
46870 },
46871 ],
46872 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
46873 },
46874 &quot;thought&quot;: { # A thought content block.
46875 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
46876 &quot;summary&quot;: [ # A summary of the thought.
46877 {
46878 &quot;image&quot;: { # An image content block.
46879 &quot;data&quot;: &quot;A String&quot;, # The image content.
46880 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
46881 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
46882 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
46883 },
46884 &quot;text&quot;: { # A text content block.
46885 &quot;annotations&quot;: [ # Citation information for model-generated content.
46886 { # Citation information for model-generated content.
46887 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
46888 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
46889 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
46890 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46891 { # Represents a single field in a struct.
46892 &quot;name&quot;: &quot;A String&quot;,
46893 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46894 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46895 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46896 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46897 # Object with schema name: GenaiVertexV1beta1Value
46898 ],
46899 },
46900 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46901 &quot;numberValue&quot;: 3.14, # Represents a double value.
46902 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46903 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46904 },
46905 },
46906 ],
46907 },
46908 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
46909 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
46910 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
46911 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
46912 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
46913 },
46914 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
46915 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
46916 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
46917 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
46918 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
46919 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
46920 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
46921 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
46922 },
46923 ],
46924 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
46925 },
46926 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
46927 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
46928 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
46929 &quot;url&quot;: &quot;A String&quot;, # The URL.
46930 },
46931 },
46932 ],
46933 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
46934 },
46935 },
46936 ],
46937 },
46938 &quot;toolCall&quot;: { # Tool call content.
46939 &quot;codeExecutionCall&quot;: { # Code execution content.
46940 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
46941 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
46942 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
46943 },
46944 },
46945 &quot;fileSearchCall&quot;: { # File Search content.
46946 },
46947 &quot;functionCall&quot;: { # A function tool call content block.
46948 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
46949 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46950 { # Represents a single field in a struct.
46951 &quot;name&quot;: &quot;A String&quot;,
46952 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46953 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46954 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46955 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46956 # Object with schema name: GenaiVertexV1beta1Value
46957 ],
46958 },
46959 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46960 &quot;numberValue&quot;: 3.14, # Represents a double value.
46961 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
46962 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
46963 },
46964 },
46965 ],
46966 },
46967 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
46968 },
46969 &quot;googleMapsCall&quot;: { # Google Maps content.
46970 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
46971 &quot;queries&quot;: [ # The queries to be executed.
46972 &quot;A String&quot;,
46973 ],
46974 },
46975 },
46976 &quot;googleSearchCall&quot;: { # Google Search content.
46977 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
46978 &quot;queries&quot;: [ # Web search queries for the following-up web search.
46979 &quot;A String&quot;,
46980 ],
46981 },
46982 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
46983 },
46984 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
46985 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
46986 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
46987 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
46988 { # Represents a single field in a struct.
46989 &quot;name&quot;: &quot;A String&quot;,
46990 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
46991 &quot;boolValue&quot;: True or False, # Represents a boolean value.
46992 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
46993 &quot;values&quot;: [ # Repeated field of dynamically typed values.
46994 # Object with schema name: GenaiVertexV1beta1Value
46995 ],
46996 },
46997 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
46998 &quot;numberValue&quot;: 3.14, # Represents a double value.
46999 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47000 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47001 },
47002 },
47003 ],
47004 },
47005 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
47006 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
47007 },
47008 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
47009 &quot;urlContextCall&quot;: { # URL context content.
47010 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
47011 &quot;urls&quot;: [ # The URLs to fetch.
47012 &quot;A String&quot;,
47013 ],
47014 },
47015 },
47016 },
47017 &quot;toolResult&quot;: { # Tool result content.
47018 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
47019 &quot;codeExecutionResult&quot;: { # Code execution result content.
47020 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
47021 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
47022 },
47023 &quot;fileSearchResult&quot;: { # File Search result content.
47024 &quot;result&quot;: [ # Optional. The results of the File Search.
47025 { # The result of the File Search.
47026 },
47027 ],
47028 },
47029 &quot;functionResult&quot;: { # A function tool result content block.
47030 &quot;contentList&quot;: {
47031 &quot;contents&quot;: [
47032 {
47033 &quot;image&quot;: { # An image content block.
47034 &quot;data&quot;: &quot;A String&quot;, # The image content.
47035 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
47036 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
47037 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
47038 },
47039 &quot;text&quot;: { # A text content block.
47040 &quot;annotations&quot;: [ # Citation information for model-generated content.
47041 { # Citation information for model-generated content.
47042 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
47043 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
47044 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
47045 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47046 { # Represents a single field in a struct.
47047 &quot;name&quot;: &quot;A String&quot;,
47048 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47049 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47050 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47051 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47052 # Object with schema name: GenaiVertexV1beta1Value
47053 ],
47054 },
47055 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47056 &quot;numberValue&quot;: 3.14, # Represents a double value.
47057 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47058 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47059 },
47060 },
47061 ],
47062 },
47063 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
47064 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
47065 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
47066 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
47067 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
47068 },
47069 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
47070 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
47071 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
47072 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
47073 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
47074 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
47075 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
47076 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
47077 },
47078 ],
47079 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
47080 },
47081 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
47082 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
47083 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
47084 &quot;url&quot;: &quot;A String&quot;, # The URL.
47085 },
47086 },
47087 ],
47088 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
47089 },
47090 },
47091 ],
47092 },
47093 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
47094 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
47095 &quot;stringResult&quot;: &quot;A String&quot;,
47096 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
47097 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47098 { # Represents a single field in a struct.
47099 &quot;name&quot;: &quot;A String&quot;,
47100 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47101 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47102 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47103 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47104 # Object with schema name: GenaiVertexV1beta1Value
47105 ],
47106 },
47107 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47108 &quot;numberValue&quot;: 3.14, # Represents a double value.
47109 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47110 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47111 },
47112 },
47113 ],
47114 },
47115 },
47116 &quot;googleMapsResult&quot;: { # Google Maps result content.
47117 &quot;result&quot;: [ # Required. The results of the Google Maps.
47118 { # The result of the Google Maps.
47119 &quot;places&quot;: [ # The places that were found.
47120 {
47121 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
47122 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
47123 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
47124 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
47125 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
47126 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
47127 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
47128 },
47129 ],
47130 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
47131 },
47132 ],
47133 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
47134 },
47135 ],
47136 },
47137 &quot;googleSearchResult&quot;: { # Google Search result content.
47138 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
47139 &quot;result&quot;: [ # Required. The results of the Google Search.
47140 { # The result of the Google Search.
47141 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
47142 },
47143 ],
47144 },
47145 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
47146 &quot;contentList&quot;: {
47147 &quot;contents&quot;: [
47148 {
47149 &quot;image&quot;: { # An image content block.
47150 &quot;data&quot;: &quot;A String&quot;, # The image content.
47151 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
47152 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
47153 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
47154 },
47155 &quot;text&quot;: { # A text content block.
47156 &quot;annotations&quot;: [ # Citation information for model-generated content.
47157 { # Citation information for model-generated content.
47158 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
47159 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
47160 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
47161 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47162 { # Represents a single field in a struct.
47163 &quot;name&quot;: &quot;A String&quot;,
47164 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47165 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47166 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47167 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47168 # Object with schema name: GenaiVertexV1beta1Value
47169 ],
47170 },
47171 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47172 &quot;numberValue&quot;: 3.14, # Represents a double value.
47173 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47174 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47175 },
47176 },
47177 ],
47178 },
47179 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
47180 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
47181 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
47182 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
47183 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
47184 },
47185 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
47186 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
47187 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
47188 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
47189 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
47190 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
47191 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
47192 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
47193 },
47194 ],
47195 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
47196 },
47197 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
47198 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
47199 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
47200 &quot;url&quot;: &quot;A String&quot;, # The URL.
47201 },
47202 },
47203 ],
47204 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
47205 },
47206 },
47207 ],
47208 },
47209 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
47210 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
47211 &quot;stringResult&quot;: &quot;A String&quot;,
47212 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
47213 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47214 { # Represents a single field in a struct.
47215 &quot;name&quot;: &quot;A String&quot;,
47216 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47217 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47218 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47219 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47220 # Object with schema name: GenaiVertexV1beta1Value
47221 ],
47222 },
47223 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47224 &quot;numberValue&quot;: 3.14, # Represents a double value.
47225 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47226 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47227 },
47228 },
47229 ],
47230 },
47231 },
47232 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
47233 &quot;urlContextResult&quot;: { # URL context result content.
47234 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
47235 &quot;result&quot;: [ # Required. The results of the URL context.
47236 { # The result of the URL context.
47237 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
47238 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
47239 },
47240 ],
47241 },
47242 },
47243 &quot;video&quot;: { # A video content block.
47244 &quot;data&quot;: &quot;A String&quot;, # The video content.
47245 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
47246 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
47247 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
47248 },
47249 },
47250 ],
47251 },
47252 &quot;toolCall&quot;: { # Tool call step.
47253 &quot;codeExecutionCall&quot;: { # Code execution call step.
47254 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
47255 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
47256 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
47257 },
47258 },
47259 &quot;fileSearchCall&quot;: { # File Search call step.
47260 },
47261 &quot;functionCall&quot;: { # A function tool call step.
47262 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
47263 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47264 { # Represents a single field in a struct.
47265 &quot;name&quot;: &quot;A String&quot;,
47266 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47267 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47268 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47269 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47270 # Object with schema name: GenaiVertexV1beta1Value
47271 ],
47272 },
47273 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47274 &quot;numberValue&quot;: 3.14, # Represents a double value.
47275 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47276 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47277 },
47278 },
47279 ],
47280 },
47281 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
47282 },
47283 &quot;googleMapsCall&quot;: { # Google Maps call step.
47284 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
47285 &quot;queries&quot;: [ # The queries to be executed.
47286 &quot;A String&quot;,
47287 ],
47288 },
47289 },
47290 &quot;googleSearchCall&quot;: { # Google Search call step.
47291 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
47292 &quot;queries&quot;: [ # Web search queries for the following-up web search.
47293 &quot;A String&quot;,
47294 ],
47295 },
47296 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
47297 },
47298 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
47299 &quot;mcpServerToolCall&quot;: { # MCPServer tool call step.
47300 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
47301 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47302 { # Represents a single field in a struct.
47303 &quot;name&quot;: &quot;A String&quot;,
47304 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47305 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47306 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47307 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47308 # Object with schema name: GenaiVertexV1beta1Value
47309 ],
47310 },
47311 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47312 &quot;numberValue&quot;: 3.14, # Represents a double value.
47313 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47314 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47315 },
47316 },
47317 ],
47318 },
47319 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
47320 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
47321 },
47322 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
47323 &quot;urlContextCall&quot;: { # URL context call step.
47324 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
47325 &quot;urls&quot;: [ # The URLs to fetch.
47326 &quot;A String&quot;,
47327 ],
47328 },
47329 },
47330 },
47331 &quot;toolResult&quot;: { # Tool result step.
47332 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
47333 &quot;codeExecutionResult&quot;: { # Code execution result step.
47334 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
47335 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
47336 },
47337 &quot;fileSearchResult&quot;: { # File Search result step.
47338 },
47339 &quot;functionResult&quot;: { # Result of a function tool call.
47340 &quot;contentList&quot;: { # A list of Content.
47341 &quot;contents&quot;: [ # The contents of the list.
47342 { # The content of the response.
47343 &quot;audio&quot;: { # An audio content block.
47344 &quot;channels&quot;: 42, # The number of audio channels.
47345 &quot;data&quot;: &quot;A String&quot;, # The audio content.
47346 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
47347 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
47348 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
47349 },
47350 &quot;document&quot;: { # A document content block.
47351 &quot;data&quot;: &quot;A String&quot;, # The document content.
47352 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
47353 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
47354 },
47355 &quot;image&quot;: { # An image content block.
47356 &quot;data&quot;: &quot;A String&quot;, # The image content.
47357 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
47358 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
47359 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
47360 },
47361 &quot;text&quot;: { # A text content block.
47362 &quot;annotations&quot;: [ # Citation information for model-generated content.
47363 { # Citation information for model-generated content.
47364 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
47365 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
47366 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
47367 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47368 { # Represents a single field in a struct.
47369 &quot;name&quot;: &quot;A String&quot;,
47370 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47371 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47372 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47373 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47374 # Object with schema name: GenaiVertexV1beta1Value
47375 ],
47376 },
47377 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47378 &quot;numberValue&quot;: 3.14, # Represents a double value.
47379 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47380 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47381 },
47382 },
47383 ],
47384 },
47385 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
47386 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
47387 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
47388 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
47389 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
47390 },
47391 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
47392 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
47393 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
47394 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
47395 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
47396 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
47397 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
47398 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
47399 },
47400 ],
47401 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
47402 },
47403 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
47404 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
47405 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
47406 &quot;url&quot;: &quot;A String&quot;, # The URL.
47407 },
47408 },
47409 ],
47410 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
47411 },
47412 &quot;thought&quot;: { # A thought content block.
47413 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
47414 &quot;summary&quot;: [ # A summary of the thought.
47415 {
47416 &quot;image&quot;: { # An image content block.
47417 &quot;data&quot;: &quot;A String&quot;, # The image content.
47418 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
47419 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
47420 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
47421 },
47422 &quot;text&quot;: { # A text content block.
47423 &quot;annotations&quot;: [ # Citation information for model-generated content.
47424 { # Citation information for model-generated content.
47425 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
47426 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
47427 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
47428 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47429 { # Represents a single field in a struct.
47430 &quot;name&quot;: &quot;A String&quot;,
47431 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47432 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47433 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47434 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47435 # Object with schema name: GenaiVertexV1beta1Value
47436 ],
47437 },
47438 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47439 &quot;numberValue&quot;: 3.14, # Represents a double value.
47440 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47441 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47442 },
47443 },
47444 ],
47445 },
47446 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
47447 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
47448 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
47449 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
47450 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
47451 },
47452 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
47453 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
47454 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
47455 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
47456 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
47457 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
47458 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
47459 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
47460 },
47461 ],
47462 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
47463 },
47464 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
47465 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
47466 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
47467 &quot;url&quot;: &quot;A String&quot;, # The URL.
47468 },
47469 },
47470 ],
47471 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
47472 },
47473 },
47474 ],
47475 },
47476 &quot;toolCall&quot;: { # Tool call content.
47477 &quot;codeExecutionCall&quot;: { # Code execution content.
47478 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
47479 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
47480 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
47481 },
47482 },
47483 &quot;fileSearchCall&quot;: { # File Search content.
47484 },
47485 &quot;functionCall&quot;: { # A function tool call content block.
47486 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
47487 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47488 { # Represents a single field in a struct.
47489 &quot;name&quot;: &quot;A String&quot;,
47490 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47491 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47492 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47493 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47494 # Object with schema name: GenaiVertexV1beta1Value
47495 ],
47496 },
47497 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47498 &quot;numberValue&quot;: 3.14, # Represents a double value.
47499 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47500 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47501 },
47502 },
47503 ],
47504 },
47505 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
47506 },
47507 &quot;googleMapsCall&quot;: { # Google Maps content.
47508 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
47509 &quot;queries&quot;: [ # The queries to be executed.
47510 &quot;A String&quot;,
47511 ],
47512 },
47513 },
47514 &quot;googleSearchCall&quot;: { # Google Search content.
47515 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
47516 &quot;queries&quot;: [ # Web search queries for the following-up web search.
47517 &quot;A String&quot;,
47518 ],
47519 },
47520 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
47521 },
47522 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
47523 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
47524 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
47525 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47526 { # Represents a single field in a struct.
47527 &quot;name&quot;: &quot;A String&quot;,
47528 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47529 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47530 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47531 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47532 # Object with schema name: GenaiVertexV1beta1Value
47533 ],
47534 },
47535 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47536 &quot;numberValue&quot;: 3.14, # Represents a double value.
47537 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47538 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47539 },
47540 },
47541 ],
47542 },
47543 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
47544 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
47545 },
47546 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
47547 &quot;urlContextCall&quot;: { # URL context content.
47548 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
47549 &quot;urls&quot;: [ # The URLs to fetch.
47550 &quot;A String&quot;,
47551 ],
47552 },
47553 },
47554 },
47555 &quot;toolResult&quot;: { # Tool result content.
47556 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
47557 &quot;codeExecutionResult&quot;: { # Code execution result content.
47558 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
47559 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
47560 },
47561 &quot;fileSearchResult&quot;: { # File Search result content.
47562 &quot;result&quot;: [ # Optional. The results of the File Search.
47563 { # The result of the File Search.
47564 },
47565 ],
47566 },
47567 &quot;functionResult&quot;: { # A function tool result content block.
47568 &quot;contentList&quot;: {
47569 &quot;contents&quot;: [
47570 {
47571 &quot;image&quot;: { # An image content block.
47572 &quot;data&quot;: &quot;A String&quot;, # The image content.
47573 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
47574 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
47575 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
47576 },
47577 &quot;text&quot;: { # A text content block.
47578 &quot;annotations&quot;: [ # Citation information for model-generated content.
47579 { # Citation information for model-generated content.
47580 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
47581 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
47582 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
47583 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47584 { # Represents a single field in a struct.
47585 &quot;name&quot;: &quot;A String&quot;,
47586 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47587 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47588 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47589 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47590 # Object with schema name: GenaiVertexV1beta1Value
47591 ],
47592 },
47593 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47594 &quot;numberValue&quot;: 3.14, # Represents a double value.
47595 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47596 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47597 },
47598 },
47599 ],
47600 },
47601 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
47602 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
47603 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
47604 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
47605 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
47606 },
47607 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
47608 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
47609 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
47610 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
47611 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
47612 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
47613 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
47614 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
47615 },
47616 ],
47617 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
47618 },
47619 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
47620 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
47621 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
47622 &quot;url&quot;: &quot;A String&quot;, # The URL.
47623 },
47624 },
47625 ],
47626 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
47627 },
47628 },
47629 ],
47630 },
47631 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
47632 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
47633 &quot;stringResult&quot;: &quot;A String&quot;,
47634 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
47635 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47636 { # Represents a single field in a struct.
47637 &quot;name&quot;: &quot;A String&quot;,
47638 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47639 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47640 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47641 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47642 # Object with schema name: GenaiVertexV1beta1Value
47643 ],
47644 },
47645 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47646 &quot;numberValue&quot;: 3.14, # Represents a double value.
47647 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47648 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47649 },
47650 },
47651 ],
47652 },
47653 },
47654 &quot;googleMapsResult&quot;: { # Google Maps result content.
47655 &quot;result&quot;: [ # Required. The results of the Google Maps.
47656 { # The result of the Google Maps.
47657 &quot;places&quot;: [ # The places that were found.
47658 {
47659 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
47660 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
47661 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
47662 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
47663 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
47664 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
47665 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
47666 },
47667 ],
47668 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
47669 },
47670 ],
47671 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
47672 },
47673 ],
47674 },
47675 &quot;googleSearchResult&quot;: { # Google Search result content.
47676 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
47677 &quot;result&quot;: [ # Required. The results of the Google Search.
47678 { # The result of the Google Search.
47679 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
47680 },
47681 ],
47682 },
47683 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
47684 &quot;contentList&quot;: {
47685 &quot;contents&quot;: [
47686 {
47687 &quot;image&quot;: { # An image content block.
47688 &quot;data&quot;: &quot;A String&quot;, # The image content.
47689 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
47690 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
47691 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
47692 },
47693 &quot;text&quot;: { # A text content block.
47694 &quot;annotations&quot;: [ # Citation information for model-generated content.
47695 { # Citation information for model-generated content.
47696 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
47697 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
47698 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
47699 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47700 { # Represents a single field in a struct.
47701 &quot;name&quot;: &quot;A String&quot;,
47702 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47703 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47704 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47705 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47706 # Object with schema name: GenaiVertexV1beta1Value
47707 ],
47708 },
47709 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47710 &quot;numberValue&quot;: 3.14, # Represents a double value.
47711 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47712 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47713 },
47714 },
47715 ],
47716 },
47717 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
47718 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
47719 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
47720 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
47721 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
47722 },
47723 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
47724 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
47725 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
47726 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
47727 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
47728 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
47729 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
47730 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
47731 },
47732 ],
47733 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
47734 },
47735 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
47736 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
47737 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
47738 &quot;url&quot;: &quot;A String&quot;, # The URL.
47739 },
47740 },
47741 ],
47742 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
47743 },
47744 },
47745 ],
47746 },
47747 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
47748 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
47749 &quot;stringResult&quot;: &quot;A String&quot;,
47750 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
47751 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47752 { # Represents a single field in a struct.
47753 &quot;name&quot;: &quot;A String&quot;,
47754 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47755 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47756 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47757 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47758 # Object with schema name: GenaiVertexV1beta1Value
47759 ],
47760 },
47761 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47762 &quot;numberValue&quot;: 3.14, # Represents a double value.
47763 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47764 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47765 },
47766 },
47767 ],
47768 },
47769 },
47770 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
47771 &quot;urlContextResult&quot;: { # URL context result content.
47772 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
47773 &quot;result&quot;: [ # Required. The results of the URL context.
47774 { # The result of the URL context.
47775 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
47776 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
47777 },
47778 ],
47779 },
47780 },
47781 &quot;video&quot;: { # A video content block.
47782 &quot;data&quot;: &quot;A String&quot;, # The video content.
47783 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
47784 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
47785 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
47786 },
47787 },
47788 ],
47789 },
47790 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
47791 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
47792 &quot;stringResult&quot;: &quot;A String&quot;,
47793 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
47794 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47795 { # Represents a single field in a struct.
47796 &quot;name&quot;: &quot;A String&quot;,
47797 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47798 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47799 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47800 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47801 # Object with schema name: GenaiVertexV1beta1Value
47802 ],
47803 },
47804 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47805 &quot;numberValue&quot;: 3.14, # Represents a double value.
47806 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47807 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47808 },
47809 },
47810 ],
47811 },
47812 },
47813 &quot;googleMapsResult&quot;: { # Google Maps result step.
47814 &quot;result&quot;: [
47815 { # The result of the Google Maps.
47816 &quot;places&quot;: [
47817 {
47818 &quot;name&quot;: &quot;A String&quot;,
47819 &quot;placeId&quot;: &quot;A String&quot;,
47820 &quot;reviewSnippets&quot;: [
47821 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
47822 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
47823 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
47824 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
47825 },
47826 ],
47827 &quot;url&quot;: &quot;A String&quot;,
47828 },
47829 ],
47830 &quot;widgetContextToken&quot;: &quot;A String&quot;,
47831 },
47832 ],
47833 },
47834 &quot;googleSearchResult&quot;: { # Google Search result step.
47835 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
47836 &quot;result&quot;: [ # Required. The results of the Google Search.
47837 { # The result of the Google Search.
47838 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
47839 },
47840 ],
47841 },
47842 &quot;mcpServerToolResult&quot;: { # MCPServer tool result step.
47843 &quot;contentList&quot;: { # A list of Content.
47844 &quot;contents&quot;: [ # The contents of the list.
47845 { # The content of the response.
47846 &quot;audio&quot;: { # An audio content block.
47847 &quot;channels&quot;: 42, # The number of audio channels.
47848 &quot;data&quot;: &quot;A String&quot;, # The audio content.
47849 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
47850 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
47851 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
47852 },
47853 &quot;document&quot;: { # A document content block.
47854 &quot;data&quot;: &quot;A String&quot;, # The document content.
47855 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
47856 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
47857 },
47858 &quot;image&quot;: { # An image content block.
47859 &quot;data&quot;: &quot;A String&quot;, # The image content.
47860 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
47861 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
47862 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
47863 },
47864 &quot;text&quot;: { # A text content block.
47865 &quot;annotations&quot;: [ # Citation information for model-generated content.
47866 { # Citation information for model-generated content.
47867 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
47868 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
47869 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
47870 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47871 { # Represents a single field in a struct.
47872 &quot;name&quot;: &quot;A String&quot;,
47873 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47874 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47875 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47876 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47877 # Object with schema name: GenaiVertexV1beta1Value
47878 ],
47879 },
47880 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47881 &quot;numberValue&quot;: 3.14, # Represents a double value.
47882 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47883 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47884 },
47885 },
47886 ],
47887 },
47888 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
47889 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
47890 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
47891 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
47892 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
47893 },
47894 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
47895 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
47896 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
47897 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
47898 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
47899 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
47900 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
47901 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
47902 },
47903 ],
47904 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
47905 },
47906 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
47907 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
47908 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
47909 &quot;url&quot;: &quot;A String&quot;, # The URL.
47910 },
47911 },
47912 ],
47913 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
47914 },
47915 &quot;thought&quot;: { # A thought content block.
47916 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
47917 &quot;summary&quot;: [ # A summary of the thought.
47918 {
47919 &quot;image&quot;: { # An image content block.
47920 &quot;data&quot;: &quot;A String&quot;, # The image content.
47921 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
47922 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
47923 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
47924 },
47925 &quot;text&quot;: { # A text content block.
47926 &quot;annotations&quot;: [ # Citation information for model-generated content.
47927 { # Citation information for model-generated content.
47928 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
47929 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
47930 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
47931 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47932 { # Represents a single field in a struct.
47933 &quot;name&quot;: &quot;A String&quot;,
47934 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47935 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47936 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47937 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47938 # Object with schema name: GenaiVertexV1beta1Value
47939 ],
47940 },
47941 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
47942 &quot;numberValue&quot;: 3.14, # Represents a double value.
47943 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
47944 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
47945 },
47946 },
47947 ],
47948 },
47949 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
47950 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
47951 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
47952 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
47953 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
47954 },
47955 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
47956 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
47957 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
47958 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
47959 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
47960 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
47961 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
47962 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
47963 },
47964 ],
47965 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
47966 },
47967 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
47968 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
47969 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
47970 &quot;url&quot;: &quot;A String&quot;, # The URL.
47971 },
47972 },
47973 ],
47974 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
47975 },
47976 },
47977 ],
47978 },
47979 &quot;toolCall&quot;: { # Tool call content.
47980 &quot;codeExecutionCall&quot;: { # Code execution content.
47981 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
47982 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
47983 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
47984 },
47985 },
47986 &quot;fileSearchCall&quot;: { # File Search content.
47987 },
47988 &quot;functionCall&quot;: { # A function tool call content block.
47989 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
47990 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
47991 { # Represents a single field in a struct.
47992 &quot;name&quot;: &quot;A String&quot;,
47993 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
47994 &quot;boolValue&quot;: True or False, # Represents a boolean value.
47995 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
47996 &quot;values&quot;: [ # Repeated field of dynamically typed values.
47997 # Object with schema name: GenaiVertexV1beta1Value
47998 ],
47999 },
48000 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
48001 &quot;numberValue&quot;: 3.14, # Represents a double value.
48002 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
48003 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
48004 },
48005 },
48006 ],
48007 },
48008 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
48009 },
48010 &quot;googleMapsCall&quot;: { # Google Maps content.
48011 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
48012 &quot;queries&quot;: [ # The queries to be executed.
48013 &quot;A String&quot;,
48014 ],
48015 },
48016 },
48017 &quot;googleSearchCall&quot;: { # Google Search content.
48018 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
48019 &quot;queries&quot;: [ # Web search queries for the following-up web search.
48020 &quot;A String&quot;,
48021 ],
48022 },
48023 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
48024 },
48025 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
48026 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
48027 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
48028 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
48029 { # Represents a single field in a struct.
48030 &quot;name&quot;: &quot;A String&quot;,
48031 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
48032 &quot;boolValue&quot;: True or False, # Represents a boolean value.
48033 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
48034 &quot;values&quot;: [ # Repeated field of dynamically typed values.
48035 # Object with schema name: GenaiVertexV1beta1Value
48036 ],
48037 },
48038 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
48039 &quot;numberValue&quot;: 3.14, # Represents a double value.
48040 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
48041 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
48042 },
48043 },
48044 ],
48045 },
48046 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
48047 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
48048 },
48049 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
48050 &quot;urlContextCall&quot;: { # URL context content.
48051 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
48052 &quot;urls&quot;: [ # The URLs to fetch.
48053 &quot;A String&quot;,
48054 ],
48055 },
48056 },
48057 },
48058 &quot;toolResult&quot;: { # Tool result content.
48059 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
48060 &quot;codeExecutionResult&quot;: { # Code execution result content.
48061 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
48062 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
48063 },
48064 &quot;fileSearchResult&quot;: { # File Search result content.
48065 &quot;result&quot;: [ # Optional. The results of the File Search.
48066 { # The result of the File Search.
48067 },
48068 ],
48069 },
48070 &quot;functionResult&quot;: { # A function tool result content block.
48071 &quot;contentList&quot;: {
48072 &quot;contents&quot;: [
48073 {
48074 &quot;image&quot;: { # An image content block.
48075 &quot;data&quot;: &quot;A String&quot;, # The image content.
48076 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
48077 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
48078 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
48079 },
48080 &quot;text&quot;: { # A text content block.
48081 &quot;annotations&quot;: [ # Citation information for model-generated content.
48082 { # Citation information for model-generated content.
48083 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
48084 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
48085 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
48086 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
48087 { # Represents a single field in a struct.
48088 &quot;name&quot;: &quot;A String&quot;,
48089 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
48090 &quot;boolValue&quot;: True or False, # Represents a boolean value.
48091 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
48092 &quot;values&quot;: [ # Repeated field of dynamically typed values.
48093 # Object with schema name: GenaiVertexV1beta1Value
48094 ],
48095 },
48096 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
48097 &quot;numberValue&quot;: 3.14, # Represents a double value.
48098 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
48099 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
48100 },
48101 },
48102 ],
48103 },
48104 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
48105 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
48106 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
48107 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
48108 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
48109 },
48110 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
48111 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
48112 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
48113 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
48114 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
48115 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
48116 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
48117 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
48118 },
48119 ],
48120 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
48121 },
48122 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
48123 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
48124 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
48125 &quot;url&quot;: &quot;A String&quot;, # The URL.
48126 },
48127 },
48128 ],
48129 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
48130 },
48131 },
48132 ],
48133 },
48134 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
48135 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
48136 &quot;stringResult&quot;: &quot;A String&quot;,
48137 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
48138 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
48139 { # Represents a single field in a struct.
48140 &quot;name&quot;: &quot;A String&quot;,
48141 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
48142 &quot;boolValue&quot;: True or False, # Represents a boolean value.
48143 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
48144 &quot;values&quot;: [ # Repeated field of dynamically typed values.
48145 # Object with schema name: GenaiVertexV1beta1Value
48146 ],
48147 },
48148 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
48149 &quot;numberValue&quot;: 3.14, # Represents a double value.
48150 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
48151 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
48152 },
48153 },
48154 ],
48155 },
48156 },
48157 &quot;googleMapsResult&quot;: { # Google Maps result content.
48158 &quot;result&quot;: [ # Required. The results of the Google Maps.
48159 { # The result of the Google Maps.
48160 &quot;places&quot;: [ # The places that were found.
48161 {
48162 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
48163 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
48164 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
48165 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
48166 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
48167 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
48168 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
48169 },
48170 ],
48171 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
48172 },
48173 ],
48174 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
48175 },
48176 ],
48177 },
48178 &quot;googleSearchResult&quot;: { # Google Search result content.
48179 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
48180 &quot;result&quot;: [ # Required. The results of the Google Search.
48181 { # The result of the Google Search.
48182 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
48183 },
48184 ],
48185 },
48186 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
48187 &quot;contentList&quot;: {
48188 &quot;contents&quot;: [
48189 {
48190 &quot;image&quot;: { # An image content block.
48191 &quot;data&quot;: &quot;A String&quot;, # The image content.
48192 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
48193 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
48194 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
48195 },
48196 &quot;text&quot;: { # A text content block.
48197 &quot;annotations&quot;: [ # Citation information for model-generated content.
48198 { # Citation information for model-generated content.
48199 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
48200 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
48201 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
48202 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
48203 { # Represents a single field in a struct.
48204 &quot;name&quot;: &quot;A String&quot;,
48205 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
48206 &quot;boolValue&quot;: True or False, # Represents a boolean value.
48207 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
48208 &quot;values&quot;: [ # Repeated field of dynamically typed values.
48209 # Object with schema name: GenaiVertexV1beta1Value
48210 ],
48211 },
48212 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
48213 &quot;numberValue&quot;: 3.14, # Represents a double value.
48214 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
48215 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
48216 },
48217 },
48218 ],
48219 },
48220 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
48221 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
48222 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
48223 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
48224 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
48225 },
48226 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
48227 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
48228 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
48229 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
48230 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
48231 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
48232 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
48233 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
48234 },
48235 ],
48236 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
48237 },
48238 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
48239 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
48240 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
48241 &quot;url&quot;: &quot;A String&quot;, # The URL.
48242 },
48243 },
48244 ],
48245 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
48246 },
48247 },
48248 ],
48249 },
48250 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
48251 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
48252 &quot;stringResult&quot;: &quot;A String&quot;,
48253 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
48254 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
48255 { # Represents a single field in a struct.
48256 &quot;name&quot;: &quot;A String&quot;,
48257 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
48258 &quot;boolValue&quot;: True or False, # Represents a boolean value.
48259 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
48260 &quot;values&quot;: [ # Repeated field of dynamically typed values.
48261 # Object with schema name: GenaiVertexV1beta1Value
48262 ],
48263 },
48264 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
48265 &quot;numberValue&quot;: 3.14, # Represents a double value.
48266 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
48267 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
48268 },
48269 },
48270 ],
48271 },
48272 },
48273 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
48274 &quot;urlContextResult&quot;: { # URL context result content.
48275 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
48276 &quot;result&quot;: [ # Required. The results of the URL context.
48277 { # The result of the URL context.
48278 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
48279 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
48280 },
48281 ],
48282 },
48283 },
48284 &quot;video&quot;: { # A video content block.
48285 &quot;data&quot;: &quot;A String&quot;, # The video content.
48286 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
48287 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
48288 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
48289 },
48290 },
48291 ],
48292 },
48293 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
48294 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
48295 &quot;stringResult&quot;: &quot;A String&quot;,
48296 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
48297 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
48298 { # Represents a single field in a struct.
48299 &quot;name&quot;: &quot;A String&quot;,
48300 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
48301 &quot;boolValue&quot;: True or False, # Represents a boolean value.
48302 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
48303 &quot;values&quot;: [ # Repeated field of dynamically typed values.
48304 # Object with schema name: GenaiVertexV1beta1Value
48305 ],
48306 },
48307 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
48308 &quot;numberValue&quot;: 3.14, # Represents a double value.
48309 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
48310 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
48311 },
48312 },
48313 ],
48314 },
48315 },
48316 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
48317 &quot;urlContextResult&quot;: { # URL context result step.
48318 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
48319 &quot;result&quot;: [ # Required. The results of the URL context.
48320 { # The result of the URL context.
48321 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
48322 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
48323 },
48324 ],
48325 },
48326 },
48327 &quot;userInput&quot;: { # Input provided by the user. # DO NOT USE -- These are for 3P JSON only
48328 &quot;contentList&quot;: { # A list of Content. # The content of the step. An array of Content objects.
48329 &quot;contents&quot;: [ # The contents of the list.
48330 { # The content of the response.
48331 &quot;audio&quot;: { # An audio content block.
48332 &quot;channels&quot;: 42, # The number of audio channels.
48333 &quot;data&quot;: &quot;A String&quot;, # The audio content.
48334 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the audio.
48335 &quot;sampleRate&quot;: 42, # The sample rate of the audio.
48336 &quot;uri&quot;: &quot;A String&quot;, # The URI of the audio.
48337 },
48338 &quot;document&quot;: { # A document content block.
48339 &quot;data&quot;: &quot;A String&quot;, # The document content.
48340 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the document.
48341 &quot;uri&quot;: &quot;A String&quot;, # The URI of the document.
48342 },
48343 &quot;image&quot;: { # An image content block.
48344 &quot;data&quot;: &quot;A String&quot;, # The image content.
48345 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
48346 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
48347 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
48348 },
48349 &quot;text&quot;: { # A text content block.
48350 &quot;annotations&quot;: [ # Citation information for model-generated content.
48351 { # Citation information for model-generated content.
48352 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
48353 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
48354 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
48355 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
48356 { # Represents a single field in a struct.
48357 &quot;name&quot;: &quot;A String&quot;,
48358 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
48359 &quot;boolValue&quot;: True or False, # Represents a boolean value.
48360 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
48361 &quot;values&quot;: [ # Repeated field of dynamically typed values.
48362 # Object with schema name: GenaiVertexV1beta1Value
48363 ],
48364 },
48365 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
48366 &quot;numberValue&quot;: 3.14, # Represents a double value.
48367 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
48368 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
48369 },
48370 },
48371 ],
48372 },
48373 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
48374 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
48375 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
48376 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
48377 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
48378 },
48379 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
48380 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
48381 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
48382 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
48383 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
48384 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
48385 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
48386 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
48387 },
48388 ],
48389 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
48390 },
48391 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
48392 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
48393 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
48394 &quot;url&quot;: &quot;A String&quot;, # The URL.
48395 },
48396 },
48397 ],
48398 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
48399 },
48400 &quot;thought&quot;: { # A thought content block.
48401 &quot;signature&quot;: &quot;A String&quot;, # Signature to match the backend source to be part of the generation.
48402 &quot;summary&quot;: [ # A summary of the thought.
48403 {
48404 &quot;image&quot;: { # An image content block.
48405 &quot;data&quot;: &quot;A String&quot;, # The image content.
48406 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
48407 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
48408 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
48409 },
48410 &quot;text&quot;: { # A text content block.
48411 &quot;annotations&quot;: [ # Citation information for model-generated content.
48412 { # Citation information for model-generated content.
48413 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
48414 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
48415 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
48416 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
48417 { # Represents a single field in a struct.
48418 &quot;name&quot;: &quot;A String&quot;,
48419 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
48420 &quot;boolValue&quot;: True or False, # Represents a boolean value.
48421 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
48422 &quot;values&quot;: [ # Repeated field of dynamically typed values.
48423 # Object with schema name: GenaiVertexV1beta1Value
48424 ],
48425 },
48426 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
48427 &quot;numberValue&quot;: 3.14, # Represents a double value.
48428 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
48429 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
48430 },
48431 },
48432 ],
48433 },
48434 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
48435 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
48436 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
48437 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
48438 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
48439 },
48440 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
48441 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
48442 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
48443 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
48444 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
48445 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
48446 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
48447 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
48448 },
48449 ],
48450 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
48451 },
48452 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
48453 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
48454 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
48455 &quot;url&quot;: &quot;A String&quot;, # The URL.
48456 },
48457 },
48458 ],
48459 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
48460 },
48461 },
48462 ],
48463 },
48464 &quot;toolCall&quot;: { # Tool call content.
48465 &quot;codeExecutionCall&quot;: { # Code execution content.
48466 &quot;arguments&quot;: { # The arguments to pass to the code execution. # Required. The arguments to pass to the code execution.
48467 &quot;code&quot;: &quot;A String&quot;, # The code to be executed.
48468 &quot;language&quot;: &quot;A String&quot;, # Programming language of the `code`.
48469 },
48470 },
48471 &quot;fileSearchCall&quot;: { # File Search content.
48472 },
48473 &quot;functionCall&quot;: { # A function tool call content block.
48474 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The arguments to pass to the function.
48475 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
48476 { # Represents a single field in a struct.
48477 &quot;name&quot;: &quot;A String&quot;,
48478 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
48479 &quot;boolValue&quot;: True or False, # Represents a boolean value.
48480 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
48481 &quot;values&quot;: [ # Repeated field of dynamically typed values.
48482 # Object with schema name: GenaiVertexV1beta1Value
48483 ],
48484 },
48485 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
48486 &quot;numberValue&quot;: 3.14, # Represents a double value.
48487 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
48488 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
48489 },
48490 },
48491 ],
48492 },
48493 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool to call.
48494 },
48495 &quot;googleMapsCall&quot;: { # Google Maps content.
48496 &quot;arguments&quot;: { # The arguments to pass to the Google Maps tool. # The arguments to pass to the Google Maps tool.
48497 &quot;queries&quot;: [ # The queries to be executed.
48498 &quot;A String&quot;,
48499 ],
48500 },
48501 },
48502 &quot;googleSearchCall&quot;: { # Google Search content.
48503 &quot;arguments&quot;: { # The arguments to pass to Google Search. # Required. The arguments to pass to Google Search.
48504 &quot;queries&quot;: [ # Web search queries for the following-up web search.
48505 &quot;A String&quot;,
48506 ],
48507 },
48508 &quot;searchType&quot;: &quot;A String&quot;, # The type of search grounding enabled.
48509 },
48510 &quot;id&quot;: &quot;A String&quot;, # Required. A unique ID for this specific tool call.
48511 &quot;mcpServerToolCall&quot;: { # MCPServer tool call content.
48512 &quot;arguments&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # Required. The JSON object of arguments for the function.
48513 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
48514 { # Represents a single field in a struct.
48515 &quot;name&quot;: &quot;A String&quot;,
48516 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
48517 &quot;boolValue&quot;: True or False, # Represents a boolean value.
48518 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
48519 &quot;values&quot;: [ # Repeated field of dynamically typed values.
48520 # Object with schema name: GenaiVertexV1beta1Value
48521 ],
48522 },
48523 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
48524 &quot;numberValue&quot;: 3.14, # Represents a double value.
48525 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
48526 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
48527 },
48528 },
48529 ],
48530 },
48531 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the tool which was called.
48532 &quot;serverName&quot;: &quot;A String&quot;, # Required. The name of the used MCP server.
48533 },
48534 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
48535 &quot;urlContextCall&quot;: { # URL context content.
48536 &quot;arguments&quot;: { # The arguments to pass to the URL context. # Required. The arguments to pass to the URL context.
48537 &quot;urls&quot;: [ # The URLs to fetch.
48538 &quot;A String&quot;,
48539 ],
48540 },
48541 },
48542 },
48543 &quot;toolResult&quot;: { # Tool result content.
48544 &quot;callId&quot;: &quot;A String&quot;, # Required. ID to match the ID from the function call block.
48545 &quot;codeExecutionResult&quot;: { # Code execution result content.
48546 &quot;isError&quot;: True or False, # Whether the code execution resulted in an error.
48547 &quot;result&quot;: &quot;A String&quot;, # Required. The output of the code execution.
48548 },
48549 &quot;fileSearchResult&quot;: { # File Search result content.
48550 &quot;result&quot;: [ # Optional. The results of the File Search.
48551 { # The result of the File Search.
48552 },
48553 ],
48554 },
48555 &quot;functionResult&quot;: { # A function tool result content block.
48556 &quot;contentList&quot;: {
48557 &quot;contents&quot;: [
48558 {
48559 &quot;image&quot;: { # An image content block.
48560 &quot;data&quot;: &quot;A String&quot;, # The image content.
48561 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
48562 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
48563 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
48564 },
48565 &quot;text&quot;: { # A text content block.
48566 &quot;annotations&quot;: [ # Citation information for model-generated content.
48567 { # Citation information for model-generated content.
48568 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
48569 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
48570 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
48571 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
48572 { # Represents a single field in a struct.
48573 &quot;name&quot;: &quot;A String&quot;,
48574 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
48575 &quot;boolValue&quot;: True or False, # Represents a boolean value.
48576 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
48577 &quot;values&quot;: [ # Repeated field of dynamically typed values.
48578 # Object with schema name: GenaiVertexV1beta1Value
48579 ],
48580 },
48581 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
48582 &quot;numberValue&quot;: 3.14, # Represents a double value.
48583 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
48584 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
48585 },
48586 },
48587 ],
48588 },
48589 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
48590 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
48591 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
48592 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
48593 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
48594 },
48595 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
48596 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
48597 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
48598 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
48599 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
48600 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
48601 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
48602 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
48603 },
48604 ],
48605 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
48606 },
48607 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
48608 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
48609 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
48610 &quot;url&quot;: &quot;A String&quot;, # The URL.
48611 },
48612 },
48613 ],
48614 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
48615 },
48616 },
48617 ],
48618 },
48619 &quot;isError&quot;: True or False, # Whether the tool call resulted in an error.
48620 &quot;name&quot;: &quot;A String&quot;, # The name of the tool that was called.
48621 &quot;stringResult&quot;: &quot;A String&quot;,
48622 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
48623 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
48624 { # Represents a single field in a struct.
48625 &quot;name&quot;: &quot;A String&quot;,
48626 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
48627 &quot;boolValue&quot;: True or False, # Represents a boolean value.
48628 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
48629 &quot;values&quot;: [ # Repeated field of dynamically typed values.
48630 # Object with schema name: GenaiVertexV1beta1Value
48631 ],
48632 },
48633 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
48634 &quot;numberValue&quot;: 3.14, # Represents a double value.
48635 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
48636 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
48637 },
48638 },
48639 ],
48640 },
48641 },
48642 &quot;googleMapsResult&quot;: { # Google Maps result content.
48643 &quot;result&quot;: [ # Required. The results of the Google Maps.
48644 { # The result of the Google Maps.
48645 &quot;places&quot;: [ # The places that were found.
48646 {
48647 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
48648 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
48649 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
48650 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
48651 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
48652 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
48653 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
48654 },
48655 ],
48656 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
48657 },
48658 ],
48659 &quot;widgetContextToken&quot;: &quot;A String&quot;, # Resource name of the Google Maps widget context token.
48660 },
48661 ],
48662 },
48663 &quot;googleSearchResult&quot;: { # Google Search result content.
48664 &quot;isError&quot;: True or False, # Whether the Google Search resulted in an error.
48665 &quot;result&quot;: [ # Required. The results of the Google Search.
48666 { # The result of the Google Search.
48667 &quot;searchSuggestions&quot;: &quot;A String&quot;, # Web content snippet that can be embedded in a web page or an app webview.
48668 },
48669 ],
48670 },
48671 &quot;mcpServerToolResult&quot;: { # MCPServer tool result content.
48672 &quot;contentList&quot;: {
48673 &quot;contents&quot;: [
48674 {
48675 &quot;image&quot;: { # An image content block.
48676 &quot;data&quot;: &quot;A String&quot;, # The image content.
48677 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the image.
48678 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
48679 &quot;uri&quot;: &quot;A String&quot;, # The URI of the image.
48680 },
48681 &quot;text&quot;: { # A text content block.
48682 &quot;annotations&quot;: [ # Citation information for model-generated content.
48683 { # Citation information for model-generated content.
48684 &quot;endIndex&quot;: 42, # End of the attributed segment, exclusive.
48685 &quot;fileCitation&quot;: { # A file citation annotation. # A file citation annotation.
48686 &quot;customMetadata&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. # User provided metadata about the retrieved context.
48687 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
48688 { # Represents a single field in a struct.
48689 &quot;name&quot;: &quot;A String&quot;,
48690 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
48691 &quot;boolValue&quot;: True or False, # Represents a boolean value.
48692 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
48693 &quot;values&quot;: [ # Repeated field of dynamically typed values.
48694 # Object with schema name: GenaiVertexV1beta1Value
48695 ],
48696 },
48697 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
48698 &quot;numberValue&quot;: 3.14, # Represents a double value.
48699 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
48700 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
48701 },
48702 },
48703 ],
48704 },
48705 &quot;documentUri&quot;: &quot;A String&quot;, # The URI of the file.
48706 &quot;fileName&quot;: &quot;A String&quot;, # The name of the file.
48707 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID in-case of image citations, if applicable.
48708 &quot;pageNumber&quot;: 42, # Page number of the cited document, if applicable.
48709 &quot;source&quot;: &quot;A String&quot;, # Source attributed for a portion of the text.
48710 },
48711 &quot;placeCitation&quot;: { # A place citation annotation. # A place citation annotation.
48712 &quot;name&quot;: &quot;A String&quot;, # Title of the place.
48713 &quot;placeId&quot;: &quot;A String&quot;, # The ID of the place, in `places/{place_id}` format.
48714 &quot;reviewSnippets&quot;: [ # Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.
48715 { # Encapsulates a snippet of a user review that answers a question about the features of a specific place in Google Maps.
48716 &quot;reviewId&quot;: &quot;A String&quot;, # The ID of the review snippet.
48717 &quot;title&quot;: &quot;A String&quot;, # Title of the review.
48718 &quot;url&quot;: &quot;A String&quot;, # A link that corresponds to the user review on Google Maps.
48719 },
48720 ],
48721 &quot;url&quot;: &quot;A String&quot;, # URI reference of the place.
48722 },
48723 &quot;startIndex&quot;: 42, # Start of segment of the response that is attributed to this source. Index indicates the start of the segment, measured in bytes.
48724 &quot;urlCitation&quot;: { # A URL citation annotation. # A URL citation annotation.
48725 &quot;title&quot;: &quot;A String&quot;, # The title of the URL.
48726 &quot;url&quot;: &quot;A String&quot;, # The URL.
48727 },
48728 },
48729 ],
48730 &quot;text&quot;: &quot;A String&quot;, # Required. The text content.
48731 },
48732 },
48733 ],
48734 },
48735 &quot;name&quot;: &quot;A String&quot;, # Name of the tool which is called for this specific tool call.
48736 &quot;serverName&quot;: &quot;A String&quot;, # The name of the used MCP server.
48737 &quot;stringResult&quot;: &quot;A String&quot;,
48738 &quot;structResult&quot;: { # `Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
48739 &quot;fields&quot;: [ # Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.
48740 { # Represents a single field in a struct.
48741 &quot;name&quot;: &quot;A String&quot;,
48742 &quot;value&quot;: { # `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
48743 &quot;boolValue&quot;: True or False, # Represents a boolean value.
48744 &quot;listValue&quot;: { # `ListValue` is a wrapper around a repeated field of values. # Represents a repeated `Value`.
48745 &quot;values&quot;: [ # Repeated field of dynamically typed values.
48746 # Object with schema name: GenaiVertexV1beta1Value
48747 ],
48748 },
48749 &quot;nullValue&quot;: &quot;A String&quot;, # Represents a null value.
48750 &quot;numberValue&quot;: 3.14, # Represents a double value.
48751 &quot;stringValue&quot;: &quot;A String&quot;, # Represents a string value.
48752 &quot;structValue&quot;: # Object with schema name: GenaiVertexV1beta1Struct # Represents a structured value.
48753 },
48754 },
48755 ],
48756 },
48757 },
48758 &quot;signature&quot;: &quot;A String&quot;, # A signature hash for backend validation.
48759 &quot;urlContextResult&quot;: { # URL context result content.
48760 &quot;isError&quot;: True or False, # Whether the URL context resulted in an error.
48761 &quot;result&quot;: [ # Required. The results of the URL context.
48762 { # The result of the URL context.
48763 &quot;status&quot;: &quot;A String&quot;, # The status of the URL retrieval.
48764 &quot;url&quot;: &quot;A String&quot;, # The URL that was fetched.
48765 },
48766 ],
48767 },
48768 },
48769 &quot;video&quot;: { # A video content block.
48770 &quot;data&quot;: &quot;A String&quot;, # The video content.
48771 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the video.
48772 &quot;resolution&quot;: &quot;A String&quot;, # The resolution of the media.
48773 &quot;uri&quot;: &quot;A String&quot;, # The URI of the video.
48774 },
48775 },
48776 ],
48777 },
48778 &quot;contentString&quot;: &quot;A String&quot;, # The content of the step. A single string.
48779 },
48780 },
48781 },
48782 &quot;stepStop&quot;: { # The step stop data, used for step.stop events.
48783 &quot;index&quot;: 42,
48784 },
48785 }</pre>
48786 </div>
48787
48788 </body></html>