This interface defines virtual methods for each of the user-facing overload sets in LanguageServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type LanguageServiceClient.
[[["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-14 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eLanguageServiceConnection\u003c/code\u003e object, which is used with \u003ccode\u003eLanguageServiceClient\u003c/code\u003e for interacting with the Google Cloud Language API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eLanguageServiceConnection\u003c/code\u003e is \u003ccode\u003e2.37.0-rc\u003c/code\u003e, and the page lists several previous versions, dating back to version \u003ccode\u003e2.11.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLanguageServiceConnection\u003c/code\u003e defines virtual methods for user-facing operations in \u003ccode\u003eLanguageServiceClient\u003c/code\u003e, enabling the injection of custom behaviors during testing.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create concrete instances of the service through the \u003ccode\u003eMakeLanguageServiceConnection()\u003c/code\u003e function, while mocking is supported through \u003ccode\u003eMockLanguageServiceConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLanguageServiceConnection\u003c/code\u003e object has functions that can analyze sentiment, analyze entities, classify text, moderate text, and annotate text, all of which are virtual methods.\u003c/p\u003e\n"]]],[],null,[]]