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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class UpdateDataPolicyRequest (0.6.16)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.16 (latest)](/python/docs/reference/bigquerydatapolicy/latest/google.cloud.bigquery_datapolicies_v2.types.UpdateDataPolicyRequest)\n- [0.6.15](/python/docs/reference/bigquerydatapolicy/0.6.15/google.cloud.bigquery_datapolicies_v2.types.UpdateDataPolicyRequest)\n- [0.5.3](/python/docs/reference/bigquerydatapolicy/0.5.3/google.cloud.bigquery_datapolicies_v2.types.UpdateDataPolicyRequest)\n- [0.4.0](/python/docs/reference/bigquerydatapolicy/0.4.0/google.cloud.bigquery_datapolicies_v2.types.UpdateDataPolicyRequest)\n- [0.3.2](/python/docs/reference/bigquerydatapolicy/0.3.2/google.cloud.bigquery_datapolicies_v2.types.UpdateDataPolicyRequest)\n- [0.2.0](/python/docs/reference/bigquerydatapolicy/0.2.0/google.cloud.bigquery_datapolicies_v2.types.UpdateDataPolicyRequest)\n- [0.1.1](/python/docs/reference/bigquerydatapolicy/0.1.1/google.cloud.bigquery_datapolicies_v2.types.UpdateDataPolicyRequest) \n\n UpdateDataPolicyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nRequest message for the UpdateDataPolicy method."]]