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

Approves a Rollout.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

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
{
  "approved": boolean
}
Fields
approved

boolean

Required. True = approve; false = reject

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.rollouts.approve

For more information, see the IAM documentation.