# Class RenameDataPolicyRequest (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

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

Request message for the RenameDataPolicy method.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Required. Resource name of the data policy to rename. The format is `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}` |
| `new_data_policy_id` | `str` Required. The new data policy id. |