Method: projects.locations.deliveryPipelines.releases.rollouts.jobRuns.terminate

Terminates a Job Run in a given project and location.

HTTP request

POST https://clouddeploy.googleapis.com/v1/{name=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*/jobRuns/*}:terminate

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the JobRun. Format must be projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}.

Request body

The request body contains data with the following structure:

JSON representation
{
  "overrideDeployPolicy": [
    string
  ]
}
Fields
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 name resource:

  • clouddeploy.jobRuns.terminate

For more information, see the IAM documentation.