Duyuru:
15 Nisan 2025'ten önce Earth Engine'i kullanmak için kaydedilen tüm ticari olmayan projelerin Earth Engine erişimini sürdürmek için
ticari olmayan uygunluğu doğrulaması gerekir.
ee.data.listBuckets
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Cloud projesi veya kullanıcı için üst düzey öğeleri ve klasörleri döndürür. Mevcut projeyi kullanmak için proje alanını boş bırakın.
Kullanım | İadeler |
---|
ee.data.listBuckets(project, callback) | api.ListAssetsResponse |
Bağımsız Değişken | Tür | Ayrıntılar |
---|
project | Dize, isteğe bağlı | Sorgulanacak proje (ör. "projects/my-project"). Varsayılan olarak geçerli proje kullanılır. Kullanıcı ana klasörleri için "projects/earthengine-legacy" kullanın. |
callback | İşlev, isteğe bağlı | Sağlanmazsa arama senkronize olarak yapılır. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 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. |"]]