Enumeradores | |
---|---|
fromBody |
Configura modifiedDate con el valor proporcionado en el cuerpo de la solicitud. Sin cambios si no se proporcionó ningún valor. |
fromBodyIfNeeded |
Configura modifiedDate con el valor proporcionado en el cuerpo de la solicitud según el contenido de la actualización. |
fromBodyOrNow |
ConfiguranovaDateDate en el valor proporcionado en el cuerpo de la solicitud o en la hora actual si no se proporcionó ningún valor. |
noChange |
Mantén el valor anterior de modifiedDate . |
now |
Configura modifiedDate en la hora actual. |
nowIfNeeded |
Establece modifiedDate en la hora actual según el contenido de la actualización. |
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-09-04 (UTC)
[null,null,["Última actualización: 2024-09-04 (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."]]],["The content defines enums for managing a `modifiedDate` field. `fromBody` uses the request body's value, if present. `fromBodyIfNeeded` conditionally uses the body's value. `fromBodyOrNow` uses the body's value or the current time. `noChange` preserves the existing date. `now` sets the date to the current time. `nowIfNeeded` conditionally sets the date to the current time based on update contents.\n"]]