Full name: projects.locations.endpoints.mutateDeployedModel
Updates an existing deployed model. Updatable fields include minReplicaCount, maxReplicaCount, requiredReplicaCount, autoscalingMetricSpecs, disableContainerLogging (v1 only), and enableContainerLogging (v1beta1 only).
Endpoint
posthttps://{service-endpoint}/v1beta1/{endpoint}:mutateDeployedModel
Where {service-endpoint} is one of the supported service endpoints.
Path parameters
endpointstring
Required. The name of the Endpoint resource into which to mutate a DeployedModel. Format: projects/{project}/locations/{location}/endpoints/{endpoint}
Request body
The request body contains data with the following structure:
Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated:
minReplicaCountin eitherDedicatedResourcesorAutomaticResourcesmaxReplicaCountin eitherDedicatedResourcesorAutomaticResourcesrequiredReplicaCountinDedicatedResourcesautoscalingMetricSpecsdisableContainerLogging(v1 only)enableContainerLogging(v1beta1 only)scaleToZeroSpecinDedicatedResources(v1beta1 only)initialReplicaCountinDedicatedResources(v1beta1 only)
Required. The update mask applies to the resource. See google.protobuf.FieldMask.
This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".
Response body
If successful, the response body contains an instance of Operation.