Method: projects.assets.create Stay organized with collections Save and categorize content based on your preferences.
Page Summary
You can create
FOLDER,IMAGE, andIMAGE_COLLECTIONasset types.Asset creation requires a POST request to
https://earthengine.googleapis.com/v1beta/{parent=projects/*}/assets.The request requires a
parentpath parameter and can includeassetIdandoverwritequery parameters.The request body should contain an instance of
EarthEngineAsset, and the response body will return a newly created instance ofEarthEngineAsseton 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 |
Required. The parent of the asset collection (e.g., "projects/*"). Authorization requires the followingIAM permission on the specified resource
|
Query parameters
| Parameters | |
|---|---|
assetId |
The ID of the asset to create. Equivalent to name but without the "projects/*/assets" (e.g., users/[USER]/[ASSET]). |
overwrite |
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/earthenginehttps://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.