Reference documentation and code samples for the Cloud Firestore V1 API class Google::Cloud::Firestore::V1::TransactionOptions::ReadOnly.
Options for a transaction that can only be used to read documents.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#read_time
def read_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Reads documents at the given time. This may not be older than 60 seconds.
#read_time=
def read_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Reads documents at the given time. This may not be older than 60 seconds.
Returns
- (::Google::Protobuf::Timestamp) — Reads documents at the given time. This may not be older than 60 seconds.