Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The function ee.data.listAssets returns a list of contents in an asset collection or folder.
The result includes an assets array and an optional nextPageToken.
The function requires a parent (String) argument for the ID of the collection or folder.
Optional arguments include params (api.ProjectsAssetsListAssetsNamedParameters) for pagination, filtering, and view, and callback (Function) for asynchronous calls.
Returns a list of the contents in an asset collection or folder, in an object that includes an assets array and an optional nextPageToken.
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>=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]}") 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".