ModifiedDateBehavior

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 2025年04月03日 UTC.