Method: projects.locations.datasets.list

Lists datasets in a project.

HTTP request

GET https://automl.googleapis.com/v1beta1/{parent}/datasets

Path parameters

Parameters
parent

string

The resource name of the project from which to list datasets.

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

  • automl.datasets.list

Query parameters

Parameters
filter

string

An expression for filtering the results of the request.

  • dataset_metadata - for existence of the case (e.g. imageClassificationDatasetMetadata:*). Some examples of using the filter are:

  • translationDatasetMetadata:* --> The dataset has translationDatasetMetadata.

pageSize

integer

Requested page size. Server may return fewer results than requested. If unspecified, server will pick a default size.

pageToken

string

A token identifying a page of results for the server to return Typically obtained via ListDatasetsResponse.next_page_token of the previous AutoMl.ListDatasets call.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for AutoMl.ListDatasets.

JSON representation
{
  "datasets": [
    {
      object (Dataset)
    }
  ],
  "nextPageToken": string
}
Fields
datasets[]

object (Dataset)

The datasets read.

nextPageToken

string

A token to retrieve next page of results. Pass to ListDatasetsRequest.page_token to obtain that page.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.