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

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
DataPolicy.Types.DataPolicyType

MatchingLabelCase

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

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
DataPolicy.PolicyOneofCase

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