Page Summary
-
The
moveoperation is used to move an Earth Engine asset. -
The HTTP request for moving an asset uses a POST request to a URL with the format
https://earthengine.googleapis.com/v1alpha/{sourceName=projects/*/assets/**}:move. -
The
sourceNamepath parameter specifies the asset to move, and thedestinationNamefield in the request body specifies the new location. -
Moving an asset requires specific IAM permissions on both the source and destination resources.
-
Successful asset moves return an
EarthEngineAssetinstance in the response body and require specific OAuth scopes for authorization.
Moves an asset.
HTTP request
POST https://earthengine.googleapis.com/v1alpha/{sourceName=projects/*/assets/**}:move
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
sourceName |
The name of the asset to move. Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "destinationName": string } |
| Fields | |
|---|---|
destinationName |
The destination name to which to move the asset. Authorization requires the following IAM permission on the specified resource
|
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/earthenginehttps://www.googleapis.com/auth/cloud-platform
For more information, see the OAuth 2.0 Overview.