공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.data.setAssetAcl
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
지정된 ID의 애셋 액세스 제어 목록을 설정합니다.
소유자 ACL은 변경할 수 없으며, 애셋의 최종 ACL은 이전 ACL의 OWNER 항목과 수신 ACL 레코드를 병합하여 구성됩니다.
인증된 사용자는 애셋의 ACL을 설정하기 위해 애셋의 작성자 또는 소유자여야 합니다.
사용 | 반환 값 |
---|
ee.data.setAssetAcl(assetId, aclUpdate, callback) | |
인수 | 유형 | 세부정보 |
---|
assetId | 문자열 | ACL을 설정할 애셋의 ID입니다. |
aclUpdate | AssetAclUpdate | 업데이트된 ACL입니다. |
callback | 함수(선택사항) | 선택적 콜백입니다. 제공되지 않으면 호출이 동기적으로 이루어집니다. 콜백에는 빈 객체가 전달됩니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eDefines how access is controlled for a specific Earth Engine asset using an ID and access control list.\u003c/p\u003e\n"],["\u003cp\u003eMerges existing owner access with new access rules, ensuring the owner's permissions remain unchanged.\u003c/p\u003e\n"],["\u003cp\u003eRequires the user to have write or owner permissions on the asset to modify its access control settings.\u003c/p\u003e\n"],["\u003cp\u003eProvides a function \u003ccode\u003eee.data.setAssetAcl\u003c/code\u003e to update the access control list of the asset, accepting asset ID and updated ACL as arguments.\u003c/p\u003e\n"]]],["This documentation details the process of updating an asset's Access Control List (ACL). Users with writer or owner privileges can modify an asset's ACL using `ee.data.setAssetAcl()`. The function requires the `assetId` and the `aclUpdate` as parameters. The owner's ACL entries cannot be modified and are merged with the new ACL during the update. An optional callback function can be provided for asynchronous execution, which returns an empty object.\n"],null,["# ee.data.setAssetAcl\n\n\u003cbr /\u003e\n\nSets the access control list of the asset with the given ID.\n\n\u003cbr /\u003e\n\nThe owner ACL cannot be changed, and the final ACL of the asset is constructed by merging the OWNER entries of the old ACL with the incoming ACL record.\n\nThe authenticated user must be a writer or owner of an asset to set its ACL.\n\n| Usage | Returns |\n|---------------------------------------------------------|---------|\n| `ee.data.setAssetAcl(assetId, aclUpdate, `*callback*`)` | |\n\n| Argument | Type | Details |\n|-------------|--------------------|----------------------------------------------------------------------------------------------------------------|\n| `assetId` | String | The ID of the asset to set the ACL on. |\n| `aclUpdate` | AssetAclUpdate | The updated ACL. |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. The callback is passed an empty object. |"]]