The API calculates the beginning offset of the content in the original
document according to the
[EncodingType][google.cloud.language.v2.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\u003eThis document provides reference information for the \u003ccode\u003eTextSpan\u003c/code\u003e class within the Google Cloud Natural Language v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextSpan\u003c/code\u003e class is used to represent a specific section of text within an input document.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties such as \u003ccode\u003eBeginOffset\u003c/code\u003e, indicating the starting position of the text span, and \u003ccode\u003eContent\u003c/code\u003e, which is the actual text within the span.\u003c/p\u003e\n"],["\u003cp\u003eThe most up to date version of the class is in 1.0.0-beta05.\u003c/p\u003e\n"],["\u003cp\u003eThe TextSpan class implements several interfaces including IMessage, IEquatable, and IDeepCloneable.\u003c/p\u003e\n"]]],[],null,[]]