Skip to content

Commit d17febb

Browse files
docs: clarify docstring in RunQueryRequest/RunQueryResponse (#544)
* fix: change REST binding for ListDocuments to support root collection PiperOrigin-RevId: 432504691 Source-Link: googleapis/googleapis@3db3087 Source-Link: googleapis/googleapis-gen@80f0375 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiODBmMDM3NWExYTgyNDYwNTMyNDIyZTUwNGE0MWVmMmEzZTJmNzJlMSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent c214732 commit d17febb

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

google/cloud/firestore_v1/types/common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ class Precondition(proto.Message):
6060
This field is a member of `oneof`_ ``condition_type``.
6161
update_time (google.protobuf.timestamp_pb2.Timestamp):
6262
When set, the target document must exist and
63-
have been last updated at that time.
63+
have been last updated at that time. Timestamp
64+
must be microsecond aligned.
6465
6566
This field is a member of `oneof`_ ``condition_type``.
6667
"""

google/cloud/firestore_v1/types/firestore.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,10 @@ class RunQueryRequest(proto.Message):
511511
512512
This field is a member of `oneof`_ ``query_type``.
513513
transaction (bytes):
514-
Reads documents in a transaction.
514+
Run the query within an already active
515+
transaction.
516+
The value here is the opaque transaction ID to
517+
execute the query in.
515518
516519
This field is a member of `oneof`_ ``consistency_selector``.
517520
new_transaction (google.cloud.firestore_v1.types.TransactionOptions):
@@ -559,8 +562,8 @@ class RunQueryResponse(proto.Message):
559562
was set in the request. If set, no other fields will be set
560563
in this response.
561564
document (google.cloud.firestore_v1.types.Document):
562-
A query result.
563-
Not set when reporting partial progress.
565+
A query result, not set when reporting
566+
partial progress.
564567
read_time (google.protobuf.timestamp_pb2.Timestamp):
565568
The time at which the document was read. This may be
566569
monotonically increasing; in this case, the previous

0 commit comments

Comments
 (0)