טיפוסים בני מנייה (enum) | |
---|---|
fromBody |
מגדירים את modifiedDate לערך שצוין בגוף הבקשה. אם לא צוין ערך, לא יתבצע שינוי. |
fromBodyIfNeeded |
מגדירים את modifiedDate לערך שצוין בגוף הבקשה, בהתאם לתוכן העדכון. |
fromBodyOrNow |
מגדירים את modifiedDate לערך שצוין בגוף הבקשה, או לשעה הנוכחית אם לא צוין ערך. |
noChange |
שמירה על הערך הקודם של modifiedDate . |
now |
מגדירים את modifiedDate לשעה הנוכחית. |
nowIfNeeded |
מגדירים את modifiedDate לשעה הנוכחית, בהתאם לתוכן העדכון. |
ModifiedDateBehavior
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-04-03 (שעון UTC).
[null,null,["עדכון אחרון: 2025-04-03 (שעון UTC)."],[],[],null,["# ModifiedDateBehavior\n\n| Enums ||\n|--------------------|---------------------------------------------------------------------------------------------------------------------|\n| `fromBody` | Set `modifiedDate` to the value provided in the body of the request. No change if no value was provided. |\n| `fromBodyIfNeeded` | Set `modifiedDate` to the value provided in the body of the request depending on other contents of the update. |\n| `fromBodyOrNow` | Set modifiedDate to the value provided in the body of the request, or to the current time if no value was provided. |\n| `noChange` | Maintain the previous value of `modifiedDate`. |\n| `now` | Set `modifiedDate` to the current time. |\n| `nowIfNeeded` | Set `modifiedDate` to the current time depending on contents of the update. |"]]