1- // Copyright 2021 Google LLC
1+ // Copyright 2022 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -32,7 +32,6 @@ option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestor
3232option java_multiple_files = true ;
3333option java_outer_classname = "FirestoreProto" ;
3434option java_package = "com.google.firestore.v1" ;
35- option objc_class_prefix = "GCFS" ;
3635option php_namespace = "Google\\Cloud\\Firestore\\V1" ;
3736option ruby_package = "Google::Cloud::Firestore::V1" ;
3837
@@ -63,6 +62,9 @@ service Firestore {
6362 rpc ListDocuments (ListDocumentsRequest ) returns (ListDocumentsResponse ) {
6463 option (google.api.http ) = {
6564 get : "/v1/{parent=projects/*/databases/*/documents/*/**}/{collection_id}"
65+ additional_bindings {
66+ get : "/v1/{parent=projects/*/databases/*/documents}/{collection_id}"
67+ }
6668 };
6769 }
6870
@@ -481,7 +483,9 @@ message RunQueryRequest {
481483 // The consistency mode for this transaction.
482484 // If not set, defaults to strong consistency.
483485 oneof consistency_selector {
484- // Reads documents in a transaction.
486+ // Run the query within an already active transaction.
487+ //
488+ // The value here is the opaque transaction ID to execute the query in.
485489 bytes transaction = 5 ;
486490
487491 // Starts a new transaction and reads the documents.
@@ -504,8 +508,7 @@ message RunQueryResponse {
504508 // If set, no other fields will be set in this response.
505509 bytes transaction = 2 ;
506510
507- // A query result.
508- // Not set when reporting partial progress.
511+ // A query result, not set when reporting partial progress.
509512 Document document = 1 ;
510513
511514 // The time at which the document was read. This may be monotonically
0 commit comments