Method: projects.locations.datasets.list
Stay organized with collections
Save and categorize content based on your preferences.
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 :
|
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.
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 2019-12-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-12-17 UTC."],[[["This webpage details how to list datasets within a specific project using the AutoML API."],["The HTTP request is a `GET` operation to a specific endpoint, requiring a `parent` path parameter to identify the project."],["Query parameters like `filter`, `pageSize`, and `pageToken` can be used to refine the dataset list results."],["The request body must be empty for this operation, and the response body will include an array of `datasets` objects and a `nextPageToken` for pagination."],["Authorization for this operation requires the `automl.datasets.list` permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]