Get Forwarding Rule

compute_engine.get_forwarding_rule
ActionGoogle Cloudconnection required

Calls compute v1 GET /projects/{project}/regions/{region}/forwardingRules/{forwardingRule}.

Returns the specified ForwardingRule 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

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

FieldTypeRequiredDefaultConstraintsExample
region
Region; defaults to the connection's zone minus its suffix.
stringNo———
forwarding_rule
Forwarding rule name or id.
stringYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
IPAddress
string—
IPProtocol
string—
allPorts
boolean—
allowGlobalAccess
boolean—
allowPscGlobalAccess
boolean—
attachedExtensions
array—
backendService
string—
baseForwardingRule
string—
creationTimestamp
string—
description
string—
externalManagedBackendBucketMigrationState
string—
externalManagedBackendBucketMigrationTestingPercentage
number—
fingerprint
string—
id
string—
ipCollection
string—
ipVersion
string—
isMirroringCollector
boolean—
kind
string—
labelFingerprint
string—
labels
object—
loadBalancingScheme
string—
metadataFilters
array—
name
string—
network
string—
networkTier
string—
noAutomateDnsZone
boolean—
portRange
string—
ports
array—
pscConnectionId
string—
pscConnectionStatus
string—
region
string—
selfLink
string—
selfLinkWithId
string—
serviceDirectoryRegistrations
array—
serviceLabel
string—
serviceName
string—
sourceIpRanges
array—
subnetwork
string—
target
string—
{
  "IPAddress": "",
  "IPProtocol": "",
  "allPorts": false,
  "allowGlobalAccess": false,
  "allowPscGlobalAccess": false,
  "attachedExtensions": [],
  "backendService": "",
  "baseForwardingRule": "",
  "creationTimestamp": "",
  "description": "",
  "externalManagedBackendBucketMigrationState": "",
  "externalManagedBackendBucketMigrationTestingPercentage": 0,
  "fingerprint": "",
  "id": "",
  "ipCollection": "",
  "ipVersion": "",
  "isMirroringCollector": false,
  "kind": "",
  "labelFingerprint": "",
  "labels": {},
  "loadBalancingScheme": "",
  "metadataFilters": [],
  "name": "",
  "network": "",
  "networkTier": "",
  "noAutomateDnsZone": false,
  "portRange": "",
  "ports": [],
  "pscConnectionId": "",
  "pscConnectionStatus": "",
  "region": "",
  "selfLink": "",
  "selfLinkWithId": "",
  "serviceDirectoryRegistrations": [],
  "serviceLabel": "",
  "serviceName": "",
  "sourceIpRanges": [],
  "subnetwork": "",
  "target": ""
}

See Get Forwarding Rule 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.