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 within the Google Cloud Text-to-Speech C++ library, with the latest release candidate version being 2.37.0-rc."],["The `TextToSpeechConnection` class defines virtual methods mirroring the user-facing overload sets found in the `TextToSpeechClient` class, enabling users to customize behavior, especially for testing purposes."],["The `MakeTextToSpeechConnection()` function is used to create a concrete instance of the `TextToSpeechConnection`, while `texttospeech_v1_mocks::MockTextToSpeechConnection` is available for mocking."],["The interface includes functions such as `ListVoices` and `SynthesizeSpeech`, handling requests and returning responses related to voice listings and speech synthesis respectively."],["The page also lists previous versions of the documentation, starting from version 2.23.0 and going all the way up to the latest version, and each one can be accessed via its link."]]],[]]