AI-generated Key Takeaways
-
The
listAssets
method lists any container asset like a folder or collection. -
The HTTP request is a GET request to
https://earthengine.googleapis.com/v1alpha/{parent=projects/*}:listAssets
. -
The
parent
parameter is required and specifies the name of the container asset. -
Optional query parameters include
pageSize
,pageToken
,filter
, andview
. -
The response body contains a
ListAssetsResponse
instance if successful and requires specific OAuth scopes for authorization.
Lists any container asset, such as a folder or collection.
HTTP request
GET https://earthengine.googleapis.com/v1alpha/{parent=projects/*}:listAssets
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The name of the container asset to list. Authorization requires one or more of the following IAM permissions on the specified resource
|
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of results per page. The server may return fewer assets than requested. If unspecified, the page size default depends on the EarthEngineAssetView, with higher limits for more restrictive views. |
pageToken |
A token identifying a page of results the server should return. Typically this is the value of |
filter |
If present, specifies a filter. Filters are only applied to The fields An example date filter:
An example property filter:
An example geometry filter:
See https://google.aip.dev/160 for more details on the filter language. |
view |
Specifies which parts of the |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListAssetsResponse
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/earthengine
https://www.googleapis.com/auth/earthengine.readonly
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-platform.read-only
For more information, see the OAuth 2.0 Overview.