ee.data.getAssetAcl
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zwraca listę kontroli dostępu do zasobu o podanym identyfikatorze.
Aby zobaczyć listę ACL zasobu, uwierzytelniony użytkownik musi być jego autorem lub właścicielem.
Wykorzystanie | Zwroty |
---|
ee.data.getAssetAcl(assetId, callback) | AssetAcl |
Argument | Typ | Szczegóły |
---|
assetId | Ciąg znaków | Identyfikator zasobu do sprawdzenia. |
callback | Funkcja (opcjonalnie) | opcjonalne wywołanie zwrotne. Jeśli nie zostanie podany, wywołanie zostanie wykonane synchronicznie. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 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. |"]]