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-03-21 UTC."],[[["The `Transaction` class in the Google Cloud Spanner v1 API represents a transaction within the Spanner database."],["This documentation covers versions of `Google.Cloud.Spanner.V1`, including beta releases like `5.0.0-beta05`, with versions available from `3.5.0` to `5.0.0-beta05` and version `4.2.0` being specifically covered here."],["The `Transaction` class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities like message handling, equality checks, deep cloning, and buffer message support."],["`Transaction` objects can be constructed using a default constructor or a copy constructor which takes in another `Transaction` object, and it has properties such as `Id` for identifying the transaction and `ReadTimestamp` for read-only transactions."],["The `Id` property of a transaction is of type `ByteString`, and the `ReadTimestamp` property is of type `Timestamp`, which represents the read timestamp for snapshot read-only transactions."]]],[]]