WriteResult
Stay organized with collections
Save and categorize content based on your preferences.
The result of applying a write.
JSON representation |
{
"updateTime": string,
"transformResults": [
{
object (Value )
}
]
} |
Fields |
updateTime |
string (Timestamp format)
The last update time of the document after applying the write. Not set after a delete . If the write did not actually change the document, this will be the previous updateTime. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30" .
|
transformResults[] |
object (Value )
The results of applying each DocumentTransform.FieldTransform , in the same order.
|
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-08-26 UTC.
[null,null,["Last updated 2025-08-26 UTC."],[],[],null,["# WriteResult\n\nThe result of applying a write.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"updateTime\": string, \"transformResults\": [ { object (/docs/firestore/reference/rest/Shared.Types/ArrayValue#Value) } ] } ``` |\n\n| Fields ||\n|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` The last update time of the document after applying the write. Not set after a `delete`. If the write did not actually change the document, this will be the previous updateTime. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `transformResults[]` | `object (`[Value](/docs/firestore/reference/rest/Shared.Types/ArrayValue#Value)`)` The results of applying each [DocumentTransform.FieldTransform](/docs/firestore/reference/rest/v1/Write#FieldTransform), in the same order. |"]]