Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::TransactionOptions::ReadWrite.
Message type to initiate a read-write transaction. Currently this transaction type has no options.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#read_lock_mode
def read_lock_mode() -> ::Google::Cloud::Spanner::V1::TransactionOptions::ReadWrite::ReadLockMode
Returns
- (::Google::Cloud::Spanner::V1::TransactionOptions::ReadWrite::ReadLockMode) — Read lock mode for the transaction.
#read_lock_mode=
def read_lock_mode=(value) -> ::Google::Cloud::Spanner::V1::TransactionOptions::ReadWrite::ReadLockMode
Parameter
- value (::Google::Cloud::Spanner::V1::TransactionOptions::ReadWrite::ReadLockMode) — Read lock mode for the transaction.
Returns
- (::Google::Cloud::Spanner::V1::TransactionOptions::ReadWrite::ReadLockMode) — Read lock mode for the transaction.