Method: projects.locations.dataProducts.create

Creates a data product.

HTTP request

POST https://dataplex.googleapis.com/v1/{parent=projects/*/locations/*}/dataProducts

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource where this data product will be created. Format: projects/{project_id_or_number}/locations/{locationId}

Query parameters

Parameters
dataProductId

string

Optional. The ID of the data product 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.

validateOnly

boolean

Optional. Validates the request without actually creating the data product. Default: false.

Request body

The request body contains an instance of DataProduct.

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.dataProducts.create

For more information, see the IAM documentation.