Class: Google::Cloud::DocumentAI::V1::Document::Entity::NormalizedValue
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1::Document::Entity::NormalizedValue
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1/document.rb
Overview
Parsed and normalized entity value.
Instance Attribute Summary collapse
-
#address_value ⇒ ::Google::Type::PostalAddress
Postal address.
-
#boolean_value ⇒ ::Boolean
Boolean value.
-
#date_value ⇒ ::Google::Type::Date
Date value.
-
#datetime_value ⇒ ::Google::Type::DateTime
DateTime value.
-
#float_value ⇒ ::Float
Float value.
-
#integer_value ⇒ ::Integer
Integer value.
-
#money_value ⇒ ::Google::Type::Money
Money value.
-
#text ⇒ ::String
Optional.
Instance Attribute Details
#address_value ⇒ ::Google::Type::PostalAddress
Returns Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto.
764 765 766 767 |
# File 'proto_docs/google/cloud/documentai/v1/document.rb', line 764 class NormalizedValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#boolean_value ⇒ ::Boolean
Returns Boolean value. Can be used for entities with binary values, or for checkboxes.
764 765 766 767 |
# File 'proto_docs/google/cloud/documentai/v1/document.rb', line 764 class NormalizedValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#date_value ⇒ ::Google::Type::Date
Returns Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto.
764 765 766 767 |
# File 'proto_docs/google/cloud/documentai/v1/document.rb', line 764 class NormalizedValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#datetime_value ⇒ ::Google::Type::DateTime
Returns DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto.
764 765 766 767 |
# File 'proto_docs/google/cloud/documentai/v1/document.rb', line 764 class NormalizedValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#float_value ⇒ ::Float
Returns Float value.
764 765 766 767 |
# File 'proto_docs/google/cloud/documentai/v1/document.rb', line 764 class NormalizedValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#integer_value ⇒ ::Integer
Returns Integer value.
764 765 766 767 |
# File 'proto_docs/google/cloud/documentai/v1/document.rb', line 764 class NormalizedValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#money_value ⇒ ::Google::Type::Money
Returns Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto.
764 765 766 767 |
# File 'proto_docs/google/cloud/documentai/v1/document.rb', line 764 class NormalizedValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text ⇒ ::String
Returns 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.
764 765 766 767 |
# File 'proto_docs/google/cloud/documentai/v1/document.rb', line 764 class NormalizedValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |