Skip to content

Commit

Permalink
feat: add a DeploymentResourcePool API resource_definition
Browse files Browse the repository at this point in the history
feat: add shared_resources for supported prediction_resources

PiperOrigin-RevId: 461971827
  • Loading branch information
Google APIs authored and copybara-github committed Jul 19, 2022
1 parent 53377c1 commit 0b24d03
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions google/cloud/aiplatform/v1beta1/endpoint.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ option java_outer_classname = "EndpointProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
option (google.api.resource_definition) = {
type: "aiplatform.googleapis.com/DeploymentResourcePool"
pattern: "projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}"
};

// Models are deployed into it, and afterwards Endpoint is called to obtain
// predictions and explanations.
Expand Down Expand Up @@ -146,6 +150,13 @@ message DeployedModel {
// A description of resources that to large degree are decided by Vertex
// AI, and require only a modest additional configuration.
AutomaticResources automatic_resources = 8;

// The resource name of the shared DeploymentResourcePool to deploy on.
// Format:
// projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}
string shared_resources = 17 [(google.api.resource_reference) = {
type: "aiplatform.googleapis.com/DeploymentResourcePool"
}];
}

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

0 comments on commit 0b24d03

Please sign in to comment.