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

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

A concrete value of some type.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#account_value

def account_value() -> ::Google::Cloud::UniversalLedger::V1::AccountValue
Returns
  • (::Google::Cloud::UniversalLedger::V1::AccountValue) — Optional. An account value.

    Note: The following fields are mutually exclusive: account_value, none_value, bool_value, int64_value, string_value, dict_value, contract_value, list_value, qualified_currency_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#account_value=

def account_value=(value) -> ::Google::Cloud::UniversalLedger::V1::AccountValue
Parameter
  • value (::Google::Cloud::UniversalLedger::V1::AccountValue) — Optional. An account value.

    Note: The following fields are mutually exclusive: account_value, none_value, bool_value, int64_value, string_value, dict_value, contract_value, list_value, qualified_currency_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::UniversalLedger::V1::AccountValue) — Optional. An account value.

    Note: The following fields are mutually exclusive: account_value, none_value, bool_value, int64_value, string_value, dict_value, contract_value, list_value, qualified_currency_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#amount_value

def amount_value() -> ::Google::Cloud::UniversalLedger::V1::AmountValue
Returns
  • (::Google::Cloud::UniversalLedger::V1::AmountValue) — Optional. An amount value.

    Note: The following fields are mutually exclusive: amount_value, none_value, bool_value, int64_value, string_value, dict_value, contract_value, list_value, qualified_currency_value, account_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#amount_value=

def amount_value=(value) -> ::Google::Cloud::UniversalLedger::V1::AmountValue
Parameter
  • value (::Google::Cloud::UniversalLedger::V1::AmountValue) — Optional. An amount value.

    Note: The following fields are mutually exclusive: amount_value, none_value, bool_value, int64_value, string_value, dict_value, contract_value, list_value, qualified_currency_value, account_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::UniversalLedger::V1::AmountValue) — Optional. An amount value.

    Note: The following fields are mutually exclusive: amount_value, none_value, bool_value, int64_value, string_value, dict_value, contract_value, list_value, qualified_currency_value, account_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#bool_value

def bool_value() -> ::Boolean
Returns
  • (::Boolean) — Optional. A boolean value.

    Note: The following fields are mutually exclusive: bool_value, none_value, int64_value, string_value, dict_value, contract_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#bool_value=

def bool_value=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. A boolean value.

    Note: The following fields are mutually exclusive: bool_value, none_value, int64_value, string_value, dict_value, contract_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Boolean) — Optional. A boolean value.

    Note: The following fields are mutually exclusive: bool_value, none_value, int64_value, string_value, dict_value, contract_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#contract_value

def contract_value() -> ::Google::Cloud::UniversalLedger::V1::ContractValue
Returns
  • (::Google::Cloud::UniversalLedger::V1::ContractValue) — Optional. A contract reference.

    Note: The following fields are mutually exclusive: contract_value, none_value, bool_value, int64_value, string_value, dict_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#contract_value=

def contract_value=(value) -> ::Google::Cloud::UniversalLedger::V1::ContractValue
Parameter
  • value (::Google::Cloud::UniversalLedger::V1::ContractValue) — Optional. A contract reference.

    Note: The following fields are mutually exclusive: contract_value, none_value, bool_value, int64_value, string_value, dict_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::UniversalLedger::V1::ContractValue) — Optional. A contract reference.

    Note: The following fields are mutually exclusive: contract_value, none_value, bool_value, int64_value, string_value, dict_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#dict_value

def dict_value() -> ::Google::Cloud::UniversalLedger::V1::DictValue
Returns
  • (::Google::Cloud::UniversalLedger::V1::DictValue) — Optional. A dictionary value.

    Note: The following fields are mutually exclusive: dict_value, none_value, bool_value, int64_value, string_value, contract_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#dict_value=

def dict_value=(value) -> ::Google::Cloud::UniversalLedger::V1::DictValue
Parameter
  • value (::Google::Cloud::UniversalLedger::V1::DictValue) — Optional. A dictionary value.

    Note: The following fields are mutually exclusive: dict_value, none_value, bool_value, int64_value, string_value, contract_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::UniversalLedger::V1::DictValue) — Optional. A dictionary value.

    Note: The following fields are mutually exclusive: dict_value, none_value, bool_value, int64_value, string_value, contract_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#int64_value

