Annotation details specific to text extraction.
textSegment
object (TextSegment)
The segment of the text content.
annotationSpecId
string
The resource id of the AnnotationSpec that this Annotation pertains to.
displayName
string
The display name of the AnnotationSpec that this Annotation pertains to.
| JSON representation |
|---|
{
"textSegment": {
object ( |
TextSegment
The text segment inside of DataItem.
startOffset
string
Zero-based character index of the first character of the text segment (counting characters from the beginning of the text).
endOffset
string
Zero-based character index of the first character past the end of the text segment (counting character from the beginning of the text). The character at the endOffset is NOT included in the text segment.
content
string
The text content in the segment for output only.
| JSON representation |
|---|
{ "startOffset": string, "endOffset": string, "content": string } |