BigQuery Data Policy v1beta1 API - Class DataPolicy (1.0.0-beta02)

public sealed class DataPolicy : IMessage<DataPolicy>, IEquatable<DataPolicy>, IDeepCloneable<DataPolicy>, IBufferMessage, IMessage

Reference documentation and code samples for the BigQuery Data Policy v1beta1 API class DataPolicy.

Represents the label-policy binding.

Inheritance

object > DataPolicy

Namespace

Google.Cloud.BigQuery.DataPolicies.V1Beta1

Assembly

Google.Cloud.BigQuery.DataPolicies.V1Beta1.dll

Constructors

DataPolicy()

public DataPolicy()

DataPolicy(DataPolicy)

public DataPolicy(DataPolicy other)
Parameter
NameDescription
otherDataPolicy

Properties

DataMaskingPolicy

public DataMaskingPolicy DataMaskingPolicy { get; set; }

The data masking policy that specifies the data masking rule to use.

Property Value
TypeDescription
DataMaskingPolicy

DataPolicyId

public string DataPolicyId { get; set; }

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.

Property Value
TypeDescription
string

DataPolicyName

public DataPolicyName DataPolicyName { get; set; }

DataPolicyName-typed view over the Name resource name property.

Property Value
TypeDescription
DataPolicyName

DataPolicyType

public DataPolicy.Types.DataPolicyType DataPolicyType { get; set; }

Type of data policy.

Property Value
TypeDescription
DataPolicyTypesDataPolicyType

HasPolicyTag

public bool HasPolicyTag { get; }

Gets whether the "policy_tag" field is set

Property Value
TypeDescription
bool

MatchingLabelCase

public DataPolicy.MatchingLabelOneofCase MatchingLabelCase { get; }
Property Value
TypeDescription
DataPolicyMatchingLabelOneofCase

Name

public string Name { get; set; }

Output only. Resource name of this data policy, in the format of projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.

Property Value
TypeDescription
string

PolicyCase

public DataPolicy.PolicyOneofCase PolicyCase { get; }
Property Value
TypeDescription
DataPolicyPolicyOneofCase

PolicyTag

public string PolicyTag { get; set; }

Policy tag resource name, in the format of projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}.

Property Value
TypeDescription
string