ee.data.listBuckets
Returns top-level assets and folders for the Cloud Project or user. Leave the project field blank to use the current project.
Usage | Returns |
---|
ee.data.listBuckets(project, callback) | api.ListAssetsResponse |
Argument | Type | Details |
---|
project | String, optional | Project to query, e.g. "projects/my-project". Defaults to current project. Use "projects/earthengine-legacy" for user home folders. |
callback | Function, optional | If not supplied, the call is made synchronously. |
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-11-01 UTC.
[null,null,["Last updated 2023-11-01 UTC."],[[["Returns a list of top-level assets and folders within a specified Google Cloud project or the user's Earth Engine home folder."],["The `ee.data.listBuckets` function is used to retrieve this information, allowing optional specification of the project and a callback function."],["When querying a user's home folders, use `\"projects/earthengine-legacy\"` as the project ID."]]],[]]