Get Network

compute_engine.get_network
ActionGoogle Cloudconnection required

Calls compute v1 GET /projects/{project}/global/networks/{network}.

Returns the specified network.

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
network
Network name or id.
stringYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
IPv4Range
string—
autoCreateSubnetworks
boolean—
creationTimestamp
string—
description
string—
enableUlaInternalIpv6
boolean—
firewallPolicy
string—
gatewayIPv4
string—
id
string—
internalIpv6Range
string—
kind
string—
mtu
integer—
name
string—
networkFirewallPolicyEnforcementOrder
string—
networkProfile
string—
params
object—
peerings
array—
routingConfig
object—
selfLink
string—
selfLinkWithId
string—
subnetworks
array—
{
  "IPv4Range": "",
  "autoCreateSubnetworks": false,
  "creationTimestamp": "",
  "description": "",
  "enableUlaInternalIpv6": false,
  "firewallPolicy": "",
  "gatewayIPv4": "",
  "id": "",
  "internalIpv6Range": "",
  "kind": "",
  "mtu": 0,
  "name": "",
  "networkFirewallPolicyEnforcementOrder": "",
  "networkProfile": "",
  "params": {},
  "peerings": [],
  "routingConfig": {},
  "selfLink": "",
  "selfLinkWithId": "",
  "subnetworks": []
}

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