@swamp/gcp/bigquerydatapolicy
v2026.04.04.1
Google Cloud bigquerydatapolicy infrastructure models
Labels
gcpgoogle-cloudbigquerydatapolicycloudinfrastructure
Contents
Install
$ swamp extension pull @swamp/gcp/bigquerydatapolicyRelease Notes
- Updated: datapolicies
@swamp/gcp/bigquerydatapolicy/datapoliciesv2026.04.04.1datapolicies.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| dataPolicy? | object | Represents the label-policy binding. |
| dataPolicyId? | string | Output only. User-assigned (human readable) ID of the data policy that needs to be unique within a project. Used as {data_policy_id} in part of the resource name. |
| dataMaskingPolicy? | object | The policy used to specify data masking rule. |
| dataPolicyType? | enum | Required. Type of data policy. |
| etag? | string | The etag for this Data Policy. This field is used for UpdateDataPolicy calls. If Data Policy exists, this field is required and must match the server's etag. It will also be populated in the response of GetDataPolicy, CreateDataPolicy, and UpdateDataPolicy calls. |
| grantees? | array | Optional. The list of IAM principals that have Fine Grained Access to the underlying data goverened by this data policy. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2) Only supports principal types users, groups, serviceaccounts, cloudidentity. This field is supported in V2 Data Policy only. In case of V1 data policies (i.e. verion = 1 and policy_tag is set), this field is not populated. |
| name? | string | Identifier. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. |
| policyTag? | string | Output only. Policy tag resource name, in the format of `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`. policy_tag is supported only for V1 data policies. |
| version? | enum | Output only. The version of the Data Policy resource. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a dataPolicies
getGet a dataPolicies
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the dataPolicies |
updateUpdate dataPolicies attributes
deleteDelete the dataPolicies
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the dataPolicies |
syncSync dataPolicies state from GCP
add_granteesadd grantees
| Argument | Type | Description |
|---|---|---|
| grantees? | any |
Resources
state(infinite)— Represents the label-policy binding.
2026.04.03.314.8 KBApr 3, 2026
Google Cloud bigquerydatapolicy infrastructure models
Release Notes
- Updated: datapolicies
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudbigquerydatapolicycloudinfrastructure
2026.04.03.114.7 KBApr 3, 2026
Google Cloud bigquerydatapolicy infrastructure models
Release Notes
- Updated: datapolicies
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudbigquerydatapolicycloudinfrastructure
2026.04.02.214.7 KBApr 2, 2026
Google Cloud bigquerydatapolicy infrastructure models
Release Notes
- Updated: datapolicies
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudbigquerydatapolicycloudinfrastructure
2026.03.27.114.4 KBMar 27, 2026
Google Cloud bigquerydatapolicy infrastructure models
Release Notes
- Added: datapolicies
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudbigquerydatapolicycloudinfrastructure