- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Creates a data asset.
HTTP request
POST https://dataplex.googleapis.com/v1/{parent=projects/*/locations/*/dataProducts/*}/dataAssets
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent resource where this data asset will be created. Format: projects/{project_id_or_number}/locations/{locationId}/dataProducts/{dataProductId} |
Query parameters
| Parameters | |
|---|---|
dataAssetId |
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: |
validateOnly |
Optional. Validates the request without actually creating the data asset. Defaults to false. |
Request body
The request body contains an instance of DataAsset.
Response body
If successful, the response body contains a newly created instance of Operation.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
dataplex.dataAssets.create
For more information, see the IAM documentation.