This legacy version of AutoML Vision is deprecated and will no longer be available on Google Cloud after January 23, 2024. All the functionality of legacy AutoML Vision and new features are available on the Vertex AI platform. See Migrate to Vertex AI to learn how to migrate your resources.

Method: projects.locations.datasets.create

Stay organized with collections Save and categorize content based on your preferences.

Creates a dataset.

HTTP request


Path parameters



The resource name of the project to create the dataset for.

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

  • automl.datasets.create

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:


For more information, see the Authentication Overview.