Cloud Spanner V1 API - Class Google::Cloud::Spanner::V1::TransactionOptions::ReadWrite (v1.2.0)

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

#multiplexed_session_previous_transaction_id

def multiplexed_session_previous_transaction_id() -> ::String
Returns
  • (::String) — Optional. Clients should pass the transaction ID of the previous transaction attempt that was aborted if this transaction is being executed on a multiplexed session. This feature is not yet supported and will result in an UNIMPLEMENTED error.

#multiplexed_session_previous_transaction_id=

def multiplexed_session_previous_transaction_id=(value) -> ::String
Parameter
  • value (::String) — Optional. Clients should pass the transaction ID of the previous transaction attempt that was aborted if this transaction is being executed on a multiplexed session. This feature is not yet supported and will result in an UNIMPLEMENTED error.
Returns
  • (::String) — Optional. Clients should pass the transaction ID of the previous transaction attempt that was aborted if this transaction is being executed on a multiplexed session. This feature is not yet supported and will result in an UNIMPLEMENTED error.

#read_lock_mode

def read_lock_mode() -> ::Google::Cloud::Spanner::V1::TransactionOptions::ReadWrite::ReadLockMode
Returns

#read_lock_mode=

def read_lock_mode=(value) -> ::Google::Cloud::Spanner::V1::TransactionOptions::ReadWrite::ReadLockMode
Parameter
Returns