Skip to content

Commit 1290767

Browse files
feat(firebaseml): update the api
#### firebaseml:v2beta The following keys were deleted: - schemas.GoogleCloudAiplatformV1beta1Part.properties.thought.readOnly (Total Keys: 1)
1 parent 270fcf6 commit 1290767

File tree

2 files changed

+90
-14
lines changed

2 files changed

+90
-14
lines changed

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

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ <h3>Method Details</h3>
139139
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
140140
},
141141
&quot;text&quot;: &quot;A String&quot;, # Optional. Text part (can be code).
142-
&quot;thought&quot;: True or False, # Output only. Indicates if the part is thought from the model.
142+
&quot;thought&quot;: True or False, # Optional. Indicates if the part is thought from the model.
143143
&quot;thoughtSignature&quot;: &quot;A String&quot;, # Optional. An opaque signature for the thought so it can be reused in subsequent requests.
144144
&quot;videoMetadata&quot;: { # Metadata describes the input video content. # Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.
145145
&quot;endOffset&quot;: &quot;A String&quot;, # Optional. The end offset of the video.
@@ -275,7 +275,7 @@ <h3>Method Details</h3>
275275
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
276276
},
277277
&quot;text&quot;: &quot;A String&quot;, # Optional. Text part (can be code).
278-
&quot;thought&quot;: True or False, # Output only. Indicates if the part is thought from the model.
278+
&quot;thought&quot;: True or False, # Optional. Indicates if the part is thought from the model.
279279
&quot;thoughtSignature&quot;: &quot;A String&quot;, # Optional. An opaque signature for the thought so it can be reused in subsequent requests.
280280
&quot;videoMetadata&quot;: { # Metadata describes the input video content. # Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.
281281
&quot;endOffset&quot;: &quot;A String&quot;, # Optional. The end offset of the video.
@@ -478,6 +478,8 @@ <h3>Method Details</h3>
478478
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only return results with vector distance smaller than the threshold.
479479
},
480480
},
481+
&quot;urlContext&quot;: { # Tool to support URL context. # Optional. Tool to support URL context retrieval.
482+
},
481483
},
482484
],
483485
}
@@ -550,7 +552,7 @@ <h3>Method Details</h3>
550552
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
551553
},
552554
&quot;text&quot;: &quot;A String&quot;, # Optional. Text part (can be code).
553-
&quot;thought&quot;: True or False, # Output only. Indicates if the part is thought from the model.
555+
&quot;thought&quot;: True or False, # Optional. Indicates if the part is thought from the model.
554556
&quot;thoughtSignature&quot;: &quot;A String&quot;, # Optional. An opaque signature for the thought so it can be reused in subsequent requests.
555557
&quot;videoMetadata&quot;: { # Metadata describes the input video content. # Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.
556558
&quot;endOffset&quot;: &quot;A String&quot;, # Optional. The end offset of the video.
@@ -692,7 +694,7 @@ <h3>Method Details</h3>
692694
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
693695
},
694696
&quot;text&quot;: &quot;A String&quot;, # Optional. Text part (can be code).
695-
&quot;thought&quot;: True or False, # Output only. Indicates if the part is thought from the model.
697+
&quot;thought&quot;: True or False, # Optional. Indicates if the part is thought from the model.
696698
&quot;thoughtSignature&quot;: &quot;A String&quot;, # Optional. An opaque signature for the thought so it can be reused in subsequent requests.
697699
&quot;videoMetadata&quot;: { # Metadata describes the input video content. # Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.
698700
&quot;endOffset&quot;: &quot;A String&quot;, # Optional. The end offset of the video.
@@ -910,6 +912,8 @@ <h3>Method Details</h3>
910912
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only return results with vector distance smaller than the threshold.
911913
},
912914
},
915+
&quot;urlContext&quot;: { # Tool to support URL context. # Optional. Tool to support URL context retrieval.
916+
},
913917
},
914918
],
915919
}
@@ -978,7 +982,7 @@ <h3>Method Details</h3>
978982
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
979983
},
980984
&quot;text&quot;: &quot;A String&quot;, # Optional. Text part (can be code).
981-
&quot;thought&quot;: True or False, # Output only. Indicates if the part is thought from the model.
985+
&quot;thought&quot;: True or False, # Optional. Indicates if the part is thought from the model.
982986
&quot;thoughtSignature&quot;: &quot;A String&quot;, # Optional. An opaque signature for the thought so it can be reused in subsequent requests.
983987
&quot;videoMetadata&quot;: { # Metadata describes the input video content. # Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.
984988
&quot;endOffset&quot;: &quot;A String&quot;, # Optional. The end offset of the video.
@@ -1014,7 +1018,7 @@ <h3>Method Details</h3>
10141018
],
10151019
&quot;groundingSupports&quot;: [ # Optional. List of grounding support.
10161020
{ # Grounding support.
1017-
&quot;confidenceScores&quot;: [ # Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This list must have the same size as the grounding_chunk_indices.
1021+
&quot;confidenceScores&quot;: [ # Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. For Gemini 2.0 and before, this list must have the same size as the grounding_chunk_indices. For Gemini 2.5 and after, this list will be empty and should be ignored.
10181022
3.14,
10191023
],
10201024
&quot;groundingChunkIndices&quot;: [ # A list of indices (into &#x27;grounding_chunk&#x27;) specifying the citations associated with the claim. For instance [1,3,4] means that grounding_chunk[1], grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to the claim.
@@ -1073,6 +1077,14 @@ <h3>Method Details</h3>
10731077
&quot;severityScore&quot;: 3.14, # Output only. Harm severity score.
10741078
},
10751079
],
1080+
&quot;urlContextMetadata&quot;: { # Metadata related to url context retrieval tool. # Output only. Metadata related to url context retrieval tool.
1081+
&quot;urlMetadata&quot;: [ # Output only. List of url context.
1082+
{ # Context of the a single url retrieval.
1083+
&quot;retrievedUrl&quot;: &quot;A String&quot;, # Retrieved url by the tool.
1084+
&quot;urlRetrievalStatus&quot;: &quot;A String&quot;, # Status of the url retrieval.
1085+
},
1086+
],
1087+
},
10761088
},
10771089
],
10781090
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the request is made to the server.
@@ -1176,7 +1188,7 @@ <h3>Method Details</h3>
11761188
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
11771189
},
11781190
&quot;text&quot;: &quot;A String&quot;, # Optional. Text part (can be code).
1179-
&quot;thought&quot;: True or False, # Output only. Indicates if the part is thought from the model.
1191+
&quot;thought&quot;: True or False, # Optional. Indicates if the part is thought from the model.
11801192
&quot;thoughtSignature&quot;: &quot;A String&quot;, # Optional. An opaque signature for the thought so it can be reused in subsequent requests.
11811193
&quot;videoMetadata&quot;: { # Metadata describes the input video content. # Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.
11821194
&quot;endOffset&quot;: &quot;A String&quot;, # Optional. The end offset of the video.
@@ -1318,7 +1330,7 @@ <h3>Method Details</h3>
13181330
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
13191331
},
13201332
&quot;text&quot;: &quot;A String&quot;, # Optional. Text part (can be code).
1321-
&quot;thought&quot;: True or False, # Output only. Indicates if the part is thought from the model.
1333+
&quot;thought&quot;: True or False, # Optional. Indicates if the part is thought from the model.
13221334
&quot;thoughtSignature&quot;: &quot;A String&quot;, # Optional. An opaque signature for the thought so it can be reused in subsequent requests.
13231335
&quot;videoMetadata&quot;: { # Metadata describes the input video content. # Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.
13241336
&quot;endOffset&quot;: &quot;A String&quot;, # Optional. The end offset of the video.
@@ -1536,6 +1548,8 @@ <h3>Method Details</h3>
15361548
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only return results with vector distance smaller than the threshold.
15371549
},
15381550
},
1551+
&quot;urlContext&quot;: { # Tool to support URL context. # Optional. Tool to support URL context retrieval.
1552+
},
15391553
},
15401554
],
15411555
}
@@ -1604,7 +1618,7 @@ <h3>Method Details</h3>
16041618
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
16051619
},
16061620
&quot;text&quot;: &quot;A String&quot;, # Optional. Text part (can be code).
1607-
&quot;thought&quot;: True or False, # Output only. Indicates if the part is thought from the model.
1621+
&quot;thought&quot;: True or False, # Optional. Indicates if the part is thought from the model.
16081622
&quot;thoughtSignature&quot;: &quot;A String&quot;, # Optional. An opaque signature for the thought so it can be reused in subsequent requests.
16091623
&quot;videoMetadata&quot;: { # Metadata describes the input video content. # Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.
16101624
&quot;endOffset&quot;: &quot;A String&quot;, # Optional. The end offset of the video.
@@ -1640,7 +1654,7 @@ <h3>Method Details</h3>
16401654
],
16411655
&quot;groundingSupports&quot;: [ # Optional. List of grounding support.
16421656
{ # Grounding support.
1643-
&quot;confidenceScores&quot;: [ # Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This list must have the same size as the grounding_chunk_indices.
1657+
&quot;confidenceScores&quot;: [ # Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. For Gemini 2.0 and before, this list must have the same size as the grounding_chunk_indices. For Gemini 2.5 and after, this list will be empty and should be ignored.
16441658
3.14,
16451659
],
16461660
&quot;groundingChunkIndices&quot;: [ # A list of indices (into &#x27;grounding_chunk&#x27;) specifying the citations associated with the claim. For instance [1,3,4] means that grounding_chunk[1], grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to the claim.
@@ -1699,6 +1713,14 @@ <h3>Method Details</h3>
16991713
&quot;severityScore&quot;: 3.14, # Output only. Harm severity score.
17001714
},
17011715
],
1716+
&quot;urlContextMetadata&quot;: { # Metadata related to url context retrieval tool. # Output only. Metadata related to url context retrieval tool.
1717+
&quot;urlMetadata&quot;: [ # Output only. List of url context.
1718+
{ # Context of the a single url retrieval.
1719+
&quot;retrievedUrl&quot;: &quot;A String&quot;, # Retrieved url by the tool.
1720+
&quot;urlRetrievalStatus&quot;: &quot;A String&quot;, # Status of the url retrieval.
1721+
},
1722+
],
1723+
},
17021724
},
17031725
],
17041726
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the request is made to the server.

