Skip to content

Commit e941b6a

Browse files
Google APIscopybara-github
authored andcommitted
feat: add public_endpoint_enabled and publid_endpoint_domain_name to IndexEndpoint
feat: add ModelSourceType.MODEL_GARDEN enum to ModelSourceInfo feat: add copy to ModelSourceInfo PiperOrigin-RevId: 520696120
1 parent a8aece2 commit e941b6a

8 files changed

Lines changed: 95 additions & 10 deletions

google/cloud/aiplatform/v1beta1/accelerator_type.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
2525
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
2626

2727
// Represents a hardware accelerator type.
28-
// NEXT ID: 11.
2928
enum AcceleratorType {
3029
// Unspecified accelerator type, which means no accelerator.
3130
ACCELERATOR_TYPE_UNSPECIFIED = 0;

google/cloud/aiplatform/v1beta1/aiplatform_grpc_service_config.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,51 @@
649649
}
650650
],
651651
"timeout": "5s"
652+
},
653+
{
654+
"name": [
655+
{
656+
"service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService",
657+
"method": "CreateFeatureOnlineStore"
658+
},
659+
{
660+
"service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService",
661+
"method": "GetFeatureOnlineStore"
662+
},
663+
{
664+
"service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService",
665+
"method": "ListFeatureOnlineStores"
666+
},
667+
{
668+
"service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService",
669+
"method": "UpdateFeatureOnlineStore"
670+
},
671+
{
672+
"service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService",
673+
"method": "DeleteFeatureOnlineStore"
674+
},
675+
{
676+
"service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService",
677+
"method": "CreateFeatureView"
678+
},
679+
{
680+
"service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService",
681+
"method": "GetFeatureView"
682+
},
683+
{
684+
"service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService",
685+
"method": "ListFeatureViews"
686+
},
687+
{
688+
"service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService",
689+
"method": "UpdateFeatureView"
690+
},
691+
{
692+
"service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService",
693+
"method": "DeleteFeatureView"
694+
}
695+
],
696+
"timeout": "5s"
652697
}
653698
]
654699
}

