Interface DataPolicyOrBuilder (0.13.0)

public interface DataPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataMaskingPolicy()

public abstract DataMaskingPolicy getDataMaskingPolicy()

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

.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy data_masking_policy = 5;

Returns
TypeDescription
DataMaskingPolicy

The dataMaskingPolicy.

getDataMaskingPolicyOrBuilder()

public abstract DataMaskingPolicyOrBuilder getDataMaskingPolicyOrBuilder()

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

.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy data_masking_policy = 5;

Returns
TypeDescription
DataMaskingPolicyOrBuilder

getDataPolicyId()

public abstract String getDataPolicyId()

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.

string data_policy_id = 3;

Returns
TypeDescription
String

The dataPolicyId.

getDataPolicyIdBytes()

public abstract ByteString getDataPolicyIdBytes()

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.

string data_policy_id = 3;

Returns
TypeDescription
ByteString

The bytes for dataPolicyId.

getDataPolicyType()

public abstract DataPolicy.DataPolicyType getDataPolicyType()

Type of data policy.

.google.cloud.bigquery.datapolicies.v1beta1.DataPolicy.DataPolicyType data_policy_type = 2;

Returns
TypeDescription
DataPolicy.DataPolicyType

The dataPolicyType.

getDataPolicyTypeValue()

public abstract int getDataPolicyTypeValue()

Type of data policy.

.google.cloud.bigquery.datapolicies.v1beta1.DataPolicy.DataPolicyType data_policy_type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for dataPolicyType.

getMatchingLabelCase()

public abstract DataPolicy.MatchingLabelCase getMatchingLabelCase()
Returns
TypeDescription
DataPolicy.MatchingLabelCase

getName()

public abstract String getName()

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

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getPolicyCase()

public abstract DataPolicy.PolicyCase getPolicyCase()
Returns
TypeDescription
DataPolicy.PolicyCase

getPolicyTag()

public abstract String getPolicyTag()

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

string policy_tag = 4;

Returns
TypeDescription
String

The policyTag.

getPolicyTagBytes()

public abstract ByteString getPolicyTagBytes()

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

string policy_tag = 4;

Returns
TypeDescription
ByteString

The bytes for policyTag.

hasDataMaskingPolicy()

public abstract boolean hasDataMaskingPolicy()

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

.google.cloud.bigquery.datapolicies.v1beta1.DataMaskingPolicy data_masking_policy = 5;

Returns
TypeDescription
boolean

Whether the dataMaskingPolicy field is set.

hasPolicyTag()

public abstract boolean hasPolicyTag()

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

string policy_tag = 4;

Returns
TypeDescription
boolean

Whether the policyTag field is set.