Get Instance

cloud_run.get_instance
ActionGoogle Cloudconnection required

Calls run v2 GET /v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}.

Gets an Instance.

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

2 fields, 1 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———
instance
Instance name or id.
stringYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
annotations
object—
binaryAuthorization
object—
client
string—
clientVersion
string—
conditions
array—
containerStatuses
array—
containers
array—
createTime
string—
creator
string—
defaultUriDisabled
boolean—
deleteTime
string—
description
string—
encryptionKey
string—
encryptionKeyRevocationAction
string—
encryptionKeyShutdownDuration
string—
etag
string—
expireTime
string—
generation
string—
gpuZonalRedundancyDisabled
boolean—
iapEnabled
boolean—
ingress
string—
invokerIamDisabled
boolean—
labels
object—
lastModifier
string—
launchStage
string—
logUri
string—
name
string—
nodeSelector
object—
observedGeneration
string—
reconciling
boolean—
restartPolicy
string—
satisfiesPzs
boolean—
serviceAccount
string—
terminalCondition
object—
uid
string—
updateTime
string—
urls
array—
volumes
array—
vpcAccess
object—
{
  "annotations": {},
  "binaryAuthorization": {},
  "client": "",
  "clientVersion": "",
  "conditions": [],
  "containerStatuses": [],
  "containers": [],
  "createTime": "",
  "creator": "",
  "defaultUriDisabled": false,
  "deleteTime": "",
  "description": "",
  "encryptionKey": "",
  "encryptionKeyRevocationAction": "",
  "encryptionKeyShutdownDuration": "",
  "etag": "",
  "expireTime": "",
  "generation": "",
  "gpuZonalRedundancyDisabled": false,
  "iapEnabled": false,
  "ingress": "",
  "invokerIamDisabled": false,
  "labels": {},
  "lastModifier": "",
  "launchStage": "",
  "logUri": "",
  "name": "",
  "nodeSelector": {},
  "observedGeneration": "",
  "reconciling": false,
  "restartPolicy": "",
  "satisfiesPzs": false,
  "serviceAccount": "",
  "terminalCondition": {},
  "uid": "",
  "updateTime": "",
  "urls": [],
  "volumes": [],
  "vpcAccess": {}
}

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