The name of the asset to copy. 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"). (e.g., "assets/users/[USER]/[ASSET]").
Authorization requires the following IAM permission on the specified resource sourceName:
earthengine.assets.get
Request body
The request body contains data with the following structure:
JSON representation
{"destinationName": string,"overwrite": boolean}
Fields
destinationName
string
The destination name to which to copy 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
overwrite
boolean
Whether to allow overwriting an existing asset.
Response body
If successful, the response body contains an instance of EarthEngineAsset.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-24 UTC."],[[["Copies an Earth Engine asset from a source to a destination."],["Requires specifying the source and destination asset names and whether to overwrite an existing destination asset."],["Uses the `POST` HTTP request method and the `earthengine.googleapis.com/v1alpha/{sourceName=projects/*/assets/**}:copy` endpoint."],["Requires appropriate IAM permissions for both the source and destination assets."],["Needs authorization with either the `https://www.googleapis.com/auth/earthengine` or `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]