google/cloud/aiplatform/v1beta1/aiplatform_v1beta1.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,25 +200,33 @@ http:
200200
body: '*'
201201
additional_bindings:
202202
- post: '/v1beta1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy'
203+
- post: '/v1beta1/{resource=projects/*/locations/*/models/*}:getIamPolicy'
203204
- post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy'
204205
- post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy'
206+
- post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy'
205207
- selector: google.iam.v1.IAMPolicy.SetIamPolicy
206208
post: '/v1beta1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy'
207209
body: '*'
208210
additional_bindings:
209211
- post: '/v1beta1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy'
210212
body: '*'
213+
- post: '/v1beta1/{resource=projects/*/locations/*/models/*}:setIamPolicy'
214+
body: '*'
211215
- post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy'
212216
body: '*'
213217
- post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy'
214218
body: '*'
219+
- post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy'
220+
body: '*'
215221
- selector: google.iam.v1.IAMPolicy.TestIamPermissions
216222
post: '/v1beta1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions'
217223
body: '*'
218224
additional_bindings:
219225
- post: '/v1beta1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions'
226+
- post: '/v1beta1/{resource=projects/*/locations/*/models/*}:testIamPermissions'
220227
- post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions'
221228
- post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions'
229+
- post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions'
222230
- selector: google.longrunning.Operations.CancelOperation
223231
post: '/ui/{name=projects/*/locations/*/operations/*}:cancel'
224232
additional_bindings:
@@ -239,6 +247,7 @@ http:
239247
- post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel'
240248
- post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel'
241249
- post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel'
250+
- post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel'
242251
- post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel'
243252
- post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel'
244253
- post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel'
@@ -270,6 +279,7 @@ http:
270279
- post: '/v1beta1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel'
271280
- post: '/v1beta1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel'
272281
- post: '/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel'
282+
- post: '/v1beta1/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel'
273283
- post: '/v1beta1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel'
274284
- post: '/v1beta1/{name=projects/*/locations/*/models/*/operations/*}:cancel'
275285
- post: '/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel'
@@ -304,6 +314,7 @@ http:
304314
- delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'
305315
- delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}'
306316
- delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}'
317+
- delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}'
307318
- delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}'
308319
- delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}'
309320
- delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}'
@@ -335,6 +346,7 @@ http:
335346
- delete: '/v1beta1/{name=projects/*/locations/*/indexes/*/operations/*}'
336347
- delete: '/v1beta1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}'
337348
- delete: '/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}'
349+
- delete: '/v1beta1/{name=projects/*/locations/*/modelMonitors/*/operations/*}'
338350
- delete: '/v1beta1/{name=projects/*/locations/*/migratableResources/*/operations/*}'
339351
- delete: '/v1beta1/{name=projects/*/locations/*/models/*/operations/*}'
340352
- delete: '/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}'
@@ -370,6 +382,7 @@ http:
370382
- get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}'
371383
- get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}'
372384
- get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}'
385+
- get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}'
373386
- get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}'
374387
- get: '/ui/{name=projects/*/locations/*/models/*/operations/*}'
375388
- get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}'
@@ -401,6 +414,7 @@ http:
401414
- get: '/v1beta1/{name=projects/*/locations/*/indexes/*/operations/*}'
402415
- get: '/v1beta1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}'
403416
- get: '/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}'
417+
- get: '/v1beta1/{name=projects/*/locations/*/modelMonitors/*/operations/*}'
404418
- get: '/v1beta1/{name=projects/*/locations/*/migratableResources/*/operations/*}'
405419
- get: '/v1beta1/{name=projects/*/locations/*/models/*/operations/*}'
406420
- get: '/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}'
@@ -435,6 +449,7 @@ http:
435449
- get: '/ui/{name=projects/*/locations/*/indexes/*}/operations'
436450
- get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations'
437451
- get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations'
452+
- get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations'
438453
- get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations'
439454
- get: '/ui/{name=projects/*/locations/*/models/*}/operations'
440455
- get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations'
@@ -466,6 +481,7 @@ http:
466481
- get: '/v1beta1/{name=projects/*/locations/*/indexes/*}/operations'
467482
- get: '/v1beta1/{name=projects/*/locations/*/indexEndpoints/*}/operations'
468483
- get: '/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations'
484+
- get: '/v1beta1/{name=projects/*/locations/*/modelMonitors/*}/operations'
469485
- get: '/v1beta1/{name=projects/*/locations/*/migratableResources/*}/operations'
470486
- get: '/v1beta1/{name=projects/*/locations/*/models/*}/operations'
471487
- get: '/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*}/operations'
@@ -500,6 +516,7 @@ http:
500516
- post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait'
501517
- post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait'
502518
- post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait'
519+
- post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait'
503520
- post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait'
504521
- post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait'
505522
- post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait'
@@ -531,6 +548,7 @@ http:
531548
- post: '/v1beta1/{name=projects/*/locations/*/indexes/*/operations/*}:wait'
532549
- post: '/v1beta1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait'
533550
- post: '/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait'
551+
- post: '/v1beta1/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait'
534552
- post: '/v1beta1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait'
535553
- post: '/v1beta1/{name=projects/*/locations/*/models/*/operations/*}:wait'
536554
- post: '/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait'

