google_bigquery_datapolicy_data_policy

Nivis Nix constructor for the google_bigquery_datapolicy_data_policy resource (provider google). 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_id
  • data_policy_type
  • location
  • policy_tag
Optional arguments
  • deletion_policy (defaults to null)
  • id (defaults to null)
  • project (defaults to null)
  • data_masking_policy (defaults to null)
  • timeouts (defaults to null)
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.