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: test for existence of metadata.

  • displayName: =, !=, and regex(). Uses re2 syntax.

An example of using the filter is:

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

  • regex(displayName, "^A") -> The dataset's display name starts with "A"

pageSize

number

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.

Was this page helpful? Let us know how we did:

Send feedback about...

AutoML Video Intelligence