Interface CreateDataPolicyRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateDataPolicyRequest,CreateDataPolicyRequest.Builder
public interface CreateDataPolicyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataPolicygetDataPolicy()Required.DataPolicyOrBuildergetDataPolicyOrBuilder()Required.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.booleanhasDataPolicy()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasDataPolicy
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:
- Whether the dataPolicy field is set.
-
getDataPolicy
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:
- The dataPolicy.
-
getDataPolicyOrBuilder
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];
-
-