def int64_value() -> ::Integer
Returns
  • (::Integer) — Optional. An int64 value.

    Note: The following fields are mutually exclusive: int64_value, none_value, bool_value, string_value, dict_value, contract_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#int64_value=

def int64_value=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. An int64 value.

    Note: The following fields are mutually exclusive: int64_value, none_value, bool_value, string_value, dict_value, contract_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Integer) — Optional. An int64 value.

    Note: The following fields are mutually exclusive: int64_value, none_value, bool_value, string_value, dict_value, contract_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#list_value

def list_value() -> ::Google::Cloud::UniversalLedger::V1::ListValue
Returns
  • (::Google::Cloud::UniversalLedger::V1::ListValue) — Optional. A list value.

    Note: The following fields are mutually exclusive: list_value, none_value, bool_value, int64_value, string_value, dict_value, contract_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#list_value=

def list_value=(value) -> ::Google::Cloud::UniversalLedger::V1::ListValue
Parameter
  • value (::Google::Cloud::UniversalLedger::V1::ListValue) — Optional. A list value.

    Note: The following fields are mutually exclusive: list_value, none_value, bool_value, int64_value, string_value, dict_value, contract_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::UniversalLedger::V1::ListValue) — Optional. A list value.

    Note: The following fields are mutually exclusive: list_value, none_value, bool_value, int64_value, string_value, dict_value, contract_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#none_value

def none_value() -> ::Google::Cloud::UniversalLedger::V1::NoneValue
Returns
  • (::Google::Cloud::UniversalLedger::V1::NoneValue) — Optional. Represents a None value.

    Note: The following fields are mutually exclusive: none_value, bool_value, int64_value, string_value, dict_value, contract_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#none_value=

def none_value=(value) -> ::Google::Cloud::UniversalLedger::V1::NoneValue
Parameter
  • value (::Google::Cloud::UniversalLedger::V1::NoneValue) — Optional. Represents a None value.

    Note: The following fields are mutually exclusive: none_value, bool_value, int64_value, string_value, dict_value, contract_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::UniversalLedger::V1::NoneValue) — Optional. Represents a None value.

    Note: The following fields are mutually exclusive: none_value, bool_value, int64_value, string_value, dict_value, contract_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#qualified_currency_value

def qualified_currency_value() -> ::Google::Cloud::UniversalLedger::V1::QualifiedCurrencyValue
Returns
  • (::Google::Cloud::UniversalLedger::V1::QualifiedCurrencyValue) — Optional. A qualified currency value.

    Note: The following fields are mutually exclusive: qualified_currency_value, none_value, bool_value, int64_value, string_value, dict_value, contract_value, list_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#qualified_currency_value=

def qualified_currency_value=(value) -> ::Google::Cloud::UniversalLedger::V1::QualifiedCurrencyValue
Parameter
  • value (::Google::Cloud::UniversalLedger::V1::QualifiedCurrencyValue) — Optional. A qualified currency value.

    Note: The following fields are mutually exclusive: qualified_currency_value, none_value, bool_value, int64_value, string_value, dict_value, contract_value, list_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::UniversalLedger::V1::QualifiedCurrencyValue) — Optional. A qualified currency value.

    Note: The following fields are mutually exclusive: qualified_currency_value, none_value, bool_value, int64_value, string_value, dict_value, contract_value, list_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#string_value

def string_value() -> ::String
Returns
  • (::String) — Optional. A string value.

    Note: The following fields are mutually exclusive: string_value, none_value, bool_value, int64_value, dict_value, contract_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#string_value=

def string_value=(value) -> ::String
Parameter
  • value (::String) — Optional. A string value.

    Note: The following fields are mutually exclusive: string_value, none_value, bool_value, int64_value, dict_value, contract_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Optional. A string value.

    Note: The following fields are mutually exclusive: string_value, none_value, bool_value, int64_value, dict_value, contract_value, list_value, qualified_currency_value, account_value, amount_value. If a field in that set is populated, all other fields in the set will automatically be cleared.