Cloud Document AI v1beta3 API - Class Document.Types.Page.Types.FormField (2.0.0-beta21)

public sealed class Document.Types.Page.Types.FormField : IMessage<Document.Types.Page.Types.FormField>, IEquatable<Document.Types.Page.Types.FormField>, IDeepCloneable<Document.Types.Page.Types.FormField>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Document AI v1beta3 API class Document.Types.Page.Types.FormField.

A form field detected on the page.

Inheritance

object > Document.Types.Page.Types.FormField

Namespace

Google.Cloud.DocumentAI.V1Beta3

Assembly

Google.Cloud.DocumentAI.V1Beta3.dll

Constructors

FormField()

public FormField()

FormField(FormField)

public FormField(Document.Types.Page.Types.FormField other)
Parameter
Name Description
other DocumentTypesPageTypesFormField

Properties

CorrectedKeyText

public string CorrectedKeyText { get; set; }

Created for Labeling UI to export key text. If corrections were made to the text identified by the field_name.text_anchor, this field will contain the correction.

Property Value
Type Description
string

CorrectedValueText

public string CorrectedValueText { get; set; }

Created for Labeling UI to export value text. If corrections were made to the text identified by the field_value.text_anchor, this field will contain the correction.

Property Value
Type Description
string

FieldName

public Document.Types.Page.Types.Layout FieldName { get; set; }

[Layout][google.cloud.documentai.v1beta3.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1beta3.Document.Page.FormField] name. e.g. Address, Email, Grand total, Phone number, etc.

Property Value
Type Description
DocumentTypesPageTypesLayout

FieldValue

public Document.Types.Page.Types.Layout FieldValue { get; set; }

[Layout][google.cloud.documentai.v1beta3.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1beta3.Document.Page.FormField] value.

Property Value
Type Description
DocumentTypesPageTypesLayout

NameDetectedLanguages

public RepeatedField<Document.Types.Page.Types.DetectedLanguage> NameDetectedLanguages { get; }

A list of detected languages for name together with confidence.

Property Value
Type Description
RepeatedFieldDocumentTypesPageTypesDetectedLanguage

Provenance

public Document.Types.Provenance Provenance { get; set; }

The history of this annotation.

Property Value
Type Description
DocumentTypesProvenance

ValueDetectedLanguages

public RepeatedField<Document.Types.Page.Types.DetectedLanguage> ValueDetectedLanguages { get; }

A list of detected languages for value together with confidence.

Property Value
Type Description
RepeatedFieldDocumentTypesPageTypesDetectedLanguage

ValueType

public string ValueType { get; set; }

If the value is non-textual, this field represents the type. Current valid values are:

  • blank (this indicates the field_value is normal text)
  • unfilled_checkbox
  • filled_checkbox
Property Value
Type Description
string