Transaction Stay organized with collections Save and categorize content based on your preferences.
A transaction.
| JSON representation |
|---|
{"id":string,"readTimestamp":string,"precommitToken":{object ( |
| Fields | |
|---|---|
id |
Single-use read-only transactions do not have IDs, because single-use transactions do not support multiple requests. A base64-encoded string. |
readTimestamp |
For snapshot read-only transactions, the read timestamp chosen for the transaction. Not returned by default: see A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: 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: |
precommitToken |
A precommit token is included in the response of a sessions.beginTransaction request if the read-write transaction is on a multiplexed session and a mutationKey was specified in the |
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-12-12 UTC.