class Google::Apis::FirestoreV1::ReadOnly
Options for a transaction that can only be used to read documents.
Attributes
read_time[RW]
Reads documents at the given time. This may not be older than 60 seconds. Corresponds to the JSON property `readTime` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firestore_v1/classes.rb, line 1967 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 1972 def update!(**args) @read_time = args[:read_time] if args.key?(:read_time) end