public sealed class CommitResponse : IMessage<CommitResponse>, IEquatable<CommitResponse>, IDeepCloneable<CommitResponse>, IBufferMessage, IMessageReference 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
CacheUpdate
public CacheUpdate CacheUpdate { get; set; }Optional. A cache update expresses a set of changes the client should
incorporate into its location cache. The client should discard the changes
if they are older than the data it already has. This data can be obtained
in response to requests that included a RoutingHint field, but may also
be obtained by explicit location-fetching RPCs which may be added in the
future.
| Property Value | |
|---|---|
| Type | Description |
CacheUpdate |
|
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 |
|