public final OperationFuture<MutateDeployedModelResponse, MutateDeployedModelOperationMetadata>
      mutateDeployedModelAsync(
          EndpointName endpoint, DeployedModel deployedModel, FieldMask updateMask) {
    MutateDeployedModelRequest request =
        MutateDeployedModelRequest.newBuilder()
            .setEndpoint(endpoint == null ? null : endpoint.toString())
            .setDeployedModel(deployedModel)
            .setUpdateMask(updateMask)
            .build();
    return mutateDeployedModelAsync(request);
  }
Updates an existing deployed model. Updatable fields include `min_replica_count`,
`max_replica_count`, `autoscaling_metric_specs`, `disable_container_logging` (v1 only), and
`enable_container_logging` (v1beta1 only).

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
  EndpointName endpoint =
      EndpointName.ofProjectLocationEndpointName("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
  DeployedModel deployedModel = DeployedModel.newBuilder().build();
  FieldMask updateMask = FieldMask.newBuilder().build();
  MutateDeployedModelResponse response =
      endpointServiceClient.mutateDeployedModelAsync(endpoint, deployedModel, updateMask).get();
}
}</pre>

@param endpoint Required. The name of the Endpoint resource into which to mutate a
    DeployedModel. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
@param deployedModel Required. The DeployedModel to be mutated within the Endpoint. Only the
    following fields can be mutated:
    <ul>
      <li>`min_replica_count` in either
          [DedicatedResources][google.cloud.aiplatform.v1.DedicatedResources] or
          [AutomaticResources][google.cloud.aiplatform.v1.AutomaticResources]
      <li>`max_replica_count` in either
          [DedicatedResources][google.cloud.aiplatform.v1.DedicatedResources] or
          [AutomaticResources][google.cloud.aiplatform.v1.AutomaticResources]
      <li>[autoscaling_metric_specs][google.cloud.aiplatform.v1.DedicatedResources.autoscaling_metric_specs]
      <li>`disable_container_logging` (v1 only)
      <li>`enable_container_logging` (v1beta1 only)
    </ul>

@param updateMask Required. The update mask applies to the resource. See
    [google.protobuf.FieldMask][google.protobuf.FieldMask].
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/EndpointServiceClient.java