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.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
location Location or region; taken from the connection when unset. | string | No | — | — | — |
job Job name or id. | string | Yes | — | — | — |
execution Execution name or id. | string | Yes | — | — | — |
task Task name or id. | string | Yes | — | — | — |
Output
One shape.
result
Extra keys beyond the ones listed can appear.
| Field | Type | Example |
|---|---|---|
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": {}
}Related Google Cloud Run nodes
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.