Skip to content

Commit bce0bc5

Browse files
feat(firebaseml): update the api
#### firebaseml:v1 The following keys were added: - resources.operations.methods.list.parameters.returnPartialSuccess (Total Keys: 2) - schemas.ListOperationsResponse.properties.unreachable (Total Keys: 2) #### firebaseml:v2beta The following keys were added: - schemas.GoogleCloudAiplatformV1beta1EnterpriseWebSearch.properties.blockingConfidence.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1GenerationConfig.properties.imageConfig.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1ImageConfig (Total Keys: 3) - schemas.GoogleCloudAiplatformV1beta1ToolGoogleSearch.properties.blockingConfidence.type (Total Keys: 1)
1 parent 8bcdaab commit bce0bc5

File tree

4 files changed

+98
-6
lines changed

4 files changed

+98
-6
lines changed

docs/dyn/firebaseml_v1.operations.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ <h2>Instance Methods</h2>
8484
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.</p>
8686
<p class="toc_element">
87-
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
87+
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.</p>
8989
<p class="toc_element">
9090
<code><a href="#list_next">list_next()</a></code></p>
@@ -138,14 +138,15 @@ <h3>Method Details</h3>
138138
</div>
139139

140140
<div class="method">
141-
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
141+
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
142142
<pre>Lists operations that match the specified filter in the request. If the server doesn&#x27;t support this method, it returns `UNIMPLEMENTED`.
143143

