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

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

A request to query information about an account.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#account_id

def account_id() -> ::String
Returns
  • (::String) — Required. The ID of the account to get information about.

#account_id=

def account_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID of the account to get information about.
Returns
  • (::String) — Required. The ID of the account to get information about.

#round_id

def round_id() -> ::Integer
Returns
  • (::Integer) — Optional. The ID of the execution round (similar to block "height") at which to request data. The returned account information will be accurate for the world state at this execution round. If unspecified, uses the latest finalized round as known by the serving validator. The state at a given round ID is always consistent and canonical.

#round_id=

def round_id=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The ID of the execution round (similar to block "height") at which to request data. The returned account information will be accurate for the world state at this execution round. If unspecified, uses the latest finalized round as known by the serving validator. The state at a given round ID is always consistent and canonical.
Returns
  • (::Integer) — Optional. The ID of the execution round (similar to block "height") at which to request data. The returned account information will be accurate for the world state at this execution round. If unspecified, uses the latest finalized round as known by the serving validator. The state at a given round ID is always consistent and canonical.