Skip to content

Commit 92c1d6b

Browse files
feat(firebaseml): update the api
#### firebaseml:v2beta The following keys were added: - schemas.GoogleCloudAiplatformV1beta1FunctionResponse.properties.scheduling.type (Total Keys: 1)
1 parent 62871b0 commit 92c1d6b

2 files changed

Lines changed: 28 additions & 4 deletions

File tree

docs/dyn/firebaseml_v2beta.projects.locations.publishers.models.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ <h3>Method Details</h3>
157157
&quot;response&quot;: { # Required. The function response in JSON object format. Use &quot;output&quot; key to specify function output and &quot;error&quot; key to specify error details (if any). If &quot;output&quot; and &quot;error&quot; keys are not specified, then whole &quot;response&quot; is treated as function output.
158158
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
159159
},
160+
&quot;scheduling&quot;: &quot;A String&quot;, # Optional. Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE.
160161
},
161162
&quot;inlineData&quot;: { # A content blob. A Blob contains data of a specific media type. It is used to represent images, audio, and video. # Optional. The inline data content of the part. This can be used to include images, audio, or video in a request.
162163
&quot;data&quot;: &quot;A String&quot;, # Required. The raw bytes of the data.
@@ -352,6 +353,7 @@ <h3>Method Details</h3>
352353
&quot;response&quot;: { # Required. The function response in JSON object format. Use &quot;output&quot; key to specify function output and &quot;error&quot; key to specify error details (if any). If &quot;output&quot; and &quot;error&quot; keys are not specified, then whole &quot;response&quot; is treated as function output.
353354
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
354355
},
356+
&quot;scheduling&quot;: &quot;A String&quot;, # Optional. Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE.
355357
},
356358
&quot;inlineData&quot;: { # A content blob. A Blob contains data of a specific media type. It is used to represent images, audio, and video. # Optional. The inline data content of the part. This can be used to include images, audio, or video in a request.
357359
&quot;data&quot;: &quot;A String&quot;, # Required. The raw bytes of the data.
@@ -678,6 +680,7 @@ <h3>Method Details</h3>
678680
&quot;response&quot;: { # Required. The function response in JSON object format. Use &quot;output&quot; key to specify function output and &quot;error&quot; key to specify error details (if any). If &quot;output&quot; and &quot;error&quot; keys are not specified, then whole &quot;response&quot; is treated as function output.
679681
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
680682
},
683+
&quot;scheduling&quot;: &quot;A String&quot;, # Optional. Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE.
681684
},
682685
&quot;inlineData&quot;: { # A content blob. A Blob contains data of a specific media type. It is used to represent images, audio, and video. # Optional. The inline data content of the part. This can be used to include images, audio, or video in a request.
683686
&quot;data&quot;: &quot;A String&quot;, # Required. The raw bytes of the data.
@@ -883,6 +886,7 @@ <h3>Method Details</h3>
883886
&quot;response&quot;: { # Required. The function response in JSON object format. Use &quot;output&quot; key to specify function output and &quot;error&quot; key to specify error details (if any). If &quot;output&quot; and &quot;error&quot; keys are not specified, then whole &quot;response&quot; is treated as function output.
884887
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
885888
},
889+
&quot;scheduling&quot;: &quot;A String&quot;, # Optional. Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE.
886890
},
887891
&quot;inlineData&quot;: { # A content blob. A Blob contains data of a specific media type. It is used to represent images, audio, and video. # Optional. The inline data content of the part. This can be used to include images, audio, or video in a request.
888892
&quot;data&quot;: &quot;A String&quot;, # Required. The raw bytes of the data.
@@ -1221,6 +1225,7 @@ <h3>Method Details</h3>
12211225
&quot;response&quot;: { # Required. The function response in JSON object format. Use &quot;output&quot; key to specify function output and &quot;error&quot; key to specify error details (if any). If &quot;output&quot; and &quot;error&quot; keys are not specified, then whole &quot;response&quot; is treated as function output.
12221226
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
12231227
},
1228+
&quot;scheduling&quot;: &quot;A String&quot;, # Optional. Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE.
12241229
},
12251230
&quot;inlineData&quot;: { # A content blob. A Blob contains data of a specific media type. It is used to represent images, audio, and video. # Optional. The inline data content of the part. This can be used to include images, audio, or video in a request.
12261231
&quot;data&quot;: &quot;A String&quot;, # Required. The raw bytes of the data.
@@ -1248,7 +1253,7 @@ <h3>Method Details</h3>
12481253
&quot;googleMapsWidgetContextToken&quot;: &quot;A String&quot;, # Optional. Output only. A token that can be used to render a Google Maps widget with the contextual data. This field is populated only when the grounding source is Google Maps.
12491254
&quot;groundingChunks&quot;: [ # A list of supporting references retrieved from the grounding source. This field is populated when the grounding source is Google Search, Vertex AI Search, or Google Maps.
12501255
{ # A piece of evidence that supports a claim made by the model. This is used to show a citation for a claim made by the model. When grounding is enabled, the model returns a `GroundingChunk` that contains a reference to the source of the information.
1251-
&quot;maps&quot;: { # A `Maps` chunk is a piece of evidence that comes from Google Maps. It contains information about a place, such as its name, address, and reviews. This is used to provide the user with rich, location-based information. # A grounding chunk from Google Maps. See the `Maps` message for details.
1256+
&quot;maps&quot;: { # A `Maps` chunk is a piece of evidence that comes from Google Maps, containing information about places or routes. This is used to provide the user with rich, location-based information. # A grounding chunk from Google Maps. See the `Maps` message for details.
12521257
&quot;placeAnswerSources&quot;: { # The sources that were used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as URIs to flag content. # The sources that were used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as URIs to flag content.
12531258
&quot;reviewSnippets&quot;: [ # Snippets of reviews that were used to generate the answer.
12541259
{ # A review snippet that is used to generate the answer.
@@ -1481,6 +1486,7 @@ <h3>Method Details</h3>
14811486
&quot;response&quot;: { # Required. The function response in JSON object format. Use &quot;output&quot; key to specify function output and &quot;error&quot; key to specify error details (if any). If &quot;output&quot; and &quot;error&quot; keys are not specified, then whole &quot;response&quot; is treated as function output.
14821487
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
14831488
},
1489+
&quot;scheduling&quot;: &quot;A String&quot;, # Optional. Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE.
14841490
},
14851491
&quot;inlineData&quot;: { # A content blob. A Blob contains data of a specific media type. It is used to represent images, audio, and video. # Optional. The inline data content of the part. This can be used to include images, audio, or video in a request.
14861492
&quot;data&quot;: &quot;A String&quot;, # Required. The raw bytes of the data.
@@ -1686,6 +1692,7 @@ <h3>Method Details</h3>
16861692
&quot;response&quot;: { # Required. The function response in JSON object format. Use &quot;output&quot; key to specify function output and &quot;error&quot; key to specify error details (if any). If &quot;output&quot; and &quot;error&quot; keys are not specified, then whole &quot;response&quot; is treated as function output.
16871693
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
16881694
},
1695+
&quot;scheduling&quot;: &quot;A String&quot;, # Optional. Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE.
16891696
},
16901697
&quot;inlineData&quot;: { # A content blob. A Blob contains data of a specific media type. It is used to represent images, audio, and video. # Optional. The inline data content of the part. This can be used to include images, audio, or video in a request.
16911698
&quot;data&quot;: &quot;A String&quot;, # Required. The raw bytes of the data.
@@ -2024,6 +2031,7 @@ <h3>Method Details</h3>
20242031
&quot;response&quot;: { # Required. The function response in JSON object format. Use &quot;output&quot; key to specify function output and &quot;error&quot; key to specify error details (if any). If &quot;output&quot; and &quot;error&quot; keys are not specified, then whole &quot;response&quot; is treated as function output.
20252032
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
20262033
},
2034+
&quot;scheduling&quot;: &quot;A String&quot;, # Optional. Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE.
20272035
},
20282036
&quot;inlineData&quot;: { # A content blob. A Blob contains data of a specific media type. It is used to represent images, audio, and video. # Optional. The inline data content of the part. This can be used to include images, audio, or video in a request.
20292037
&quot;data&quot;: &quot;A String&quot;, # Required. The raw bytes of the data.
@@ -2051,7 +2059,7 @@ <h3>Method Details</h3>
20512059
&quot;googleMapsWidgetContextToken&quot;: &quot;A String&quot;, # Optional. Output only. A token that can be used to render a Google Maps widget with the contextual data. This field is populated only when the grounding source is Google Maps.
20522060
&quot;groundingChunks&quot;: [ # A list of supporting references retrieved from the grounding source. This field is populated when the grounding source is Google Search, Vertex AI Search, or Google Maps.
20532061
{ # A piece of evidence that supports a claim made by the model. This is used to show a citation for a claim made by the model. When grounding is enabled, the model returns a `GroundingChunk` that contains a reference to the source of the information.
2054-
&quot;maps&quot;: { # A `Maps` chunk is a piece of evidence that comes from Google Maps. It contains information about a place, such as its name, address, and reviews. This is used to provide the user with rich, location-based information. # A grounding chunk from Google Maps. See the `Maps` message for details.
2062+
&quot;maps&quot;: { # A `Maps` chunk is a piece of evidence that comes from Google Maps, containing information about places or routes. This is used to provide the user with rich, location-based information. # A grounding chunk from Google Maps. See the `Maps` message for details.
20552063
&quot;placeAnswerSources&quot;: { # The sources that were used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as URIs to flag content. # The sources that were used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as URIs to flag content.
20562064
&quot;reviewSnippets&quot;: [ # Snippets of reviews that were used to generate the answer.
20572065
{ # A review snippet that is used to generate the answer.

googleapiclient/discovery_cache/documents/firebaseml.v2beta.json

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
}
207207
}
208208
},
209-
"revision": "20260201",
209+
"revision": "20260215",
210210
"rootUrl": "https://firebaseml.googleapis.com/",
211211
"schemas": {
212212
"Date": {
@@ -978,6 +978,22 @@
978978
},
979979
"description": "Required. The function response in JSON object format. Use \"output\" key to specify function output and \"error\" key to specify error details (if any). If \"output\" and \"error\" keys are not specified, then whole \"response\" is treated as function output.",
980980
"type": "object"
981+
},
982+
"scheduling": {
983+
"description": "Optional. Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE.",
984+
"enum": [
985+
"SCHEDULING_UNSPECIFIED",
986+
"SILENT",
987+
"WHEN_IDLE",
988+
"INTERRUPT"
989+
],
990+
"enumDescriptions": [
991+
"This value is unused.",
992+
"Only add the result to the conversation context, do not interrupt or trigger generation.",
993+
"Add the result to the conversation context, and prompt to generate output without interrupting ongoing generation.",
994+
"Add the result to the conversation context, interrupt ongoing generation and prompt to generate output."
995+
],
996+
"type": "string"
981997
}
982998
},
983999
"type": "object"
@@ -1554,7 +1570,7 @@
15541570
"type": "object"
15551571
},
15561572
"GoogleCloudAiplatformV1beta1GroundingChunkMaps": {
1557-
"description": "A `Maps` chunk is a piece of evidence that comes from Google Maps. It contains information about a place, such as its name, address, and reviews. This is used to provide the user with rich, location-based information.",
1573+
"description": "A `Maps` chunk is a piece of evidence that comes from Google Maps, containing information about places or routes. This is used to provide the user with rich, location-based information.",
15581574
"id": "GoogleCloudAiplatformV1beta1GroundingChunkMaps",
15591575
"properties": {
15601576
"placeAnswerSources": {

0 commit comments

Comments
 (0)