Enums | |
---|---|
fromBody |
Set modifiedDate to the value provided in the body of the request. No change if no value was provided. |
fromBodyIfNeeded |
Set modifiedDate to the value provided in the body of the request depending on other contents of the update. |
fromBodyOrNow |
Set modifiedDate to the value provided in the body of the request, or to the current time if no value was provided. |
noChange |
Maintain the previous value of modifiedDate . |
now |
Set modifiedDate to the current time. |
nowIfNeeded |
Set modifiedDate to the current time depending on contents of the update. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.
[null,null,["Last updated 2024-09-03 UTC."],[[["`modifiedDate` can be updated using various strategies, including values from the request body, the current time, or maintaining the existing value."],["Enums such as `fromBody`, `fromBodyOrNow`, and `now` offer direct control over `modifiedDate` updates."],["Conditional updates to `modifiedDate` are possible with enums like `fromBodyIfNeeded` and `nowIfNeeded`, depending on other request data."],["`noChange` enum preserves the original `modifiedDate` value, preventing any modifications."]]],[]]