Cloud Document AI v1 API - Class Document.Types.Entity.Types.NormalizedValue (3.12.0)

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

Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.Entity.Types.NormalizedValue.

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(NormalizedValue)

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

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
bool

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

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

FloatValue

public float FloatValue { get; set; }

Float value.

Property Value
TypeDescription
float

HasBooleanValue

public bool HasBooleanValue { get; }

Gets whether the "boolean_value" field is set

Property Value
TypeDescription
bool

HasFloatValue

public bool HasFloatValue { get; }

Gets whether the "float_value" field is set

Property Value
TypeDescription
bool

HasIntegerValue

public bool HasIntegerValue { get; }

Gets whether the "integer_value" field is set

Property Value
TypeDescription
bool

IntegerValue

public int IntegerValue { get; set; }

Integer value.

Property Value
TypeDescription
int

MoneyValue

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

StructuredValueCase

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

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