הודעה: כל הפרויקטים הלא מסחריים שנרשמו לשימוש ב-Earth Engine לפני 15 באפריל 2025 חייבים לעבור אימות של הזכאות לשימוש לא מסחרי כדי לשמור על הגישה ל-Earth Engine.
הגרסה המעודכנת של הנכס, שמכילה רק את הערכים החדשים של השדות שצריך לעדכן. אפשר לעדכן רק את השדות start_time, end_time ו-properties. אם מציינים ערך ב-updateMask, אבל לא מציינים אותו ב-asset, הערך הזה יימחק מהנכס.
updateFields
List<String>
רשימה של שמות השדות שרוצים לעדכן. הערך הזה יכול לכלול:
start_time או end_time כדי לעדכן את חותמת הזמן המתאימה,
properties.PROPERTY_NAME כדי לעדכן נכס נתון, או
properties כדי לעדכן את כל הנכסים. אם הרשימה ריקה, כל הנכסים ושני חותמות הזמן יעודכנו.
callback
פונקציה, אופציונלי
קריאה חוזרת אופציונלית. אם לא מספקים את הערך הזה, השיחה מתבצעת באופן סינכרוני.
[[["התוכן קל להבנה","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-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"]]