List Data Policies

bigquery_data_policy.list_data_policies
ActionGoogle Cloudconnection required

Calls BigQuery Data Policy GET /v2/projects/{projectsId}/locations/{locationsId}/dataPolicies.

List all of the data policies in the specified parent project.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google BigQuery Data Policy
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, none 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———
location
Location / region (overrides connection).
stringNo———
filter
Optional. Filters the data policies by policy tags that they are associated with. Currently filter only suppor
stringNo———
page_size
Optional. The maximum number of data policies to return. Must be a value between 1 and 1000. If not set, defau
numberNo50≥ 1—
page_token
Optional. The `nextPageToken` value returned from a previous list request, if any.
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—
dataPolicies
array—
nextPageToken
string—
{
  "dataPolicies": [],
  "nextPageToken": "",
  "ok": false
}

See List Data Policies run in a workflow.

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