public sealed class CommitResponse : IMessage<CommitResponse>, IEquatable<CommitResponse>, IDeepCloneable<CommitResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class CommitResponse.
The response for [Commit][google.spanner.v1.Spanner.Commit].
Implements
IMessageCommitResponse, IEquatableCommitResponse, IDeepCloneableCommitResponse, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.V1Assembly
Google.Cloud.Spanner.V1.dll
Constructors
CommitResponse()
public CommitResponse()
CommitResponse(CommitResponse)
public CommitResponse(CommitResponse other)
Parameter | |
---|---|
Name | Description |
other |
CommitResponse |
Properties
CommitStats
public CommitResponse.Types.CommitStats CommitStats { get; set; }
The statistics about this Commit
. Not returned by default.
For more information, see
[CommitRequest.return_commit_stats][google.spanner.v1.CommitRequest.return_commit_stats].
Property Value | |
---|---|
Type | Description |
CommitResponseTypesCommitStats |
CommitTimestamp
public Timestamp CommitTimestamp { get; set; }
The Cloud Spanner timestamp at which the transaction committed.
Property Value | |
---|---|
Type | Description |
Timestamp |
MultiplexedSessionRetryCase
public CommitResponse.MultiplexedSessionRetryOneofCase MultiplexedSessionRetryCase { get; }
Property Value | |
---|---|
Type | Description |
CommitResponseMultiplexedSessionRetryOneofCase |
PrecommitToken
public MultiplexedSessionPrecommitToken PrecommitToken { get; set; }
If specified, transaction has not committed yet. You must retry the commit with the new precommit token.
Property Value | |
---|---|
Type | Description |
MultiplexedSessionPrecommitToken |
SnapshotTimestamp
public Timestamp SnapshotTimestamp { get; set; }
If TransactionOptions.isolation_level
is set to
IsolationLevel.REPEATABLE_READ
, then the snapshot timestamp is the
timestamp at which all reads in the transaction ran. This timestamp is
never returned.
Property Value | |
---|---|
Type | Description |
Timestamp |