Method: projects.locations.deliveryPipelines.releases.rollouts.retryJob

Retries the specified Job in a Rollout.

HTTP request

POST https://clouddeploy.googleapis.com/v1/{rollout=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*}:retryJob

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
rollout

string

Required. Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}.

Request body

The request body contains data with the following structure:

JSON representation
{
  "phaseId": string,
  "jobId": string,
  "overrideDeployPolicy": [
    string
  ]
}
Fields
phaseId

string

Required. The phase ID the Job to retry belongs to.

jobId

string

Required. The job ID for the Job to retry.

overrideDeployPolicy[]

string

Optional. Deploy policies to override. Format is projects/{project}/locations/{location}/deployPolicies/{deployPolicy}.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the rollout resource:

  • clouddeploy.rollouts.retryJob

For more information, see the IAM documentation.