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.
|
Classes
CommitStats
CommitStats(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Additional statistics about a commit.