@@ -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/v1/deployment_stage.proto" ;
2324import "google/cloud/aiplatform/v1/endpoint.proto" ;
2425import "google/cloud/aiplatform/v1/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 ) = {
@@ -193,6 +194,11 @@ message CreateEndpointRequest {
193194message CreateEndpointOperationMetadata {
194195 // The operation generic information.
195196 GenericOperationMetadata generic_metadata = 1 ;
197+
198+ // Output only. The deployment stage of the model. Only populated if this
199+ // CreateEndpoint request deploys a model at the same time.
200+ DeploymentStage deployment_stage = 2
201+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
196202}
197203
198204// Request message for
@@ -372,6 +378,10 @@ message DeployModelResponse {
372378message DeployModelOperationMetadata {
373379 // The operation generic information.
374380 GenericOperationMetadata generic_metadata = 1 ;
381+
382+ // Output only. The deployment stage of the model.
383+ DeploymentStage deployment_stage = 2
384+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
375385}
376386
377387// Request message for
@@ -433,6 +443,8 @@ message MutateDeployedModelRequest {
433443 // * `max_replica_count` in either
434444 // [DedicatedResources][google.cloud.aiplatform.v1.DedicatedResources] or
435445 // [AutomaticResources][google.cloud.aiplatform.v1.AutomaticResources]
446+ // * `required_replica_count` in
447+ // [DedicatedResources][google.cloud.aiplatform.v1.DedicatedResources]
436448 // * [autoscaling_metric_specs][google.cloud.aiplatform.v1.DedicatedResources.autoscaling_metric_specs]
437449 // * `disable_container_logging` (v1 only)
438450 // * `enable_container_logging` (v1beta1 only)
0 commit comments