List Results
policy_simulator.list_results
ActionGoogle Cloudconnection required
Calls Policy Simulator GET /v1/projects/{projectsId}/locations/{locationsId}/replays/{replaysId}/results.
Lists the results of running a Replay.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Policy Simulator
- 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 |
|---|---|---|---|---|---|
project_id GCP project id (overrides connection). | string | No | — | — | — |
location Location / region (overrides connection). | string | No | — | — | — |
replay Id of the replay to act on, from its Policy Simulator URL or console — not its name. | string | Yes | — | — | — |
page_size The maximum number of ReplayResult objects to return. Defaults to 5000. The maximum value is 5000; values abov | number | No | 50 | ≥ 1 | — |
page_token A page token, received from a previous Simulator.ListReplayResults call. Provide this token to retrieve the ne | 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 | — |
replayResults | array | — |
{
"nextPageToken": "",
"ok": false,
"replayResults": []
}Related Google Policy Simulator nodes
See List Results run in a workflow.
In a technical demo we add the Google Policy Simulator connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.