ee.data.copyAsset
Copies the asset from sourceId into destinationId.
Usage | Returns |
---|
ee.data.copyAsset(sourceId, destinationId, overwrite, callback) | |
Argument | Type | Details |
---|
sourceId | String | The ID of the asset to copy. |
destinationId | String | The ID of the new asset created by copying. |
overwrite | Boolean, optional | Overwrite any existing destination asset ID. |
callback | Function, optional | An optional callback. If not supplied, the call is made synchronously. The callback is passed an empty object and an error message, if any. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["Copies an Earth Engine asset from a source ID to a new destination ID."],["Allows overwriting of an existing asset at the destination ID if specified."],["Optionally utilizes a callback function for asynchronous execution or runs synchronously by default."],["Requires providing the source asset ID and the desired destination asset ID."]]],[]]