Method: projects.datasets.create

  • Create a new dataset within a specified Google Cloud project using an HTTP POST request.

  • The request should include the project ID in the URL and a Dataset object in the request body, adhering to the specified format and authorization protocols.

  • Upon successful creation, the response will contain the newly created Dataset object.

  • Necessary permissions include cloud-platform OAuth scope and mapsplatformdatasets.datasets.create IAM permission on the parent project.

Create a new dataset for the specified project.

HTTP request

POST https://mapsplatformdatasets.googleapis.com/v1alpha/{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.

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.