Method: projects.datasets.list
Stay organized with collections
Save and categorize content based on your preferences.
List all the datasets for the specified project.
HTTP request
GET https://mapsplatformdatasets.googleapis.com/v1alpha/{parent=projects/*}/datasets
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The name of the project to list all the datasets for.
|
Query parameters
Parameters |
pageSize |
integer
The maximum number of versions to return per page. If unspecified (or zero), all datasets will be returned.
|
pageToken |
string
The page token, received from a previous datasets.list call. Provide this to retrieve the subsequent page.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Response to list datasets for the project.
JSON representation |
{
"datasets": [
{
object (Dataset )
}
],
"nextPageToken": string
} |
Fields |
datasets[] |
object (Dataset )
All the datasets for the project.
|
nextPageToken |
string
A token that can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
IAM Permissions
Requires the following IAM permission on the parent
resource:
mapsplatformdatasets.datasets.list
For more information, see the IAM documentation.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-03-24 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-03-24 UTC."],[[["Lists all datasets associated with a specified Google Cloud project."],["Utilizes an HTTP GET request with path and query parameters for filtering."],["Response provides a list of datasets and a token for pagination if necessary."],["Requires `cloud-platform` OAuth scope and `mapsplatformdatasets.datasets.list` IAM permission."]]],["This document details how to list datasets for a specified project. It uses a `GET` HTTP request to `https://mapsplatformdatasets.googleapis.com/v1alpha/{parent=projects/*}/datasets`, where `parent` is a required path parameter specifying the project name. Optional query parameters include `pageSize` to limit results and `pageToken` for pagination. The request body must be empty. The successful response contains a JSON body with an array of `datasets` and an optional `nextPageToken`. Authorization requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope and the `mapsplatformdatasets.datasets.list` IAM permission.\n"]]