This interface defines virtual methods for each of the user-facing overload sets in SpeechClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SpeechClient.
[[["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-21 UTC."],[[["This document outlines the `SpeechConnection` object, which is a critical component for the `SpeechClient` and is used to define virtual methods for user-facing overload sets in `SpeechClient`."],["The `SpeechConnection` interface facilitates the injection of custom behaviors, which is beneficial for writing tests with `SpeechClient` objects."],["Users can create a concrete instance of `SpeechConnection` using the `MakeSpeechConnection()` function."],["Mock implementations for testing purposes are available through `speech_v1_mocks::MockSpeechConnection`."],["The `SpeechConnection` object defines various virtual functions, such as `Recognize`, `LongRunningRecognize`, `AsyncStreamingRecognize`, `ListOperations`, and `GetOperation`, enabling different speech recognition functionalities."]]],[]]