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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-30 UTC."],[[["This webpage provides documentation for the `TextToSpeechConnection` class, which is part of the Google Cloud Text-to-Speech C++ client library, and it supports version 2.31.0 and above up to the latest release candidate 2.37.0-rc."],["The `TextToSpeechConnection` class defines virtual methods corresponding to user-facing overload sets in `TextToSpeechClient`, enabling the injection of custom behaviors for testing."],["The documentation lists various versions of the `TextToSpeechConnection` class, going back to version 2.11.0, with each version having its own link to the documentation for that particular version."],["Key functions within `TextToSpeechConnection` include `ListVoices`, `SynthesizeSpeech`, `AsyncStreamingSynthesize`, `ListOperations`, and `GetOperation`, allowing for the manipulation and retrieval of data using various requests and response types."],["`MakeTextToSpeechConnection()` is provided as the method to create a concrete instance of the `TextToSpeechConnection` while `MockTextToSpeechConnection` is the class used for mocking."]]],[]]