Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2724)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Aug 7, 2024
1 parent 0d15913 commit 918e3d2
Show file tree
Hide file tree
Showing 89 changed files with 4,507 additions and 669 deletions.
158 changes: 149 additions & 9 deletions aiplatform/v1/aiplatform-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -16976,7 +16976,7 @@
}
}
},
"revision": "20240725",
"revision": "20240727",
"rootUrl": "https://aiplatform.googleapis.com/",
"schemas": {
"CloudAiLargeModelsVisionGenerateVideoResponse": {
Expand Down Expand Up @@ -19475,6 +19475,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"
},
"startTime": {
"description": "Output only. Time when the CustomJob for the first time entered the `JOB_STATE_RUNNING` state.",
"format": "google-datetime",
Expand Down Expand Up @@ -19972,6 +19982,10 @@
"description": "Required. Immutable. The minimum number of machine replicas this DeployedModel will be always deployed on. This value must be greater than or equal to 1. If traffic against the DeployedModel increases, it may dynamically be deployed onto more replicas, and as traffic decreases, some of these extra replicas may be freed.",
"format": "int32",
"type": "integer"
},
"spot": {
"description": "Optional. If true, schedule the deployment workload on [spot VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms).",
"type": "boolean"
}
},
"type": "object"
Expand Down Expand Up @@ -23673,10 +23687,9 @@
"$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"
"routingConfig": {
"$ref": "GoogleCloudAiplatformV1GenerationConfigRoutingConfig",
"description": "Optional. Routing configuration."
},
"stopSequences": {
"description": "Optional. Stop sequences.",
Expand All @@ -23703,6 +23716,55 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1GenerationConfigRoutingConfig": {
"description": "Routing config.",
"id": "GoogleCloudAiplatformV1GenerationConfigRoutingConfig",
"properties": {
"autoMode": {
"$ref": "GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode",
"description": "Automated routing."
},
"manualMode": {
"$ref": "GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode",
"description": "Manual routing."
}
},
"type": "object"
},
"GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode": {
"description": "When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference.",
"id": "GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode",
"properties": {
"modelRoutingPreference": {
"description": "The model routing preference.",
"enum": [
"UNKNOWN",
"PRIORITIZE_QUALITY",
"BALANCED",
"PRIORITIZE_COST"
],
"enumDescriptions": [
"Unspecified model routing preference.",
"Prefer higher quality over low cost.",
"Balanced model routing preference.",
"Prefer lower cost over higher quality."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode": {
"description": "When manual routing is set, the specified model will be used directly.",
"id": "GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode",
"properties": {
"modelName": {
"description": "The model name to use. Only the public LLM models are accepted. e.g. gemini-1.5-pro-001.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1GenericOperationMetadata": {
"description": "Generic Metadata shared by all operations.",
"id": "GoogleCloudAiplatformV1GenericOperationMetadata",
Expand Down Expand Up @@ -23973,6 +24035,16 @@
"format": "int32",
"type": "integer"
},
"satisfiesPzi": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"startTime": {
"description": "Output only. Time when the HyperparameterTuningJob for the first time entered the `JOB_STATE_RUNNING` state.",
"format": "google-datetime",
Expand Down Expand Up @@ -25666,7 +25738,7 @@
],
"enumDescriptions": [
"Unspecified accelerator type, which means no accelerator.",
"Nvidia Tesla K80 GPU.",
"Deprecated: Nvidia Tesla K80 GPU has reached end of support, see https://cloud.google.com/compute/docs/eol/k80-eol.",
"Nvidia Tesla P100 GPU.",
"Nvidia Tesla V100 GPU.",
"Nvidia Tesla P4 GPU.",
Expand All @@ -25686,6 +25758,10 @@
"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"
},
"reservationAffinity": {
"$ref": "GoogleCloudAiplatformV1ReservationAffinity",
"description": "Optional. Immutable. Configuration controlling how this resource pool consumes reservation."
},
"tpuTopology": {
"description": "Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: \"2x2x1\").",
"type": "string"
Expand Down Expand Up @@ -27361,6 +27437,16 @@
"$ref": "GoogleCloudAiplatformV1NasJobSpec",
"description": "Required. The specification of a NasJob."
},
"satisfiesPzi": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"startTime": {
"description": "Output only. Time when the NasJob for the first time entered the `JOB_STATE_RUNNING` state.",
"format": "google-datetime",
Expand Down Expand Up @@ -28040,6 +28126,10 @@
"description": "The display name of the NotebookExecutionJob. The name can be up to 128 characters long and can consist of any UTF-8 characters.",
"type": "string"
},
"encryptionSpec": {
"$ref": "GoogleCloudAiplatformV1EncryptionSpec",
"description": "Customer-managed encryption key spec for the notebook execution job. This field is auto-populated if the NotebookRuntimeTemplate has an encryption spec."
},
"executionTimeout": {
"description": "Max running time of the execution job in seconds (default 86400s / 24 hrs).",
"format": "google-duration",
Expand Down Expand Up @@ -29461,6 +29551,11 @@
"type": "string"
},
"type": "array"
},
"serviceAttachment": {
"description": "Output only. The name of the generated service attachment resource. This is only populated if the endpoint is deployed with PrivateServiceConnect.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -30714,6 +30809,40 @@
"properties": {},
"type": "object"
},
"GoogleCloudAiplatformV1ReservationAffinity": {
"description": "A ReservationAffinity can be used to configure a Vertex AI resource (e.g., a DeployedModel) to draw its Compute Engine resources from a Shared Reservation, or exclusively from on-demand capacity.",
"id": "GoogleCloudAiplatformV1ReservationAffinity",
"properties": {
"key": {
"description": "Optional. Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, use `compute.googleapis.com/reservation-name` as the key and specify the name of your reservation as its value.",
"type": "string"
},
"reservationAffinityType": {
"description": "Required. Specifies the reservation affinity type.",
"enum": [
"TYPE_UNSPECIFIED",
"NO_RESERVATION",
"ANY_RESERVATION",
"SPECIFIC_RESERVATION"
],
"enumDescriptions": [
"Default value. This should not be used.",
"Do not consume from any reserved capacity, only use on-demand.",
"Consume any reservation available, falling back to on-demand.",
"Consume from a specific reservation. When chosen, the reservation must be identified via the `key` and `values` fields."
],
"type": "string"
},
"values": {
"description": "Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservation.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1ResourcePool": {
"description": "Represents the spec of a group of resources of the same type, for example machine type, disk, and accelerators, in a PersistentResource.",
"id": "GoogleCloudAiplatformV1ResourcePool",
Expand Down Expand Up @@ -31407,12 +31536,23 @@
"enum": [
"STRATEGY_UNSPECIFIED",
"ON_DEMAND",
"LOW_COST"
"LOW_COST",
"STANDARD",
"SPOT"
],
"enumDeprecated": [
false,
true,
true,
false,
false
],
"enumDescriptions": [
"Strategy will default to ON_DEMAND.",
"Strategy will default to STANDARD.",
"Regular on-demand provisioning strategy.",
"Low cost by making potential use of spot resources."
"Low cost by making potential use of spot resources.",
"Standard provisioning strategy uses regular on-demand resources.",
"Spot provisioning strategy uses spot resources."
],
"type": "string"
},
Expand Down
Loading

0 comments on commit 918e3d2

Please sign in to comment.