Segment(mapping=None, *, ignore_unknown_fields=False, **kwargs)A segment of the content.
Attributes |
|
|---|---|
| Name | Description |
start_index |
int
Output only. The start index of the segment, measured in bytes. This marks the beginning of the segment and is inclusive, meaning the byte at this index is the first byte of the segment. |
end_index |
int
Output only. The end index of the segment, measured in bytes. This marks the end of the segment and is exclusive, meaning the segment includes content up to, but not including, the byte at this index. |
text |
str
Output only. The text of the segment. |