Class TextMessageCitationAnchor (0.13.1)

TextMessageCitationAnchor(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Citation anchor within a TextMessage.

Attributes

Name Description
part_index int
Output only. The 0-based index of the part within the TextMessage.parts field.
start_offset_bytes int
Output only. The offset, measured in UTF-8 bytes, within the part string where the citation begins (inclusive). Example: For the text "Hello, world" where "world" is cited, the start offset bytes (inclusive) is 7 and the end offset bytes (exclusive) is 12.
end_offset_bytes int
Output only. The offset, measured in UTF-8 bytes, within the part string where the citation ends (exclusive). Example: For the text "Hello, world" where "world" is cited, the start offset bytes (inclusive) is 7 and the end offset bytes (exclusive) is 12.
source_ids MutableSequence[str]
Output only. The ids of the sources that are cited.