Skip to content

Commit 357c35b

Browse files
feat(aiplatform): update the api
#### aiplatform:v1 The following keys were added: - resources.projects.resources.locations.resources.endpoints.methods.update (Total Keys: 12) - resources.projects.resources.locations.resources.reasoningEngines.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.reasoningEngines.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.reasoningEngines.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.reasoningEngines.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.reasoningEngines.methods.patch (Total Keys: 15) - resources.projects.resources.locations.resources.reasoningEngines.resources.operations.methods.cancel (Total Keys: 11) - resources.projects.resources.locations.resources.reasoningEngines.resources.operations.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.reasoningEngines.resources.operations.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.reasoningEngines.resources.operations.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.reasoningEngines.resources.operations.methods.wait (Total Keys: 14) - schemas.GoogleCloudAiplatformV1CometInput (Total Keys: 4) - schemas.GoogleCloudAiplatformV1CometInstance (Total Keys: 5) - schemas.GoogleCloudAiplatformV1CometResult (Total Keys: 5) - schemas.GoogleCloudAiplatformV1CometSpec (Total Keys: 5) - schemas.GoogleCloudAiplatformV1DeployedModel.properties.fasterDeploymentConfig.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1EvaluateInstancesRequest.properties.cometInput.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1EvaluateInstancesRequest.properties.metricxInput.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1EvaluateInstancesResponse.properties.cometResult.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1EvaluateInstancesResponse.properties.metricxResult.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1FasterDeploymentConfig (Total Keys: 3) - schemas.GoogleCloudAiplatformV1ListReasoningEnginesResponse (Total Keys: 5) - schemas.GoogleCloudAiplatformV1MetricxInput (Total Keys: 4) - schemas.GoogleCloudAiplatformV1MetricxInstance (Total Keys: 5) - schemas.GoogleCloudAiplatformV1MetricxResult (Total Keys: 5) - schemas.GoogleCloudAiplatformV1MetricxSpec (Total Keys: 5) - schemas.GoogleCloudAiplatformV1NotebookExecutionJob.properties.kernelName.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1NotebookExecutionJob.properties.workbenchRuntime.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntime (Total Keys: 2) - schemas.GoogleCloudAiplatformV1ReasoningEngine (Total Keys: 23) - schemas.GoogleCloudAiplatformV1UpdateEndpointLongRunningRequest (Total Keys: 3) - schemas.GoogleCloudAiplatformV1VertexRagStore.properties.vectorDistanceThreshold.deprecated (Total Keys: 1) #### aiplatform:v1beta1 The following keys were added: - resources.projects.resources.locations.resources.featureGroups.resources.featureMonitors.resources.operations.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.featureGroups.resources.featureMonitors.resources.operations.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.featureGroups.resources.featureMonitors.resources.operations.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.featureGroups.resources.featureMonitors.resources.operations.methods.wait (Total Keys: 14) - schemas.GoogleCloudAiplatformV1beta1CometInput (Total Keys: 4) - schemas.GoogleCloudAiplatformV1beta1CometInstance (Total Keys: 5) - schemas.GoogleCloudAiplatformV1beta1CometResult (Total Keys: 5) - schemas.GoogleCloudAiplatformV1beta1CometSpec (Total Keys: 5) - schemas.GoogleCloudAiplatformV1beta1EvaluateInstancesRequest.properties.cometInput.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1EvaluateInstancesRequest.properties.metricxInput.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1EvaluateInstancesResponse.properties.cometResult.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1EvaluateInstancesResponse.properties.metricxResult.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1Fact.properties.vectorDistance.deprecated (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1MetricxInput (Total Keys: 4) - schemas.GoogleCloudAiplatformV1beta1MetricxInstance (Total Keys: 5) - schemas.GoogleCloudAiplatformV1beta1MetricxResult (Total Keys: 5) - schemas.GoogleCloudAiplatformV1beta1MetricxSpec (Total Keys: 5) - schemas.GoogleCloudAiplatformV1beta1NotebookExecutionJob.properties.kernelName.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1NotebookExecutionJob.properties.workbenchRuntime.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntime (Total Keys: 2) - schemas.GoogleCloudAiplatformV1beta1RagContextsContext.properties.distance.deprecated (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1RagContextsContext.properties.sparseDistance.deprecated (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore.properties.vectorDistanceThreshold.deprecated (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1VertexRagStore.properties.vectorDistanceThreshold.deprecated (Total Keys: 1)
1 parent 1ed2f39 commit 357c35b

