Class: Google::Cloud::Firestore::V1::CommitRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Firestore::V1::CommitRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/firestore/v1/firestore.rb
Overview
The request for Firestore.Commit.
Instance Attribute Summary collapse
-
#database ⇒ ::String
Required.
-
#transaction ⇒ ::String
If set, applies all writes in this transaction, and commits it.
-
#writes ⇒ ::Array<::Google::Cloud::Firestore::V1::Write>
The writes to apply.
Instance Attribute Details
#database ⇒ ::String
Returns Required. The database name. In the format:
projects/{project_id}/databases/{database_id}
.
274 275 276 277 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 274 class CommitRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#transaction ⇒ ::String
Returns If set, applies all writes in this transaction, and commits it.
274 275 276 277 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 274 class CommitRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#writes ⇒ ::Array<::Google::Cloud::Firestore::V1::Write>
Returns The writes to apply.
Always executed atomically and in order.
274 275 276 277 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 274 class CommitRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |