Get Job

cloud_scheduler.get_job
ActionGoogle Cloudconnection required

Calls cloudscheduler v1 GET /v1/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}.

Gets a job.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Cloud Scheduler
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id, location
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———
job
Job name or id.
stringYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
appEngineHttpTarget
object—
attemptDeadline
string—
description
string—
httpTarget
object—
lastAttemptTime
string—
name
string—
pubsubTarget
object—
retryConfig
object—
satisfiesPzs
boolean—
schedule
string—
scheduleTime
string—
state
string—
status
object—
timeZone
string—
userUpdateTime
string—
{
  "appEngineHttpTarget": {},
  "attemptDeadline": "",
  "description": "",
  "httpTarget": {},
  "lastAttemptTime": "",
  "name": "",
  "pubsubTarget": {},
  "retryConfig": {},
  "satisfiesPzs": false,
  "schedule": "",
  "scheduleTime": "",
  "state": "",
  "status": {},
  "timeZone": "",
  "userUpdateTime": ""
}

See Get Job run in a workflow.

In a technical demo we add the Google Cloud Scheduler connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.