Get Route

compute_engine.get_route
ActionGoogle Cloudconnection required

Calls compute v1 GET /projects/{project}/global/routes/{route}.

Returns the specified Route resource.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Compute Engine
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id, zone
Resolved by
config.connection_id, else node.connection_id

Configuration

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

FieldTypeRequiredDefaultConstraintsExample
route
Route name or id.
stringYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
asPaths
array—
creationTimestamp
string—
description
string—
destRange
string—
id
string—
kind
string—
name
string—
network
string—
nextHopGateway
string—
nextHopHub
string—
nextHopIlb
string—
nextHopInstance
string—
nextHopInterRegionCost
integer—
nextHopInterconnectAttachment
string—
nextHopIp
string—
nextHopMed
integer—
nextHopNetwork
string—
nextHopOrigin
string—
nextHopPeering
string—
nextHopVpnTunnel
string—
params
object—
priority
integer—
routeStatus
string—
routeType
string—
selfLink
string—
tags
array—
warnings
array—
{
  "asPaths": [],
  "creationTimestamp": "",
  "description": "",
  "destRange": "",
  "id": "",
  "kind": "",
  "name": "",
  "network": "",
  "nextHopGateway": "",
  "nextHopHub": "",
  "nextHopIlb": "",
  "nextHopInstance": "",
  "nextHopInterRegionCost": 0,
  "nextHopInterconnectAttachment": "",
  "nextHopIp": "",
  "nextHopMed": 0,
  "nextHopNetwork": "",
  "nextHopOrigin": "",
  "nextHopPeering": "",
  "nextHopVpnTunnel": "",
  "params": {},
  "priority": 0,
  "routeStatus": "",
  "routeType": "",
  "selfLink": "",
  "tags": [],
  "warnings": []
}

See Get Route run in a workflow.

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