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.

FieldTypeRequiredDefaultConstraintsExample
location
Location / region (overrides connection).
stringNo———
organization
Organization id.
stringYes———
filter
A custom filter for filtering by properties of a workload. At this time, only filtering by labels is supported
stringNo———
page_size
How many rows per page; blank uses the API default.
numberNo50≥ 1—
page_token
Page token returned from previous request. Page token contains context from previous request. Page token needs
stringNo———

Example configuration

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

{
  "page_size": 50
}

Output

One shape.

result

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

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.