Method: datasets.list

Lists datasets within a project.

HTTP request

GET https://genomics.googleapis.com/v1/datasets

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
projectId

string

Required. The Google Cloud project ID to list datasets for.

pageSize

number

The maximum number of results to return in a single page. If unspecified, defaults to 50. The maximum value is 1024.

pageToken

string

The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

Request body

The request body must be empty.

Response body

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

The dataset list response.

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

object(Dataset)

The list of matching Datasets.

nextPageToken

string

The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.

Authorization Scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.

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

Send feedback about...

Cloud Genomics