googleapiclient/discovery_cache/documents/firebaseml.v2beta.json

Lines changed: 58 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
}
207207
}
208208
},
209-
"revision": "20250525",
209+
"revision": "20250604",
210210
"rootUrl": "https://firebaseml.googleapis.com/",
211211
"schemas": {
212212
"Date": {
@@ -496,6 +496,11 @@
496496
},
497497
"readOnly": true,
498498
"type": "array"
499+
},
500+
"urlContextMetadata": {
501+
"$ref": "GoogleCloudAiplatformV1beta1UrlContextMetadata",
502+
"description": "Output only. Metadata related to url context retrieval tool.",
503+
"readOnly": true
499504
}
500505
},
501506
"type": "object"
@@ -1467,7 +1472,7 @@
14671472
"id": "GoogleCloudAiplatformV1beta1GroundingSupport",
14681473
"properties": {
14691474
"confidenceScores": {
1470-
"description": "Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This list must have the same size as the grounding_chunk_indices.",
1475+
"description": "Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. For Gemini 2.0 and before, this list must have the same size as the grounding_chunk_indices. For Gemini 2.5 and after, this list will be empty and should be ignored.",
14711476
"items": {
14721477
"format": "float",
14731478
"type": "number"
@@ -1610,8 +1615,7 @@
16101615
"type": "string"
16111616
},
16121617
"thought": {
1613-
"description": "Output only. Indicates if the part is thought from the model.",
1614-
"readOnly": true,
1618+
"description": "Optional. Indicates if the part is thought from the model.",
16151619
"type": "boolean"
16161620
},
16171621
"thoughtSignature": {
@@ -2222,6 +2226,10 @@ true
22222226
"retrieval": {
22232227
"$ref": "GoogleCloudAiplatformV1beta1Retrieval",
22242228
"description": "Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation."
2229+
},
2230+
"urlContext": {
2231+
"$ref": "GoogleCloudAiplatformV1beta1UrlContext",
2232+
"description": "Optional. Tool to support URL context retrieval."
22252233
}
22262234
},
22272235
"type": "object"
@@ -2272,6 +2280,52 @@ true
22722280
"properties": {},
22732281
"type": "object"
22742282
},
2283+
"GoogleCloudAiplatformV1beta1UrlContext": {
2284+
"description": "Tool to support URL context.",
2285+
"id": "GoogleCloudAiplatformV1beta1UrlContext",
2286+
"properties": {},
2287+
"type": "object"
2288+
},
2289+
"GoogleCloudAiplatformV1beta1UrlContextMetadata": {
2290+
"description": "Metadata related to url context retrieval tool.",
2291+
"id": "GoogleCloudAiplatformV1beta1UrlContextMetadata",
2292+
"properties": {
2293+
"urlMetadata": {
2294+
"description": "Output only. List of url context.",
2295+
"items": {
2296+
"$ref": "GoogleCloudAiplatformV1beta1UrlMetadata"
2297+
},
2298+
"readOnly": true,
2299+
"type": "array"
2300+
}
2301+
},
2302+
"type": "object"
2303+
},
2304+
"GoogleCloudAiplatformV1beta1UrlMetadata": {
2305+
"description": "Context of the a single url retrieval.",
2306+
"id": "GoogleCloudAiplatformV1beta1UrlMetadata",
2307+
"properties": {
2308+
"retrievedUrl": {
2309+
"description": "Retrieved url by the tool.",
2310+
"type": "string"
2311+
},
2312+
"urlRetrievalStatus": {
2313+
"description": "Status of the url retrieval.",
2314+
"enum": [
2315+
"URL_RETRIEVAL_STATUS_UNSPECIFIED",
2316+
"URL_RETRIEVAL_STATUS_SUCCESS",
2317+
"URL_RETRIEVAL_STATUS_ERROR"
2318+
],
2319+
"enumDescriptions": [
2320+
"Default value. This value is unused.",
2321+
"Url retrieval is successful.",
2322+
"Url retrieval is failed due to error."
2323+
],
2324+
"type": "string"
2325+
}
2326+
},
2327+
"type": "object"
2328+
},
22752329
"GoogleCloudAiplatformV1beta1VertexAISearch": {
22762330
"description": "Retrieve from Vertex AI Search datastore or engine for grounding. datastore and engine are mutually exclusive. See https://cloud.google.com/products/agent-builder",
22772331
"id": "GoogleCloudAiplatformV1beta1VertexAISearch",

0 commit comments

Comments
 (0)