Cancel a rollout
Cancels a running, pausing, paused, system-paused, or stabilizing rollout by freezing the current traffic split into standing weights. Revert is removed and rejected; after canceling, start another canary rollout in either direction or rebalance the traffic split. The response is the accepted rollout snapshot; poll GetRollout until it reaches CANCELED.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Project identifier.
Endpoint identifier.
Rollout identifier.
Body
Reason, disposition, and optional concurrency check for canceling a rollout.
Required human-readable reason recorded in the rollout audit trail.
Optional etag for optimistic concurrency.
Optional cancel behavior. Absent defaults to freeze, which preserves the current traffic split. Revert is removed and rejected with FAILED_PRECONDITION; cancel with freeze, then run a reverse rollout back to the source.
CANCEL_DISPOSITION_FREEZE, CANCEL_DISPOSITION_REVERT Response
OK
Public view of a rollout resource, including runtime progress and any pause or abort reason.
Output only. Unique rollout identifier.
Output only. Endpoint this rollout belongs to.
Output only. Deployment that traffic is shifting away from.
Output only. Deployment that traffic is shifting toward.
Output only. Rollout strategy selected at creation.
ROLLOUT_STRATEGY_TYPE_ROLLING, ROLLOUT_STRATEGY_TYPE_CANARY, ROLLOUT_STRATEGY_TYPE_BLUE_GREEN Output only. High-level rollout lifecycle state.
ROLLOUT_STATE_RUNNING, ROLLOUT_STATE_PAUSED, ROLLOUT_STATE_STABILIZING, ROLLOUT_STATE_COMPLETED, ROLLOUT_STATE_PENDING, ROLLOUT_STATE_SYSTEM_PAUSED, ROLLOUT_STATE_CANCELLING, ROLLOUT_STATE_CANCELED, ROLLOUT_STATE_PAUSING Output only. Timestamp when the rollout was created.
Output only. Derived runtime progress, step summary, and pause or abort failure details.
Output only. Zero-based index of the current step. Unset while PENDING; step 0 is reported explicitly after start.
Output only. Applied percentage of traffic on the target deployment.
Output only. Timestamp when the rollout started running.
Output only. Timestamp when the rollout reached a terminal state.
Output only. Opaque version tag for optimistic concurrency control.
Output only. Why and when the rollout was paused. Set while a pause is pending or effective (PAUSING, PAUSED, or SYSTEM_PAUSED) and cleared after resume or abort; while PAUSING, pausedAt records when the pause was requested.