Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum 15 April 2025 harus memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
Aset versi yang diperbarui, yang hanya berisi nilai baru dari kolom yang akan diperbarui. Hanya kolom
"start_time", "end_time", dan "properties" yang dapat diperbarui. Jika nilai diberi nama di "updateMask", tetapi tidak disetel di "asset", nilai tersebut akan dihapus dari aset.
updateFields
List<String>
Daftar nama kolom yang akan diperbarui. Objek ini dapat berisi:
"start_time" atau "end_time" untuk memperbarui stempel waktu yang sesuai,
"properties.PROPERTY_NAME" untuk memperbarui properti tertentu, atau
"properties" untuk memperbarui semua properti. Jika daftar kosong, semua properti dan kedua stempel waktu akan diperbarui.
callback
Fungsi, opsional
Callback opsional. Jika tidak diberikan, panggilan dilakukan secara sinkron.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-25 UTC."],[[["Updates specified fields or all properties and timestamps of an Earth Engine asset."],["Requires writer or owner authentication for the asset being updated."],["Allows updating start/end times and properties, with the option to delete values by specifying them in `updateFields` but omitting them in `asset`."],["Utilizes the `ee.data.updateAsset` function with asset ID, updated asset details, and optional fields to update and callback."]]],["This function updates an existing asset, requiring the user to be a writer or owner. It accepts the `assetId`, an `asset` object containing new field values, and a list of `updateFields`. Updatable fields include \"start_time\", \"end_time\", and \"properties\". Specifying a field in `updateFields` but not in `asset` deletes it. An empty `updateFields` list updates all properties and timestamps. The function returns an object, with an optional callback for asynchronous operation.\n"]]