class Google::Apis::FirestoreV1::CommitRequest
The request for Firestore.Commit.
Attributes
transaction[RW]
If set, applies all writes in this transaction, and commits it. Corresponds to the JSON property `transaction` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
writes[RW]
The writes to apply. Always executed atomically and in order. Corresponds to the JSON property `writes` @return [Array<Google::Apis::FirestoreV1::Write>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firestore_v1/classes.rb, line 274 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/firestore_v1/classes.rb, line 279 def update!(**args) @transaction = args[:transaction] if args.key?(:transaction) @writes = args[:writes] if args.key?(:writes) end