Firestore in Datastore mode V1 API - Class Google::Cloud::Datastore::V1::TransactionOptions (v0.19.0)

Reference documentation and code samples for the Firestore in Datastore mode V1 API class Google::Cloud::Datastore::V1::TransactionOptions.

Options for beginning a new transaction.

Transactions can be created explicitly with calls to Datastore.BeginTransaction or implicitly by setting ReadOptions.new_transaction in read requests.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#read_only

def read_only() -> ::Google::Cloud::Datastore::V1::TransactionOptions::ReadOnly
Returns

#read_only=

def read_only=(value) -> ::Google::Cloud::Datastore::V1::TransactionOptions::ReadOnly
Parameter
Returns

#read_write

def read_write() -> ::Google::Cloud::Datastore::V1::TransactionOptions::ReadWrite
Returns

#read_write=

def read_write=(value) -> ::Google::Cloud::Datastore::V1::TransactionOptions::ReadWrite
Parameter
Returns