@@ -20,6 +20,7 @@ import "google/api/annotations.proto";
2020import "google/api/client.proto" ;
2121import "google/api/field_behavior.proto" ;
2222import "google/api/resource.proto" ;
23+ import "google/cloud/aiplatform/v1beta1/deployment_stage.proto" ;
2324import "google/cloud/aiplatform/v1beta1/endpoint.proto" ;
2425import "google/cloud/aiplatform/v1beta1/operation.proto" ;
2526import "google/longrunning/operations.proto" ;
@@ -138,9 +139,9 @@ service EndpointService {
138139 }
139140
140141 // Updates an existing deployed model. Updatable fields include
141- // `min_replica_count`, `max_replica_count`, `autoscaling_metric_specs `,
142- // `disable_container_logging` (v1 only), and `enable_container_logging`
143- // (v1beta1 only).
142+ // `min_replica_count`, `max_replica_count`, `required_replica_count `,
143+ // `autoscaling_metric_specs`, ` disable_container_logging` (v1 only), and
144+ // `enable_container_logging` (v1beta1 only).
144145 rpc MutateDeployedModel (MutateDeployedModelRequest )
145146 returns (google .longrunning .Operation ) {
146147 option (google.api.http ) = {
@@ -217,6 +218,11 @@ message CreateEndpointRequest {
217218message CreateEndpointOperationMetadata {
218219 // The operation generic information.
219220 GenericOperationMetadata generic_metadata = 1 ;
221+
222+ // Output only. The deployment stage of the model. Only populated if this
223+ // CreateEndpoint request deploys a model at the same time.
224+ DeploymentStage deployment_stage = 2
225+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
220226}
221227
222228// Request message for
@@ -385,6 +391,10 @@ message DeployModelResponse {
385391message DeployModelOperationMetadata {
386392 // The operation generic information.
387393 GenericOperationMetadata generic_metadata = 1 ;
394+
395+ // Output only. The deployment stage of the model.
396+ DeploymentStage deployment_stage = 2
397+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
388398}
389399
390400// Request message for
@@ -483,6 +493,8 @@ message MutateDeployedModelRequest {
483493 // * `max_replica_count` in either
484494 // [DedicatedResources][google.cloud.aiplatform.v1beta1.DedicatedResources] or
485495 // [AutomaticResources][google.cloud.aiplatform.v1beta1.AutomaticResources]
496+ // * `required_replica_count` in
497+ // [DedicatedResources][google.cloud.aiplatform.v1beta1.DedicatedResources]
486498 // * [autoscaling_metric_specs][google.cloud.aiplatform.v1beta1.DedicatedResources.autoscaling_metric_specs]
487499 // * `disable_container_logging` (v1 only)
488500 // * `enable_container_logging` (v1beta1 only)
0 commit comments