google_bigquery_datapolicyv2_data_policyNivis Nix constructor for the google_bigquery_datapolicyv2_data_policy resource (provider google-beta). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
data_policy_id,
data_policy_type,
location,
deletion_policy ? null,
etag ? null,
grantees ? null,
id ? null,
project ? null,
data_governance_tag ? null,
data_masking_policy ? null,
timeouts ? null,
overrides ? {}
}Required arguments
data_policy_iddata_policy_typelocation
Optional arguments
deletion_policy(defaults tonull)etag(defaults tonull)grantees(defaults tonull)id(defaults tonull)project(defaults tonull)data_governance_tag(defaults tonull)data_masking_policy(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
namepolicy_tagversion
Example
google_bigquery_datapolicyv2_data_policy {
name = "bigquery_datapolicyv2_data_policy";
data_policy_id = …; # required
data_policy_type = …; # required
location = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.