ee.data.getAssetAcl
Returns the access control list of the asset with the given ID.
The authenticated user must be a writer or owner of an asset to see its ACL.
Usage | Returns |
---|
ee.data.getAssetAcl(assetId, callback) | AssetAcl |
Argument | Type | Details |
---|
assetId | String | The ID of the asset to check. |
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."],[[["Returns the access control list (ACL) for a specific Earth Engine asset."],["Requires writer or owner permissions for the asset to retrieve its ACL."],["Uses the `ee.data.getAssetAcl()` function, which can be called synchronously or asynchronously."],["Takes the asset ID as an argument to identify the asset in question."]]],["Retrieves the Access Control List (ACL) for a specified asset ID. The `assetId` (string) is required to identify the target asset. The authenticated user must have writer or owner permissions to view the ACL. An optional `callback` function can be provided for asynchronous operation; otherwise, the call is synchronous. The function `ee.data.getAssetAcl(assetId, *callback*)` returns the AssetAcl.\n"]]