{
"plan": "<string>",
"name": "<string>",
"title": "<string>",
"stages": [
{
"name": "<string>",
"id": "<string>",
"environment": "<string>",
"tasks": [
{
"name": "<string>",
"specId": "<string>",
"status": "STATUS_UNSPECIFIED",
"skippedReason": "<string>",
"type": "TYPE_UNSPECIFIED",
"target": "<string>",
"databaseCreate": {
"project": "<string>",
"database": "<string>",
"table": "<string>",
"sheet": "<string>",
"characterSet": "<string>",
"collation": "<string>",
"environment": "<string>"
},
"databaseUpdate": {
"sheet": "<string>",
"schemaVersion": "<string>",
"databaseChangeType": "DATABASE_CHANGE_TYPE_UNSPECIFIED"
},
"databaseDataExport": {
"target": "<string>",
"sheet": "<string>",
"format": "FORMAT_UNSPECIFIED",
"password": "<string>"
},
"updateTime": "2023-11-07T05:31:56Z",
"runTime": "2023-11-07T05:31:56Z"
}
]
}
],
"creator": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"updateTime": "2023-11-07T05:31:56Z",
"issue": "<string>"
}Retrieves a rollout by name. Permissions required: bb.rollouts.get
{
"plan": "<string>",
"name": "<string>",
"title": "<string>",
"stages": [
{
"name": "<string>",
"id": "<string>",
"environment": "<string>",
"tasks": [
{
"name": "<string>",
"specId": "<string>",
"status": "STATUS_UNSPECIFIED",
"skippedReason": "<string>",
"type": "TYPE_UNSPECIFIED",
"target": "<string>",
"databaseCreate": {
"project": "<string>",
"database": "<string>",
"table": "<string>",
"sheet": "<string>",
"characterSet": "<string>",
"collation": "<string>",
"environment": "<string>"
},
"databaseUpdate": {
"sheet": "<string>",
"schemaVersion": "<string>",
"databaseChangeType": "DATABASE_CHANGE_TYPE_UNSPECIFIED"
},
"databaseDataExport": {
"target": "<string>",
"sheet": "<string>",
"format": "FORMAT_UNSPECIFIED",
"password": "<string>"
},
"updateTime": "2023-11-07T05:31:56Z",
"runTime": "2023-11-07T05:31:56Z"
}
]
}
],
"creator": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"updateTime": "2023-11-07T05:31:56Z",
"issue": "<string>"
}OK
The plan that this rollout is based on. Format: projects/{project}/plans/{plan}
The resource name of the rollout. Format: projects/{project}/rollouts/{rollout}
The title of the rollout, inherited from the associated plan. This field is output only and cannot be directly set.
Stages and thus tasks of the rollout.
Show child attributes
Format: projects/{project}/rollouts/{rollout}/stages/{stage} Use "-" for {stage} when the stage has no environment or deleted environment.
id is the environment id of the stage. e.g., "prod". Use "-" when the stage has no environment or deleted environment.
environment is the environment of the stage. Format: environments/{environment} for valid environments, or "environments/-" for stages without environment or with deleted environments.
The tasks within this stage.
Show child attributes
Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}
A UUID4 string that uniquely identifies the Spec. Could be empty if the rollout of the task does not have an associating plan.
Status is the status of the task.
STATUS_UNSPECIFIED, NOT_STARTED, PENDING, RUNNING, DONE, FAILED, CANCELED, SKIPPED The reason why the task was skipped.
TYPE_UNSPECIFIED, GENERAL, DATABASE_CREATE, DATABASE_MIGRATE, DATABASE_SDL, DATABASE_EXPORT Format: instances/{instance} if the task is DatabaseCreate. Format: instances/{instance}/databases/{database}
Payload for creating a new database.
Show child attributes
The project owning the database. Format: projects/{project}
Database name.
Table name.
Format: projects/{project}/sheets/{sheet}
The character set for the database.
The collation for the database.
The environment the database belongs to.
Payload for updating a database schema.
Show child attributes
Format: projects/{project}/sheets/{sheet}
The target schema version after this update.
The type of database change (MIGRATE or SDL).
DATABASE_CHANGE_TYPE_UNSPECIFIED, MIGRATE, SDL Payload for exporting database data.
Show child attributes
The resource name of the target. Format: instances/{instance-id}/databases/{database-name}
The resource name of the sheet. Format: projects/{project}/sheets/{sheet}
The format of the exported file.
FORMAT_UNSPECIFIED, CSV, JSON, SQL, XLSX The zip password provided by users. Leave it empty if no needs to encrypt the zip file.
The update_time is the update time of latest task run. If there are no task runs, it will be empty.
The run_time is the scheduled run time of latest task run. If there are no task runs or the task run is not scheduled, it will be empty.
Format: users/[email protected]
The issue associated with the rollout. Could be empty. Format: projects/{project}/issues/{issue}
Was this page helpful?