class Google::Apis::FirestoreV1::ReadWrite
Options for a transaction that can be used to read and write documents.
Attributes
retry_transaction[RW]
An optional transaction to retry. Corresponds to the JSON property `retryTransaction` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firestore_v1/classes.rb, line 1987 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 1992 def update!(**args) @retry_transaction = args[:retry_transaction] if args.key?(:retry_transaction) end