Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #3048

Merged
merged 1 commit into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
180 changes: 169 additions & 11 deletions aiplatform/v1/aiplatform-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -19449,7 +19449,7 @@
}
}
},
"revision": "20250212",
"revision": "20250226",
"rootUrl": "https://aiplatform.googleapis.com/",
"schemas": {
"CloudAiLargeModelsVisionGenerateVideoResponse": {
Expand All @@ -19474,6 +19474,31 @@
"type": "string"
},
"type": "array"
},
"videos": {
"description": "List of videos, used to align naming with the external response.",
"items": {
"$ref": "CloudAiLargeModelsVisionGenerateVideoResponseVideo"
},
"type": "array"
}
},
"type": "object"
},
"CloudAiLargeModelsVisionGenerateVideoResponseVideo": {
"id": "CloudAiLargeModelsVisionGenerateVideoResponseVideo",
"properties": {
"bytesBase64Encoded": {
"description": "Base64 encoded bytes string representing the video.",
"type": "string"
},
"gcsUri": {
"description": "Cloud Storage URI where the generated video is written.",
"type": "string"
},
"mimeType": {
"description": "The MIME type of the content of the video. - video/mp4",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -19753,6 +19778,10 @@
"description": "Video encoding, for example \"video/mp4\".",
"type": "string"
},
"text": {
"description": "Text/Expanded text input for Help Me Write.",
"type": "string"
},
"uri": {
"description": "Path to another storage (typically Google Cloud Storage).",
"type": "string"
Expand Down Expand Up @@ -23756,6 +23785,12 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1EnterpriseWebSearch": {
"description": "Tool to search public web data, powered by Vertex AI Search and Sec4 compliance.",
"id": "GoogleCloudAiplatformV1EnterpriseWebSearch",
"properties": {},
"type": "object"
},
"GoogleCloudAiplatformV1EntityIdSelector": {
"description": "Selector for entityId. Getting ids from the given source.",
"id": "GoogleCloudAiplatformV1EntityIdSelector",
Expand Down Expand Up @@ -27193,14 +27228,81 @@
"readOnly": true,
"type": "array"
},
"toolUsePromptTokenCount": {
"description": "Output only. Number of tokens present in tool-use prompt(s).",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"toolUsePromptTokensDetails": {
"description": "Output only. List of modalities that were processed for tool-use request inputs.",
"items": {
"$ref": "GoogleCloudAiplatformV1ModalityTokenCount"
},
"readOnly": true,
"type": "array"
},
"totalTokenCount": {
"description": "Total token count for prompt and response candidates.",
"description": "Total token count for prompt, response candidates, and tool-use prompts (if present).",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1GenerateVideoResponse": {
"description": "Generate video response.",
"id": "GoogleCloudAiplatformV1GenerateVideoResponse",
"properties": {
"generatedSamples": {
"deprecated": true,
"description": "The cloud storage uris of the generated videos.",
"items": {
"type": "string"
},
"type": "array"
},
"raiMediaFilteredCount": {
"description": "Returns if any videos were filtered due to RAI policies.",
"format": "int32",
"type": "integer"
},
"raiMediaFilteredReasons": {
"description": "Returns rai failure reasons if any.",
"items": {
"type": "string"
},
"type": "array"
},
"videos": {
"description": "List of video bytes or Cloud Storage URIs of the generated videos.",
"items": {
"$ref": "GoogleCloudAiplatformV1GenerateVideoResponseVideo"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1GenerateVideoResponseVideo": {
"description": "A generated video.",
"id": "GoogleCloudAiplatformV1GenerateVideoResponseVideo",
"properties": {
"bytesBase64Encoded": {
"description": "Base64 encoded bytes string representing the video.",
"type": "string"
},
"gcsUri": {
"description": "Cloud Storage URI where the generated video is written.",
"type": "string"
},
"mimeType": {
"description": "The MIME type of the content of the video. - video/mp4",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1GenerationConfig": {
"description": "Generation config.",
"id": "GoogleCloudAiplatformV1GenerationConfig",
Expand Down Expand Up @@ -29687,11 +29789,6 @@
"description": "Immutable. The type of the machine. See the [list of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types) See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types). For DeployedModel this field is optional, and the default value is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec this field is required.",
"type": "string"
},
"multihostGpuNodeCount": {
"description": "Optional. Immutable. The number of nodes per replica for multihost GPU deployments.",
"format": "int32",
"type": "integer"
},
"reservationAffinity": {
"$ref": "GoogleCloudAiplatformV1ReservationAffinity",
"description": "Optional. Immutable. Configuration controlling how this resource pool consumes reservation."
Expand Down Expand Up @@ -35766,13 +35863,38 @@
},
"type": "array"
},
"deploymentSpec": {
"$ref": "GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec",
"description": "Optional. The specification of a Reasoning Engine deployment."
},
"packageSpec": {
"$ref": "GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec",
"description": "Required. User provided package spec of the ReasoningEngine."
}
},
"type": "object"
},
"GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec": {
"description": "The specification of a Reasoning Engine deployment.",
"id": "GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec",
"properties": {
"env": {
"description": "Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.",
"items": {
"$ref": "GoogleCloudAiplatformV1EnvVar"
},
"type": "array"
},
"secretEnv": {
"description": "Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.",
"items": {
"$ref": "GoogleCloudAiplatformV1SecretEnvVar"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec": {
"description": "User provided package spec like pickled object and package requirements.",
"id": "GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec",
Expand Down Expand Up @@ -35905,7 +36027,7 @@
"type": "string"
},
"values": {
"description": "Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservation.",
"description": "Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservation or reservation block.",
"items": {
"type": "string"
},
Expand Down Expand Up @@ -41187,6 +41309,36 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1SecretEnvVar": {
"description": "Represents an environment variable where the value is a secret in Cloud Secret Manager.",
"id": "GoogleCloudAiplatformV1SecretEnvVar",
"properties": {
"name": {
"description": "Required. Name of the secret environment variable.",
"type": "string"
},
"secretRef": {
"$ref": "GoogleCloudAiplatformV1SecretRef",
"description": "Required. Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable."
}
},
"type": "object"
},
"GoogleCloudAiplatformV1SecretRef": {
"description": "Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.",
"id": "GoogleCloudAiplatformV1SecretRef",
"properties": {
"secret": {
"description": "Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.",
"type": "string"
},
"version": {
"description": "The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1Segment": {
"description": "Segment of the content.",
"id": "GoogleCloudAiplatformV1Segment",
Expand Down Expand Up @@ -42463,6 +42615,7 @@
"enum": [
"ADAPTER_SIZE_UNSPECIFIED",
"ADAPTER_SIZE_ONE",
"ADAPTER_SIZE_TWO",
"ADAPTER_SIZE_FOUR",
"ADAPTER_SIZE_EIGHT",
"ADAPTER_SIZE_SIXTEEN",
Expand All @@ -42471,6 +42624,7 @@
"enumDescriptions": [
"Adapter size is unspecified.",
"Adapter size 1.",
"Adapter size 2.",
"Adapter size 4.",
"Adapter size 8.",
"Adapter size 16.",
Expand Down Expand Up @@ -43283,7 +43437,11 @@
"properties": {
"codeExecution": {
"$ref": "GoogleCloudAiplatformV1ToolCodeExecution",
"description": "Optional. CodeExecution tool type. Enables the model to execute code as part of generation. This field is only used by the Gemini Developer API services."
"description": "Optional. CodeExecution tool type. Enables the model to execute code as part of generation."
},
"enterpriseWebSearch": {
"$ref": "GoogleCloudAiplatformV1EnterpriseWebSearch",
"description": "Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance."
},
"functionDeclarations": {
"description": "Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.",
Expand Down Expand Up @@ -44892,11 +45050,11 @@
"type": "object"
},
"GoogleCloudAiplatformV1VertexAISearch": {
"description": "Retrieve from Vertex AI Search datastore for grounding. See https://cloud.google.com/products/agent-builder",
"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",
"id": "GoogleCloudAiplatformV1VertexAISearch",
"properties": {
"datastore": {
"description": "Required. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`",
"description": "Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`",
"type": "string"
}
},
Expand Down
Loading
Loading