ee.data.listAssets
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
فهرستی از محتویات موجود در یک مجموعه یا پوشه دارایی، در یک شی که شامل یک آرایه
assets
و یک
nextPageToken
اختیاری است، برمیگرداند.
استفاده | برمی گرداند | ee.data.listAssets(parent, params , callback ) | api.ListAssetsResponse |
استدلال | تایپ کنید | جزئیات | parent | رشته | شناسه مجموعه یا پوشه برای فهرست. |
params | api.ProjectsAssetsListAssetsNamedParameters، اختیاری است | یک شی حاوی پارامترهای درخواست اختیاری با مقادیر ممکن زیر: pageSize (رشته) تعداد نتایج برای بازگشت. اگر مشخص نشده باشد، همه نتایج برگردانده می شوند. | pageToken (رشته) نشانه صفحه نتایج برای بازگشت. | filter (رشته) یک درخواست فیلتر اضافی برای اعمال. پرس و جوی مثال: properties.my_property>=1 AND properties.my_property<2 AND startTime >= "2019-01-01T00:00:00.000Z" AND endTime < "2020-01-01T00:00:00.000Z" AND intersects("{'type':'Point','coordinates':[0,0]}") برای چگونگی ساخت پرس و جو به https://google.aip.dev/160 مراجعه کنید. | view (رشته) مشخص می کند که چه مقدار جزئیات در لیست برگردانده می شود. یا «FULL» (پیشفرض) برای همه ویژگیهای تصویر یا «BASIC». |
|
callback | عملکرد، اختیاری | در صورت عدم ارائه، تماس به صورت همزمان انجام می شود. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eRetrieves the contents within an Earth Engine asset collection or folder, returning an object containing an \u003ccode\u003eassets\u003c/code\u003e array and potentially a \u003ccode\u003enextPageToken\u003c/code\u003e for accessing further results.\u003c/p\u003e\n"],["\u003cp\u003eAccepts the parent collection/folder ID, optional parameters like page size and filters, and an optional callback function for asynchronous execution.\u003c/p\u003e\n"],["\u003cp\u003eEnables customization of the query by allowing users to filter results based on properties, time ranges, or geographic intersections using the \u003ccode\u003efilter\u003c/code\u003e parameter.\u003c/p\u003e\n"],["\u003cp\u003eOffers two viewing options, "FULL" for comprehensive image property details and "BASIC" for a more concise representation.\u003c/p\u003e\n"],["\u003cp\u003eFacilitates navigation through large result sets via pagination, utilizing \u003ccode\u003epageSize\u003c/code\u003e to limit results per page and \u003ccode\u003enextPageToken\u003c/code\u003e to access subsequent pages.\u003c/p\u003e\n"]]],[],null,["# ee.data.listAssets\n\n\u003cbr /\u003e\n\nReturns a list of the contents in an asset collection or folder, in an object that includes an `assets` array and an optional `nextPageToken`.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------------------------|------------------------|\n| `ee.data.listAssets(parent, `*params* `, `*callback*`)` | api.ListAssetsResponse |\n\n| Argument | Type | Details |\n|------------|-------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | String | The ID of the collection or folder to list. |\n| `params` | api.ProjectsAssetsListAssetsNamedParameters, optional | An object containing optional request parameters with the following possible values: |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` pageSize ` (string) The number of results to return. If not specified, all results are returned. | | ` pageToken ` (string) The token for the page of results to return. | | ` filter ` (string) An additional filter query to apply. Example query: `properties.my_property\u003e=1 AND properties.my_property\u003c2 AND startTime \u003e= \"2019-01-01T00:00:00.000Z\" AND endTime \u003c \"2020-01-01T00:00:00.000Z\" AND intersects(\"{'type':'Point','coordinates':[0,0]}\")` See https://google.aip.dev/160 for how to construct a query. | | ` view ` (string) Specifies how much detail is returned in the list. Either \"FULL\" (default) for all image properties or \"BASIC\". | |\n| `callback` | Function, optional | If not supplied, the call is made synchronously. |"]]