Interface DataPolicyOrBuilder (0.40.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.v1.DataMaskingPolicy data_masking_policy = 5;

Returns
Type Description
DataMaskingPolicy

The dataMaskingPolicy.

getDataMaskingPolicyOrBuilder()

public abstract DataMaskingPolicyOrBuilder getDataMaskingPolicyOrBuilder()

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

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for dataPolicyId.

getDataPolicyType()

public abstract DataPolicy.DataPolicyType getDataPolicyType()

Type of data policy.

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

Returns
Type Description
DataPolicy.DataPolicyType

The dataPolicyType.

getDataPolicyTypeValue()

public abstract int getDataPolicyTypeValue()

Type of data policy.

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

Returns
Type Description
int

The enum numeric value on the wire for dataPolicyType.

getMatchingLabelCase()

public abstract DataPolicy.MatchingLabelCase getMatchingLabelCase()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getPolicyCase()

public abstract DataPolicy.PolicyCase getPolicyCase()
Returns
Type Description
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
Type Description
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
Type Description
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.v1.DataMaskingPolicy data_masking_policy = 5;

Returns
Type Description
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
Type Description
boolean

Whether the policyTag field is set.