Get Task

cloud_run.get_task
ActionGoogle Cloudconnection required

Calls run v2 GET /v2/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}/executions/{executionsId}/tasks/{tasksId}.

Gets information about a Task.

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, 3 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———
job
Job name or id.
stringYes———
execution
Execution name or id.
stringYes———
task
Task name or id.
stringYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
annotations
object—
completionTime
string—
conditions
array—
containers
array—
createTime
string—
deleteTime
string—
encryptionKey
string—
etag
string—
execution
string—
executionEnvironment
string—
expireTime
string—
generation
string—
gpuZonalRedundancyDisabled
boolean—
index
integer—
job
string—
labels
object—
lastAttemptResult
object—
logUri
string—
maxRetries
integer—
name
string—
nodeSelector
object—
observedGeneration
string—
reconciling
boolean—
retried
integer—
satisfiesPzs
boolean—
scheduledTime
string—
serviceAccount
string—
startTime
string—
timeout
string—
uid
string—
updateTime
string—
volumes
array—
vpcAccess
object—
{
  "annotations": {},
  "completionTime": "",
  "conditions": [],
  "containers": [],
  "createTime": "",
  "deleteTime": "",
  "encryptionKey": "",
  "etag": "",
  "execution": "",
  "executionEnvironment": "",
  "expireTime": "",
  "generation": "",
  "gpuZonalRedundancyDisabled": false,
  "index": 0,
  "job": "",
  "labels": {},
  "lastAttemptResult": {},
  "logUri": "",
  "maxRetries": 0,
  "name": "",
  "nodeSelector": {},
  "observedGeneration": "",
  "reconciling": false,
  "retried": 0,
  "satisfiesPzs": false,
  "scheduledTime": "",
  "serviceAccount": "",
  "startTime": "",
  "timeout": "",
  "uid": "",
  "updateTime": "",
  "volumes": [],
  "vpcAccess": {}
}

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