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

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

Represents the state of an account on the ledger.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#account_manager_details

def account_manager_details() -> ::Google::Cloud::UniversalLedger::V1::AccountManagerDetails
Returns
  • (::Google::Cloud::UniversalLedger::V1::AccountManagerDetails) — Output only. Details for an account manager account.

    Note: The following fields are mutually exclusive: account_manager_details, user_details, token_manager_details, contract_token_manager_details, contract_details, clearinghouse_details, currency_operator_details, platform_operator_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

#clearinghouse_details

def clearinghouse_details() -> ::Google::Cloud::UniversalLedger::V1::ClearingHouseDetails
Returns
  • (::Google::Cloud::UniversalLedger::V1::ClearingHouseDetails) — Output only. Details for a clearinghouse account.

    Note: The following fields are mutually exclusive: clearinghouse_details, user_details, account_manager_details, token_manager_details, contract_token_manager_details, contract_details, currency_operator_details, platform_operator_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

#comment

def comment() -> ::String
Returns
  • (::String) — Output only. The account comment stored when this account was created.

#contract_details

def contract_details() -> ::Google::Cloud::UniversalLedger::V1::ContractDetails
Returns
  • (::Google::Cloud::UniversalLedger::V1::ContractDetails) — Output only. Details for a smart contract account.

    Note: The following fields are mutually exclusive: contract_details, user_details, account_manager_details, token_manager_details, contract_token_manager_details, clearinghouse_details, currency_operator_details, platform_operator_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

#contract_token_manager_details

def contract_token_manager_details() -> ::Google::Cloud::UniversalLedger::V1::ContractTokenManagerDetails
Returns
  • (::Google::Cloud::UniversalLedger::V1::ContractTokenManagerDetails) — Output only. Details for a contract token manager account.

    Note: The following fields are mutually exclusive: contract_token_manager_details, user_details, account_manager_details, token_manager_details, contract_details, clearinghouse_details, currency_operator_details, platform_operator_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

#currency_operator_details

def currency_operator_details() -> ::Google::Cloud::UniversalLedger::V1::CurrencyOperatorDetails
Returns
  • (::Google::Cloud::UniversalLedger::V1::CurrencyOperatorDetails) — Output only. Details for a currency operator account.

    Note: The following fields are mutually exclusive: currency_operator_details, user_details, account_manager_details, token_manager_details, contract_token_manager_details, contract_details, clearinghouse_details, platform_operator_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

#platform_operator_details

def platform_operator_details() -> ::Google::Cloud::UniversalLedger::V1::PlatformOperatorDetails
Returns
  • (::Google::Cloud::UniversalLedger::V1::PlatformOperatorDetails) — Output only. Details for a platform operator account.

    Note: The following fields are mutually exclusive: platform_operator_details, user_details, account_manager_details, token_manager_details, contract_token_manager_details, contract_details, clearinghouse_details, currency_operator_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

#public_key

def public_key() -> ::String
Returns
  • (::String) — Output only. The primary public key associated with this account, used for signature verification.

#round_id

def round_id() -> ::Integer
Returns
  • (::Integer) — Output only. The ID of the execution round (similar to block "height") at which the account information provided is accurate.

#sequence_number

def sequence_number() -> ::Integer
Returns
  • (::Integer) — Output only. The sequence number of this account. This number increments with each transaction sent by this account.

#token_manager_details

def token_manager_details() -> ::Google::Cloud::UniversalLedger::V1::TokenManagerDetails
Returns
  • (::Google::Cloud::UniversalLedger::V1::TokenManagerDetails) — Output only. Details for a token manager account.

    Note: The following fields are mutually exclusive: token_manager_details, user_details, account_manager_details, contract_token_manager_details, contract_details, clearinghouse_details, currency_operator_details, platform_operator_details. If a field in that set is populated, all other fields in the set will automatically be cleared.

#user_details

def user_details() -> ::Google::Cloud::UniversalLedger::V1::UserDetails
Returns
  • (::Google::Cloud::UniversalLedger::V1::UserDetails) — Output only. Details for a standard user account.

    Note: The following fields are mutually exclusive: user_details, account_manager_details, token_manager_details, contract_token_manager_details, contract_details, clearinghouse_details, currency_operator_details, platform_operator_details. If a field in that set is populated, all other fields in the set will automatically be cleared.