List All Resource Policies

compute_engine.list_all_resource_policies
ActionGoogle Cloudconnection required

Calls compute v1 GET /projects/{project}/aggregated/resourcePolicies.

Retrieves an aggregated list of resource policies.

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

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

FieldTypeRequiredDefaultConstraintsExample
filter
Server-side filter expression; blank returns everything.
stringNo———
max_results
Max results per page, 0-500. Optional; default 500.
integerNo—0–500—
order_by
Sort expression, e.g. "name desc"; blank = the API order.
stringNo———
page_token
The previous response's nextPageToken; blank = first page.
stringNo———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
etag
string—
id
string—
items
object—
kind
string—
nextPageToken
string—
selfLink
string—
unreachables
array—
warning
object—
{
  "etag": "",
  "id": "",
  "items": {},
  "kind": "",
  "nextPageToken": "",
  "selfLink": "",
  "unreachables": [],
  "warning": {}
}

See List All Resource Policies 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.