NAME

Google::Cloud::Universalledger::V1::Common - Compiled Protocol Buffers messages for google/cloud/universalledger/v1/common.proto

SYNOPSIS

use Google::Cloud::Universalledger::V1::Common;

my $msg = Google::Cloud::Universalledger::V1::Common::CurrencyValue->new({
    value => $value,
});

# Read or update a field
my $val = $msg->value();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Universalledger::V1::Common::CurrencyValue->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/universalledger/v1/common.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::Common::CurrencyValue

Represents an amount of currency (i.e. money). Note that the denominated currency is not included in this message. The relevant currency is decided by the account that sends the transaction. Each account has a unique immutable currency associated to it.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int64

    Required. The number of minor units of the currency.

    This smallest valid denomination is referred to as "minor units" and is specified in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). As an example, for USD, the value will be the number of cents and for GBP it will be the number of pence. For the Japanese Yen which does not have a minor unit, it will be the number of Yen.

Google::Cloud::Universalledger::V1::Common::QualifiedCurrencyValue

Represents a currency on the ledger, which is qualified by its Currency Operator.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The Currency Operator ID administering the currency.

Google::Cloud::Universalledger::V1::Common::AmountValue

Represents a denominated amount in a currency.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Universalledger::V1::Common::StringList

A list of strings.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. The string values.

Google::Cloud::Universalledger::V1::Common::Int64List

A list of int64s.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int64

    Optional. The int64 values.

Google::Cloud::Universalledger::V1::Common::AccountValue

A reference to an account on the ledger.

This reference is swapped out for a full `gcul.Account` object by the ledger's runtime. For more details, see the [`gcul.Account` class](https://docs.cloud.google.com/universal-ledger/reference/gculpy-language#account-class) in the GCULpy language reference.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The account ID.

Google::Cloud::Universalledger::V1::Common::BoolList

A list of booleans.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bool

    Optional. The boolean values.

Google::Cloud::Universalledger::V1::Common::ContractValue

Represents a contract reference.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The contract ID.

Google::Cloud::Universalledger::V1::Common::DictValue

Indices map key to value. For example, `keys[0]` key maps to `values[0]`.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Universalledger::V1::Common::ListValue

A list of values.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Universalledger::V1::Common::RepeatedValue

A generic list of values.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Universalledger::V1::Common::Value

A concrete value of some type.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Universalledger::V1::Common::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.