AI-generated Key Takeaways
-
This documentation describes how to move an asset using an HTTP POST request.
-
The HTTP request uses the path parameter
sourceNameto specify the asset to move and requiresearthengine.assets.deleteIAM permission on it. -
The request body requires a
destinationNamefield, which specifies the new location for the asset and requiresearthengine.assets.createIAM permission on it. -
A successful response returns an instance of EarthEngineAsset.
-
Authorization requires specific OAuth scopes, including
https://www.googleapis.com/auth/earthengineorhttps://www.googleapis.com/auth/cloud-platform.
Moves an asset.
HTTP request
POST https://earthengine.googleapis.com/v1/{sourceName=projects/*/assets/**}:move
The URL uses gRPC Transcoding syntax.
Path parameters
sourceName
string
The name of the asset to move. 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 sourceName
:
-
earthengine.assets.delete
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "destinationName" : string } |
destinationName
string
The destination name to which to move the asset. 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 destinationName
:
-
earthengine.assets.create
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/cloud-platform
For more information, see the OAuth 2.0 Overview .

