Reference documentation and code samples for the Universal Ledger V1 API class Google::Cloud::UniversalLedger::V1::TransactionEffect.
Represents an update by some transaction to the world state.
If it has a delta_val, it is assumed to be a delta (an integer offset)
applied to the previously stored value on a given key. In that case,
new_val and old_val should be empty.
Otherwise, it is assumed to have at least one of old_val or new_val (or
both). An empty old_val indicates the value was inserted. An empty
new_val indicates the value was deleted.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#delta_val
def delta_val() -> ::Integer- (::Integer) — Output only. An integer offset that was applied to the previously stored value.
#key
def key() -> ::String- (::String) — Output only. The key in the world state that was updated.
#new_val
def new_val() -> ::String- (::String) — Output only. The value of the key after the transaction was executed.
#old_val
def old_val() -> ::String- (::String) — Output only. The value of the key before the transaction was executed.