class Google::Apis::DatastoreV1beta2::BeginTransactionRequest

Attributes

isolation_level[RW]

The transaction isolation level. Either snapshot or serializable. The default isolation level is snapshot isolation, which means that another transaction may not concurrently modify the data that is modified by this transaction. Optionally, a transaction can request to be made serializable which means that another transaction cannot concurrently modify the data that is read or modified by this transaction. Corresponds to the JSON property `isolationLevel` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/datastore_v1beta2/classes.rb, line 85
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/datastore_v1beta2/classes.rb, line 90
def update!(**args)
  @isolation_level = args[:isolation_level] if args.key?(:isolation_level)
end