File tree

32 files changed

+2375
-142
lines changed

32 files changed

+2375
-142
lines changed

docs/dyn/aiplatform_v1.projects.locations.customJobs.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ <h3>Method Details</h3>
175175
&quot;scheduling&quot;: { # All parameters related to queuing and scheduling of custom jobs. # Scheduling options for a CustomJob.
176176
&quot;disableRetries&quot;: True or False, # Optional. Indicates if the job should retry for internal errors after the job starts running. If true, overrides `Scheduling.restart_job_on_worker_restart` to false.
177177
&quot;maxWaitDuration&quot;: &quot;A String&quot;, # Optional. This is the maximum duration that a job will wait for the requested resources to be provisioned if the scheduling strategy is set to [Strategy.DWS_FLEX_START]. If set to 0, the job will wait indefinitely. The default is 24 hours.
178-
&quot;restartJobOnWorkerRestart&quot;: True or False, # Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job.
178+
&quot;restartJobOnWorkerRestart&quot;: True or False, # Optional. Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job.
179179
&quot;strategy&quot;: &quot;A String&quot;, # Optional. This determines which type of scheduling strategy to use.
180-
&quot;timeout&quot;: &quot;A String&quot;, # The maximum job running time. The default is 7 days.
180+
&quot;timeout&quot;: &quot;A String&quot;, # Optional. The maximum job running time. The default is 7 days.
181181
},
182182
&quot;serviceAccount&quot;: &quot;A String&quot;, # Specifies the service account for workload run-as account. Users submitting jobs must have act-as permission on this run-as account. If unspecified, the [Vertex AI Custom Code Service Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) for the CustomJob&#x27;s project is used.
183183
&quot;tensorboard&quot;: &quot;A String&quot;, # Optional. The name of a Vertex AI Tensorboard resource to which this CustomJob will upload Tensorboard logs. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
@@ -300,9 +300,9 @@ <h3>Method Details</h3>
300300
&quot;scheduling&quot;: { # All parameters related to queuing and scheduling of custom jobs. # Scheduling options for a CustomJob.
301301
&quot;disableRetries&quot;: True or False, # Optional. Indicates if the job should retry for internal errors after the job starts running. If true, overrides `Scheduling.restart_job_on_worker_restart` to false.
302302
&quot;maxWaitDuration&quot;: &quot;A String&quot;, # Optional. This is the maximum duration that a job will wait for the requested resources to be provisioned if the scheduling strategy is set to [Strategy.DWS_FLEX_START]. If set to 0, the job will wait indefinitely. The default is 24 hours.
303-
&quot;restartJobOnWorkerRestart&quot;: True or False, # Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job.
303+
&quot;restartJobOnWorkerRestart&quot;: True or False, # Optional. Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job.
304304
&quot;strategy&quot;: &quot;A String&quot;, # Optional. This determines which type of scheduling strategy to use.
305-
&quot;timeout&quot;: &quot;A String&quot;, # The maximum job running time. The default is 7 days.
305+
&quot;timeout&quot;: &quot;A String&quot;, # Optional. The maximum job running time. The default is 7 days.
306306
},
307307
&quot;serviceAccount&quot;: &quot;A String&quot;, # Specifies the service account for workload run-as account. Users submitting jobs must have act-as permission on this run-as account. If unspecified, the [Vertex AI Custom Code Service Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) for the CustomJob&#x27;s project is used.
308308
&quot;tensorboard&quot;: &quot;A String&quot;, # Optional. The name of a Vertex AI Tensorboard resource to which this CustomJob will upload Tensorboard logs. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
@@ -467,9 +467,9 @@ <h3>Method Details</h3>
467467
&quot;scheduling&quot;: { # All parameters related to queuing and scheduling of custom jobs. # Scheduling options for a CustomJob.
468468
&quot;disableRetries&quot;: True or False, # Optional. Indicates if the job should retry for internal errors after the job starts running. If true, overrides `Scheduling.restart_job_on_worker_restart` to false.
469469
&quot;maxWaitDuration&quot;: &quot;A String&quot;, # Optional. This is the maximum duration that a job will wait for the requested resources to be provisioned if the scheduling strategy is set to [Strategy.DWS_FLEX_START]. If set to 0, the job will wait indefinitely. The default is 24 hours.
470-
&quot;restartJobOnWorkerRestart&quot;: True or False, # Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job.
470+
&quot;restartJobOnWorkerRestart&quot;: True or False, # Optional. Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job.
471471
&quot;strategy&quot;: &quot;A String&quot;, # Optional. This determines which type of scheduling strategy to use.
472-
&quot;timeout&quot;: &quot;A String&quot;, # The maximum job running time. The default is 7 days.
472+
&quot;timeout&quot;: &quot;A String&quot;, # Optional. The maximum job running time. The default is 7 days.
473473
},
474474
&quot;serviceAccount&quot;: &quot;A String&quot;, # Specifies the service account for workload run-as account. Users submitting jobs must have act-as permission on this run-as account. If unspecified, the [Vertex AI Custom Code Service Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) for the CustomJob&#x27;s project is used.
475475
&quot;tensorboard&quot;: &quot;A String&quot;, # Optional. The name of a Vertex AI Tensorboard resource to which this CustomJob will upload Tensorboard logs. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
@@ -605,9 +605,9 @@ <h3>Method Details</h3>
605605
&quot;scheduling&quot;: { # All parameters related to queuing and scheduling of custom jobs. # Scheduling options for a CustomJob.
606606
&quot;disableRetries&quot;: True or False, # Optional. Indicates if the job should retry for internal errors after the job starts running. If true, overrides `Scheduling.restart_job_on_worker_restart` to false.
607607
&quot;maxWaitDuration&quot;: &quot;A String&quot;, # Optional. This is the maximum duration that a job will wait for the requested resources to be provisioned if the scheduling strategy is set to [Strategy.DWS_FLEX_START]. If set to 0, the job will wait indefinitely. The default is 24 hours.
608-
&quot;restartJobOnWorkerRestart&quot;: True or False, # Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job.
608+
&quot;restartJobOnWorkerRestart&quot;: True or False, # Optional. Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job.
609609
&quot;strategy&quot;: &quot;A String&quot;, # Optional. This determines which type of scheduling strategy to use.
610-
&quot;timeout&quot;: &quot;A String&quot;, # The maximum job running time. The default is 7 days.
610+
&quot;timeout&quot;: &quot;A String&quot;, # Optional. The maximum job running time. The default is 7 days.
611611
},
612612
&quot;serviceAccount&quot;: &quot;A String&quot;, # Specifies the service account for workload run-as account. Users submitting jobs must have act-as permission on this run-as account. If unspecified, the [Vertex AI Custom Code Service Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) for the CustomJob&#x27;s project is used.
613613
&quot;tensorboard&quot;: &quot;A String&quot;, # Optional. The name of a Vertex AI Tensorboard resource to which this CustomJob will upload Tensorboard logs. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`

