Class TextSpan (2.6.1)

Stay organized with collections Save and categorize content based on your preferences.
TextSpan(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents an output piece of text.


content str
The content of the output text.
begin_offset int
The API calculates the beginning offset of the content in the original document according to the EncodingType specified in the API request.


builtins.object > proto.message.Message > TextSpan