id may be used to identify the transaction in subsequent
[Read][google.spanner.v1.Spanner.Read],
[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql],
[Commit][google.spanner.v1.Spanner.Commit], or
[Rollback][google.spanner.v1.Spanner.Rollback] calls.
Single-use read-only transactions do not have IDs, because
single-use transactions do not support multiple requests.
For snapshot read-only transactions, the read timestamp chosen
for the transaction. Not returned by default: see
[TransactionOptions.ReadOnly.return_read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.return_read_timestamp].
A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
Example: "2014-10-02T15:01:23.045123456Z".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-04 UTC."],[[["The `Transaction` class in the `Google.Cloud.Spanner.V1` namespace represents a transaction within the Google Cloud Spanner service, and is available in various versions, ranging from 3.5.0 to the latest beta version 5.0.0-beta05."],["The `Transaction` class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, all related to the Google Protocol Buffers library."],["The class offers two constructors, a default constructor `Transaction()`, and a copy constructor `Transaction(Transaction other)` to create a new transaction object."],["The `Transaction` class includes two properties, `Id` which is a `ByteString` used to identify the transaction in subsequent Spanner calls, and `ReadTimestamp`, a `Timestamp` property representing the chosen read timestamp for snapshot read-only transactions."],["This page lists all the available version of this class, allowing the user to choose between an older and the latest version."]]],[]]