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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available is 5.0.0-beta05, while the current document refers to version 3.14.0 of the Google.Cloud.Spanner.V1.Transaction class.\u003c/p\u003e\n"],["\u003cp\u003eThe Transaction class implements multiple interfaces including IMessage\u003c/p\u003e\n"],["\u003cp\u003eThis class provides two constructors: a default constructor \u003ccode\u003eTransaction()\u003c/code\u003e and an overloaded constructor \u003ccode\u003eTransaction(Transaction other)\u003c/code\u003e that allows for creating a new instance based on an existing Transaction.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTransaction\u003c/code\u003e class includes properties such as \u003ccode\u003eId\u003c/code\u003e, of type \u003ccode\u003eByteString\u003c/code\u003e, and \u003ccode\u003eReadTimestamp\u003c/code\u003e, of type \u003ccode\u003eTimestamp\u003c/code\u003e, which are used to identify and manage transactions within the Spanner database.\u003c/p\u003e\n"],["\u003cp\u003eInherited members of the \u003ccode\u003eObject\u003c/code\u003e class are accessible within \u003ccode\u003eTransaction\u003c/code\u003e, such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]