ee.data.getAssetAcl
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Gibt die Zugriffssteuerungsliste des Assets mit der angegebenen ID zurück.
Der authentifizierte Nutzer muss Autor oder Inhaber eines Assets sein, um seine ACL sehen zu können.
Nutzung | Ausgabe |
---|
ee.data.getAssetAcl(assetId, callback) | AssetAcl |
Argument | Typ | Details |
---|
assetId | String | Die ID des zu prüfenden Assets. |
callback | Funktion (optional) | Ein optionaler Callback. Wenn nicht angegeben, erfolgt der Aufruf synchron. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 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. |"]]