Class Document.Types.Entity.Types.NormalizedValue (1.4.0)

public sealed class NormalizedValue : IMessage<Document.Types.Entity.Types.NormalizedValue>, IEquatable<Document.Types.Entity.Types.NormalizedValue>, IDeepCloneable<Document.Types.Entity.Types.NormalizedValue>, IBufferMessage, IMessage

Parsed and normalized entity value.

Inheritance

Object > Document.Types.Entity.Types.NormalizedValue

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

NormalizedValue()

public NormalizedValue()

NormalizedValue(Document.Types.Entity.Types.NormalizedValue)

public NormalizedValue(Document.Types.Entity.Types.NormalizedValue other)
Parameter
NameDescription
otherDocument.Types.Entity.Types.NormalizedValue

Properties

AddressValue

public PostalAddress AddressValue { get; set; }
Property Value
TypeDescription
PostalAddress

BooleanValue

public bool BooleanValue { get; set; }

Boolean value. Can be used for entities with binary values, or for checkboxes.

Property Value
TypeDescription
Boolean

DatetimeValue

public DateTime DatetimeValue { get; set; }

DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto

Property Value
TypeDescription
DateTime

DateValue

public Date DateValue { get; set; }

Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto

Property Value
TypeDescription
Date

MoneyValue

public Money MoneyValue { get; set; }
Property Value
TypeDescription
Money

StructuredValueCase

public Document.Types.Entity.Types.NormalizedValue.StructuredValueOneofCase StructuredValueCase { get; }
Property Value
TypeDescription
Document.Types.Entity.Types.NormalizedValue.StructuredValueOneofCase

Text

public string Text { get; set; }

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 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.
Property Value
TypeDescription
String