Search All Resources
cloud_asset.search_all_resources
ActionGoogle Cloudconnection required
Calls Cloud Asset GET /v1/{v1Id}/{v1Id1}:searchAllResources.
Searches all Google Cloud resources 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.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
scope_type Scope kind for the search. | string | No | projects | one of "projects", "folders", "organizations" | — |
scope_id Id of the scope to act on, from its Cloud Asset URL or console — not its name. | string | Yes | — | — | — |
asset_types Optional. A list of asset types that this request searches for. If empty, it will search all the asset types [ | string | No | — | — | — |
order_by Optional. A comma-separated list of fields specifying the sorting order of the results. The default order is a | string | No | — | — | — |
page_size Optional. The page size for search result pagination. Page size is capped at 500 even if a larger value is giv | number | No | 50 | ≥ 1 | — |
page_token Optional. If present, then retrieve the next batch of results from the preceding call to this method. `page_to | string | No | — | — | — |
query Optional. The query statement. See [how to construct a query](https://cloud.google.com/asset-inventory/docs/se | string | No | — | — | — |
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
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
results | array | — |
nextPageToken | string | — |
{
"nextPageToken": "",
"ok": false,
"results": []
}Related Google Cloud Asset nodes
See Search All Resources 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.