Document AI V1 API - Class Google::Cloud::DocumentAI::V1::Document::Entity::NormalizedValue (v1.3.0)

Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::Document::Entity::NormalizedValue.

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

#float_value

def float_value() -> ::Float
Returns
  • (::Float) — Float value.

#float_value=

def float_value=(value) -> ::Float
Parameter
  • value (::Float) — Float value.
Returns
  • (::Float) — Float value.

#integer_value

def integer_value() -> ::Integer
Returns
  • (::Integer) — Integer value.

#integer_value=

def integer_value=(value) -> ::Integer
Parameter
  • value (::Integer) — Integer value.
Returns
  • (::Integer) — Integer value.

#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) —

    Optional. An optional field to store a normalized string. For some entity types, one of respective structured_value fields may also be populated. Also not all the types of structured_value will be normalized. For example, some processors may not generate float or integer normalized text by default.

    Below are sample formats mapped to structured values.

    • 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) —

    Optional. An optional field to store a normalized string. For some entity types, one of respective structured_value fields may also be populated. Also not all the types of structured_value will be normalized. For example, some processors may not generate float or integer normalized text by default.

    Below are sample formats mapped to structured values.

    • 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) —

    Optional. An optional field to store a normalized string. For some entity types, one of respective structured_value fields may also be populated. Also not all the types of structured_value will be normalized. For example, some processors may not generate float or integer normalized text by default.

    Below are sample formats mapped to structured values.

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