Universal Ledger V1 API - Class Google::Cloud::UniversalLedger::V1::TransactionStatus (v0.1.0)

Reference documentation and code samples for the Universal Ledger V1 API class Google::Cloud::UniversalLedger::V1::TransactionStatus.

Represents the status of a transaction execution.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#code

def code() -> ::Integer
Returns
  • (::Integer) — Output only. The status code, a numeric value whose meaning is defined by the corresponding gRPC status code.

#message

def message() -> ::String
Returns
  • (::String) — Output only. The error message, if any. Set only if code is not OK. This is a string encoded as utf-8 bytes. Stored as bytes to prevent any issues with the determinism of the encoding.