Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 625dfd9

Browse files
committedApr 22, 2025
feat(firebaseml): update the api
#### firebaseml:v2beta The following keys were deleted: - schemas.GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig.properties.enableThinking.type (Total Keys: 1) The following keys were added: - schemas.GoogleCloudAiplatformV1beta1SpeechConfig.properties.languageCode.type (Total Keys: 1)
1 parent 007e562 commit 625dfd9

File tree

2 files changed

+43
-27
lines changed

2 files changed

+43
-27
lines changed
 

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

+17-17
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ <h3>Method Details</h3>
120120
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
121121
},
122122
&quot;functionCall&quot;: { # A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values. # Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
123-
&quot;args&quot;: { # Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
123+
&quot;args&quot;: { # Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
124124
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
125125
},
126126
&quot;id&quot;: &quot;A String&quot;, # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
@@ -204,11 +204,12 @@ <h3>Method Details</h3>
204204
&quot;modelRoutingPreference&quot;: &quot;A String&quot;, # The model routing preference.
205205
},
206206
&quot;manualMode&quot;: { # When manual routing is set, the specified model will be used directly. # Manual routing.
207-
&quot;modelName&quot;: &quot;A String&quot;, # The model name to use. Only the public LLM models are accepted. e.g. &#x27;gemini-1.5-pro-001&#x27;.
207+
&quot;modelName&quot;: &quot;A String&quot;, # The model name to use. Only the public LLM models are accepted. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).
208208
},
209209
},
210210
&quot;seed&quot;: 42, # Optional. Seed.
211211
&quot;speechConfig&quot;: { # The speech generation config. # Optional. The speech generation config.
212+
&quot;languageCode&quot;: &quot;A String&quot;, # Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization.
212213
&quot;voiceConfig&quot;: { # The configuration for the voice to use. # The configuration for the speaker to use.
213214
&quot;prebuiltVoiceConfig&quot;: { # The configuration for the prebuilt speaker to use. # The configuration for the prebuilt voice to use.
214215
&quot;voiceName&quot;: &quot;A String&quot;, # The name of the preset voice to use.
@@ -220,7 +221,6 @@ <h3>Method Details</h3>
220221
],
221222
&quot;temperature&quot;: 3.14, # Optional. Controls the randomness of predictions.
222223
&quot;thinkingConfig&quot;: { # Config for thinking features. # Optional. Config for thinking features. An error will be returned if this field is set for models that don&#x27;t support thinking.
223-
&quot;enableThinking&quot;: True or False, # Optional. Indicates whether to enable thinking mode. If true, the model will enable thinking mode.
224224
&quot;thinkingBudget&quot;: 42, # Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.
225225
},
226226
&quot;topK&quot;: 3.14, # Optional. If specified, top-k sampling will be used.
@@ -247,7 +247,7 @@ <h3>Method Details</h3>
247247
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
248248
},
249249
&quot;functionCall&quot;: { # A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values. # Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
250-
&quot;args&quot;: { # Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
250+
&quot;args&quot;: { # Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
251251
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
252252
},
253253
&quot;id&quot;: &quot;A String&quot;, # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
@@ -392,7 +392,7 @@ <h3>Method Details</h3>
392392
},
393393
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
394394
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
395-
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
395+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).
396396
},
397397
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
398398
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
@@ -457,7 +457,7 @@ <h3>Method Details</h3>
457457
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
458458
},
459459
&quot;functionCall&quot;: { # A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values. # Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
460-
&quot;args&quot;: { # Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
460+
&quot;args&quot;: { # Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
461461
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
462462
},
463463
&quot;id&quot;: &quot;A String&quot;, # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
@@ -541,11 +541,12 @@ <h3>Method Details</h3>
541541
&quot;modelRoutingPreference&quot;: &quot;A String&quot;, # The model routing preference.
542542
},
543543
&quot;manualMode&quot;: { # When manual routing is set, the specified model will be used directly. # Manual routing.
544-
&quot;modelName&quot;: &quot;A String&quot;, # The model name to use. Only the public LLM models are accepted. e.g. &#x27;gemini-1.5-pro-001&#x27;.
544+
&quot;modelName&quot;: &quot;A String&quot;, # The model name to use. Only the public LLM models are accepted. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).
545545
},
546546
},
547547
&quot;seed&quot;: 42, # Optional. Seed.
548548
&quot;speechConfig&quot;: { # The speech generation config. # Optional. The speech generation config.
549+
&quot;languageCode&quot;: &quot;A String&quot;, # Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization.
549550
&quot;voiceConfig&quot;: { # The configuration for the voice to use. # The configuration for the speaker to use.
550551
&quot;prebuiltVoiceConfig&quot;: { # The configuration for the prebuilt speaker to use. # The configuration for the prebuilt voice to use.
551552
&quot;voiceName&quot;: &quot;A String&quot;, # The name of the preset voice to use.
@@ -557,7 +558,6 @@ <h3>Method Details</h3>
557558
],
558559
&quot;temperature&quot;: 3.14, # Optional. Controls the randomness of predictions.
559560
&quot;thinkingConfig&quot;: { # Config for thinking features. # Optional. Config for thinking features. An error will be returned if this field is set for models that don&#x27;t support thinking.
560-
&quot;enableThinking&quot;: True or False, # Optional. Indicates whether to enable thinking mode. If true, the model will enable thinking mode.
561561
&quot;thinkingBudget&quot;: 42, # Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.
562562
},
563563
&quot;topK&quot;: 3.14, # Optional. If specified, top-k sampling will be used.
@@ -590,7 +590,7 @@ <h3>Method Details</h3>
590590
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
591591
},
592592
&quot;functionCall&quot;: { # A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values. # Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
593-
&quot;args&quot;: { # Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
593+
&quot;args&quot;: { # Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
594594
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
595595
},
596596
&quot;id&quot;: &quot;A String&quot;, # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
@@ -750,7 +750,7 @@ <h3>Method Details</h3>
750750
},
751751
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
752752
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
753-
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
753+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).
754754
},
755755
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
756756
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
@@ -811,7 +811,7 @@ <h3>Method Details</h3>
811811
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
812812
},
813813
&quot;functionCall&quot;: { # A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values. # Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
814-
&quot;args&quot;: { # Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
814+
&quot;args&quot;: { # Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
815815
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
816816
},
817817
&quot;id&quot;: &quot;A String&quot;, # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
@@ -1008,7 +1008,7 @@ <h3>Method Details</h3>
10081008
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
10091009
},
10101010
&quot;functionCall&quot;: { # A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values. # Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
1011-
&quot;args&quot;: { # Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
1011+
&quot;args&quot;: { # Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
10121012
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
10131013
},
10141014
&quot;id&quot;: &quot;A String&quot;, # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
@@ -1092,11 +1092,12 @@ <h3>Method Details</h3>
10921092
&quot;modelRoutingPreference&quot;: &quot;A String&quot;, # The model routing preference.
10931093
},
10941094
&quot;manualMode&quot;: { # When manual routing is set, the specified model will be used directly. # Manual routing.
1095-
&quot;modelName&quot;: &quot;A String&quot;, # The model name to use. Only the public LLM models are accepted. e.g. &#x27;gemini-1.5-pro-001&#x27;.
1095+
&quot;modelName&quot;: &quot;A String&quot;, # The model name to use. Only the public LLM models are accepted. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).
10961096
},
10971097
},
10981098
&quot;seed&quot;: 42, # Optional. Seed.
10991099
&quot;speechConfig&quot;: { # The speech generation config. # Optional. The speech generation config.
1100+
&quot;languageCode&quot;: &quot;A String&quot;, # Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization.
11001101
&quot;voiceConfig&quot;: { # The configuration for the voice to use. # The configuration for the speaker to use.
11011102
&quot;prebuiltVoiceConfig&quot;: { # The configuration for the prebuilt speaker to use. # The configuration for the prebuilt voice to use.
11021103
&quot;voiceName&quot;: &quot;A String&quot;, # The name of the preset voice to use.
@@ -1108,7 +1109,6 @@ <h3>Method Details</h3>
11081109
],
11091110
&quot;temperature&quot;: 3.14, # Optional. Controls the randomness of predictions.
11101111
&quot;thinkingConfig&quot;: { # Config for thinking features. # Optional. Config for thinking features. An error will be returned if this field is set for models that don&#x27;t support thinking.
1111-
&quot;enableThinking&quot;: True or False, # Optional. Indicates whether to enable thinking mode. If true, the model will enable thinking mode.
11121112
&quot;thinkingBudget&quot;: 42, # Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.
11131113
},
11141114
&quot;topK&quot;: 3.14, # Optional. If specified, top-k sampling will be used.
@@ -1141,7 +1141,7 @@ <h3>Method Details</h3>
11411141
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
11421142
},
11431143
&quot;functionCall&quot;: { # A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values. # Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
1144-
&quot;args&quot;: { # Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
1144+
&quot;args&quot;: { # Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
11451145
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
11461146
},
11471147
&quot;id&quot;: &quot;A String&quot;, # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
@@ -1301,7 +1301,7 @@ <h3>Method Details</h3>
13011301
},
13021302
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
13031303
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
1304-
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
1304+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).
13051305
},
13061306
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
13071307
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
@@ -1362,7 +1362,7 @@ <h3>Method Details</h3>
13621362
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
13631363
},
13641364
&quot;functionCall&quot;: { # A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values. # Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
1365-
&quot;args&quot;: { # Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
1365+
&quot;args&quot;: { # Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
13661366
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
13671367
},
13681368
&quot;id&quot;: &quot;A String&quot;, # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.

‎googleapiclient/discovery_cache/documents/firebaseml.v2beta.json

+26-10
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
}
207207
}
208208
},
209-
"revision": "20250326",
209+
"revision": "20250416",
210210
"rootUrl": "https://firebaseml.googleapis.com/",
211211
"schemas": {
212212
"Date": {
@@ -577,7 +577,7 @@
577577
"description": "Properties of the object.",
578578
"type": "any"
579579
},
580-
"description": "Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.",
580+
"description": "Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.",
581581
"type": "object"
582582
},
583583
"id": {
@@ -1076,7 +1076,7 @@
10761076
"id": "GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode",
10771077
"properties": {
10781078
"modelName": {
1079-
"description": "The model name to use. Only the public LLM models are accepted. e.g. 'gemini-1.5-pro-001'.",
1079+
"description": "The model name to use. Only the public LLM models are accepted. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).",
10801080
"type": "string"
10811081
}
10821082
},
@@ -1086,10 +1086,6 @@
10861086
"description": "Config for thinking features.",
10871087
"id": "GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig",
10881088
"properties": {
1089-
"enableThinking": {
1090-
"description": "Optional. Indicates whether to enable thinking mode. If true, the model will enable thinking mode.",
1091-
"type": "boolean"
1092-
},
10931089
"thinkingBudget": {
10941090
"description": "Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.",
10951091
"format": "int32",
@@ -1489,7 +1485,7 @@
14891485
"id": "GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker",
14901486
"properties": {
14911487
"modelName": {
1492-
"description": "Optional. The model name used for ranking. Format: `gemini-1.5-pro`",
1488+
"description": "Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).",
14931489
"type": "string"
14941490
}
14951491
},
@@ -1572,13 +1568,21 @@
15721568
"HARM_CATEGORY_SEXUALLY_EXPLICIT",
15731569
"HARM_CATEGORY_CIVIC_INTEGRITY"
15741570
],
1571+
"enumDeprecated": [
1572+
false,
1573+
false,
1574+
false,
1575+
false,
1576+
false,
1577+
true
1578+
],
15751579
"enumDescriptions": [
15761580
"The harm category is unspecified.",
15771581
"The harm category is hate speech.",
15781582
"The harm category is dangerous content.",
15791583
"The harm category is harassment.",
15801584
"The harm category is sexually explicit content.",
1581-
"The harm category is civic integrity."
1585+
"Deprecated: Election filter is not longer supported. The harm category is civic integrity."
15821586
],
15831587
"readOnly": true,
15841588
"type": "string"
@@ -1650,13 +1654,21 @@
16501654
"HARM_CATEGORY_SEXUALLY_EXPLICIT",
16511655
"HARM_CATEGORY_CIVIC_INTEGRITY"
16521656
],
1657+
"enumDeprecated": [
1658+
false,
1659+
false,
1660+
false,
1661+
false,
1662+
false,
1663+
true
1664+
],
16531665
"enumDescriptions": [
16541666
"The harm category is unspecified.",
16551667
"The harm category is hate speech.",
16561668
"The harm category is dangerous content.",
16571669
"The harm category is harassment.",
16581670
"The harm category is sexually explicit content.",
1659-
"The harm category is civic integrity."
1671+
"Deprecated: Election filter is not longer supported. The harm category is civic integrity."
16601672
],
16611673
"type": "string"
16621674
},
@@ -1883,6 +1895,10 @@
18831895
"description": "The speech generation config.",
18841896
"id": "GoogleCloudAiplatformV1beta1SpeechConfig",
18851897
"properties": {
1898+
"languageCode": {
1899+
"description": "Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization.",
1900+
"type": "string"
1901+
},
18861902
"voiceConfig": {
18871903
"$ref": "GoogleCloudAiplatformV1beta1VoiceConfig",
18881904
"description": "The configuration for the speaker to use."

0 commit comments

Comments
 (0)
Please sign in to comment.