Class CommitResponse
The response for Commit.
Implements
Inherited Members
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class CommitResponse : IDirectResponseSchema
Properties
CommitStats
The statistics about this Commit. Not returned by default. For more information, see
CommitRequest.return_commit_stats.
Declaration
[JsonProperty("commitStats")]
public virtual CommitStats CommitStats { get; set; }
Property Value
| Type | Description |
|---|---|
| CommitStats |
CommitTimestamp
object representation of CommitTimestampRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CommitTimestampDateTimeOffset instead.")]
public virtual object CommitTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CommitTimestampDateTimeOffset
DateTimeOffset representation of CommitTimestampRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CommitTimestampDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CommitTimestampRaw
The Cloud Spanner timestamp at which the transaction committed.
Declaration
[JsonProperty("commitTimestamp")]
public virtual string CommitTimestampRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PrecommitToken
If specified, transaction has not committed yet. You must retry the commit with the new precommit token.
Declaration
[JsonProperty("precommitToken")]
public virtual MultiplexedSessionPrecommitToken PrecommitToken { get; set; }
Property Value
| Type | Description |
|---|---|
| MultiplexedSessionPrecommitToken |
SnapshotTimestamp
object representation of SnapshotTimestampRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use SnapshotTimestampDateTimeOffset instead.")]
public virtual object SnapshotTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
SnapshotTimestampDateTimeOffset
DateTimeOffset representation of SnapshotTimestampRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? SnapshotTimestampDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
SnapshotTimestampRaw
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.
Declaration
[JsonProperty("snapshotTimestamp")]
public virtual string SnapshotTimestampRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |