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}/v1/{endpoint}:mutateDeployedModel
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
endpoint
string
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:
minReplicaCount
in eitherDedicatedResources
orAutomaticResources
maxReplicaCount
in eitherDedicatedResources
orAutomaticResources
requiredReplicaCount
inDedicatedResources
autoscalingMetricSpecs
disableContainerLogging
(v1 only)enableContainerLogging
(v1beta1 only)scaleToZeroSpec
inDedicatedResources
(v1beta1 only)initialReplicaCount
inDedicatedResources
(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
.