ee.data.getAssetRootQuota
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."],[[["Provides quota usage details for a specified asset root folder, such as \"users/foo\"."],["Requires authentication and ownership of the asset root by the user to view quota usage."],["Accepts the asset root ID and an optional callback function as arguments."],["Returns an object containing asset quota details."],["Only applies to the top-level folder (root folder) and does not work with nested folders."]]],[]]