BigQuery Data Policy Service V1beta1 API - Class Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicy (v0.5.0)

Reference documentation and code samples for the BigQuery Data Policy Service V1beta1 API class Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicy.

Represents the label-policy binding.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#data_masking_policy

def data_masking_policy() -> ::Google::Cloud::Bigquery::DataPolicies::V1beta1::DataMaskingPolicy
Returns

#data_masking_policy=

def data_masking_policy=(value) -> ::Google::Cloud::Bigquery::DataPolicies::V1beta1::DataMaskingPolicy
Parameter
Returns

#data_policy_id

def data_policy_id() -> ::String
Returns
  • (::String) — 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.

#data_policy_id=

def data_policy_id=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#data_policy_type

def data_policy_type() -> ::Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicy::DataPolicyType

#data_policy_type=

def data_policy_type=(value) -> ::Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicy::DataPolicyType

#name

def name() -> ::String
Returns
  • (::String) — Output only. Resource name of this data policy, in the format of projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.

#policy_tag

def policy_tag() -> ::String
Returns
  • (::String) — Policy tag resource name, in the format of projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}.

#policy_tag=

def policy_tag=(value) -> ::String
Parameter
  • value (::String) — Policy tag resource name, in the format of projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}.
Returns
  • (::String) — Policy tag resource name, in the format of projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}.