# Class CreateDataAssetRequest (2.20.0)

2.20.0 (latest) 2.19.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.2 2.9.0 2.8.0 2.7.1 2.6.0 2.5.0 2.4.0 2.3.1 2.2.2 2.1.0 2.0.1 1.13.0 1.12.3 1.11.0 1.10.0 1.9.0 1.8.1 1.7.0 1.6.2 1.5.1 1.4.3 1.3.0 1.2.0 1.1.3 1.0.1 0.2.1 0.1.0

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

Request message for creating a data asset.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id} |
| `data_asset_id` | `str` Optional. The ID of the data asset to create. The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$` If not provided, a system generated ID will be used. |
| `data_asset` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.DataAsset` Required. The data asset to create. |
| `validate_only` | `bool` Optional. Validates the request without actually creating the data asset. Defaults to false. |