Interface CreateDataPolicyRequestOrBuilder (0.16.0)

public interface CreateDataPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataPolicy()

public abstract DataPolicy getDataPolicy()

Required. The data policy to create. The name field does not need to be provided for the data policy creation.

.google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DataPolicy

The dataPolicy.

getDataPolicyOrBuilder()

public abstract DataPolicyOrBuilder getDataPolicyOrBuilder()

Required. The data policy to create. The name field does not need to be provided for the data policy creation.

.google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DataPolicyOrBuilder

getParent()

public abstract String getParent()

Required. Resource name of the project that the data policy will belong to. The format is projects/{project_number}/locations/{location_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Resource name of the project that the data policy will belong to. The format is projects/{project_number}/locations/{location_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasDataPolicy()

public abstract boolean hasDataPolicy()

Required. The data policy to create. The name field does not need to be provided for the data policy creation.

.google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the dataPolicy field is set.