ee.data.getAsset
Load info for an asset, given an asset id.
Returns the value call results, or null if a callback is specified.
Usage | Returns |
---|
ee.data.getAsset(id, callback) | Object |
Argument | Type | Details |
---|
id | String | The asset to be retrieved. |
callback | Function, optional | An optional callback. If not supplied, the call is made synchronously. |
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."],[[["`ee.data.getAsset()` loads information for an Earth Engine asset using its ID."],["The function returns asset details as an object or nothing if a callback function is provided."],["An optional callback function can be used for asynchronous execution, otherwise, the call is synchronous."]]],[]]