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, which provides an interface for interacting with the Google Cloud Translation API's various functionalities, specifically for version 2.11.0 and above."],["The class `TranslationServiceConnection` defines virtual methods corresponding to the user-facing overload sets in `TranslationServiceClient`, allowing custom behavior injection, particularly useful for testing purposes."],["The latest version available is 2.37.0-rc, with a range of versions from 2.11.0 to 2.36.0 also accessible, each with its own detailed documentation."],["Key functions within `TranslationServiceConnection` include methods for translating text and documents, detecting language, retrieving supported languages, managing glossaries, and handling batch translation tasks."],["Users can create instances of `TranslationServiceConnection` via `MakeTranslationServiceConnection()`, and for mocking, they can utilize `translate_v3_mocks::MockTranslationServiceConnection`."]]],[]]