Skip to main content
GET
Get a rollout

Authorizations

Authorization
string
header
default:default
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string
required

Project identifier.

endpointId
string
required

Endpoint identifier.

id
string
required

Rollout identifier.

Response

OK

Public view of a rollout resource, including runtime progress and any pause or abort reason.

id
string
required
read-only

Output only. Unique rollout identifier.

endpointId
string
required
read-only

Output only. Endpoint this rollout belongs to.

sourceDeploymentId
string
required
read-only

Output only. Deployment that traffic is shifting away from.

targetDeploymentId
string
required
read-only

Output only. Deployment that traffic is shifting toward.

strategy
enum<string>
required
read-only

Output only. Rollout strategy selected at creation.

Available options:
ROLLOUT_STRATEGY_TYPE_ROLLING,
ROLLOUT_STRATEGY_TYPE_CANARY,
ROLLOUT_STRATEGY_TYPE_BLUE_GREEN
state
enum<string>
required
read-only

Output only. High-level rollout lifecycle state.

Available options:
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
createdAt
string<date-time>
required
read-only

Output only. Timestamp when the rollout was created.

status
object
required

Output only. Derived runtime progress, step summary, and pause or abort failure details.

currentStep
integer
read-only

Output only. Zero-based index of the current step. Unset while PENDING; step 0 is reported explicitly after start.

currentTrafficPercent
integer
read-only

Output only. Applied percentage of traffic on the target deployment.

startedAt
string<date-time>
read-only

Output only. Timestamp when the rollout started running.

completedAt
string<date-time>
read-only

Output only. Timestamp when the rollout reached a terminal state.

etag
string
read-only

Output only. Opaque version tag for optimistic concurrency control.

pauseInfo
object

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.