- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- RollbackTargetConfig
- Try it!
Creates a Rollout
to roll back the specified target.
HTTP request
POST https://clouddeploy.googleapis.com/v1/{name=projects/*/locations/*/deliveryPipelines/*}:rollbackTarget
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"targetId": string,
"rolloutId": string,
"releaseId": string,
"rolloutToRollBack": string,
"rollbackConfig": {
object ( |
Fields | |
---|---|
target |
Required. ID of the |
rollout |
Required. ID of the rollback |
release |
Optional. ID of the |
rollout |
Optional. If provided, this must be the latest |
rollback |
Optional. Configs for the rollback |
validate |
Optional. If set to true, the request is validated and the user is provided with a |
override |
Optional. Deploy policies to override. Format is |
Response body
The response object from deliveryPipelines.rollbackTarget
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"rollbackConfig": {
object ( |
Fields | |
---|---|
rollback |
The config of the rollback |
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.rollback
For more information, see the IAM documentation.
RollbackTargetConfig
Configs for the Rollback rollout.
JSON representation |
---|
{
"rollout": {
object ( |
Fields | |
---|---|
rollout |
Optional. The rollback |
starting |
Optional. The starting phase ID for the |