Method: projects.assets.create

Creates an asset. Only folder and image collection assets may be created using this method. The name of the asset to create must be specified in the name field of the request body.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

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

  • 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]).

Request body

The request body contains an instance of EarthEngineAsset.

Response body

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

Authorization Scopes

Requires one of the following OAuth scopes:

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