Duyuru:
15 Nisan 2025'ten önce Earth Engine'i kullanmak için kaydedilen tüm ticari olmayan projelerin Earth Engine erişimini sürdürmek için
ticari olmayan uygunluğu doğrulaması gerekir.
ee.data.setAssetAcl
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Belirtilen kimliğe sahip öğenin erişim kontrol listesini ayarlar.
Sahip EKL'si değiştirilemez ve öğenin nihai EKL'si, eski EKL'nin SAHİP girişleri ile gelen EKL kaydının birleştirilmesiyle oluşturulur.
Kimliği doğrulanmış kullanıcının, ACL'sini ayarlamak için öğenin yazarı veya sahibi olması gerekir.
Kullanım | İadeler |
---|
ee.data.setAssetAcl(assetId, aclUpdate, callback) | |
Bağımsız Değişken | Tür | Ayrıntılar |
---|
assetId | Dize | EKL'nin ayarlanacağı öğenin kimliği. |
aclUpdate | AssetAclUpdate | Güncellenen EKL. |
callback | İşlev, isteğe bağlı | İsteğe bağlı geri arama. Sağlanmazsa arama senkronize olarak yapılır. Geri çağırma işlevine boş bir nesne iletilir. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 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. |"]]