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-18 UTC."],[[["This webpage provides documentation for the `TextToSpeechConnection` class within the Google Cloud Text-to-Speech C++ library, spanning versions from 2.11.0 to 2.37.0-rc."],["The `TextToSpeechConnection` class defines the interface for virtual methods corresponding to each overload set in `TextToSpeechClient`, facilitating custom behavior injection during testing."],["The `TextToSpeechConnection` class, through the use of a mock object, can be used in testing to inject custom behavior into testing."],["Key functions available within the `TextToSpeechConnection` interface include `ListVoices`, `SynthesizeSpeech`, `AsyncStreamingSynthesize`, `ListOperations`, and `GetOperation`, for interacting with the Text-to-Speech service."],["The most recent version of the `TextToSpeechConnection` class is version 2.37.0-rc."]]],[]]