Skip to content

Commit 0b24d03

Browse files
Google APIscopybara-github
authored andcommitted
feat: add a DeploymentResourcePool API resource_definition
feat: add shared_resources for supported prediction_resources PiperOrigin-RevId: 461971827
1 parent 53377c1 commit 0b24d03

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

google/cloud/aiplatform/v1beta1/endpoint.proto

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ option java_outer_classname = "EndpointProto";
3131
option java_package = "com.google.cloud.aiplatform.v1beta1";
3232
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
3333
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
34+
option (google.api.resource_definition) = {
35+
type: "aiplatform.googleapis.com/DeploymentResourcePool"
36+
pattern: "projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}"
37+
};
3438

3539
// Models are deployed into it, and afterwards Endpoint is called to obtain
3640
// predictions and explanations.
@@ -146,6 +150,13 @@ message DeployedModel {
146150
// A description of resources that to large degree are decided by Vertex
147151
// AI, and require only a modest additional configuration.
148152
AutomaticResources automatic_resources = 8;
153+
154+
// The resource name of the shared DeploymentResourcePool to deploy on.
155+
// Format:
156+
// projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}
157+
string shared_resources = 17 [(google.api.resource_reference) = {
158+
type: "aiplatform.googleapis.com/DeploymentResourcePool"
159+
}];
149160
}
150161

151162
// Immutable. The ID of the DeployedModel. If not provided upon deployment, Vertex AI

0 commit comments

Comments
 (0)