Class: Google::Firestore::V1beta1::BatchGetDocumentsRequest

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

Overview

The request for Firestore::BatchGetDocuments.

Instance Attribute Summary collapse

Instance Attribute Details

#databaseString

Returns The database name. In the format: +projects/project_id/databases/database_id+.

Returns:

  • (String)

    The database name. In the format: +projects/project_id/databases/database_id+.



185
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 185

class BatchGetDocumentsRequest; end

#documentsArray<String>

Returns The names of the documents to retrieve. In the format: +projects/project_id/databases/database_id/documents/document_path+. The request will fail if any of the document is not a child resource of the given +database+. Duplicate names will be elided.

Returns:

  • (Array<String>)

    The names of the documents to retrieve. In the format: +projects/project_id/databases/database_id/documents/document_path+. The request will fail if any of the document is not a child resource of the given +database+. Duplicate names will be elided.



185
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 185

class BatchGetDocumentsRequest; end

#maskGoogle::Firestore::V1beta1::DocumentMask

Returns The fields to return. If not set, returns all fields.

If a document has a field that is not present in this mask, that field will not be returned in the response.

Returns:

  • (Google::Firestore::V1beta1::DocumentMask)

    The fields to return. If not set, returns all fields.

    If a document has a field that is not present in this mask, that field will not be returned in the response.



185
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 185

class BatchGetDocumentsRequest; end

#new_transactionGoogle::Firestore::V1beta1::TransactionOptions

Returns Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream.

Returns:



185
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 185

class BatchGetDocumentsRequest; end

#read_timeGoogle::Protobuf::Timestamp

Returns Reads documents as they were at the given time. This may not be older than 60 seconds.

Returns:



185
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 185

class BatchGetDocumentsRequest; end

#transactionString

Returns Reads documents in a transaction.

Returns:

  • (String)

    Reads documents in a transaction.



185
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 185

class BatchGetDocumentsRequest; end