144144
Args:
145145
name: string, The name of the operation&#x27;s parent resource. (required)
146146
filter: string, The standard list filter.
147147
pageSize: integer, The standard list page size.
148148
pageToken: string, The standard list page token.
149+
returnPartialSuccess: boolean, When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `&quot;projects/example/locations/-&quot;`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
149150
x__xgafv: string, V1 error format.
150151
Allowed values
151152
1 - v1 error format
@@ -177,6 +178,9 @@ <h3>Method Details</h3>
177178
},
178179
},
179180
],
181+
&quot;unreachable&quot;: [ # Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
182+
&quot;A String&quot;,
183+
],
180184
}</pre>
181185
</div>
182186

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ <h3>Method Details</h3>
156156
&quot;candidateCount&quot;: 42, # Optional. Number of candidates to generate.
157157
&quot;enableAffectiveDialog&quot;: True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly.
158158
&quot;frequencyPenalty&quot;: 3.14, # Optional. Frequency penalties.
159+
&quot;imageConfig&quot;: { # Config for image generation features. # Optional. Config for image generation features.
160+
&quot;aspectRatio&quot;: &quot;A String&quot;, # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: &quot;1:1&quot; &quot;2:3&quot;, &quot;3:2&quot; &quot;3:4&quot;, &quot;4:3&quot; &quot;4:5&quot;, &quot;5:4&quot; &quot;9:16&quot;, &quot;16:9&quot; &quot;21:9&quot;
161+
},
159162
&quot;logprobs&quot;: 42, # Optional. Logit probabilities.
160163
&quot;maxOutputTokens&quot;: 42, # Optional. The maximum number of output tokens to generate per message.
161164
&quot;mediaResolution&quot;: &quot;A String&quot;, # Optional. If specified, the media resolution specified will be used.
@@ -292,6 +295,7 @@ <h3>Method Details</h3>
292295
&quot;codeExecution&quot;: { # Tool that executes code generated by the model, and automatically returns the result to the model. See also [ExecutableCode]and [CodeExecutionResult] which are input and output to this tool. # Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
293296
},
294297
&quot;enterpriseWebSearch&quot;: { # Tool to search public web data, powered by Vertex AI Search and Sec4 compliance. # Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance.
298+
&quot;blockingConfidence&quot;: &quot;A String&quot;, # Optional. Sites with confidence level chosen &amp; above this value will be blocked from the search results.
295299
&quot;excludeDomains&quot;: [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
296300
&quot;A String&quot;,
297301
],
@@ -386,6 +390,7 @@ <h3>Method Details</h3>
386390
&quot;enableWidget&quot;: True or False, # Optional. If true, include the widget context token in the response.
387391
},
388392
&quot;googleSearch&quot;: { # GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. # Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
393+
&quot;blockingConfidence&quot;: &quot;A String&quot;, # Optional. Sites with confidence level chosen &amp; above this value will be blocked from the search results.
389394
&quot;excludeDomains&quot;: [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: [&quot;amazon.com&quot;, &quot;facebook.com&quot;].
390395
&quot;A String&quot;,
391396
],
@@ -577,6 +582,9 @@ <h3>Method Details</h3>
577582
&quot;candidateCount&quot;: 42, # Optional. Number of candidates to generate.
578583
&quot;enableAffectiveDialog&quot;: True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly.
579584
&quot;frequencyPenalty&quot;: 3.14, # Optional. Frequency penalties.
585+
&quot;imageConfig&quot;: { # Config for image generation features. # Optional. Config for image generation features.
586+
&quot;aspectRatio&quot;: &quot;A String&quot;, # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: &quot;1:1&quot; &quot;2:3&quot;, &quot;3:2&quot; &quot;3:4&quot;, &quot;4:3&quot; &quot;4:5&quot;, &quot;5:4&quot; &quot;9:16&quot;, &quot;16:9&quot; &quot;21:9&quot;
587+
},
580588
&quot;logprobs&quot;: 42, # Optional. Logit probabilities.
581589
&quot;maxOutputTokens&quot;: 42, # Optional. The maximum number of output tokens to generate per message.
582590
&quot;mediaResolution&quot;: &quot;A String&quot;, # Optional. If specified, the media resolution specified will be used.
@@ -738,6 +746,7 @@ <h3>Method Details</h3>
738746
&quot;codeExecution&quot;: { # Tool that executes code generated by the model, and automatically returns the result to the model. See also [ExecutableCode]and [CodeExecutionResult] which are input and output to this tool. # Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
739747
},
740748
&quot;enterpriseWebSearch&quot;: { # Tool to search public web data, powered by Vertex AI Search and Sec4 compliance. # Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance.
749+
&quot;blockingConfidence&quot;: &quot;A String&quot;, # Optional. Sites with confidence level chosen &amp; above this value will be blocked from the search results.
741750
&quot;excludeDomains&quot;: [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
742751
&quot;A String&quot;,
743752
],
@@ -832,6 +841,7 @@ <h3>Method Details</h3>
832841
&quot;enableWidget&quot;: True or False, # Optional. If true, include the widget context token in the response.
833842
},
834843
&quot;googleSearch&quot;: { # GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. # Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
844+
&quot;blockingConfidence&quot;: &quot;A String&quot;, # Optional. Sites with confidence level chosen &amp; above this value will be blocked from the search results.
835845
&quot;excludeDomains&quot;: [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: [&quot;amazon.com&quot;, &quot;facebook.com&quot;].
836846
&quot;A String&quot;,
837847
],
@@ -1251,6 +1261,9 @@ <h3>Method Details</h3>
12511261
&quot;candidateCount&quot;: 42, # Optional. Number of candidates to generate.
12521262
&quot;enableAffectiveDialog&quot;: True or False, # Optional. If enabled, the model will detect emotions and adapt its responses accordingly.
12531263
&quot;frequencyPenalty&quot;: 3.14, # Optional. Frequency penalties.
1264+
&quot;imageConfig&quot;: { # Config for image generation features. # Optional. Config for image generation features.
1265+
&quot;aspectRatio&quot;: &quot;A String&quot;, # Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: &quot;1:1&quot; &quot;2:3&quot;, &quot;3:2&quot; &quot;3:4&quot;, &quot;4:3&quot; &quot;4:5&quot;, &quot;5:4&quot; &quot;9:16&quot;, &quot;16:9&quot; &quot;21:9&quot;
1266+
},
12541267
&quot;logprobs&quot;: 42, # Optional. Logit probabilities.
12551268
&quot;maxOutputTokens&quot;: 42, # Optional. The maximum number of output tokens to generate per message.
12561269
&quot;mediaResolution&quot;: &quot;A String&quot;, # Optional. If specified, the media resolution specified will be used.
@@ -1412,6 +1425,7 @@ <h3>Method Details</h3>
14121425
&quot;codeExecution&quot;: { # Tool that executes code generated by the model, and automatically returns the result to the model. See also [ExecutableCode]and [CodeExecutionResult] which are input and output to this tool. # Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
14131426
},
14141427
&quot;enterpriseWebSearch&quot;: { # Tool to search public web data, powered by Vertex AI Search and Sec4 compliance. # Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance.
1428+
&quot;blockingConfidence&quot;: &quot;A String&quot;, # Optional. Sites with confidence level chosen &amp; above this value will be blocked from the search results.
14151429
&quot;excludeDomains&quot;: [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
14161430
&quot;A String&quot;,
14171431
],
@@ -1506,6 +1520,7 @@ <h3>Method Details</h3>
15061520
&quot;enableWidget&quot;: True or False, # Optional. If true, include the widget context token in the response.
15071521
},
15081522
&quot;googleSearch&quot;: { # GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. # Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
1523+
&quot;blockingConfidence&quot;: &quot;A String&quot;, # Optional. Sites with confidence level chosen &amp; above this value will be blocked from the search results.
15091524
&quot;excludeDomains&quot;: [ # Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: [&quot;amazon.com&quot;, &quot;facebook.com&quot;].
15101525
&quot;A String&quot;,
15111526
],

googleapiclient/discovery_cache/documents/firebaseml.v1.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@
191191
"description": "The standard list page token.",
192192
"location": "query",
193193
"type": "string"
194+
},
195+
"returnPartialSuccess": {
196+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
197+
"location": "query",
198+
"type": "boolean"
194199
}
195200
},
196201
"path": "v1/{+name}",
@@ -204,7 +209,7 @@
204209
}
205210
}
206211
},
207-
"revision": "20241117",
212+
"revision": "20250929",
208213
"rootUrl": "https://firebaseml.googleapis.com/",
209214
"schemas": {
210215
"CancelOperationRequest": {
@@ -233,6 +238,13 @@
233238
"$ref": "Operation"
234239
},
235240
"type": "array"
241+
},
242+
"unreachable": {
243+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
244+
"items": {
245+
"type": "string"
246+
},
247+
"type": "array"
236248
}
237249
},
238250
"type": "object"

