ee.data.getAssetAcl
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trả về danh sách kiểm soát quyền truy cập của tài sản có mã nhận dạng đã cho.
Người dùng đã xác thực phải là người viết hoặc chủ sở hữu của một tài sản để xem ACL của tài sản đó.
Cách sử dụng | Giá trị trả về |
---|
ee.data.getAssetAcl(assetId, callback) | AssetAcl |
Đối số | Loại | Thông tin chi tiết |
---|
assetId | Chuỗi | Mã nhận dạng của thành phần cần kiểm tra. |
callback | Hàm, không bắt buộc | Một lệnh gọi lại không bắt buộc. Nếu không được cung cấp, lệnh gọi sẽ được thực hiện đồng bộ. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]