AI-generated Key Takeaways
-
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-platformOAuth scope andmapsplatformdatasets.datasets.listIAM permission.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- IAM Permissions
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 |
Required. The name of the project to list all the datasets for. |
Query parameters
| Parameters | |
|---|---|
pageSize |
The maximum number of versions to return per page. If unspecified (or zero), all datasets will be returned. |
pageToken |
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 ( |
| Fields | |
|---|---|
datasets[] |
All the datasets for the project. |
nextPageToken |
A token that can be sent as |
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.