Set Private Ip Google Access Subnetwork

compute_engine.set_private_ip_google_access_subnetwork
ActionGoogle Cloudconnection required

Calls compute v1 POST /projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess.

Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.

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

3 fields, 2 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———
subnetwork
Subnetwork name or id.
stringYes———
body
The SubnetworksSetPrivateIpGoogleAccessRequest resource, as the API defines it.
objectYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
clientOperationId
string—
creationTimestamp
string—
description
string—
endTime
string—
error
object—
getHealthOperationMetadata
object—
getVersionOperationMetadata
object—
httpErrorMessage
string—
httpErrorStatusCode
integer—
id
string—
insertTime
string—
instancesBulkInsertOperationMetadata
object—
kind
string—
name
string—
operationGroupId
string—
operationType
string—
progress
integer—
region
string—
selfLink
string—
setCommonInstanceMetadataOperationMetadata
object—
startTime
string—
status
string—
statusMessage
string—
targetId
string—
targetLink
string—
user
string—
warnings
array—
zone
string—
{
  "clientOperationId": "",
  "creationTimestamp": "",
  "description": "",
  "endTime": "",
  "error": {},
  "getHealthOperationMetadata": {},
  "getVersionOperationMetadata": {},
  "httpErrorMessage": "",
  "httpErrorStatusCode": 0,
  "id": "",
  "insertTime": "",
  "instancesBulkInsertOperationMetadata": {},
  "kind": "",
  "name": "",
  "operationGroupId": "",
  "operationType": "",
  "progress": 0,
  "region": "",
  "selfLink": "",
  "setCommonInstanceMetadataOperationMetadata": {},
  "startTime": "",
  "status": "",
  "statusMessage": "",
  "targetId": "",
  "targetLink": "",
  "user": "",
  "warnings": [],
  "zone": ""
}

See Set Private Ip Google Access Subnetwork 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.