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 document provides reference information for the \u003ccode\u003eTextSegmentType\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.AutoML.V1\u003c/code\u003e namespace, with the latest version being 3.4.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTextSegmentType\u003c/code\u003e defines various types of text segments within a document, such as \u003ccode\u003eFormField\u003c/code\u003e, \u003ccode\u003eParagraph\u003c/code\u003e, \u003ccode\u003eTable\u003c/code\u003e, and \u003ccode\u003eToken\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDifferent versions of the library are available, ranging from version 2.2.0 up to 3.4.0, and the content is related to the 2.4.0 version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextSegmentType\u003c/code\u003e enum includes specific types like \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 to denote parts of form fields or tables.\u003c/p\u003e\n"],["\u003cp\u003eThere is also an \u003ccode\u003eUnspecified\u003c/code\u003e option that should not be used.\u003c/p\u003e\n"]]],[],null,[]]