Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.data.getAssetRootQuota
Stay organized with collections
Save and categorize content based on your preferences.
Returns quota usage details for the asset root with the given ID.
Usage notes:
- The id must be a root folder like "users/foo" (not "users/foo/bar").
- The authenticated user must own the asset root to see its quota usage.
Usage | Returns | ee.data.getAssetRootQuota(rootId, callback) | AssetQuotaDetails |
Argument | Type | Details | rootId | String | The ID of the asset root to check, e.g. "users/foo". |
callback | Function, optional | An optional callback. 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-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eProvides quota usage details for a specified asset root folder, such as "users/foo".\u003c/p\u003e\n"],["\u003cp\u003eRequires authentication and ownership of the asset root by the user to view quota usage.\u003c/p\u003e\n"],["\u003cp\u003eAccepts the asset root ID and an optional callback function as arguments.\u003c/p\u003e\n"],["\u003cp\u003eReturns an object containing asset quota details.\u003c/p\u003e\n"],["\u003cp\u003eOnly applies to the top-level folder (root folder) and does not work with nested folders.\u003c/p\u003e\n"]]],[],null,["# ee.data.getAssetRootQuota\n\n\u003cbr /\u003e\n\nReturns quota usage details for the asset root with the given ID.\n\n\u003cbr /\u003e\n\nUsage notes:\n\n- The id *must* be a root folder like \"users/foo\" (not \"users/foo/bar\").\n\n- The authenticated user must own the asset root to see its quota usage.\n\n| Usage | Returns |\n|---------------------------------------------------|-------------------|\n| `ee.data.getAssetRootQuota(rootId, `*callback*`)` | AssetQuotaDetails |\n\n| Argument | Type | Details |\n|------------|--------------------|------------------------------------------------------------------------|\n| `rootId` | String | The ID of the asset root to check, e.g. \"users/foo\". |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]