Interface CreateDataPolicyRequestOrBuilder (0.51.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.v1.DataPolicy data_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
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.v1.DataPolicy data_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
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
Type Description
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
Type Description
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.v1.DataPolicy data_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dataPolicy field is set.