ee.data.getAssetRootQuota
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह फ़ंक्शन, दिए गए आईडी वाली ऐसेट के रूट के लिए, कोटा के इस्तेमाल की जानकारी दिखाता है.
इस्तेमाल की जानकारी:
- आईडी, "users/foo" जैसा रूट फ़ोल्डर होना चाहिए, न कि "users/foo/bar".
- पुष्टि किए गए उपयोगकर्ता के पास ऐसेट रूट का मालिकाना हक होना चाहिए, ताकि वह इसके कोटे के इस्तेमाल की जानकारी देख सके.
इस्तेमाल | रिटर्न |
---|
ee.data.getAssetRootQuota(rootId, callback) | AssetQuotaDetails |
आर्ग्यूमेंट | टाइप | विवरण |
---|
rootId | स्ट्रिंग | जांच करने के लिए ऐसेट रूट का आईडी. उदाहरण के लिए, "users/foo". |
callback | फ़ंक्शन, ज़रूरी नहीं है | वैकल्पिक कॉलबैक. अगर यह पैरामीटर नहीं दिया जाता है, तो कॉल सिंक्रोनस तरीके से किया जाता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (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. |"]]