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

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

Request message for the CreateDataPolicy method.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. Resource name of the project that the data policy will belong to. The format is `projects/{project_number}/locations/{location_id}`. |
| `data_policy` | `https://docs.cloud.google.com/python/docs/reference/bigquerydatapolicy/latest/google.cloud.bigquery_datapolicies_v1beta1.types.DataPolicy` Required. The data policy to create. The `name` field does not need to be provided for the data policy creation. |