This interface defines virtual methods for each of the user-facing overload sets in TextToSpeechClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type TextToSpeechClient.
[[["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-04-17 UTC."],[[["This webpage provides documentation for the `TextToSpeechConnection` class, which is part of the Google Cloud Text-to-Speech C++ client library, and it offers various versions of documentation, with version 2.37.0-rc being the latest."],["The `TextToSpeechConnection` class defines the virtual methods for the user-facing overload sets within the `TextToSpeechClient` class, enabling custom behavior injection, which is helpful during testing with mock objects."],["The `TextToSpeechConnection` interface includes methods such as `ListVoices`, `SynthesizeSpeech`, `AsyncStreamingSynthesize`, `ListOperations`, and `GetOperation`, all of which interact with Google Cloud Text-to-Speech APIs."],["Users can create a concrete instance of the `TextToSpeechConnection` class using the `MakeTextToSpeechConnection()` function, or for testing purposes, `texttospeech_v1_mocks::MockTextToSpeechConnection` can be used for mocking."],["The documentation contains an up to date list of versions ranging from 2.37.0-rc down to version 2.11.0."]]],[]]