Skip to content

Commit 2ce1c56

Browse files
Google APIscopybara-github
authored andcommitted
feat!: rename Similarity to Examples, and similarity to examples in ExplanationParameters in aiplatform v1beta1 explanation.proto
feat: add reserved_ip_ranges to CustomJobSpec in aiplatform v1beta1 custom_job.proto feat: add nfs_mounts to WorkPoolSpec in aiplatform v1beta1 custom_job.proto feat: add PredictRequestResponseLoggingConfig to aiplatform v1beta1 endpoint.proto feat: add model_version_id to DeployedModel in aiplatform v1beta1 endpoint.proto feat: add JOB_STATE_UPDATING to JobState in aiplatform v1beta1 job_state.proto feat: add MfsMount in aiplatform v1beta1 machine_resources.proto feat: add version_id to Model in aiplatform v1beta1 model.proto feat: add LatestMonitoringPipelineMetadata to ModelDeploymentMonitoringJob in aiplatform v1beta1 model_deployment_monitoring_job.proto feat: add ListModelVersion, DeleteModelVersion, and MergeVersionAliases rpcs to aiplatform v1beta1 model_service.proto feat: add model_version_id to UploadModelRequest and UploadModelResponse in aiplatform v1beta1 model_service.proto feat: add model_version_id to PredictResponse in aiplatform v1beta1 prediction_service.proto feat: add ConvexAutomatedStoppingSpec to StudySpec in aiplatform v1beta1 study.proto feat: add model_id and parent_model to TrainingPipeline in aiplatform v1beta1 training_pipeline.proto BREAKING CHANGE: (php) remove several `REQUIRED` field annotations in featurestore.proto, metadata.proto, and pipeline_job.proto PiperOrigin-RevId: 441615103
1 parent a877d3d commit 2ce1c56

64 files changed

Lines changed: 410 additions & 201 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

google/cloud/aiplatform/v1beta1/aiplatform_v1beta1.yaml

Lines changed: 12 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -92,29 +92,6 @@ documentation:
9292
- selector: google.cloud.location.Locations.ListLocations
9393
description: Lists information about the supported locations for this service.
9494

95-
- selector: google.iam.v1.IAMPolicy.GetIamPolicy
96-
description: |-
97-
Gets the access control policy for a resource. Returns an empty policy
98-
if the resource exists and does not have a policy set.
99-
100-
- selector: google.iam.v1.IAMPolicy.SetIamPolicy
101-
description: |-
102-
Sets the access control policy on the specified resource. Replaces
103-
any existing policy.
104-
105-
Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
106-
errors.
107-
108-
- selector: google.iam.v1.IAMPolicy.TestIamPermissions
109-
description: |-
110-
Returns permissions that a caller has on the specified resource. If the
111-
resource does not exist, this will return an empty set of
112-
permissions, not a `NOT_FOUND` error.
113-
114-
Note: This operation is designed to be used for building
115-
permission-aware UIs and command-line tools, not for authorization
116-
checking. This operation may "fail open" without warning.
117-
11895
backend:
11996
rules:
12097
- selector: 'google.cloud.aiplatform.v1beta1.DatasetService.*'
@@ -128,9 +105,9 @@ backend:
128105
- selector: 'google.cloud.aiplatform.v1beta1.FeaturestoreService.*'
129106
deadline: 60.0
130107
- selector: 'google.cloud.aiplatform.v1beta1.IndexEndpointService.*'
131-
deadline: 30.0
108+
deadline: 60.0
132109
- selector: 'google.cloud.aiplatform.v1beta1.IndexService.*'
133-
deadline: 30.0
110+
deadline: 60.0
134111
- selector: 'google.cloud.aiplatform.v1beta1.JobService.*'
135112
deadline: 60.0
136113
- selector: 'google.cloud.aiplatform.v1beta1.MetadataService.*'
@@ -155,8 +132,6 @@ backend:
155132
deadline: 30.0
156133
- selector: google.cloud.location.Locations.ListLocations
157134
deadline: 30.0
158-
- selector: 'google.iam.v1.IAMPolicy.*'
159-
deadline: 60.0
160135
- selector: 'google.longrunning.Operations.*'
161136
deadline: 60.0
162137

