Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2454)
Browse files Browse the repository at this point in the history
yoshi-automation authored Mar 6, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent d22da18 commit 2675c0a
Showing 12 changed files with 2,722 additions and 76 deletions.
148 changes: 142 additions & 6 deletions aiplatform/v1/aiplatform-api.json
Original file line number Diff line number Diff line change
@@ -11620,6 +11620,62 @@
},
"pipelineJobs": {
"methods": {
"batchCancel": {
"description": "Batch cancel PipelineJobs. Firstly the server will check if all the jobs are in non-terminal states, and skip the jobs that are already terminated. If the operation failed, none of the pipeline jobs are cancelled. The server will poll the states of all the pipeline jobs periodically to check the cancellation status. This operation will return an LRO.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs:batchCancel",
"httpMethod": "POST",
"id": "aiplatform.projects.locations.pipelineJobs.batchCancel",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The name of the PipelineJobs' parent resource. Format: `projects/{project}/locations/{location}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/pipelineJobs:batchCancel",
"request": {
"$ref": "GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"batchDelete": {
"description": "Batch deletes PipelineJobs The Operation is atomic. If it fails, none of the PipelineJobs are deleted. If it succeeds, all of the PipelineJobs are deleted.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs:batchDelete",
"httpMethod": "POST",
"id": "aiplatform.projects.locations.pipelineJobs.batchDelete",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The name of the PipelineJobs' parent resource. Format: `projects/{project}/locations/{location}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/pipelineJobs:batchDelete",
"request": {
"$ref": "GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"cancel": {
"description": "Cancels a PipelineJob. Starts asynchronous cancellation on the PipelineJob. The server makes a best effort to cancel the pipeline, but success is not guaranteed. Clients can use PipelineService.GetPipelineJob or other methods to check whether the cancellation succeeded or whether the pipeline completed despite cancellation. On successful cancellation, the PipelineJob is not deleted; instead it becomes a pipeline with a PipelineJob.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and PipelineJob.state is set to `CANCELLED`.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs/{pipelineJobsId}:cancel",
@@ -15562,7 +15618,7 @@
}
}
},
"revision": "20240219",
"revision": "20240229",
"rootUrl": "https://aiplatform.googleapis.com/",
"schemas": {
"CloudAiLargeModelsVisionEmbedVideoResponse": {
@@ -15957,15 +16013,21 @@
"FINISH_REASON_MAX_TOKENS",
"FINISH_REASON_SAFETY",
"FINISH_REASON_RECITATION",
"FINISH_REASON_OTHER"
"FINISH_REASON_OTHER",
"FINISH_REASON_BLOCKLIST",
"FINISH_REASON_PROHIBITED_CONTENT",
"FINISH_REASON_SPII"
],
"enumDescriptions": [
"The finish reason is unspecified.",
"Natural stop point of the model or provided stop sequence.",
"The maximum number of tokens as specified in the request was reached.",
"The token generation was stopped as the response was flagged for safety reasons. NOTE: When streaming the Candidate.content will be empty if content filters blocked the output.",
"The token generation was stopped as the response was flagged for unauthorized citations.",
"All other reasons that stopped the token generation."
"All other reasons that stopped the token generation.",
"The token generation was stopped as the response was flagged for the terms which are included from the terminology blocklist.",
"The token generation was stopped as the response was flagged for the prohibited contents.",
"The token generation was stopped as the response was flagged for Sensitive Personally Identifiable Information (SPII) contents."
],
"type": "string"
},
@@ -16263,12 +16325,16 @@
"enum": [
"BLOCKED_REASON_UNSPECIFIED",
"SAFETY",
"OTHER"
"OTHER",
"BLOCKLIST",
"PROHIBITED_CONTENT"
],
"enumDescriptions": [
"Unspecified blocked reason.",
"Candidates blocked due to safety.",
"Candidates blocked due to other reason."
"Candidates blocked due to other reason.",
"Candidates blocked due to the terms which are included from the terminology blocklist.",
"Candidates blocked due to prohibited content."
],
"type": "string"
},
@@ -17003,6 +17069,20 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest": {
"description": "Request message for PipelineService.BatchCancelPipelineJobs.",
"id": "GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest",
"properties": {
"names": {
"description": "Required. The names of the PipelineJobs to cancel. A maximum of 32 PipelineJobs can be cancelled in a batch. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}`",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata": {
"description": "Details of operations that perform batch create Features.",
"id": "GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata",
@@ -17119,6 +17199,20 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest": {
"description": "Request message for PipelineService.BatchDeletePipelineJobs.",
"id": "GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest",
"properties": {
"names": {
"description": "Required. The names of the PipelineJobs to delete. A maximum of 32 PipelineJobs can be deleted in a batch. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}`",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest": {
"description": "Request message for ModelService.BatchImportEvaluatedAnnotations",
"id": "GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest",
@@ -18916,7 +19010,8 @@
"type": "string"
},
"metadata": {
"description": "Required. Additional information about the DatasetVersion.",
"description": "Required. Output only. Additional information about the DatasetVersion.",
"readOnly": true,
"type": "any"
},
"name": {
@@ -22085,6 +22180,17 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1GenieSource": {
"description": "Contains information about the source of the models generated from Generative AI Studio.",
"id": "GoogleCloudAiplatformV1GenieSource",
"properties": {
"baseModelUri": {
"description": "Required. The public base model URI.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1GroundingAttribution": {
"description": "Grounding attribution.",
"id": "GoogleCloudAiplatformV1GroundingAttribution",
@@ -24236,6 +24342,10 @@
"description": "Immutable. The path to the directory containing the Model artifact and any of its supporting files. Not required for AutoML Models.",
"type": "string"
},
"baseModelSource": {
"$ref": "GoogleCloudAiplatformV1ModelBaseModelSource",
"description": "Optional. User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models."
},
"containerSpec": {
"$ref": "GoogleCloudAiplatformV1ModelContainerSpec",
"description": "Input only. The specification of the container that is to be used when deploying this Model. The specification is ingested upon ModelService.UploadModel, and all binaries it contains are copied and stored internally by Vertex AI. Not required for AutoML Models."
@@ -24406,6 +24516,21 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1ModelBaseModelSource": {
"description": "User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models.",
"id": "GoogleCloudAiplatformV1ModelBaseModelSource",
"properties": {
"genieSource": {
"$ref": "GoogleCloudAiplatformV1GenieSource",
"description": "Information about the base model of Genie models."
},
"modelGardenSource": {
"$ref": "GoogleCloudAiplatformV1ModelGardenSource",
"description": "Source information of Model Garden models."
}
},
"type": "object"
},
"GoogleCloudAiplatformV1ModelContainerSpec": {
"description": "Specification of a container for serving predictions. Some fields in this message correspond to fields in the [Kubernetes Container v1 core specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).",
"id": "GoogleCloudAiplatformV1ModelContainerSpec",
@@ -25013,6 +25138,17 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1ModelGardenSource": {
"description": "Contains information about the source of the models generated from Model Garden.",
"id": "GoogleCloudAiplatformV1ModelGardenSource",
"properties": {
"publicModelName": {
"description": "Required. The model garden source model resource name.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1ModelMonitoringAlertConfig": {
"description": "The alert config for model monitoring.",
"id": "GoogleCloudAiplatformV1ModelMonitoringAlertConfig",
Loading

0 comments on commit 2675c0a

Please sign in to comment.