Class: Google::Cloud::Spanner::V1::TransactionOptions::ReadOnly
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::V1::TransactionOptions::ReadOnly
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/spanner/v1/transaction.rb
Overview
Message type to initiate a read-only transaction.
Instance Attribute Summary collapse
-
#exact_staleness ⇒ ::Google::Protobuf::Duration
Executes all reads at a timestamp that is
exact_stalenessold. -
#max_staleness ⇒ ::Google::Protobuf::Duration
Read data at a timestamp >=
NOW - max_stalenessseconds. -
#min_read_timestamp ⇒ ::Google::Protobuf::Timestamp
Executes all reads at a timestamp >=
min_read_timestamp. -
#read_timestamp ⇒ ::Google::Protobuf::Timestamp
Executes all reads at the given timestamp.
-
#return_read_timestamp ⇒ ::Boolean
If true, the Cloud Spanner-selected read timestamp is included in the Transaction message that describes the transaction.
-
#strong ⇒ ::Boolean
Read at a timestamp where all previously committed transactions are visible.
Instance Attribute Details
#exact_staleness ⇒ ::Google::Protobuf::Duration
474 475 476 477 |
# File 'proto_docs/google/spanner/v1/transaction.rb', line 474 class ReadOnly include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#max_staleness ⇒ ::Google::Protobuf::Duration
474 475 476 477 |
# File 'proto_docs/google/spanner/v1/transaction.rb', line 474 class ReadOnly include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#min_read_timestamp ⇒ ::Google::Protobuf::Timestamp
474 475 476 477 |
# File 'proto_docs/google/spanner/v1/transaction.rb', line 474 class ReadOnly include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#read_timestamp ⇒ ::Google::Protobuf::Timestamp
474 475 476 477 |
# File 'proto_docs/google/spanner/v1/transaction.rb', line 474 class ReadOnly include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#return_read_timestamp ⇒ ::Boolean
474 475 476 477 |
# File 'proto_docs/google/spanner/v1/transaction.rb', line 474 class ReadOnly include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#strong ⇒ ::Boolean
474 475 476 477 |
# File 'proto_docs/google/spanner/v1/transaction.rb', line 474 class ReadOnly include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |