Skip to content

Commit 063f9e1

Browse files
Google APIscopybara-github
authored andcommitted
feat: add DeploymentTier enum to DeployedIndex
PiperOrigin-RevId: 813384393
1 parent e78280f commit 063f9e1

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

google/cloud/aiplatform/v1/index_endpoint.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,15 @@ message IndexEndpoint {
138138

139139
// A deployment of an Index. IndexEndpoints contain one or more DeployedIndexes.
140140
message DeployedIndex {
141+
// Tiers encapsulate serving time attributes like latency and throughput.
142+
enum DeploymentTier {
143+
// Default deployment tier.
144+
DEPLOYMENT_TIER_UNSPECIFIED = 0;
145+
146+
// Optimized for costs.
147+
STORAGE = 2;
148+
}
149+
141150
// Required. The user specified ID of the DeployedIndex.
142151
// The ID can be up to 128 characters long and must start with a letter and
143152
// only contain letters, numbers, and underscores.
@@ -274,6 +283,10 @@ message DeployedIndex {
274283
// Note: we only support up to 5 deployment groups(not including 'default').
275284
string deployment_group = 11 [(google.api.field_behavior) = OPTIONAL];
276285

286+
// Optional. The deployment tier that the index is deployed to.
287+
// DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier.
288+
DeploymentTier deployment_tier = 18 [(google.api.field_behavior) = OPTIONAL];
289+
277290
// Optional. If set for PSC deployed index, PSC connection will be
278291
// automatically created after deployment is done and the endpoint information
279292
// is populated in private_endpoints.psc_automated_endpoints.

0 commit comments

Comments
 (0)