Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2706)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Jul 31, 2024
1 parent c8041b0 commit 05a4fc5
Show file tree
Hide file tree
Showing 31 changed files with 3,786 additions and 840 deletions.
114 changes: 83 additions & 31 deletions aiplatform/v1/aiplatform-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -16976,7 +16976,7 @@
}
}
},
"revision": "20240715",
"revision": "20240725",
"rootUrl": "https://aiplatform.googleapis.com/",
"schemas": {
"CloudAiLargeModelsVisionGenerateVideoResponse": {
Expand Down Expand Up @@ -17013,6 +17013,11 @@
"description": "Image encoding, encoded as \"image/png\" or \"image/jpg\".",
"type": "string"
},
"generationSeed": {
"description": "Generation seed for the sampled image. This parameter is exposed to the user only if one of the following is true: 1. The user specified per-example seeds in the request. 2. The user doesn't specify the generation seed in the request.",
"format": "int32",
"type": "integer"
},
"image": {
"description": "Raw bytes.",
"format": "byte",
Expand Down Expand Up @@ -18109,6 +18114,16 @@
"description": "Output only. Information about resources that had been consumed by this job. Provided in real time at best effort basis, as well as a final value once the job completes. Note: This field currently may be not populated for batch predictions that use AutoML Models.",
"readOnly": true
},
"satisfiesPzi": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"serviceAccount": {
"description": "The service account that the DeployedModel's container runs as. If not specified, a system generated one will be used, which has minimal permissions and the custom container, if used, may not have enough permission to access other Google Cloud resources. Users deploying the Model must have the `iam.serviceAccounts.actAs` permission on this service account.",
"type": "string"
Expand Down Expand Up @@ -18575,14 +18590,14 @@
],
"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",
"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.",
"Token generation reached a natural stopping point or a configured stop sequence.",
"Token generation reached the configured maximum output tokens.",
"Token generation stopped because the content potentially contains safety violations. NOTE: When streaming, Candidate.content is empty if content filters blocks the output.",
"Token generation stopped because the content potentially contains copyright violations.",
"All other reasons that stopped the token generation.",
"Token generation stopped because the content contains forbidden terms.",
"Token generation stopped for potentially containing prohibited content.",
"Token generation stopped because the content potentially contains Sensitive Personally Identifiable Information (SPII).",
"The function call generated by the model is invalid."
],
"readOnly": true,
Expand All @@ -18606,12 +18621,6 @@
},
"readOnly": true,
"type": "array"
},
"score": {
"description": "Output only. Confidence score of the candidate.",
"format": "double",
"readOnly": true,
"type": "number"
}
},
"type": "object"
Expand Down Expand Up @@ -19624,6 +19633,16 @@
"description": "Required. The data that the DataItem represents (for example, an image or a text snippet). The schema of the payload is stored in the parent Dataset's metadata schema's dataItemSchemaUri field.",
"type": "any"
},
"satisfiesPzi": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"updateTime": {
"description": "Output only. Timestamp when this DataItem was last updated.",
"format": "google-datetime",
Expand Down Expand Up @@ -19846,6 +19865,16 @@
"readOnly": true,
"type": "string"
},
"satisfiesPzi": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"savedQueries": {
"description": "All SavedQueries belong to the Dataset will be returned in List/Get Dataset response. The annotation_specs field will not be populated except for UI cases which will only use annotation_spec_count. In CreateDataset request, a SavedQuery is created together if this field is set, up to one SavedQuery can be set in CreateDatasetRequest. The SavedQuery should not contain any AnnotationSpec.",
"items": {
Expand Down Expand Up @@ -19900,6 +19929,16 @@
"readOnly": true,
"type": "string"
},
"satisfiesPzi": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"updateTime": {
"description": "Output only. Timestamp when this DatasetVersion was last updated.",
"format": "google-datetime",
Expand Down Expand Up @@ -20370,6 +20409,16 @@
"description": "Immutable. The resource name of the DeploymentResourcePool. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`",
"type": "string"
},
"satisfiesPzi": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"serviceAccount": {
"description": "The service account that the DeploymentResourcePool's container(s) run as. Specify the email address of the service account. If this service account is not specified, the container(s) run as a service account that doesn't have access to the resource project. Users deploying the Models to this DeploymentResourcePool must have the `iam.serviceAccounts.actAs` permission on this service account.",
"type": "string"
Expand Down Expand Up @@ -20574,6 +20623,16 @@
"$ref": "GoogleCloudAiplatformV1PrivateServiceConnectConfig",
"description": "Optional. Configuration for private service connect. network and private_service_connect_config are mutually exclusive."
},
"satisfiesPzi": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"trafficSplit": {
"additionalProperties": {
"format": "int32",
Expand Down Expand Up @@ -23614,6 +23673,11 @@
"$ref": "GoogleCloudAiplatformV1Schema",
"description": "Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response."
},
"seed": {
"description": "Optional. Seed.",
"format": "int32",
"type": "integer"
},
"stopSequences": {
"description": "Optional. Stop sequences.",
"items": {
Expand Down Expand Up @@ -28673,10 +28737,6 @@
"description": "Optional. The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to peered with Vertex AI to host the persistent resources. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. To specify this field, you must have already [configured VPC Network Peering for Vertex AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field is left unspecified, the resources aren't peered with any network.",
"type": "string"
},
"pscInterfaceConfig": {
"$ref": "GoogleCloudAiplatformV1PscInterfaceConfig",
"description": "Optional. Configuration for PSC-I for PersistentResource."
},
"reservedIpRanges": {
"description": "Optional. A list of names for the reserved IP ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided IP ranges. Otherwise, the persistent resource is deployed to any IP ranges under the provided VPC network. Example: ['vertex-ai-ip-range'].",
"items": {
Expand Down Expand Up @@ -29459,17 +29519,6 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1PscInterfaceConfig": {
"description": "Configuration for PSC-I.",
"id": "GoogleCloudAiplatformV1PscInterfaceConfig",
"properties": {
"networkAttachment": {
"description": "Optional. The full name of the Compute Engine [network attachment](https://cloud.google.com/vpc/docs/about-network-attachments) to attach to the resource. For example, `projects/12345/regions/us-central1/networkAttachments/myNA`. is of the form `projects/{project}/regions/{region}/networkAttachments/{networkAttachment}`. Where {project} is a project number, as in `12345`, and {networkAttachment} is a network attachment name. To specify this field, you must have already [created a network attachment] (https://cloud.google.com/vpc/docs/create-manage-network-attachments#create-network-attachments). This field is only used for resources using PSC-I.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1PublisherModel": {
"description": "A Model Garden Publisher Model.",
"id": "GoogleCloudAiplatformV1PublisherModel",
Expand Down Expand Up @@ -29679,6 +29728,10 @@
},
"description": "Optional. Labels for the deployment. For managing deployment config like verifying, source of deployment config, etc.",
"type": "object"
},
"sampleRequest": {
"description": "Optional. Sample request for deployed endpoint.",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -37875,7 +37928,6 @@
"type": "object"
},
"GoogleCloudAiplatformV1TrialContext": {
"description": "Next ID: 3",
"id": "GoogleCloudAiplatformV1TrialContext",
"properties": {
"description": {
Expand Down
Loading

0 comments on commit 05a4fc5

Please sign in to comment.