Rollout
A `Rollout` resource in the Cloud Deploy API. A `Rollout` contains information around a specific deployment to a `Target`.
Properties
| Name | Type | Description |
|---|---|---|
| createTime | string | Output only. Time at which the `Rollout` was created. |
| etag | string | This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. |
| rollbackOfRollout | string | Output only. Name of the `Rollout` that is rolled back by this `Rollout`. Empty if this `Rollout` wasn't created as a rollback. |
| approvalState | string | Output only. Approval state of the `Rollout`. |
| name | string | Identifier. Name of the `Rollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. The `rollout` component must match `[ |
| phases | array | Output only. The phases that represent the workflows of this `Rollout`. |
| deployEndTime | string | Output only. Time at which the `Rollout` finished deploying. |
| controllerRollout | string | Output only. Name of the `ControllerRollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. |
| metadata | object | Output only. Metadata contains information about the rollout. |
| uid | string | Output only. Unique identifier of the `Rollout`. |
| targetId | string | Required. The ID of Target to which this `Rollout` is deploying. |
| state | string | Output only. Current state of the `Rollout`. |
| description | string | Optional. Description of the `Rollout` for user purposes. Max length is 255 characters. |
| rolledBackByRollouts | array | Output only. Names of `Rollouts` that rolled back this `Rollout`. |
| approveTime | string | Output only. Time at which the `Rollout` was approved. |
| failureReason | string | Output only. Additional information about the rollout failure, if available. |
| deployFailureCause | string | Output only. The reason this rollout failed. This will always be unspecified while the rollout is in progress. |
| activeRepairAutomationRun | string | Output only. The AutomationRun actively repairing the rollout. |
| annotations | object | Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitati |
| enqueueTime | string | Output only. Time at which the `Rollout` was enqueued. |
| deployingBuild | string | Output only. The resource name of the Cloud Build `Build` object that is used to deploy the Rollout. Format is `projects/{project}/locations/{location}/builds/{build}`. |
| labels | object | Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric character |
| deployStartTime | string | Output only. Time at which the `Rollout` started deploying. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/google-cloud-deploy/json-schema/google-cloud-deploy-rollout-schema.json",
"title": "Rollout",
"description": "A `Rollout` resource in the Cloud Deploy API. A `Rollout` contains information around a specific deployment to a `Target`.",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/google-cloud-deploy-projects-api-openapi.yml#/components/schemas/Rollout",
"properties": {
"createTime": {
"type": "string",
"description": "Output only. Time at which the `Rollout` was created.",
"format": "google-datetime",
"readOnly": true
},
"etag": {
"description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.",
"type": "string"
},
"rollbackOfRollout": {
"readOnly": true,
"description": "Output only. Name of the `Rollout` that is rolled back by this `Rollout`. Empty if this `Rollout` wasn't created as a rollback.",
"type": "string"
},
"approvalState": {
"description": "Output only. Approval state of the `Rollout`.",
"type": "string",
"enum": [
"APPROVAL_STATE_UNSPECIFIED",
"NEEDS_APPROVAL",
"DOES_NOT_NEED_APPROVAL",
"APPROVED",
"REJECTED"
],
"readOnly": true
},
"name": {
"type": "string",
"description": "Identifier. Name of the `Rollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`"
},
"phases": {
"items": {
"$ref": "#/$defs/Phase"
},
"description": "Output only. The phases that represent the workflows of this `Rollout`.",
"readOnly": true,
"type": "array"
},
"deployEndTime": {
"format": "google-datetime",
"readOnly": true,
"type": "string",
"description": "Output only. Time at which the `Rollout` finished deploying."
},
"controllerRollout": {
"type": "string",
"description": "Output only. Name of the `ControllerRollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.",
"readOnly": true
},
"metadata": {
"$ref": "#/$defs/Metadata",
"description": "Output only. Metadata contains information about the rollout."
},
"uid": {
"readOnly": true,
"description": "Output only. Unique identifier of the `Rollout`.",
"type": "string"
},
"targetId": {
"description": "Required. The ID of Target to which this `Rollout` is deploying.",
"type": "string"
},
"state": {
"enum": [
"STATE_UNSPECIFIED",
"SUCCEEDED",
"FAILED",
"IN_PROGRESS",
"PENDING_APPROVAL",
"APPROVAL_REJECTED",
"PENDING",
"PENDING_RELEASE",
"CANCELLING",
"CANCELLED",
"HALTED"
],
"type": "string",
"readOnly": true,
"description": "Output only. Current state of the `Rollout`."
},
"description": {
"description": "Optional. Description of the `Rollout` for user purposes. Max length is 255 characters.",
"type": "string"
},
"rolledBackByRollouts": {
"description": "Output only. Names of `Rollouts` that rolled back this `Rollout`.",
"items": {
"type": "string"
},
"type": "array",
"readOnly": true
},
"approveTime": {
"readOnly": true,
"description": "Output only. Time at which the `Rollout` was approved.",
"type": "string",
"format": "google-datetime"
},
"failureReason": {
"description": "Output only. Additional information about the rollout failure, if available.",
"type": "string",
"readOnly": true
},
"deployFailureCause": {
"type": "string",
"readOnly": true,
"enum": [
"FAILURE_CAUSE_UNSPECIFIED",
"CLOUD_BUILD_UNAVAILABLE",
"EXECUTION_FAILED",
"DEADLINE_EXCEEDED",
"RELEASE_FAILED",
"RELEASE_ABANDONED",
"VERIFICATION_CONFIG_NOT_FOUND",
"CLOUD_BUILD_REQUEST_FAILED",
"OPERATION_FEATURE_NOT_SUPPORTED"
],
"description": "Output only. The reason this rollout failed. This will always be unspecified while the rollout is in progress."
},
"activeRepairAutomationRun": {
"type": "string",
"readOnly": true,
"description": "Output only. The AutomationRun actively repairing the rollout."
},
"annotations": {
"type": "object",
"description": "Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.",
"additionalProperties": {
"type": "string"
}
},
"enqueueTime": {
"type": "string",
"format": "google-datetime",
"readOnly": true,
"description": "Output only. Time at which the `Rollout` was enqueued."
},
"deployingBuild": {
"type": "string",
"readOnly": true,
"description": "Output only. The resource name of the Cloud Build `Build` object that is used to deploy the Rollout. Format is `projects/{project}/locations/{location}/builds/{build}`."
},
"labels": {
"description": "Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.",
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"deployStartTime": {
"description": "Output only. Time at which the `Rollout` started deploying.",
"readOnly": true,
"format": "google-datetime",
"type": "string"
}
},
"type": "object",
"$defs": {
"AdvanceChildRolloutJob": {
"description": "An advanceChildRollout Job.",
"type": "object",
"properties": {}
},
"AlertPolicyCheck": {
"properties": {
"alertPolicies": {
"items": {
"type": "string"
},
"type": "array",
"description": "Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is `projects/{project}/alertPolicies/{alert_policy}`."
},
"labels": {
"description": "Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"id": {
"type": "string",
"description": "Required. The ID of the analysis check."
}
},
"type": "object",
"description": "AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail."
},
"AnalysisJob": {
"properties": {
"customChecks": {
"description": "Output only. Custom analysis checks from 3P metric providers that are run as part of the analysis Job.",
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/$defs/CustomCheck"
}
},
"duration": {
"description": "Output only. The amount of time in minutes the analysis Job will run, up to a maximum of 48 hours. If any check in this Job is still running when the duration ends, the Job keeps running until that check completes.",
"format": "google-duration",
"type": "string",
"readOnly": true
},
"googleCloud": {
"$ref": "#/$defs/GoogleCloudAnalysis",
"description": "Output only. Google Cloud - based analysis checks that are run as part of the analysis Job."
}
},
"description": "An analysis Job.",
"type": "object"
},
"AutomationRolloutMetadata": {
"properties": {
"promoteAutomationRun": {
"readOnly": true,
"description": "Output only. The name of the AutomationRun initiated by a promote release rule.",
"type": "string"
},
"repairAutomationRuns": {
"readOnly": true,
"items": {
"type": "string"
},
"description": "Output only. The names of the AutomationRuns initiated by a repair rollout rule.",
"type": "array"
},
"advanceAutomationRuns": {
"type": "array",
"description": "Output only. The names of the AutomationRuns initiated by an advance rollout rule.",
"readOnly": true,
"items": {
"type": "string"
}
}
},
"type": "object",
"description": "AutomationRolloutMetadata contains Automation-related actions that were performed on a rollout."
},
"ChildRolloutJobs": {
"description": "ChildRollouts job composition",
"type": "object",
"properties": {
"advanceRolloutJobs": {
"type": "array",
"description": "Output only. List of AdvanceChildRolloutJobs",
"items": {
"$ref": "#/$defs/Job"
},
"readOnly": true
},
"createRolloutJobs": {
"readOnly": true,
"type": "array",
"items": {
"$ref": "#/$defs/Job"
},
"description": "Output only. List of CreateChildRolloutJobs"
}
}
},
"CloudRunMetadata": {
"type": "object",
"properties": {
"service": {
"readOnly": true,
"description": "Output only. The name of the Cloud Run Service that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/services/{service}`.",
"type": "string"
},
"workerPool": {
"type": "string",
"description": "Output only. The Cloud Run worker pool associated with a `Rollout`. Format is `projects/{project}/locations/{location}/workerPools/{worker_pool}`.",
"readOnly": true
},
"revision": {
"readOnly": true,
"description": "Output only. The Cloud Run Revision id associated with a `Rollout`.",
"type": "string"
},
"serviceUrls": {
"description": "Output only. The Cloud Run Service urls that are associated with a `Rollout`.",
"readOnly": true,
"type": "array",
"items": {
"type": "string"
}
},
"previousRevision": {
"type": "string",
"description": "Output only. The previous Cloud Run Revision name associated with a `Rollout`. Only set when a canary deployment strategy is configured. Format for service is projects/{project}/locations/{location}/services/{service}/revisions/{revision}. Format for worker pool is projects/{project}/locations/{location}/workerPools/{workerpool}/revisions/{revision}.",
"readOnly": true
},
"job": {
"description": "Output only. The name of the Cloud Run job that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/jobs/{job_name}`.",
"type": "string",
"readOnly": true
}
},
"description": "CloudRunMetadata contains information from a Cloud Run deployment."
},
"ContainerTask": {
"type": "object",
"description": "This task is represented by a container that is executed in the Cloud Build execution environment.",
"properties": {
"args": {
"type": "array",
"description": "Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image.",
"items": {
"type": "string"
}
},
"env": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"description": "Optional. Environment variables that are set in the container."
},
"command": {
"description": "Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container image.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"description": "Required. Image is the container image to use.",
"type": "string"
}
}
},
"CreateChildRolloutJob": {
"description": "A createChildRollout Job.",
"type": "object",
"properties": {}
},
"CustomCheck": {
"properties": {
"task": {
"$ref": "#/$defs/Task",
"description": "Required. The Task to be run for this custom check."
},
"id": {
"description": "Required. The ID of the custom Analysis check.",
"type": "string"
},
"frequency": {
"type": "string",
"description": "Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes.",
"format": "google-duration"
}
},
"description": "CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency.",
"type": "object"
},
"CustomMetadata": {
"description": "CustomMetadata contains information from a user-defined operation.",
"properties": {
"values": {
"description": "Output only. Key-value pairs provided by the user-defined operation.",
"readOnly": true,
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"type": "object"
},
"DeployJob": {
"description": "A deploy Job.",
"type": "object",
"properties": {}
},
"DeploymentJobs": {
"properties": {
"verifyJob": {
"$ref": "#/$defs/Job",
"description": "Output only. The verify Job. Runs after a deploy if the deploy succeeds."
},
"postdeployJob": {
"$ref": "#/$defs/Job",
"description": "Output only. The postdeploy Job, which is the last job on the phase."
},
"analysisJob": {
"$ref": "#/$defs/Job",
"description": "Output only. The analysis Job. Runs after a verify if there is a verify job and the verify job succeeds."
},
"deployJob": {
"$ref": "#/$defs/Job",
"description": "Output only. The deploy Job. This is the deploy job in the phase."
},
"predeployJob": {
"$ref": "#/$defs/Job",
"description": "Output only. The predeploy Job, which is the first job on the phase."
}
},
"type": "object",
"description": "Deployment job composition."
},
"GoogleCloudAnalysis": {
"properties": {
"alertPolicyChecks": {
"type": "array",
"description": "Optional. A list of Cloud Monitoring Alert Policy checks to perform as part of the analysis.",
"items": {
"$ref": "#/$defs/AlertPolicyCheck"
}
}
},
"type": "object",
"description": "GoogleCloudAnalysis is a set of Google Cloud-based checks to perform on the deployment."
},
"Job": {
"description": "Job represents an operation for a `Rollout`.",
"type": "object",
"properties": {
"advanceChildRolloutJob": {
"$ref": "#/$defs/AdvanceChildRolloutJob",
"description": "Output only. An advanceChildRollout Job."
},
"postdeployJob": {
"$ref": "#/$defs/PostdeployJob",
"description": "Output only. A postdeploy Job."
},
"deployJob": {
"$ref": "#/$defs/DeployJob",
"description": "Output only. A deploy Job."
},
"analysisJob": {
"$ref": "#/$defs/AnalysisJob",
"description": "Output only. An analysis Job."
},
"state": {
"description": "Output only. The current state of the Job.",
"enum": [
"STATE_UNSPECIFIED",
"PENDING",
"DISABLED",
"IN_PROGRESS",
"SUCCEEDED",
"FAILED",
"ABORTED",
"SKIPPED",
"IGNORED"
],
"readOnly": true,
"type": "string"
},
"createChildRolloutJob": {
"$ref": "#/$defs/CreateChildRolloutJob",
"description": "Output only. A createChildRollout Job."
},
"skipMessage": {
"type": "string",
"readOnly": true,
"description": "Output only. Additional information on why the Job was skipped, if available."
},
"verifyJob": {
"$ref": "#/$defs/VerifyJob",
"description": "Output only. A verify Job."
},
"jobRun": {
"description": "Output only. The name of the `JobRun` responsible for the most recent invocation of this Job.",
"readOnly": true,
"type": "string"
},
"id": {
"readOnly": true,
"description": "Output only. The ID of the Job.",
"type": "string"
},
"predeployJob": {
"$ref": "#/$defs/PredeployJob",
"description": "Output only. A predeploy Job."
}
}
},
"Metadata": {
"type": "object",
"description": "Metadata includes information associated with a `Rollout`.",
"properties": {
"automation": {
"$ref": "#/$defs/AutomationRolloutMetadata",
"description": "Output only. AutomationRolloutMetadata contains the information about the interactions between Automation service and this rollout."
},
"cloudRun": {
"$ref": "#/$defs/CloudRunMetadata",
"description": "Output only. The name of the Cloud Run Service that is associated with a `Rollout`."
},
"custom": {
"$ref": "#/$defs/CustomMetadata",
"description": "Output only. Custom metadata provided by user-defined `Rollout` operations."
}
}
},
"Phase": {
"properties": {
"skipMessage": {
"description": "Output only. Additional information on why the Phase was skipped, if available.",
"readOnly": true,
"type": "string"
},
"deploymentJobs": {
"$ref": "#/$defs/DeploymentJobs",
"description": "Output only. Deployment job composition."
},
"state": {
"readOnly": true,
"description": "Output only. Current state of the Phase.",
"type": "string",
"enum": [
"STATE_UNSPECIFIED",
"PENDING",
"IN_PROGRESS",
"SUCCEEDED",
"FAILED",
"ABORTED",
"SKIPPED"
]
},
"childRolloutJobs": {
"$ref": "#/$defs/ChildRolloutJobs",
"description": "Output only. ChildRollout job composition."
},
"id": {
"description": "Output only. The ID of the Phase.",
"readOnly": true,
"type": "string"
}
},
"type": "object",
"description": "Phase represents a collection of jobs that are logically grouped together for a `Rollout`."
},
"PostdeployJob": {
"properties": {
"tasks": {
"description": "Output only. The tasks that are executed as part of the postdeploy Job.",
"type": "array",
"items": {
"$ref": "#/$defs/Task"
},
"readOnly": true
},
"actions": {
"readOnly": true,
"items": {
"type": "string"
},
"description": "Output only. The custom actions that the postdeploy Job executes.",
"type": "array"
}
},
"description": "A postdeploy Job.",
"type": "object"
},
"PredeployJob": {
"properties": {
"actions": {
"description": "Output only. The custom actions that the predeploy Job executes.",
"type": "array",
"items": {
"type": "string"
},
"readOnly": true
},
"tasks": {
"readOnly": true,
"type": "array",
"items": {
"$ref": "#/$defs/Task"
},
"description": "Output only. The tasks that are executed as part of the predeploy Job."
}
},
"description": "A predeploy Job.",
"type": "object"
},
"Task": {
"description": "A Task represents a unit of work that is executed as part of a Job.",
"properties": {
"container": {
"$ref": "#/$defs/ContainerTask",
"description": "Optional. This task is represented by a container that is executed in the Cloud Build execution environment."
}
},
"type": "object"
},
"VerifyJob": {
"type": "object",
"properties": {
"tasks": {
"readOnly": true,
"type": "array",
"description": "Output only. The tasks that are executed as part of the verify Job.",
"items": {
"$ref": "#/$defs/Task"
}
}
},
"description": "A verify Job."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/google-cloud-deploy-rollout"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.