This interface defines virtual methods for each of the user-facing overload sets in TranslationServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type TranslationServiceClient.
[[["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-14 UTC."],[[["This document details the `TranslationServiceConnection` class within the Google Cloud Translation C++ library, focusing on versions 2.12.0 and above, with the latest version being 2.37.0-rc."],["The `TranslationServiceConnection` class provides an interface with virtual methods that mirror the functionality found within the `TranslationServiceClient`, allowing for customized behavior, such as injecting mock objects for testing."],["This resource provides the necessary functions to interact with the Translation API, such as `TranslateText`, `DetectLanguage`, `TranslateDocument`, and managing glossaries through functions like `CreateGlossary` and `DeleteGlossary`."],["The document provides detailed information about the parameters and return values of each virtual method, including the `request` parameter type and return type such as `StatusOr` or `future`."],["The `MakeTranslationServiceConnection()` and `translate_v3_mocks::MockTranslationServiceConnection` are highlighted as helpful tools to create a concrete instance, and for mocking, respectively."]]],[]]