docs/dyn/aiplatform_v1.projects.locations.datasets.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ <h3>Method Details</h3>
258258

259259
{ # Request message for DatasetService.ExportData.
260260
&quot;exportConfig&quot;: { # Describes what part of the Dataset is to be exported, the destination of the export and how to export. # Required. The desired output location.
261-
&quot;annotationSchemaUri&quot;: &quot;A String&quot;, # The Cloud Storage URI that points to a YAML file describing the annotation schema. The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the chosen schema must be consistent with metadata of the Dataset specified by dataset_id. Only used for custom training data export use cases. Only applicable to Datasets that have DataItems and Annotations. Only Annotations that both match this schema and belong to DataItems not ignored by the split method are used in respectively training, validation or test role, depending on the role of the DataItem they are on. When used in conjunction with annotations_filter, the Annotations used for training are filtered by both annotations_filter and annotation_schema_uri.
261+
&quot;annotationSchemaUri&quot;: &quot;A String&quot;, # The Cloud Storage URI that points to a YAML file describing the annotation schema. The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the chosen schema must be consistent with metadata of the Dataset specified by ExportDataRequest.name. Only used for custom training data export use cases. Only applicable to Datasets that have DataItems and Annotations. Only Annotations that both match this schema and belong to DataItems not ignored by the split method are used in respectively training, validation or test role, depending on the role of the DataItem they are on. When used in conjunction with annotations_filter, the Annotations used for training are filtered by both annotations_filter and annotation_schema_uri.
262262
&quot;annotationsFilter&quot;: &quot;A String&quot;, # An expression for filtering what part of the Dataset is to be exported. Only Annotations that match this filter will be exported. The filter syntax is the same as in ListAnnotations.
263263
&quot;exportUse&quot;: &quot;A String&quot;, # Indicates the usage of the exported files.
264264
&quot;filterSplit&quot;: { # Assigns input data to training, validation, and test sets based on the given filters, data pieces not matched by any filter are ignored. Currently only supported for Datasets containing DataItems. If any of the filters in this message are to match nothing, then they can be set as &#x27;-&#x27; (the minus sign). Supported only for unstructured Datasets. # Split based on the provided filters for each set.
@@ -274,7 +274,7 @@ <h3>Method Details</h3>
274274
&quot;gcsDestination&quot;: { # The Google Cloud Storage location where the output is to be written to. # The Google Cloud Storage location where the output is to be written to. In the given directory a new directory will be created with name: `export-data--` where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export output will be written into that directory. Inside that directory, annotations with the same schema will be grouped into sub directories which are named with the corresponding annotations&#x27; schema title. Inside these sub directories, a schema.yaml will be created to describe the output format.
275275
&quot;outputUriPrefix&quot;: &quot;A String&quot;, # Required. Google Cloud Storage URI to output directory. If the uri doesn&#x27;t end with &#x27;/&#x27;, a &#x27;/&#x27; will be automatically appended. The directory is created if it doesn&#x27;t exist.
276276
},
277-
&quot;savedQueryId&quot;: &quot;A String&quot;, # The ID of a SavedQuery (annotation set) under the Dataset specified by dataset_id used for filtering Annotations for training. Only used for custom training data export use cases. Only applicable to Datasets that have SavedQueries. Only Annotations that are associated with this SavedQuery are used in respectively training. When used in conjunction with annotations_filter, the Annotations used for training are filtered by both saved_query_id and annotations_filter. Only one of saved_query_id and annotation_schema_uri should be specified as both of them represent the same thing: problem type.
277+
&quot;savedQueryId&quot;: &quot;A String&quot;, # The ID of a SavedQuery (annotation set) under the Dataset specified by ExportDataRequest.name used for filtering Annotations for training. Only used for custom training data export use cases. Only applicable to Datasets that have SavedQueries. Only Annotations that are associated with this SavedQuery are used in respectively training. When used in conjunction with annotations_filter, the Annotations used for training are filtered by both saved_query_id and annotations_filter. Only one of saved_query_id and annotation_schema_uri should be specified as both of them represent the same thing: problem type.
278278
},
279279
}
280280

docs/dyn/aiplatform_v1.projects.locations.deploymentResourcePools.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,9 @@ <h3>Method Details</h3>
588588
},
589589
},
590590
},
591+
&quot;fasterDeploymentConfig&quot;: { # Configuration for faster model deployment. # Configuration for faster model deployment.
592+
&quot;fastTryoutEnabled&quot;: True or False, # If true, enable fast tryout feature for this deployed model.
593+
},
591594
&quot;id&quot;: &quot;A String&quot;, # Immutable. The ID of the DeployedModel. If not provided upon deployment, Vertex AI will generate a value for this ID. This value should be 1-10 characters, and valid characters are `/[0-9]/`.
592595
&quot;model&quot;: &quot;A String&quot;, # Required. The resource name of the Model that this is the deployment of. Note that the Model may be in a different location than the DeployedModel&#x27;s Endpoint. The resource name may contain version id or version alias to specify the version. Example: `projects/{project}/locations/{location}/models/{model}@2` or `projects/{project}/locations/{location}/models/{model}@golden` if no version is specified, the default version will be deployed.
593596
&quot;modelVersionId&quot;: &quot;A String&quot;, # Output only. The version ID of the model that is deployed.

0 commit comments

Comments
 (0)