Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 1add2f1

Browse files
1 parent d7ecb8a commit 1add2f1

File tree

293 files changed

+55
-133943
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

293 files changed

+55
-133943
lines changed

google/cloud/spanner_v1/types/commit_response.py

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,20 @@ class CommitResponse(proto.Message):
4141
The Cloud Spanner timestamp at which the
4242
transaction committed.
4343
commit_stats (google.cloud.spanner_v1.types.CommitResponse.CommitStats):
44-
The statistics about this Commit. Not returned by default.
45-
For more information, see
44+
The statistics about this ``Commit``. Not returned by
45+
default. For more information, see
4646
[CommitRequest.return_commit_stats][google.spanner.v1.CommitRequest.return_commit_stats].
4747
precommit_token (google.cloud.spanner_v1.types.MultiplexedSessionPrecommitToken):
4848
If specified, transaction has not committed
49-
yet. Clients must retry the commit with the new
49+
yet. You must retry the commit with the new
5050
precommit token.
5151
5252
This field is a member of `oneof`_ ``MultiplexedSessionRetry``.
53+
snapshot_timestamp (google.protobuf.timestamp_pb2.Timestamp):
54+
If ``TransactionOptions.isolation_level`` is set to
55+
``IsolationLevel.REPEATABLE_READ``, then the snapshot
56+
timestamp is the timestamp at which all reads in the
57+
transaction ran. This timestamp is never returned.
5358
"""
5459

5560
class CommitStats(proto.Message):
@@ -89,6 +94,11 @@ class CommitStats(proto.Message):
8994
oneof="MultiplexedSessionRetry",
9095
message=transaction.MultiplexedSessionPrecommitToken,
9196
)
97+
snapshot_timestamp: timestamp_pb2.Timestamp = proto.Field(
98+
proto.MESSAGE,
99+
number=5,
100+
message=timestamp_pb2.Timestamp,
101+
)
92102

93103

94104
__all__ = tuple(sorted(__protobuf__.manifest))

google/cloud/spanner_v1/types/transaction.py

Lines changed: 42 additions & 366 deletions
Large diffs are not rendered by default.

owl-bot-staging/spanner/v1/.coveragerc

Lines changed: 0 additions & 13 deletions
This file was deleted.

owl-bot-staging/spanner/v1/.flake8

Lines changed: 0 additions & 34 deletions
This file was deleted.

owl-bot-staging/spanner/v1/LICENSE

Lines changed: 0 additions & 202 deletions
This file was deleted.

owl-bot-staging/spanner/v1/MANIFEST.in

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)