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.

Attributes

NameDescription
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.

Inheritance

builtins.object > proto.message.Message > TextSpan