List Policies

binary_authorization.list_policies
ActionGoogle Cloudconnection required

Calls Binary Authorization GET /v1/projects/{projectsId}/platforms/{platformsId}/policies.

Lists platform policies owned by a project in the specified platform. Returns INVALID_ARGUMENT if the project or the platform doesn't exist.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Binary Authorization
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id
Resolved by
config.connection_id, else node.connection_id

Configuration

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

FieldTypeRequiredDefaultConstraintsExample
project_id
GCP project id (overrides connection).
stringNo———
platform
Id of the platform to act on, from its Binary Authorization URL or console — not its name.
stringYes———
page_size
Requested page size. The server may return fewer results than requested. If unspecified, the server picks an a
numberNo50≥ 1—
page_token
A token identifying a page of results the server should return. Typically, this is the value of ListPlatformPo
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—
platformPolicies
array—
nextPageToken
string—
{
  "nextPageToken": "",
  "ok": false,
  "platformPolicies": []
}

See List Policies run in a workflow.

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