Interface UpdateDataPolicyRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateDataPolicyRequest,UpdateDataPolicyRequest.Builder
@Generated
public interface UpdateDataPolicyRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Required.Required.com.google.protobuf.FieldMaskOptional.com.google.protobuf.FieldMaskOrBuilderOptional.booleanRequired.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDataPolicy
boolean hasDataPolicy()Required. Update the data policy's metadata. The target data policy is determined by the `name` field. Other fields are updated to the specified values based on the field masks.
.google.cloud.bigquery.datapolicies.v2.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the dataPolicy field is set.
-
getDataPolicy
DataPolicy getDataPolicy()Required. Update the data policy's metadata. The target data policy is determined by the `name` field. Other fields are updated to the specified values based on the field masks.
.google.cloud.bigquery.datapolicies.v2.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The dataPolicy.
-
getDataPolicyOrBuilder
DataPolicyOrBuilder getDataPolicyOrBuilder()Required. Update the data policy's metadata. The target data policy is determined by the `name` field. Other fields are updated to the specified values based on the field masks.
.google.cloud.bigquery.datapolicies.v2.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED]; -
hasUpdateMask
boolean hasUpdateMask()Optional. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update. Updates to the `name` and `dataPolicyId` fields are not allowed.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.FieldMask getUpdateMask()Optional. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update. Updates to the `name` and `dataPolicyId` fields are not allowed.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update. Updates to the `name` and `dataPolicyId` fields are not allowed.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getAllowMissing
boolean getAllowMissing()Optional. If set to true, and the data policy is not found, a new data policy will be created. In this situation, update_mask is ignored.
bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The allowMissing.
-