# Class UpdateDataPolicyRequest (0.10.0)

0.10.0 (latest) 0.9.0 0.8.0 0.7.0 0.6.16 0.5.3 0.4.0 0.3.2 0.2.0 0.1.1

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

Response message for the UpdateDataPolicy method.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `data_policy` | `https://docs.cloud.google.com/python/docs/reference/bigquerydatapolicy/latest/google.cloud.bigquery_datapolicies_v1beta1.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` 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. |