List Revisions
cloud_run.list_revisions
ActionGoogle Cloudconnection required
Calls Cloud Run Admin API v2 GET /services/{s}/revisions.
List a Cloud Run service's revisions, newest first.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Cloud Run
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Config it needs
- project_id, region
- Resolved by
- config.connection_id, else node.connection_id
Configuration
4 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
project_id GCP project id (overrides connection). | string | No | — | — | — |
region Cloud Run region (overrides connection). | string | No | us-central1 | — | — |
service Service name. | string | Yes | — | — | — |
page_size Max revisions to return (newest first); every page is read regardless. | number | No | 50 | ≥ 1 | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"page_size": 50,
"region": "us-central1"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
revisions | array | — |
count | number | — |
service | string | — |
next_page_token Null when every revision was read. Non-null means the service has more revisions than one call reads, so the ordering below covers only what was fetched. | string | — |
revisions[].name Full resource name. | string | — |
revisions[].revision Short revision name — what cloud_run.set_traffic takes. | string | — |
revisions[].create_time | string | — |
revisions[].state Ready condition state. | string | — |
revisions[].message | string | — |
revisions[].ready False means it cannot serve — do not roll back onto it. | boolean | — |
revisions[].image | string | — |
revisions[].log_uri | string | — |
{
"count": 0,
"next_page_token": "",
"ok": false,
"revisions": [
{
"create_time": "",
"image": "",
"log_uri": "",
"message": "",
"name": "",
"ready": false,
"revision": "",
"state": ""
}
],
"service": ""
}Notes
- Every page is read before sorting, so `revisions[0]` is the newest revision and `revisions[1]` the previous deploy — unless `next_page_token` came back non-null, which means the service has more revisions than one call reads.
- `page_size` caps what is returned, not what is read.
Related Google Cloud Run nodes
See List Revisions run in a workflow.
In a technical demo we add the Google Cloud Run connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.