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 part of the `SpeechClient` within the Google Cloud Speech API, primarily for versions 2.11.0 through to 2.37.0-rc."],["The `SpeechConnection` interface enables custom behavior injection for testing purposes, particularly through mocking using `MockSpeechConnection`."],["Core functions provided include `Recognize`, `LongRunningRecognize`, `AsyncStreamingRecognize`, `ListOperations`, and `GetOperation`, all of which are designed to handle various aspects of speech recognition."],["The object uses multiple parameters like `RecognizeRequest`, `LongRunningRecognizeRequest`, `ListOperationsRequest` and `GetOperationRequest`, which are used to configure the functions and actions you are attempting."],["The functions of the `SpeechConnection` object can provide responses, or they may also return a `StatusOr` object which could contain an error."]]],[]]