Announcement: All noncommercial projects registered to use Earth Engine beforeApril 15, 2025 mustverify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.

Method: projects.assets.create

  • You can createFOLDER,IMAGE, andIMAGE_COLLECTION asset types.

  • Asset creation requires a POST request tohttps://earthengine.googleapis.com/v1beta/{parent=projects/*}/assets.

  • The request requires aparent path parameter and can includeassetId andoverwrite query parameters.

  • The request body should contain an instance ofEarthEngineAsset, and the response body will return a newly created instance ofEarthEngineAsset on success.

  • Authorization for asset creation requires specific IAM permissions and one of the listed OAuth scopes.

Creates an asset.

The following asset types are createable: *FOLDER: No fields inasset may be specified. *IMAGE: To create a COG-backed asset, useimage.importExternal instead. Seehttps://developers.google.com/earth-engine/Earth_Engine_asset_from_cloud_geotiff for more details. *IMAGE_COLLECTION: Only the fieldsstartTime,endTime, andproperties may be specified.

HTTP request

POST https://earthengine.googleapis.com/v1beta/{parent=projects/*}/assets

The URL usesgRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent of the asset collection (e.g., "projects/*").

Authorization requires the followingIAM permission on the specified resourceparent:

  • earthengine.assets.create

Query parameters

Parameters
assetId

string

The ID of the asset to create. Equivalent to name but without the "projects/*/assets" (e.g., users/[USER]/[ASSET]).

overwrite

boolean

Whether to allow overwriting an image asset.

Request body

The request body contains an instance ofEarthEngineAsset.

Response body

If successful, the response body contains a newly created instance ofEarthEngineAsset.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see theOAuth 2.0 Overview.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-03-06 UTC.