v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1332185209.7 KB
projects

Creates a Rollout to roll back the specified target.

post/v1/{+name}:rollbackTarget

Path parameters

namestring required

Required. The DeliveryPipeline for which the rollback Rollout must be created. The format is projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.

Request body

rolloutToRollBackstring

Optional. If provided, this must be the latest Rollout that is on the Target.

rolloutIdstring

Required. ID of the rollback Rollout to create.

overrideDeployPolicystring[]

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

targetIdstring

Required. ID of the Target that is being rolled back.

releaseIdstring

Optional. ID of the Release to roll back to. If this isn't specified, the previous successful Rollout to the specified target will be used to determine the Release.

validateOnlyboolean

Optional. If set to true, the request is validated and the user is provided with a RollbackTargetResponse.

Response

Successful response