deployment_resource_pool.proto 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. // Copyright 2022 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. syntax = "proto3";
  15. package google.cloud.aiplatform.v1beta1;
  16. import "google/api/field_behavior.proto";
  17. import "google/api/resource.proto";
  18. import "google/cloud/aiplatform/v1beta1/machine_resources.proto";
  19. import "google/protobuf/timestamp.proto";
  20. option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
  21. option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
  22. option java_multiple_files = true;
  23. option java_outer_classname = "DeploymentResourcePoolProto";
  24. option java_package = "com.google.cloud.aiplatform.v1beta1";
  25. option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
  26. option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
  27. // A description of resources that can be shared by multiple DeployedModels,
  28. // whose underlying specification consists of a DedicatedResources.
  29. message DeploymentResourcePool {
  30. option (google.api.resource) = {
  31. type: "aiplatform.googleapis.com/DeploymentResourcePool"
  32. pattern: "projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}"
  33. };
  34. // Output only. The resource name of the DeploymentResourcePool.
  35. // Format:
  36. // `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
  37. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
  38. // Required. The underlying DedicatedResources that the DeploymentResourcePool uses.
  39. DedicatedResources dedicated_resources = 2 [(google.api.field_behavior) = REQUIRED];
  40. // Output only. Timestamp when this DeploymentResourcePool was created.
  41. google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
  42. }