Class: Google::Cloud::Firestore::V1::BatchGetDocumentsRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Firestore::V1::BatchGetDocumentsRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/firestore/v1/firestore.rb
Overview
The request for Firestore.BatchGetDocuments.
Instance Attribute Summary collapse
-
#database ⇒ ::String
Required.
-
#documents ⇒ ::Array<::String>
The names of the documents to retrieve.
-
#mask ⇒ ::Google::Cloud::Firestore::V1::DocumentMask
The fields to return.
-
#new_transaction ⇒ ::Google::Cloud::Firestore::V1::TransactionOptions
Starts a new transaction and reads the documents.
-
#read_time ⇒ ::Google::Protobuf::Timestamp
Reads documents as they were at the given time.
-
#transaction ⇒ ::String
Reads documents in a transaction.
Instance Attribute Details
#database ⇒ ::String
Returns Required. The database name. In the format:
projects/{project_id}/databases/{database_id}
.
247 248 249 250 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 247 class BatchGetDocumentsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#documents ⇒ ::Array<::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.
247 248 249 250 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 247 class BatchGetDocumentsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#mask ⇒ ::Google::Cloud::Firestore::V1::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.
247 248 249 250 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 247 class BatchGetDocumentsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#new_transaction ⇒ ::Google::Cloud::Firestore::V1::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.
247 248 249 250 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 247 class BatchGetDocumentsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#read_time ⇒ ::Google::Protobuf::Timestamp
Returns Reads documents as they were at the given time.
This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.
247 248 249 250 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 247 class BatchGetDocumentsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#transaction ⇒ ::String
Returns Reads documents in a transaction.
247 248 249 250 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 247 class BatchGetDocumentsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |