public virtual Task<Operation> LongRunningRecognize(LongRunningRecognizeRequest request, ServerCallContext context)
Performs asynchronous speech recognition: receive results via the
google.longrunning.Operations interface. Returns either an
Operation.error or an Operation.response which contains
a LongRunningRecognizeResponse message.
For more information on asynchronous speech recognition, see the
how-to.
[[["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-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eSpeech.SpeechBase\u003c/code\u003e class within the Google Cloud Speech v1p1beta1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSpeech.SpeechBase\u003c/code\u003e class is designed as a base for server-side implementations of the Speech API and inherits from the .NET \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe API offers three primary methods for speech recognition: \u003ccode\u003eLongRunningRecognize\u003c/code\u003e for asynchronous operations, \u003ccode\u003eRecognize\u003c/code\u003e for synchronous operations, and \u003ccode\u003eStreamingRecognize\u003c/code\u003e for bidirectional streaming.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLongRunningRecognize\u003c/code\u003e, \u003ccode\u003eRecognize\u003c/code\u003e, and \u003ccode\u003eStreamingRecognize\u003c/code\u003e methods each require a request object and a \u003ccode\u003eServerCallContext\u003c/code\u003e parameter, with \u003ccode\u003eStreamingRecognize\u003c/code\u003e additionally needing stream reader and writer objects.\u003c/p\u003e\n"],["\u003cp\u003eThis API documentation details the latest version (3.0.0-beta08) as well as older versions (3.0.0-beta07, 2.0.0-beta09) of the \u003ccode\u003eSpeech.SpeechBase\u003c/code\u003e class for the Google Cloud Speech v1p1beta1 API.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Speech v1p1beta1 API - Class Speech.SpeechBase (3.0.0-beta09)\n\nVersion latestkeyboard_arrow_down\n\n- [3.0.0-beta09 (latest)](/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/latest/Google.Cloud.Speech.V1P1Beta1.Speech.SpeechBase)\n- [3.0.0-beta08](/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/3.0.0-beta08/Google.Cloud.Speech.V1P1Beta1.Speech.SpeechBase)\n- [2.0.0-beta09](/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/2.0.0-beta09/Google.Cloud.Speech.V1P1Beta1.Speech.SpeechBase) \n\n [BindServiceMethod(typeof(Speech), \"BindService\")]\n public abstract class Speech.SpeechBase\n\nReference documentation and code samples for the Google Cloud Speech v1p1beta1 API class Speech.SpeechBase.\n\nBase class for server-side implementations of Speech \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Speech.SpeechBase \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Speech.V1P1Beta1](/dotnet/docs/reference/Google.Cloud.Speech.V1P1Beta1/latest/Google.Cloud.Speech.V1P1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Speech.V1P1Beta1.dll\n\nMethods\n-------\n\n### LongRunningRecognize(LongRunningRecognizeRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e LongRunningRecognize(LongRunningRecognizeRequest request, ServerCallContext context)\n\nPerforms asynchronous speech recognition: receive results via the\ngoogle.longrunning.Operations interface. Returns either an\n`Operation.error` or an `Operation.response` which contains\na `LongRunningRecognizeResponse` message.\nFor more information on asynchronous speech recognition, see the\n[how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).\n\n### Recognize(RecognizeRequest, ServerCallContext)\n\n public virtual Task\u003cRecognizeResponse\u003e Recognize(RecognizeRequest request, ServerCallContext context)\n\nPerforms synchronous speech recognition: receive results after all audio\nhas been sent and processed.\n\n### StreamingRecognize(IAsyncStreamReader\\\u003cStreamingRecognizeRequest\\\u003e, IServerStreamWriter\\\u003cStreamingRecognizeResponse\\\u003e, ServerCallContext)\n\n public virtual Task StreamingRecognize(IAsyncStreamReader\u003cStreamingRecognizeRequest\u003e requestStream, IServerStreamWriter\u003cStreamingRecognizeResponse\u003e responseStream, ServerCallContext context)\n\nPerforms bidirectional streaming speech recognition: receive results while\nsending audio. This method is only available via the gRPC API (not REST)."]]