Объявление : Все некоммерческие проекты, зарегистрированные для использования Earth Engine до
15 апреля 2025 года, должны
подтвердить некоммерческое право на сохранение доступа к Earth Engine.
ee.data.getAssetAcl
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Возвращает список контроля доступа актива с заданным идентификатором.
Аутентифицированный пользователь должен быть автором или владельцем актива, чтобы видеть его ACL.
Использование | Возврат | ee.data.getAssetAcl(assetId, callback ) | AssetAcl |
Аргумент | Тип | Подробности | assetId | Нить | Идентификатор актива для проверки. |
callback | Функция, необязательная | Необязательный обратный вызов. Если не указан, вызов выполняется синхронно. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003eReturns the access control list (ACL) for a specific Earth Engine asset.\u003c/p\u003e\n"],["\u003cp\u003eRequires writer or owner permissions for the asset to retrieve its ACL.\u003c/p\u003e\n"],["\u003cp\u003eUses the \u003ccode\u003eee.data.getAssetAcl()\u003c/code\u003e function, which can be called synchronously or asynchronously.\u003c/p\u003e\n"],["\u003cp\u003eTakes the asset ID as an argument to identify the asset in question.\u003c/p\u003e\n"]]],["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"],null,["# ee.data.getAssetAcl\n\n\u003cbr /\u003e\n\nReturns the access control list of the asset with the given ID.\n\n\u003cbr /\u003e\n\nThe authenticated user must be a writer or owner of an asset to see its ACL.\n\n| Usage | Returns |\n|----------------------------------------------|----------|\n| `ee.data.getAssetAcl(assetId, `*callback*`)` | AssetAcl |\n\n| Argument | Type | Details |\n|------------|--------------------|------------------------------------------------------------------------|\n| `assetId` | String | The ID of the asset to check. |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]