Get Access Policy

access_context_manager.get_access_policy
ActionGoogle Cloudconnection required

Calls Access Context Manager GET /v1/accessPolicies/{accessPoliciesId}.

Returns an access policy based on the name.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Access Context Manager
Secret shape
{"client_id", "client_secret", "refresh_token"}
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
access_policy
Access policy id.
stringYes———

Output

One shape.

result

FieldTypeExample
ok
boolean—
title
string—
name
string—
etag
string—
parent
string—
scopes
array—
{
  "etag": "",
  "name": "",
  "ok": false,
  "parent": "",
  "scopes": [],
  "title": ""
}

See Get Access Policy run in a workflow.

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