google_bigquery_datapolicy_data_policyNivis Nix constructor for the google_bigquery_datapolicy_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,
policy_tag,
deletion_policy ? null,
id ? null,
project ? null,
data_masking_policy ? null,
timeouts ? null,
overrides ? {}
}Required arguments
data_policy_iddata_policy_typelocationpolicy_tag
Optional arguments
deletion_policy(defaults tonull)id(defaults tonull)project(defaults tonull)data_masking_policy(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
name
Example
google_bigquery_datapolicy_data_policy {
name = "bigquery_datapolicy_data_policy";
data_policy_id = …; # required
data_policy_type = …; # required
location = …; # required
policy_tag = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.