ee.data.listBuckets
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह Cloud प्रोजेक्ट या उपयोगकर्ता के लिए, टॉप-लेवल की ऐसेट और फ़ोल्डर दिखाता है. मौजूदा प्रोजेक्ट का इस्तेमाल करने के लिए, प्रोजेक्ट फ़ील्ड को खाली छोड़ दें.
इस्तेमाल | रिटर्न |
---|
ee.data.listBuckets(project, callback) | api.ListAssetsResponse |
आर्ग्यूमेंट | टाइप | विवरण |
---|
project | स्ट्रिंग, ज़रूरी नहीं | क्वेरी करने के लिए प्रोजेक्ट, जैसे कि "projects/my-project". डिफ़ॉल्ट रूप से, यह मौजूदा प्रोजेक्ट पर सेट होता है. उपयोगकर्ता के होम फ़ोल्डर के लिए, "projects/earthengine-legacy" का इस्तेमाल करें. |
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\u003eReturns a list of top-level assets and folders within a specified Google Cloud project or the user's Earth Engine home folder.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eee.data.listBuckets\u003c/code\u003e function is used to retrieve this information, allowing optional specification of the project and a callback function.\u003c/p\u003e\n"],["\u003cp\u003eWhen querying a user's home folders, use \u003ccode\u003e"projects/earthengine-legacy"\u003c/code\u003e as the project ID.\u003c/p\u003e\n"]]],[],null,["# ee.data.listBuckets\n\n\u003cbr /\u003e\n\nReturns top-level assets and folders for the Cloud Project or user. Leave the project field blank to use the current project.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------------------|------------------------|\n| `ee.data.listBuckets(`*project* `, `*callback*`)` | api.ListAssetsResponse |\n\n| Argument | Type | Details |\n|------------|--------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| `project` | String, optional | Project to query, e.g. \"projects/my-project\". Defaults to current project. Use \"projects/earthengine-legacy\" for user home folders. |\n| `callback` | Function, optional | If not supplied, the call is made synchronously. |"]]