Interface UpdateDataPolicyRequestOrBuilder (0.28.0)

public interface UpdateDataPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataPolicy()

public abstract 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.v1beta1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DataPolicy

The dataPolicy.

getDataPolicyOrBuilder()

public abstract 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.v1beta1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DataPolicyOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

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;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

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;

Returns
TypeDescription
FieldMaskOrBuilder

hasDataPolicy()

public abstract 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.v1beta1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the dataPolicy field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

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;

Returns
TypeDescription
boolean

Whether the updateMask field is set.