نسخه به روز شده دارایی که فقط حاوی مقادیر جدید فیلدهایی است که باید به روز شوند. فقط فیلدهای "start_time"، "end_time" و "properties" را می توان به روز کرد. اگر مقداری در "updateMask" نامگذاری شده باشد، اما در "asset" تنظیم نشده باشد، آن مقدار از دارایی حذف خواهد شد.
updateFields
فهرست <رشته>
لیستی از نام فیلدها برای به روز رسانی این ممکن است شامل موارد زیر باشد: "start_time" یا "end_time" برای به روز رسانی مهر زمانی مربوطه، "properties.PROPERTY_NAME" برای به روز رسانی یک ویژگی معین، یا "properties" برای به روز رسانی تمام ویژگی ها. اگر لیست خالی باشد، تمام ویژگی ها و هر دو مُهر زمانی به روز می شوند.
callback
عملکرد، اختیاری
پاسخ به تماس اختیاری در صورت عدم ارائه، تماس به صورت همزمان انجام می شود.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["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"]]