@@ -170,22 +145,6 @@ http:
170145
get: '/ui/{name=projects/*}/locations'
171146
additional_bindings:
172147
- get: '/v1beta1/{name=projects/*}/locations'
173-
- selector: google.iam.v1.IAMPolicy.GetIamPolicy
174-
get: '/v1beta1/{resource=projects/*/locations/*/**}:getIamPolicy'
175-
additional_bindings:
176-
- get: '/ui/{resource=projects/*/locations/*/**}:getIamPolicy'
177-
- selector: google.iam.v1.IAMPolicy.SetIamPolicy
178-
post: '/v1beta1/{resource=projects/*/locations/*/**}:setIamPolicy'
179-
body: '*'
180-
additional_bindings:
181-
- post: '/ui/{resource=projects/*/locations/*/**}:setIamPolicy'
182-
body: '*'
183-
- selector: google.iam.v1.IAMPolicy.TestIamPermissions
184-
post: '/v1beta1/{resource=projects/*/locations/*/**}:testIamPermissions'
185-
body: '*'
186-
additional_bindings:
187-
- post: '/ui/{resource=projects/*/locations/*/**}:testIamPermissions'
188-
body: '*'
189148
- selector: google.longrunning.Operations.CancelOperation
190149
post: '/ui/{name=projects/*/locations/*/operations/*}:cancel'
191150
additional_bindings:
@@ -194,6 +153,7 @@ http:
194153
- post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel'
195154
- post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel'
196155
- post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel'
156+
- post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel'
197157
- post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel'
198158
- post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel'
199159
- post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel'
@@ -223,6 +183,7 @@ http:
223183
- post: '/v1beta1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel'
224184
- post: '/v1beta1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel'
225185
- post: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel'
186+
- post: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel'
226187
- post: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel'
227188
- post: '/v1beta1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel'
228189
- post: '/v1beta1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel'
@@ -254,6 +215,7 @@ http:
254215
- delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}'
255216
- delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}'
256217
- delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}'
218+
- delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}'
257219
- delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}'
258220
- delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}'
259221
- delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}'
@@ -283,6 +245,7 @@ http:
283245
- delete: '/v1beta1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}'
284246
- delete: '/v1beta1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}'
285247
- delete: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}'
248+
- delete: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}'
286249
- delete: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*/operations/*}'
287250
- delete: '/v1beta1/{name=projects/*/locations/*/endpoints/*/operations/*}'
288251
- delete: '/v1beta1/{name=projects/*/locations/*/featurestores/*/operations/*}'
@@ -314,6 +277,7 @@ http:
314277
- get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}'
315278
- get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}'
316279
- get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}'
280+
- get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}'
317281
- get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}'
318282
- get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}'
319283
- get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}'
@@ -344,6 +308,7 @@ http:
344308
- get: '/v1beta1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}'
345309
- get: '/v1beta1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}'
346310
- get: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}'
311+
- get: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}'
347312
- get: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*/operations/*}'
348313
- get: '/v1beta1/{name=projects/*/locations/*/endpoints/*/operations/*}'
349314
- get: '/v1beta1/{name=projects/*/locations/*/featurestores/*/operations/*}'
@@ -375,6 +340,7 @@ http:
375340
- get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations'
376341
- get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations'
377342
- get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations'
343+
- get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations'
378344
- get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations'
379345
- get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations'
380346
- get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations'
@@ -404,6 +370,7 @@ http:
404370
- get: '/v1beta1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations'
405371
- get: '/v1beta1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations'
406372
- get: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations'
373+
- get: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations'
407374
- get: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*}/operations'
408375
- get: '/v1beta1/{name=projects/*/locations/*/endpoints/*}/operations'
409376
- get: '/v1beta1/{name=projects/*/locations/*/featurestores/*}/operations'
@@ -435,6 +402,7 @@ http:
435402
- post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait'
436403
- post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait'
437404
- post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait'
405+
- post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait'
438406
- post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait'
439407
- post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait'
440408
- post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait'
@@ -464,6 +432,7 @@ http:
464432
- post: '/v1beta1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait'
465433
- post: '/v1beta1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait'
466434
- post: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait'
435+
- post: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait'
467436
- post: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait'
468437
- post: '/v1beta1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait'
469438
- post: '/v1beta1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait'
@@ -566,10 +535,6 @@ authentication:
566535
oauth:
567536
canonical_scopes: |-
568537
https://www.googleapis.com/auth/cloud-platform
569-
- selector: 'google.iam.v1.IAMPolicy.*'
570-
oauth:
571-
canonical_scopes: |-
572-
https://www.googleapis.com/auth/cloud-platform
573538
- selector: 'google.longrunning.Operations.*'
574539
oauth:
575540
canonical_scopes: |-

google/cloud/aiplatform/v1beta1/annotation.proto

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ syntax = "proto3";
1616

1717
package google.cloud.aiplatform.v1beta1;
1818

19-
import "google/api/annotations.proto";
2019
import "google/api/field_behavior.proto";
2120
import "google/api/resource.proto";
22-
2321
import "google/cloud/aiplatform/v1beta1/user_action_reference.proto";
2422
import "google/protobuf/struct.proto";
2523
import "google/protobuf/timestamp.proto";

google/cloud/aiplatform/v1beta1/annotation_spec.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ syntax = "proto3";
1616

1717
package google.cloud.aiplatform.v1beta1;
1818

19-
import "google/api/annotations.proto";
2019
import "google/api/field_behavior.proto";
2120
import "google/api/resource.proto";
2221
import "google/protobuf/timestamp.proto";

google/cloud/aiplatform/v1beta1/artifact.proto

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ syntax = "proto3";
1616

1717
package google.cloud.aiplatform.v1beta1;
1818

19-
import "google/api/annotations.proto";
2019
import "google/api/field_behavior.proto";
2120
import "google/api/resource.proto";
22-
import "google/cloud/aiplatform/v1beta1/value.proto";
2321
import "google/protobuf/struct.proto";
2422
import "google/protobuf/timestamp.proto";
2523

google/cloud/aiplatform/v1beta1/batch_prediction_job.proto

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ syntax = "proto3";
1616

1717
package google.cloud.aiplatform.v1beta1;
1818

19-
import "google/api/annotations.proto";
2019
import "google/api/field_behavior.proto";
2120
import "google/api/resource.proto";
2221
import "google/cloud/aiplatform/v1beta1/completion_stats.proto";
@@ -26,7 +25,6 @@ import "google/cloud/aiplatform/v1beta1/io.proto";
2625
import "google/cloud/aiplatform/v1beta1/job_state.proto";
2726
import "google/cloud/aiplatform/v1beta1/machine_resources.proto";
2827
import "google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto";
29-
import "google/cloud/aiplatform/v1beta1/model_monitoring.proto";
3028
import "google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto";
3129
import "google/protobuf/struct.proto";
3230
import "google/protobuf/timestamp.proto";
@@ -165,6 +163,9 @@ message BatchPredictionJob {
165163
type: "aiplatform.googleapis.com/Model"
166164
}];
167165

166+
// Output only. The version ID of the Model that produces the predictions via this job.
167+
string model_version_id = 30 [(google.api.field_behavior) = OUTPUT_ONLY];
168+
168169
// Contains model information necessary to perform batch prediction without
169170
// requiring uploading to model registry.
170171
// Exactly one of model and unmanaged_container_model must be set.

google/cloud/aiplatform/v1beta1/completion_stats.proto

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ syntax = "proto3";
1616

1717
package google.cloud.aiplatform.v1beta1;
1818

19-
import "google/api/annotations.proto";
2019
import "google/api/field_behavior.proto";
21-
import "google/rpc/status.proto";
2220

2321
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
2422
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";

google/cloud/aiplatform/v1beta1/context.proto

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ syntax = "proto3";
1616

1717
package google.cloud.aiplatform.v1beta1;
1818

19-
import "google/api/annotations.proto";
2019
import "google/api/field_behavior.proto";
2120
import "google/api/resource.proto";
22-
import "google/cloud/aiplatform/v1beta1/value.proto";
2321
import "google/protobuf/struct.proto";
2422
import "google/protobuf/timestamp.proto";
2523

google/cloud/aiplatform/v1beta1/custom_job.proto

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ syntax = "proto3";
1616

1717
package google.cloud.aiplatform.v1beta1;
1818

19-
import "google/api/annotations.proto";
2019
import "google/api/field_behavior.proto";
2120
import "google/api/resource.proto";
2221
import "google/cloud/aiplatform/v1beta1/encryption_spec.proto";
23-
import "google/cloud/aiplatform/v1beta1/env_var.proto";
2422
import "google/cloud/aiplatform/v1beta1/io.proto";
2523
import "google/cloud/aiplatform/v1beta1/job_state.proto";
2624
import "google/cloud/aiplatform/v1beta1/machine_resources.proto";
@@ -141,6 +139,16 @@ message CustomJobSpec {
141139
type: "compute.googleapis.com/Network"
142140
}];
143141

142+
// Optional. A list of names for the reserved ip ranges under the VPC network
143+
// that can be used for this job.
144+
//
145+
// If set, we will deploy the job within the provided ip ranges. Otherwise,
146+
// the job will be deployed to any ip ranges under the provided VPC
147+
// network.
148+
//
149+
// Example: ['vertex-ai-ip-range'].
150+
repeated string reserved_ip_ranges = 13 [(google.api.field_behavior) = OPTIONAL];
151+
144152
// The Cloud Storage location to store the output of this CustomJob or
145153
// HyperparameterTuningJob. For HyperparameterTuningJob,
146154
// the baseOutputDirectory of
@@ -205,6 +213,9 @@ message WorkerPoolSpec {
205213
// Optional. The number of worker replicas to use for this worker pool.
206214
int64 replica_count = 2 [(google.api.field_behavior) = OPTIONAL];
207215

216+
// Optional. List of NFS mount spec.
217+
repeated NfsMount nfs_mounts = 4 [(google.api.field_behavior) = OPTIONAL];
218+
208219
// Disk spec.
209220
DiskSpec disk_spec = 5;
210221
}

google/cloud/aiplatform/v1beta1/data_item.proto

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ syntax = "proto3";
1616

1717
package google.cloud.aiplatform.v1beta1;
1818

19-
import "google/api/annotations.proto";
2019
import "google/api/field_behavior.proto";
2120
import "google/api/resource.proto";
22-
2321
import "google/protobuf/struct.proto";
2422
import "google/protobuf/timestamp.proto";
2523

google/cloud/aiplatform/v1beta1/data_labeling_job.proto

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,10 @@ syntax = "proto3";
1616

1717
package google.cloud.aiplatform.v1beta1;
1818

19-
import "google/api/annotations.proto";
2019
import "google/api/field_behavior.proto";
2120
import "google/api/resource.proto";
22-
import "google/cloud/aiplatform/v1beta1/accelerator_type.proto";
2321
import "google/cloud/aiplatform/v1beta1/encryption_spec.proto";
2422
import "google/cloud/aiplatform/v1beta1/job_state.proto";
25-
import "google/cloud/aiplatform/v1beta1/specialist_pool.proto";
2623
import "google/protobuf/struct.proto";
2724
import "google/protobuf/timestamp.proto";
2825
import "google/rpc/status.proto";

0 commit comments

Comments
 (0)