Search All Iam Policies

cloud_asset.search_all_iam_policies
ActionGoogle Cloudconnection required

Calls Cloud Asset GET /v1/{v1Id}/{v1Id1}:searchAllIamPolicies.

Searches all IAM policies within the specified scope, such as a project, folder, or organization.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Cloud Asset
Secret shape
{"client_id", "client_secret", "refresh_token"}
Resolved by
config.connection_id, else node.connection_id

Configuration

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

FieldTypeRequiredDefaultConstraintsExample
scope_type
Scope kind for the search.
stringNoprojectsone of "projects", "folders", "organizations"—
scope_id
Id of the scope to act on, from its Cloud Asset URL or console — not its name.
stringYes———
asset_types
Optional. A list of asset types that the IAM policies are attached to. If empty, it will search the IAM polici
stringNo———
order_by
Optional. A comma-separated list of fields specifying the sorting order of the results. The default order is a
stringNo———
page_size
Optional. The page size for search result pagination. Page size is capped at 500 even if a larger value is giv
numberNo50≥ 1—
page_token
Optional. If present, retrieve the next batch of results from the preceding call to this method.
stringNo———
query
Optional. The query statement. See [how to construct a query](https://cloud.google.com/asset-inventory/docs/se
stringNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "page_size": 50,
  "scope_type": "projects"
}

Output

One shape.

result

FieldTypeExample
ok
boolean—
results
array—
nextPageToken
string—
{
  "nextPageToken": "",
  "ok": false,
  "results": []
}

Related Google Cloud Asset nodes

See Search All Iam Policies run in a workflow.

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