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\u003eThis page provides reference documentation for the \u003ccode\u003eTextSegmentType\u003c/code\u003e enum within the Google AutoML v1 API, specifically in the \u003ccode\u003eGoogle.Cloud.AutoML.V1.Document.Types.Layout.Types\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextSegmentType\u003c/code\u003e enum defines the type of a text segment in the context of the original document, with possible values including \u003ccode\u003eFormField\u003c/code\u003e, \u003ccode\u003eParagraph\u003c/code\u003e, \u003ccode\u003eTable\u003c/code\u003e, \u003ccode\u003eToken\u003c/code\u003e, and others.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines different versions of the API, ranging from version 2.2.0 up to the latest, version 3.4.0, providing a history of the \u003ccode\u003eTextSegmentType\u003c/code\u003e across these versions.\u003c/p\u003e\n"],["\u003cp\u003eThe provided table details each field available in the TextSegmentType enum, including each field's name and its corresponding description.\u003c/p\u003e\n"],["\u003cp\u003eEach TextSegmentType field can be a child to another TextSegmentType if it is a subspan.\u003c/p\u003e\n"]]],[],null,[]]