The text segment is the text content part of a form field. It will be
treated as child of another FORM_FIELD TextSegment if its span is
subspan of another TextSegment with type FORM_FIELD.
FormFieldName
The text segment is the name part of a form field. It will be treated
as child of another FORM_FIELD TextSegment if its span is subspan of
another TextSegment with type FORM_FIELD.
Paragraph
The text segment is a paragraph.
Table
The text segment is a whole table, including headers, and all rows.
TableCell
The text segment is a cell in table. It will be treated as child of
another TABLE_ROW TextSegment if its span is subspan of another
TextSegment with type TABLE_ROW.
TableHeader
The text segment is a table's headers. It will be treated as child of
another TABLE TextSegment if its span is subspan of another TextSegment
with type TABLE.
TableRow
The text segment is a row in table. It will be treated as child of
another TABLE TextSegment if its span is subspan of another TextSegment
with type TABLE.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eDocument.Types.Layout.Types.TextSegmentType\u003c/code\u003e is 3.4.0, with several previous versions available for reference, starting from version 2.2.0 up to version 3.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDocument.Types.Layout.Types.TextSegmentType\u003c/code\u003e is an enum within the Google AutoML v1 API, used to define the type of a TextSegment within a document.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextSegmentType\u003c/code\u003e enum includes fields such as \u003ccode\u003eFormField\u003c/code\u003e, \u003ccode\u003eFormFieldContents\u003c/code\u003e, \u003ccode\u003eFormFieldName\u003c/code\u003e, \u003ccode\u003eParagraph\u003c/code\u003e, \u003ccode\u003eTable\u003c/code\u003e, \u003ccode\u003eTableCell\u003c/code\u003e, \u003ccode\u003eTableHeader\u003c/code\u003e, \u003ccode\u003eTableRow\u003c/code\u003e, \u003ccode\u003eToken\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, each representing a distinct type of text segment.\u003c/p\u003e\n"],["\u003cp\u003eCertain \u003ccode\u003eTextSegmentType\u003c/code\u003e fields, such as \u003ccode\u003eFormFieldContents\u003c/code\u003e, \u003ccode\u003eFormFieldName\u003c/code\u003e, \u003ccode\u003eTableCell\u003c/code\u003e, \u003ccode\u003eTableHeader\u003c/code\u003e, and \u003ccode\u003eTableRow\u003c/code\u003e, can be children of other \u003ccode\u003eTextSegmentType\u003c/code\u003e fields if their spans are contained within the parent's span, indicating a hierarchical structure.\u003c/p\u003e\n"],["\u003cp\u003eThe available documentation can be found in the Google.Cloud.AutoML.V1 namespace, within the Google.Cloud.AutoML.V1.dll assembly.\u003c/p\u003e\n"]]],[],null,["# Google AutoML v1 API - Enum Document.Types.Layout.Types.TextSegmentType (3.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.AutoML.V1/latest/Google.Cloud.AutoML.V1.Document.Types.Layout.Types.TextSegmentType)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.AutoML.V1/3.3.0/Google.Cloud.AutoML.V1.Document.Types.Layout.Types.TextSegmentType)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.AutoML.V1/3.2.0/Google.Cloud.AutoML.V1.Document.Types.Layout.Types.TextSegmentType)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.AutoML.V1/3.1.0/Google.Cloud.AutoML.V1.Document.Types.Layout.Types.TextSegmentType)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.AutoML.V1/3.0.0/Google.Cloud.AutoML.V1.Document.Types.Layout.Types.TextSegmentType)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.AutoML.V1/2.6.0/Google.Cloud.AutoML.V1.Document.Types.Layout.Types.TextSegmentType)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.AutoML.V1/2.5.0/Google.Cloud.AutoML.V1.Document.Types.Layout.Types.TextSegmentType)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.AutoML.V1/2.4.0/Google.Cloud.AutoML.V1.Document.Types.Layout.Types.TextSegmentType)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.AutoML.V1/2.3.0/Google.Cloud.AutoML.V1.Document.Types.Layout.Types.TextSegmentType)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.AutoML.V1/2.2.0/Google.Cloud.AutoML.V1.Document.Types.Layout.Types.TextSegmentType) \n\n public enum Document.Types.Layout.Types.TextSegmentType\n\nReference documentation and code samples for the Google AutoML v1 API enum Document.Types.Layout.Types.TextSegmentType.\n\nThe type of TextSegment in the context of the original document.\n\nNamespace\n---------\n\n[Google.Cloud.AutoML.V1](/dotnet/docs/reference/Google.Cloud.AutoML.V1/latest/Google.Cloud.AutoML.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.AutoML.V1.dll"]]