Method: projects.datasets.create

Creates dataset. If success return a Dataset resource.

HTTP request

POST https://datalabeling.googleapis.com/v1beta1/{parent=projects/*}/datasets

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Dataset resource parent, format: projects/{project_id}

Authorization requires the following Google IAM permission on the specified resource parent:

  • datalabeling.datasets.create

Request body

The request body contains data with the following structure:

JSON representation
{
  "dataset": {
    object (Dataset)
  }
}
Fields
dataset

object (Dataset)

Required. The dataset to be created.

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

For more information, see the Authentication Overview.