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:
Int64Required. 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:
StringRequired. 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
$msg->currency()/$msg->currency($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::QualifiedCurrencyValue)Required. The currency of the amount.
$msg->amount_value()/$msg->amount_value($value)Type:
Int64Required. The number of minor units of the currency.
Google::Cloud::Universalledger::V1::Common::StringList
A list of strings.
Inherits from Protobuf::Message.
Accessors
$msg->values()/$msg->values($value)Type:
StringOptional. The string values.
Google::Cloud::Universalledger::V1::Common::Int64List
A list of int64s.
Inherits from Protobuf::Message.
Accessors
$msg->values()/$msg->values($value)Type:
Int64Optional. 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:
StringRequired. The account ID.
Google::Cloud::Universalledger::V1::Common::BoolList
A list of booleans.
Inherits from Protobuf::Message.
Accessors
$msg->values()/$msg->values($value)Type:
BoolOptional. 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:
StringRequired. 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
$msg->bool_keys()/$msg->bool_keys($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::BoolList)Optional. A list of boolean keys.
$msg->string_keys()/$msg->string_keys($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::StringList)Optional. A list of string keys.
$msg->int64_keys()/$msg->int64_keys($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::Int64List)Optional. A list of int64 keys.
$msg->generic_keys()/$msg->generic_keys($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::RepeatedValue)Optional. A generic list of keys.
$msg->bool_values()/$msg->bool_values($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::BoolList)Optional. A list of boolean values.
$msg->string_values()/$msg->string_values($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::StringList)Optional. A list of string values.
$msg->int64_values()/$msg->int64_values($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::Int64List)Optional. A list of int64 values.
$msg->generic_values()/$msg->generic_values($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::RepeatedValue)Optional. A generic list of values as values.
Google::Cloud::Universalledger::V1::Common::ListValue
A list of values.
Inherits from Protobuf::Message.
Accessors
$msg->bool_values()/$msg->bool_values($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::BoolList)Optional. A list of boolean values.
$msg->string_values()/$msg->string_values($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::StringList)Optional. A list of string values.
$msg->int64_values()/$msg->int64_values($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::Int64List)Optional. A list of int64 values.
$msg->generic_values()/$msg->generic_values($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::RepeatedValue)Optional. A generic list of values.
Google::Cloud::Universalledger::V1::Common::RepeatedValue
A generic list of values.
Inherits from Protobuf::Message.
Accessors
$msg->values()/$msg->values($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::Value)Optional. The values in the list.
Google::Cloud::Universalledger::V1::Common::Value
A concrete value of some type.
Inherits from Protobuf::Message.
Accessors
$msg->none_value()/$msg->none_value($value)Type:
Enum(Google::Cloud::Universalledger::V1::NoneValue)Optional. Represents a None value.
$msg->bool_value()/$msg->bool_value($value)Type:
BoolOptional. A boolean value.
$msg->int64_value()/$msg->int64_value($value)Type:
Int64Optional. An int64 value.
$msg->string_value()/$msg->string_value($value)Type:
StringOptional. A string value.
$msg->dict_value()/$msg->dict_value($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::DictValue)Optional. A dictionary value.
$msg->contract_value()/$msg->contract_value($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::ContractValue)Optional. A contract reference.
$msg->list_value()/$msg->list_value($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::ListValue)Optional. A list value.
$msg->qualified_currency_value()/$msg->qualified_currency_value($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::QualifiedCurrencyValue)Optional. A qualified currency value.
$msg->account_value()/$msg->account_value($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::AccountValue)Optional. An account value.
$msg->amount_value()/$msg->amount_value($value)Type:
Message(Google::Cloud::Universalledger::V1::Common::AmountValue)Optional. An amount value.
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.