Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::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
- (::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
- value (::Google::Type::PostalAddress) — Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
- (::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
- (::Boolean) — Boolean value. Can be used for entities with binary values, or for checkboxes.
#boolean_value=
def boolean_value=(value) -> ::Boolean
- value (::Boolean) — Boolean value. Can be used for entities with binary values, or for checkboxes.
- (::Boolean) — Boolean value. Can be used for entities with binary values, or for checkboxes.
#date_value
def date_value() -> ::Google::Type::Date
- (::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
- value (::Google::Type::Date) — Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
- (::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
- (::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
- value (::Google::Type::DateTime) — DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
- (::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
- (::Float) — Float value.
#float_value=
def float_value=(value) -> ::Float
- value (::Float) — Float value.
- (::Float) — Float value.
#integer_value
def integer_value() -> ::Integer
- (::Integer) — Integer value.
#integer_value=
def integer_value=(value) -> ::Integer
- value (::Integer) — Integer value.
- (::Integer) — Integer value.
#money_value
def money_value() -> ::Google::Type::Money
- (::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
- value (::Google::Type::Money) — Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
- (::Google::Type::Money) — Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
#text
def text() -> ::String
-
(::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 ofstructured_value
will be normalized. For example, some processors may not generate float or int 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.
- Money/Currency type (
#text=
def text=(value) -> ::String
-
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 ofstructured_value
will be normalized. For example, some processors may not generate float or int 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.
- Money/Currency type (
-
(::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 ofstructured_value
will be normalized. For example, some processors may not generate float or int 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.
- Money/Currency type (