Class UpdateDataPolicyRequest (0.6.16)

UpdateDataPolicyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for the UpdateDataPolicy method.

Attributes

Name Description
data_policy google.cloud.bigquery_datapolicies_v2.types.DataPolicy
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.
update_mask google.protobuf.field_mask_pb2.FieldMask
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.
allow_missing bool
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.