googleapiclient/discovery_cache/documents/firebaseml.v2beta.json

Lines changed: 64 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
}
207207
}
208208
},
209-
"revision": "20250922",
209+
"revision": "20250930",
210210
"rootUrl": "https://firebaseml.googleapis.com/",
211211
"schemas": {
212212
"Date": {
@@ -460,7 +460,8 @@
460460
"IMAGE_PROHIBITED_CONTENT",
461461
"IMAGE_RECITATION",
462462
"IMAGE_OTHER",
463-
"UNEXPECTED_TOOL_CALL"
463+
"UNEXPECTED_TOOL_CALL",
464+
"NO_IMAGE"
464465
],
465466
"enumDescriptions": [
466467
"The finish reason is unspecified.",
@@ -478,7 +479,8 @@
478479
"Image generation stopped because generated images has other prohibited content.",
479480
"Image generation stopped due to recitation.",
480481
"Image generation stopped because of other miscellaneous issue.",
481-
"The function call generated by the model is semantically invalid (e.g. a function call is generated when function calling is not enabled or the function is not in the function declaration)."
482+
"The function call generated by the model is semantically invalid (e.g. a function call is generated when function calling is not enabled or the function is not in the function declaration).",
483+
"The model was expected to generate an image, but none was generated."
482484
],
483485
"readOnly": true,
484486
"type": "string"
@@ -707,6 +709,28 @@
707709
"description": "Tool to search public web data, powered by Vertex AI Search and Sec4 compliance.",
708710
"id": "GoogleCloudAiplatformV1beta1EnterpriseWebSearch",
709711
"properties": {
712+
"blockingConfidence": {
713+
"description": "Optional. Sites with confidence level chosen & above this value will be blocked from the search results.",
714+
"enum": [
715+
"PHISH_BLOCK_THRESHOLD_UNSPECIFIED",
716+
"BLOCK_LOW_AND_ABOVE",
717+
"BLOCK_MEDIUM_AND_ABOVE",
718+
"BLOCK_HIGH_AND_ABOVE",
719+
"BLOCK_HIGHER_AND_ABOVE",
720+
"BLOCK_VERY_HIGH_AND_ABOVE",
721+
"BLOCK_ONLY_EXTREMELY_HIGH"
722+
],
723+
"enumDescriptions": [
724+
"Defaults to unspecified.",
725+
"Blocks Low and above confidence URL that is risky.",
726+
"Blocks Medium and above confidence URL that is risky.",
727+
"Blocks High and above confidence URL that is risky.",
728+
"Blocks Higher and above confidence URL that is risky.",
729+
"Blocks Very high and above confidence URL that is risky.",
730+
"Blocks Extremely high confidence URL that is risky."
731+
],
732+
"type": "string"
733+
},
710734
"excludeDomains": {
711735
"description": "Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.",
712736
"items": {
@@ -1185,6 +1209,10 @@
11851209
"format": "float",
11861210
"type": "number"
11871211
},
1212+
"imageConfig": {
1213+
"$ref": "GoogleCloudAiplatformV1beta1ImageConfig",
1214+
"description": "Optional. Config for image generation features."
1215+
},
11881216
"logprobs": {
11891217
"description": "Optional. Logit probabilities.",
11901218
"format": "int32",
@@ -1633,6 +1661,17 @@
16331661
},
16341662
"type": "object"
16351663
},
1664+
"GoogleCloudAiplatformV1beta1ImageConfig": {
1665+
"description": "Config for image generation features.",
1666+
"id": "GoogleCloudAiplatformV1beta1ImageConfig",
1667+
"properties": {
1668+
"aspectRatio": {
1669+
"description": "Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: \"1:1\" \"2:3\", \"3:2\" \"3:4\", \"4:3\" \"4:5\", \"5:4\" \"9:16\", \"16:9\" \"21:9\"",
1670+
"type": "string"
1671+
}
1672+
},
1673+
"type": "object"
1674+
},
16361675
"GoogleCloudAiplatformV1beta1LogprobsResult": {
16371676
"description": "Logprobs Result",
16381677
"id": "GoogleCloudAiplatformV1beta1LogprobsResult",
@@ -2465,6 +2504,28 @@ false
24652504
"description": "GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.",
24662505
"id": "GoogleCloudAiplatformV1beta1ToolGoogleSearch",
24672506
"properties": {
2507+
"blockingConfidence": {
2508+
"description": "Optional. Sites with confidence level chosen & above this value will be blocked from the search results.",
2509+
"enum": [
2510+
"PHISH_BLOCK_THRESHOLD_UNSPECIFIED",
2511+
"BLOCK_LOW_AND_ABOVE",
2512+
"BLOCK_MEDIUM_AND_ABOVE",
2513+
"BLOCK_HIGH_AND_ABOVE",
2514+
"BLOCK_HIGHER_AND_ABOVE",
2515+
"BLOCK_VERY_HIGH_AND_ABOVE",
2516+
"BLOCK_ONLY_EXTREMELY_HIGH"
2517+
],
2518+
"enumDescriptions": [
2519+
"Defaults to unspecified.",
2520+
"Blocks Low and above confidence URL that is risky.",
2521+
"Blocks Medium and above confidence URL that is risky.",
2522+
"Blocks High and above confidence URL that is risky.",
2523+
"Blocks Higher and above confidence URL that is risky.",
2524+
"Blocks Very high and above confidence URL that is risky.",
2525+
"Blocks Extremely high confidence URL that is risky."
2526+
],
2527+
"type": "string"
2528+
},
24682529
"excludeDomains": {
24692530
"description": "Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: [\"amazon.com\", \"facebook.com\"].",
24702531
"items": {

0 commit comments

Comments
 (0)