The API calculates the beginning offset of the content in the original
document according to the
[EncodingType][google.cloud.language.v1.EncodingType] specified in the API
request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Google Cloud Natural Language v1 API class TextSpan is 3.7.0, with several previous versions also documented, including the current version of 3.4.0.\u003c/p\u003e\n"],["\u003cp\u003eTextSpan is a class that represents an output piece of text and implements several interfaces, including IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe TextSpan class has two constructors: a default constructor (TextSpan()) and a copy constructor (TextSpan(TextSpan other)).\u003c/p\u003e\n"],["\u003cp\u003eTextSpan has two main properties: \u003ccode\u003eBeginOffset\u003c/code\u003e, which is an integer representing the starting offset in the original document, and \u003ccode\u003eContent\u003c/code\u003e, a string representing the text itself.\u003c/p\u003e\n"]]],[],null,[]]