Class: Google::Firestore::V1::BatchGetDocumentsResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb

Overview

The streamed response for Firestore::BatchGetDocuments.

Instance Attribute Summary collapse

Instance Attribute Details

#foundGoogle::Firestore::V1::Document

Returns A document that was requested.

Returns:



207
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb', line 207

class BatchGetDocumentsResponse; end

#missingString

Returns A document name that was requested but does not exist. In the format: projects/{project_id}/databases/{database_id}/documents/{document_path}.

Returns:

  • (String)

    A document name that was requested but does not exist. In the format: projects/{project_id}/databases/{database_id}/documents/{document_path}.



207
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb', line 207

class BatchGetDocumentsResponse; end

#read_timeGoogle::Protobuf::Timestamp

Returns 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.

Returns:

  • (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.



207
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb', line 207

class BatchGetDocumentsResponse; end

#transactionString

Returns 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.

Returns:



207
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb', line 207

class BatchGetDocumentsResponse; end