Class: Google::Firestore::V1::CommitRequest
- Inherits:
-
Object
- Object
- Google::Firestore::V1::CommitRequest
- Defined in:
- lib/google/cloud/firestore/v1/doc/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::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}
.
239 |
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb', line 239 class CommitRequest; end |
#transaction ⇒ String
Returns If set, applies all writes in this transaction, and commits it.
239 |
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb', line 239 class CommitRequest; end |
#writes ⇒ Array<Google::Firestore::V1::Write>
Returns The writes to apply.
Always executed atomically and in order.
239 |
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb', line 239 class CommitRequest; end |