Annotation details specific to text extraction.
The segment of the text content.
annotationSpecIdstring
The resource id of the AnnotationSpec that this Annotation pertains to.
displayNamestring
The display name of the AnnotationSpec that this Annotation pertains to.
| JSON representation |
|---|
{
"textSegment": {
object ( |
TextSegment
The text segment inside of DataItem.
startOffsetstring
Zero-based character index of the first character of the text segment (counting characters from the beginning of the text).
endOffsetstring
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.
contentstring
The text content in the segment for output only.
| JSON representation |
|---|
{ "startOffset": string, "endOffset": string, "content": string } |