google/cloud/aiplatform/v1beta1/endpoint.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ message DeployedModel {
148148
// even if the DeployedModel receives no traffic.
149149
// Not all Models support all resources types. See
150150
// [Model.supported_deployment_resources_types][google.cloud.aiplatform.v1beta1.Model.supported_deployment_resources_types].
151+
// Required except for Large Model Deploy use cases.
151152
oneof prediction_resources {
152153
// A description of resources that are dedicated to the DeployedModel, and
153154
// that need a higher degree of manual configuration.

google/cloud/aiplatform/v1beta1/endpoint_service.proto

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,16 @@ message CreateEndpointRequest {
143143
// component of the endpoint resource name.
144144
// If not provided, Vertex AI will generate a value for this ID.
145145
//
146-
// This value should be 1-10 characters, and valid characters are /[0-9]/.
147-
// When using HTTP/JSON, this field is populated based on a query string
148-
// argument, such as `?endpoint_id=12345`. This is the fallback for fields
149-
// that are not included in either the URI or the body.
146+
// If the first character is a letter, this value may be up to 63 characters,
147+
// and valid characters are `[a-z0-9-]`. The last character must be a letter
148+
// or number.
149+
//
150+
// If the first character is a number, this value may be up to 9 characters,
151+
// and valid characters are `[0-9]` with no leading zeros.
152+
//
153+
// When using HTTP/JSON, this field is populated
154+
// based on a query string argument, such as `?endpoint_id=12345`. This is the
155+
// fallback for fields that are not included in either the URI or the body.
150156
string endpoint_id = 4 [(google.api.field_behavior) = IMMUTABLE];
151157
}
152158

google/cloud/aiplatform/v1beta1/featurestore_service.proto

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -665,10 +665,7 @@ message BatchReadFeatureValuesRequest {
665665
repeated PassThroughField pass_through_fields = 8;
666666

667667
// Required. Specifies EntityType grouping Features to read values of and
668-
// settings. Each EntityType referenced in
669-
// [BatchReadFeatureValuesRequest.entity_type_specs] must have a column
670-
// specifying entity IDs in the EntityType in
671-
// [BatchReadFeatureValuesRequest.request][] .
668+
// settings.
672669
repeated EntityTypeSpec entity_type_specs = 7
673670
[(google.api.field_behavior) = REQUIRED];
674671

google/cloud/aiplatform/v1beta1/index_endpoint.proto

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,17 @@ message IndexEndpoint {
111111
// are mutually exclusive.
112112
PrivateServiceConnectConfig private_service_connect_config = 12
113113
[(google.api.field_behavior) = OPTIONAL];
114+
115+
// Optional. If true, the deployed index will be accessible through public
116+
// endpoint.
117+
bool public_endpoint_enabled = 13 [(google.api.field_behavior) = OPTIONAL];
118+
119+
// Output only. If
120+
// [public_endpoint_enabled][google.cloud.aiplatform.v1beta1.IndexEndpoint.public_endpoint_enabled]
121+
// is true, this field will be populated with the domain name to use for this
122+
// index endpoint.
123+
string public_endpoint_domain_name = 14
124+
[(google.api.field_behavior) = OUTPUT_ONLY];
114125
}
115126

116127
// A deployment of an Index. IndexEndpoints contain one or more DeployedIndexes.
@@ -216,7 +227,7 @@ message DeployedIndex {
216227
// the index might be deployed to any ip ranges under the provided VPC
217228
// network.
218229
//
219-
// The value sohuld be the name of the address
230+
// The value should be the name of the address
220231
// (https://cloud.google.com/compute/docs/reference/rest/v1/addresses)
221232
// Example: 'vertex-ai-ip-range'.
222233
repeated string reserved_ip_ranges = 10

google/cloud/aiplatform/v1beta1/model.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,8 +709,16 @@ message ModelSourceInfo {
709709

710710
// The Model is registered and sync'ed from BigQuery ML.
711711
BQML = 3;
712+
713+
// The Model is saved or tuned from Model Garden.
714+
MODEL_GARDEN = 4;
712715
}
713716

714717
// Type of the model source.
715718
ModelSourceType source_type = 1;
719+
720+
// If this Model is copy of another Model. If true then
721+
// [source_type][google.cloud.aiplatform.v1beta1.ModelSourceInfo.source_type]
722+
// pertains to the original.
723+
bool copy = 2;
716724
}

0 commit comments

Comments
 (0)