1// Copyright 2023 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15syntax = "proto3"; 16 17package google.cloud.aiplatform.v1; 18 19import "google/api/field_behavior.proto"; 20import "google/api/resource.proto"; 21import "google/cloud/aiplatform/v1/machine_resources.proto"; 22import "google/protobuf/timestamp.proto"; 23 24option csharp_namespace = "Google.Cloud.AIPlatform.V1"; 25option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; 26option java_multiple_files = true; 27option java_outer_classname = "DeploymentResourcePoolProto"; 28option java_package = "com.google.cloud.aiplatform.v1"; 29option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; 30option ruby_package = "Google::Cloud::AIPlatform::V1"; 31 32// A description of resources that can be shared by multiple DeployedModels, 33// whose underlying specification consists of a DedicatedResources. 34message DeploymentResourcePool { 35 option (google.api.resource) = { 36 type: "aiplatform.googleapis.com/DeploymentResourcePool" 37 pattern: "projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}" 38 }; 39 40 // Immutable. The resource name of the DeploymentResourcePool. 41 // Format: 42 // `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` 43 string name = 1 [(google.api.field_behavior) = IMMUTABLE]; 44 45 // Required. The underlying DedicatedResources that the DeploymentResourcePool 46 // uses. 47 DedicatedResources dedicated_resources = 2 48 [(google.api.field_behavior) = REQUIRED]; 49 50 // Output only. Timestamp when this DeploymentResourcePool was created. 51 google.protobuf.Timestamp create_time = 4 52 [(google.api.field_behavior) = OUTPUT_ONLY]; 53} 54