Class Transaction
A transaction.
Inheritance
System.Object
Transaction
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class Transaction : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Id
id may be used to identify the transaction in subsequent Read, ExecuteSql, Commit, or Rollback calls.
Single-use read-only transactions do not have IDs, because single-use transactions do not support multiple
requests.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ReadTimestamp
For snapshot read-only transactions, the read timestamp chosen for the transaction. Not returned by default:
see TransactionOptions.ReadOnly.return_read_timestamp. A timestamp in RFC3339 UTC "Zulu" format, accurate
to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
Declaration
[JsonProperty("readTimestamp")]
public virtual object ReadTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object |