Class CommitResponse (3.51.0)

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. Clients must retry the commit with the new precommit token. This field is a member of oneof_ MultiplexedSessionRetry.

Classes

CommitStats

CommitStats(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Additional statistics about a commit.