Reference documentation and code samples for the Cloud Firestore V1 API class Google::Cloud::Firestore::V1::BatchGetDocumentsResponse.
The streamed response for Firestore.BatchGetDocuments.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#found
def found() -> ::Google::Cloud::Firestore::V1::Document
-
(::Google::Cloud::Firestore::V1::Document) — A document that was requested.
Note: The following fields are mutually exclusive:
found
,missing
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#found=
def found=(value) -> ::Google::Cloud::Firestore::V1::Document
-
value (::Google::Cloud::Firestore::V1::Document) — A document that was requested.
Note: The following fields are mutually exclusive:
found
,missing
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Firestore::V1::Document) — A document that was requested.
Note: The following fields are mutually exclusive:
found
,missing
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#missing
def missing() -> ::String
-
(::String) — A document name that was requested but does not exist. In the format:
projects/{project_id}/databases/{database_id}/documents/{document_path}
.Note: The following fields are mutually exclusive:
missing
,found
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#missing=
def missing=(value) -> ::String
-
value (::String) — A document name that was requested but does not exist. In the format:
projects/{project_id}/databases/{database_id}/documents/{document_path}
.Note: The following fields are mutually exclusive:
missing
,found
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — A document name that was requested but does not exist. In the format:
projects/{project_id}/databases/{database_id}/documents/{document_path}
.Note: The following fields are mutually exclusive:
missing
,found
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#read_time
def read_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — The time at which the document was read. This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.
#read_time=
def read_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — The time at which the document was read. This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.
- (::Google::Protobuf::Timestamp) — The time at which the document was read. This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.
#transaction
def transaction() -> ::String
- (::String) — The transaction that was started as part of this request. Will only be set in the first response, and only if BatchGetDocumentsRequest.new_transaction was set in the request.
#transaction=
def transaction=(value) -> ::String
- value (::String) — The transaction that was started as part of this request. Will only be set in the first response, and only if BatchGetDocumentsRequest.new_transaction was set in the request.
- (::String) — The transaction that was started as part of this request. Will only be set in the first response, and only if BatchGetDocumentsRequest.new_transaction was set in the request.