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

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: Int32

    Output only. The number of accounts created by this account manager.

  • $msg->token_manager_id() / $msg->token_manager_id($value)

    Type: String

    Output 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

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: String

    Output 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

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: String

    Output 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: String

    Output 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: String

    Output only. The ID of the platform operator which created this currency operator.

  • $msg->contract_token_manager_id() / $msg->contract_token_manager_id($value)

    Type: String

    Output only. The ID of the contract token manager associated with this currency operator.

  • $msg->clearinghouse_id() / $msg->clearinghouse_id($value)

    Type: String

    Output 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: String

    Output 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

Google::Cloud::Universalledger::V1::Query::ContractDetails

Details specific to a Smart Contract.

Inherits from Protobuf::Message.

Accessors

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: String

    Output only. The ID of the account which owes the balance to be settled.

  • $msg->balance_receiver_id() / $msg->balance_receiver_id($value)

    Type: String

    Output 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

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: String

    Output 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.