ModifiedDateBehavior Stay organized with collections Save and categorize content based on your preferences.
| Enums | |
|---|---|
fromBody | SetmodifiedDate to the value provided in the body of the request. No change if no value was provided. |
fromBodyIfNeeded | SetmodifiedDate 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 ofmodifiedDate. |
now | SetmodifiedDate to the current time. |
nowIfNeeded | SetmodifiedDate to the current time depending on contents of the update. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-03 UTC.