Skip to content

Commit 02a3fa0

Browse files
feat(all): auto-regenerate discovery clients (#2822)
1 parent 8e28fb5 commit 02a3fa0

File tree

128 files changed

+32990
-21799
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+32990
-21799
lines changed

‎aiplatform/v1/aiplatform-api.json

Lines changed: 83 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4106,6 +4106,39 @@
41064106
}
41074107
},
41084108
"resources": {
4109+
"chat": {
4110+
"methods": {
4111+
"completions": {
4112+
"description": "Exposes an OpenAI-compatible endpoint for chat completions.",
4113+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}/chat/completions",
4114+
"httpMethod": "POST",
4115+
"id": "aiplatform.projects.locations.endpoints.chat.completions",
4116+
"parameterOrder": [
4117+
"endpoint"
4118+
],
4119+
"parameters": {
4120+
"endpoint": {
4121+
"description": "Required. The name of the endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`",
4122+
"location": "path",
4123+
"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$",
4124+
"required": true,
4125+
"type": "string"
4126+
}
4127+
},
4128+
"path": "v1/{+endpoint}/chat/completions",
4129+
"request": {
4130+
"$ref": "GoogleApiHttpBody"
4131+
},
4132+
"response": {
4133+
"$ref": "GoogleApiHttpBody"
4134+
},
4135+
"scopes": [
4136+
"https://www.googleapis.com/auth/cloud-platform",
4137+
"https://www.googleapis.com/auth/cloud-platform.read-only"
4138+
]
4139+
}
4140+
}
4141+
},
41094142
"operations": {
41104143
"methods": {
41114144
"cancel": {
@@ -17813,7 +17846,7 @@
1781317846
}
1781417847
}
1781517848
},
17816-
"revision": "20240925",
17849+
"revision": "20241001",
1781717850
"rootUrl": "https://aiplatform.googleapis.com/",
1781817851
"schemas": {
1781917852
"CloudAiLargeModelsVisionGenerateVideoResponse": {
@@ -21435,6 +21468,30 @@
2143521468
},
2143621469
"type": "object"
2143721470
},
21471+
"GoogleCloudAiplatformV1DynamicRetrievalConfig": {
21472+
"description": "Describes the options to customize dynamic retrieval.",
21473+
"id": "GoogleCloudAiplatformV1DynamicRetrievalConfig",
21474+
"properties": {
21475+
"dynamicThreshold": {
21476+
"description": "Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.",
21477+
"format": "float",
21478+
"type": "number"
21479+
},
21480+
"mode": {
21481+
"description": "The mode of the predictor to be used in dynamic retrieval.",
21482+
"enum": [
21483+
"MODE_UNSPECIFIED",
21484+
"MODE_DYNAMIC"
21485+
],
21486+
"enumDescriptions": [
21487+
"Always trigger retrieval.",
21488+
"Run retrieval only when system decides it is necessary."
21489+
],
21490+
"type": "string"
21491+
}
21492+
},
21493+
"type": "object"
21494+
},
2143821495
"GoogleCloudAiplatformV1EncryptionSpec": {
2143921496
"description": "Represents a customer-managed encryption key spec that can be applied to a top-level resource.",
2144021497
"id": "GoogleCloudAiplatformV1EncryptionSpec",
@@ -24836,7 +24893,12 @@
2483624893
"GoogleCloudAiplatformV1GoogleSearchRetrieval": {
2483724894
"description": "Tool to retrieve public web data for grounding, powered by Google.",
2483824895
"id": "GoogleCloudAiplatformV1GoogleSearchRetrieval",
24839-
"properties": {},
24896+
"properties": {
24897+
"dynamicRetrievalConfig": {
24898+
"$ref": "GoogleCloudAiplatformV1DynamicRetrievalConfig",
24899+
"description": "Specifies the dynamic retrieval configuration for the given source."
24900+
}
24901+
},
2484024902
"type": "object"
2484124903
},
2484224904
"GoogleCloudAiplatformV1GroundednessInput": {
@@ -24968,6 +25030,11 @@
2496825030
},
2496925031
"type": "array"
2497025032
},
25033+
"retrievalMetadata": {
25034+
"$ref": "GoogleCloudAiplatformV1RetrievalMetadata",
25035+
"description": "Optional. Output only. Retrieval metadata.",
25036+
"readOnly": true
25037+
},
2497125038
"searchEntryPoint": {
2497225039
"$ref": "GoogleCloudAiplatformV1SearchEntryPoint",
2497325040
"description": "Optional. Google search entry for the following-up web searches."
@@ -26763,11 +26830,11 @@
2676326830
"type": "number"
2676426831
},
2676526832
"token": {
26766-
"description": "The candidates token string value.",
26833+
"description": "The candidate's token string value.",
2676726834
"type": "string"
2676826835
},
2676926836
"tokenId": {
26770-
"description": "The candidates token id value.",
26837+
"description": "The candidate's token id value.",
2677126838
"format": "int32",
2677226839
"type": "integer"
2677326840
}
@@ -32288,6 +32355,18 @@
3228832355
},
3228932356
"type": "object"
3229032357
},
32358+
"GoogleCloudAiplatformV1RetrievalMetadata": {
32359+
"description": "Metadata related to retrieval in the grounding flow.",
32360+
"id": "GoogleCloudAiplatformV1RetrievalMetadata",
32361+
"properties": {
32362+
"googleSearchDynamicRetrievalScore": {
32363+
"description": "Optional. Score indicating how likely information from Google Search could help answer the prompt. The score is in the range `[0, 1]`, where 0 is the least likely and 1 is the most likely. This score is only populated when Google Search grounding and dynamic retrieval is enabled. It will be compared to the threshold to determine whether to trigger Google Search.",
32364+
"format": "float",
32365+
"type": "number"
32366+
}
32367+
},
32368+
"type": "object"
32369+
},
3229132370
"GoogleCloudAiplatformV1RougeInput": {
3229232371
"description": "Input for rouge metric.",
3229332372
"id": "GoogleCloudAiplatformV1RougeInput",

0 commit comments

Comments
 (0)