CommitResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)The response for Commit][google.spanner.v1.Spanner.Commit].
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
commit_timestamp |
google.protobuf.timestamp_pb2.Timestamp
The Cloud Spanner timestamp at which the transaction committed. |
commit_stats |
google.cloud.spanner_v1.types.CommitResponse.CommitStats
The statistics about this Commit. Not returned by
default. For more information, see
CommitRequest.return_commit_stats][google.spanner.v1.CommitRequest.return_commit_stats].
|
precommit_token |
google.cloud.spanner_v1.types.MultiplexedSessionPrecommitToken
If specified, transaction has not committed yet. You must retry the commit with the new precommit token. This field is a member of oneof_ MultiplexedSessionRetry.
|
snapshot_timestamp |
google.protobuf.timestamp_pb2.Timestamp
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.
|
cache_update |
google.cloud.spanner_v1.types.CacheUpdate
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.
|
isolation_level |
google.cloud.spanner_v1.types.TransactionOptions.IsolationLevel
The isolation level used for the read-write transaction. |
read_lock_mode |
google.cloud.spanner_v1.types.TransactionOptions.ReadWrite.ReadLockMode
The read lock mode used for the read-write transaction. |
Classes
CommitStats
CommitStats(mapping=None, *, ignore_unknown_fields=False, **kwargs)Additional statistics about a commit.