Method: projects.assets.get

  • This documentation details how to get detailed information about an asset.

  • The HTTP request uses the GET method to a specified URL with a name parameter identifying the asset.

  • The name parameter is required and formatted as "projects/*/assets/**", with user-owned assets under "projects/earthengine-legacy" and public assets under "projects/earthengine-public".

  • Successful requests return an EarthEngineAsset instance and require specific IAM and OAuth authorization scopes.

Gets detailed information about an asset.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the asset to get. name is of the format "projects/*/assets/**" (e.g., "projects/earthengine-legacy/assets/users/[USER]/[ASSET]"). All user-owned assets are under the project "earthengine-legacy" (e.g., "projects/earthengine-legacy/assets/users/foo/bar"). All other assets are under the project "earthengine-public" (e.g., "projects/earthengine-public/assets/LANDSAT").

Authorization requires the following IAM permission on the specified resource name:

  • earthengine.assets.get

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of EarthEngineAsset.

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.