Get Revision

cloud_run.get_revision
ActionGoogle Cloudconnection required

Calls run v2 GET /v2/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}/revisions/{revisionsId}.

Gets information about a Revision.

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

3 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
location
Location or region; taken from the connection when unset.
stringNo———
worker_pool
Worker pool name or id.
stringYes———
revision
Revision name or id.
stringYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
annotations
object—
client
string—
clientVersion
string—
conditions
array—
containers
array—
createTime
string—
creator
string—
deleteTime
string—
encryptionKey
string—
encryptionKeyRevocationAction
string—
encryptionKeyShutdownDuration
string—
etag
string—
executionEnvironment
string—
expireTime
string—
generation
string—
gpuZonalRedundancyDisabled
boolean—
labels
object—
launchStage
string—
logUri
string—
maxInstanceRequestConcurrency
integer—
name
string—
nodeSelector
object—
observedGeneration
string—
reconciling
boolean—
satisfiesPzs
boolean—
scaling
object—
scalingStatus
object—
service
string—
serviceAccount
string—
serviceMesh
object—
sessionAffinity
boolean—
timeout
string—
uid
string—
updateTime
string—
volumes
array—
vpcAccess
object—
{
  "annotations": {},
  "client": "",
  "clientVersion": "",
  "conditions": [],
  "containers": [],
  "createTime": "",
  "creator": "",
  "deleteTime": "",
  "encryptionKey": "",
  "encryptionKeyRevocationAction": "",
  "encryptionKeyShutdownDuration": "",
  "etag": "",
  "executionEnvironment": "",
  "expireTime": "",
  "generation": "",
  "gpuZonalRedundancyDisabled": false,
  "labels": {},
  "launchStage": "",
  "logUri": "",
  "maxInstanceRequestConcurrency": 0,
  "name": "",
  "nodeSelector": {},
  "observedGeneration": "",
  "reconciling": false,
  "satisfiesPzs": false,
  "scaling": {},
  "scalingStatus": {},
  "service": "",
  "serviceAccount": "",
  "serviceMesh": {},
  "sessionAffinity": false,
  "timeout": "",
  "uid": "",
  "updateTime": "",
  "volumes": [],
  "vpcAccess": {}
}

See Get Revision 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.