Skip to main content

@swamp/gcp/bigquerydatapolicy

v2026.04.04.1

Google Cloud bigquerydatapolicy infrastructure models

Labels

gcpgoogle-cloudbigquerydatapolicycloudinfrastructure

Contents

Install

$ swamp extension pull @swamp/gcp/bigquerydatapolicy

Release Notes

  • Updated: datapolicies

@swamp/gcp/bigquerydatapolicy/datapoliciesv2026.04.04.1datapolicies.ts

Global Arguments

ArgumentTypeDescription
dataPolicy?objectRepresents the label-policy binding.
dataPolicyId?stringOutput 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?objectThe policy used to specify data masking rule.
dataPolicyType?enumRequired. Type of data policy.
etag?stringThe 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?arrayOptional. 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?stringIdentifier. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.
policyTag?stringOutput 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?enumOutput only. The version of the Data Policy resource.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a dataPolicies
getGet a dataPolicies
ArgumentTypeDescription
identifierstringThe name of the dataPolicies
updateUpdate dataPolicies attributes
deleteDelete the dataPolicies
ArgumentTypeDescription
identifierstringThe name of the dataPolicies
syncSync dataPolicies state from GCP
add_granteesadd grantees
ArgumentTypeDescription
grantees?any

Resources

state(infinite)— Represents the label-policy binding.