Method: projects.locations.deployments.patch

Updates the parameters of a single Deployment.

HTTP request

PATCH https://workloadmanager.googleapis.com/v1alpha/{deployment.name=projects/*/locations/*/deployments/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
deployment.name

string

The name of deployment resource. The format will be 'projects/{projectId}/locations/{locationId}/deployments/{deploymentId}'

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. Field mask is used to specify the fields to be overwritten in the Deployment resource by the update. The fields specified in the updateMask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Deployment.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform