NAME
Google::Cloud::Universalledger::V1::Query - Compiled Protocol Buffers messages for google/cloud/universalledger/v1/query.proto
SYNOPSIS
use Google::Cloud::Universalledger::V1::Query;
my $msg = Google::Cloud::Universalledger::V1::Query::Account->new({
user_details => $user_details,
account_manager_details => $account_manager_details,
token_manager_details => $token_manager_details,
contract_token_manager_details => $contract_token_manager_details,
});
# Read or update a field
my $val = $msg->user_details();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Universalledger::V1::Query::Account->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/universalledger/v1/query.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Universalledger::V1::Query::Account
Represents the state of an account on the ledger.
Inherits from Protobuf::Message.
Accessors
$msg->user_details()/$msg->user_details($value)Type:
Message(Google::Cloud::Universalledger::V1::Query::UserDetails)Output only. Details for a standard user account.
$msg->account_manager_details()/$msg->account_manager_details($value)Type:
Message(Google::Cloud::Universalledger::V1::Query::AccountManagerDetails)Output only. Details for an account manager account.
$msg->token_manager_details()/$msg->token_manager_details($value)Type:
Message(Google::Cloud::Universalledger::V1::Query::TokenManagerDetails)Output only. Details for a token manager account.
$msg->contract_token_manager_details()/$msg->contract_token_manager_details($value)Type:
Message(Google::Cloud::Universalledger::V1::Query::ContractTokenManagerDetails)Output only. Details for a contract token manager account.
$msg->contract_details()/$msg->contract_details($value)Type:
Message(Google::Cloud::Universalledger::V1::Query::ContractDetails)Output only. Details for a smart contract account.
$msg->clearinghouse_details()/$msg->clearinghouse_details($value)Type:
Message(Google::Cloud::Universalledger::V1::Query::ClearingHouseDetails)Output only. Details for a clearinghouse account.
$msg->currency_operator_details()/$msg->currency_operator_details($value)Type:
Message(Google::Cloud::Universalledger::V1::Query::CurrencyOperatorDetails)Output only. Details for a currency operator account.
$msg->platform_operator_details()/$msg->platform_operator_details($value)Type:
Message(Google::Cloud::Universalledger::V1::Query::PlatformOperatorDetails)Output only. Details for a platform operator account.
$msg->sequence_number()/$msg->sequence_number($value)Type:
Int64Output only. The sequence number of this account. This number increments with each transaction sent by this account.
$msg->public_key()/$msg->public_key($value)Type:
BytesOutput only. The primary public key associated with this account, used for signature verification.
$msg->round_id()/$msg->round_id($value)Type:
Int64Output only. The ID of the execution round (similar to block "height") at which the account information provided is accurate.
$msg->comment()/$msg->comment($value)Type:
StringOutput only. The account comment stored when this account was created.
Google::Cloud::Universalledger::V1::Query::AccountManagerDetails
Details specific to an Account Manager.
Inherits from Protobuf::Message.
Accessors
$msg->num_accounts()/$msg->num_accounts($value)Type:
Int32Output only. The number of accounts created by this account manager.
$msg->token_manager_id()/$msg->token_manager_id($value)Type:
StringOutput only. The ID of the default token manager for accounts created by this account manager.
Google::Cloud::Universalledger::V1::Query::TokenManagerDetails
Details specific to a Token Manager.
Inherits from Protobuf::Message.
Accessors
$msg->issuance_limit()/$msg->issuance_limit($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::CurrencyValue)Output only. The amount of tokens this token manager is allowed to mint.
$msg->issued_tokens()/$msg->issued_tokens($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::CurrencyValue)Output only. The amount of tokens minted by this token manager. This number will increase when minting and decrease when burning.
Google::Cloud::Universalledger::V1::Query::ContractTokenManagerDetails
Details specific to a Contract Token Manager.
Inherits from Protobuf::Message.
Accessors
$msg->issuance_limit()/$msg->issuance_limit($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::CurrencyValue)Output only. The amount of tokens this contract token manager is allowed to provide backing for.
Since contract token managers cannot increase or decrease their issuance limit, this should equal the `issued_tokens`.
$msg->issued_tokens()/$msg->issued_tokens($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::CurrencyValue)Output only. The amount of tokens this contract token manager is providing backing for (that is, its total liability).
This equals to the sum of all balances held in contracts for its currency, plus its net position in the settlement matrix.
$msg->previous_contract_token_manager_id()/$msg->previous_contract_token_manager_id($value)Type:
StringOutput only. The account ID of the previous contract token manager for this currency. This forms an audit trail that can be traversed to discover all previous managers. If this is the first contract token manager for the currency, this will be empty.
$msg->account_status()/$msg->account_status($value)Type:
Enum(Google::Cloud::Universalledger::V1::AccountStatus)Output only. The status of this account.
Google::Cloud::Universalledger::V1::Query::UserDetails
Details specific to a User account.
Inherits from Protobuf::Message.
Accessors
$msg->account_manager_id()/$msg->account_manager_id($value)Type:
StringOutput only. The ID of the account manager for this user.
$msg->token_manager_id()/$msg->token_manager_id($value)Type:
StringOutput only. The ID of the token manager for this user.
$msg->roles()/$msg->roles($value)Type:
Enum(Google::Cloud::Universalledger::V1::Role)Output only. The list of roles granted to this account.
$msg->account_status()/$msg->account_status($value)Type:
Enum(Google::Cloud::Universalledger::V1::AccountStatus)Output only. The status of this account.
$msg->balance()/$msg->balance($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::CurrencyValue)Output only. The token balance of this user account.
$msg->contract_account_fields()/$msg->contract_account_fields($value)Type:
Message(Google::Cloud::Universalledger::V1::Query::UserDetails::ContractAccountFieldsEntry)Output only. The contract account fields (contract ID -> fields) for this user.
Google::Cloud::Universalledger::V1::Query::CurrencyOperatorDetails
Details specific to a Currency Operator.
Inherits from Protobuf::Message.
Accessors
$msg->currency_code()/$msg->currency_code($value)Type:
StringOutput only. The ID of the currency associated with this account, represented by the 3-letter ISO 4217 code.
$msg->account_status()/$msg->account_status($value)Type:
Enum(Google::Cloud::Universalledger::V1::AccountStatus)Output only. The status of this account.
$msg->previous_currency_operator_id()/$msg->previous_currency_operator_id($value)Type:
StringOutput only. The ID of the previous currency operator which transferred ownership of the currency operator role to this account. If this is the first currency operator for the currency, this will be empty.
$msg->platform_operator_id()/$msg->platform_operator_id($value)Type:
StringOutput only. The ID of the platform operator which created this currency operator.
$msg->contract_token_manager_id()/$msg->contract_token_manager_id($value)Type:
StringOutput only. The ID of the contract token manager associated with this currency operator.
$msg->clearinghouse_id()/$msg->clearinghouse_id($value)Type:
StringOutput only. The ID of the clearinghouse associated with this currency operator.
Google::Cloud::Universalledger::V1::Query::PlatformOperatorDetails
Details specific to a Platform Operator.
Inherits from Protobuf::Message.
Accessors
$msg->account_status()/$msg->account_status($value)Type:
Enum(Google::Cloud::Universalledger::V1::AccountStatus)Output only. The status of this account.
$msg->previous_platform_operator_id()/$msg->previous_platform_operator_id($value)Type:
StringOutput only. The ID of the previous platform operator which transferred ownership of the platform operator role to this account. If this is the first platform operator, this will be empty.
Google::Cloud::Universalledger::V1::Query::ClearingHouseDetails
Details specific to a Clearinghouse.
Inherits from Protobuf::Message.
Accessors
$msg->account_status()/$msg->account_status($value)Type:
Enum(Google::Cloud::Universalledger::V1::AccountStatus)Output only. The status of this account.
$msg->balances()/$msg->balances($value)Type:
Message(Google::Cloud::Universalledger::V1::Query::BalanceToSettle)Output only. The balances that this clearinghouse is currently tracking for settlement.
$msg->settlement_mode()/$msg->settlement_mode($value)Type:
Enum(Google::Cloud::Universalledger::V1::SettlementMode)Output only. The settlement mode of this clearinghouse.
Google::Cloud::Universalledger::V1::Query::ContractDetails
Details specific to a Smart Contract.
Inherits from Protobuf::Message.
Accessors
$msg->owner_id()/$msg->owner_id($value)Type:
StringOutput only. The ID of the owner of the contract.
$msg->code()/$msg->code($value)Type:
BytesOutput only. The serialized contract code.
$msg->contract_fields()/$msg->contract_fields($value)Type:
Message(Google::Cloud::Universalledger::V1::Query::Fields)Output only. The contract fields (field name -> value) for this contract.
$msg->currency_balances()/$msg->currency_balances($value)Type:
Message(Google::Cloud::Universalledger::V1::Query::ContractDetails::CurrencyBalancesEntry)Output only. The currency balances held by the contract (currency operator -> balance).
Google::Cloud::Universalledger::V1::Query::BalanceToSettle
A balance to settle between two token managers.
Inherits from Protobuf::Message.
Accessors
$msg->balance_payer_id()/$msg->balance_payer_id($value)Type:
StringOutput only. The ID of the account which owes the balance to be settled.
$msg->balance_receiver_id()/$msg->balance_receiver_id($value)Type:
StringOutput only. The ID of the account which is owed the balance to be settled.
$msg->balance()/$msg->balance($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::CurrencyValue)Output only. The balance to settle. Must be positive.
Google::Cloud::Universalledger::V1::Query::Fields
A map of fields (field name -> value) from a contract used to represent contract fields or account fields.
Inherits from Protobuf::Message.
Accessors
$msg->fields()/$msg->fields($value)Type:
Message(Google::Cloud::Universalledger::V1::Query::Fields::FieldsEntry)Output only. The map of field names to their values.
Google::Cloud::Universalledger::V1::Query::RedactedField
Information about a redacted field in the response.
Inherits from Protobuf::Message.
Accessors
$msg->redacted_path()/$msg->redacted_path($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Output only. The fully qualified field paths that were redacted from the payload.
$msg->reason()/$msg->reason($value)Type:
StringOutput only. A human-readable explanation of why the fields were redacted.
$msg->reason_code()/$msg->reason_code($value)Type:
Enum(Google::Rpc::Code)Output only. A machine readable code for why the fields were redacted.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Universalledger::V1::Query::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.