Method: projects.datasets.create

Create a new dataset for the specified project.

HTTP request

POST https://mapsplatformdatasets.googleapis.com/v1/{parent=projects/*}/datasets

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Parent project that will own the dataset. Format: projects/{$project}

Request body

The request body contains an instance of Dataset.

The displayName has to be unique within a project, and the usage must be set to USAGE_DATA_DRIVEN_STYLING.

Response body

If successful, the response body contains a newly created instance of Dataset.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

IAM Permissions

Requires the following IAM permission on the parent resource:

  • mapsplatformdatasets.datasets.create

For more information, see the IAM documentation.