Method: projects.assets.search

Searches for assets.

HTTP request

GET https://earthengine.googleapis.com/v1alpha/{project=projects/*}/assets:search

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
project

string

The project to search, must currently be "projects/earthengine-public"

Authorization requires the following Google IAM permission on the specified resource project:

  • earthengine.assets.list

Query parameters

Parameters
query

string

The query string. The expected query format is ${key}:${value} separated by spaces e.g. "key1:value key2:value2". If no selectors are present all assets are returned.

pageSize

number

An optional maximum number of results per page. The server may return fewer assets than requested. If unspecified, server will pick an appropriate default.

nextPageToken

string

An optional token identifying a page of results the server should return. Typically this is the value of SearchAssetsResponse.next_page_token returned from the previous call to the assets.listAssets method.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for EarthEngineService.SearchAssets.

JSON representation
{
  "assets": [
    {
      object (EarthEngineAsset)
    }
  ],
  "nextPageToken": string
}
Fields
assets[]

object (EarthEngineAsset)

The assets that match the request query. By default only metadata fields are populated. Use [SearchAssetsRequest.field_mask][google.earthengine.v1alpha.SearchAssetsRequest.field_mask] to request a specific selection of properties.

nextPageToken

string

A token to retrieve the next page of results. Pass this value in the [SearchAssetsRequest.page_token][google.earthengine.v1alpha.SearchAssetsRequest.page_token] field in the subsequent call to the assets.search method to retrieve the next page of results.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/earthengine
  • https://www.googleapis.com/auth/cloud-platform