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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This document outlines the `LanguageServiceConnection` object, which acts as an interface defining virtual methods for various operations within the `LanguageServiceClient`, facilitating custom behavior in testing."],["The `LanguageServiceConnection` interface is available in multiple versions, ranging from 2.11.0 up to the latest release candidate 2.37.0-rc, with version 2.14.0 being the primary focus of the document."],["Users can create concrete instances of `LanguageServiceConnection` using `MakeLanguageServiceConnection()` or mock them using `language_v1_mocks::MockLanguageServiceConnection` for testing purposes."],["The interface defines virtual methods such as `AnalyzeSentiment`, `AnalyzeEntities`, `AnalyzeEntitySentiment`, `AnalyzeSyntax`, `ClassifyText`, `ModerateText`, and `AnnotateText`, all of which take a specific request type and return a corresponding response type."],["Each virtual method, including `options`, requires input parameters in the form of a `request` object specific to the method's function, which can be used to define the scope of a request, for instance, `google::cloud::language::v1::AnalyzeSentimentRequest const &` is needed for the virtual method `AnalyzeSentiment`."]]],[]]