List Workloads
assured_workloads.list_workloads
ActionGoogle Cloudconnection required
Calls Assured Workloads GET /v1/organizations/{organizationsId}/locations/{locationsId}/workloads.
Lists Assured Workloads under a CRM Node.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Assured Workloads
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Config it needs
- location, project_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
5 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 |
|---|---|---|---|---|---|
location Location / region (overrides connection). | string | No | — | — | — |
organization Organization id. | string | Yes | — | — | — |
filter A custom filter for filtering by properties of a workload. At this time, only filtering by labels is supported | string | No | — | — | — |
page_size How many rows per page; blank uses the API default. | number | No | 50 | ≥ 1 | — |
page_token Page token returned from previous request. Page token contains context from previous request. Page token needs | string | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"page_size": 50
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
nextPageToken | string | — |
workloads | array | — |
{
"nextPageToken": "",
"ok": false,
"workloads": []
}Related Google Assured Workloads nodes
See List Workloads run in a workflow.
In a technical demo we add the Google Assured Workloads connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.