Class Google::Cloud::DocumentAI::V1beta3::Document::Entity::NormalizedValue (v0.9.4)

Parsed and normalized entity value.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#address_value

def address_value() -> ::Google::Type::PostalAddress
Returns
  • (::Google::Type::PostalAddress) — Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto

#address_value=

def address_value=(value) -> ::Google::Type::PostalAddress
Parameter
  • value (::Google::Type::PostalAddress) — Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
Returns
  • (::Google::Type::PostalAddress) — Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto

#boolean_value

def boolean_value() -> ::Boolean
Returns
  • (::Boolean) — Boolean value. Can be used for entities with binary values, or for checkboxes.

#boolean_value=

def boolean_value=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Boolean value. Can be used for entities with binary values, or for checkboxes.
Returns
  • (::Boolean) — Boolean value. Can be used for entities with binary values, or for checkboxes.

#date_value

def date_value() -> ::Google::Type::Date
Returns
  • (::Google::Type::Date) — Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto

#date_value=

def date_value=(value) -> ::Google::Type::Date
Parameter
  • value (::Google::Type::Date) — Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
Returns
  • (::Google::Type::Date) — Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto

#datetime_value

def datetime_value() -> ::Google::Type::DateTime
Returns
  • (::Google::Type::DateTime) — DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto

#datetime_value=

def datetime_value=(value) -> ::Google::Type::DateTime
Parameter
  • value (::Google::Type::DateTime) — DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
Returns
  • (::Google::Type::DateTime) — DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto

#money_value

def money_value() -> ::Google::Type::Money
Returns
  • (::Google::Type::Money) — Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto

#money_value=

def money_value=(value) -> ::Google::Type::Money
Parameter
  • value (::Google::Type::Money) — Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
Returns
  • (::Google::Type::Money) — Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto

#text

def text() -> ::String
Returns
  • (::String) —

    Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective 'structured_value' fields may also be populated.

    • Money/Currency type (money_value) is in the ISO 4217 text format.
    • Date type (date_value) is in the ISO 8601 text format.
    • Datetime type (datetime_value) is in the ISO 8601 text format.

#text=

def text=(value) -> ::String
Parameter
  • value (::String) —

    Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective 'structured_value' fields may also be populated.

    • Money/Currency type (money_value) is in the ISO 4217 text format.
    • Date type (date_value) is in the ISO 8601 text format.
    • Datetime type (datetime_value) is in the ISO 8601 text format.
Returns
  • (::String) —

    Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective 'structured_value' fields may also be populated.

    • Money/Currency type (money_value) is in the ISO 4217 text format.
    • Date type (date_value) is in the ISO 8601 text format.
    • Datetime type (datetime_value) is in the ISO 8601 text format.