[[["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 documentation for the \u003ccode\u003eSpeechTranslationService.SpeechTranslationServiceClient\u003c/code\u003e class, which is part of the Media Translation v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSpeechTranslationServiceClient\u003c/code\u003e class is a client for the \u003ccode\u003eSpeechTranslationService\u003c/code\u003e and inherits from \u003ccode\u003eClientBase\u003c/code\u003e, providing methods for interacting with the service.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eSpeechTranslationServiceClient\u003c/code\u003e is \u003ccode\u003e2.0.0-beta05\u003c/code\u003e, with other available versions being \u003ccode\u003e2.0.0-beta04\u003c/code\u003e and \u003ccode\u003e1.0.0-beta03\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class supports bidirectional streaming speech translation via the \u003ccode\u003eStreamingTranslateSpeech\u003c/code\u003e method, which allows for receiving translation results while sending audio, available via gRPC API.\u003c/p\u003e\n"],["\u003cp\u003eThere are several constructors to create instances of \u003ccode\u003eSpeechTranslationServiceClient\u003c/code\u003e, including options for using a custom \u003ccode\u003eCallInvoker\u003c/code\u003e, a \u003ccode\u003eChannelBase\u003c/code\u003e, or a \u003ccode\u003eClientBaseConfiguration\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Media Translation v1beta1 API - Class SpeechTranslationService.SpeechTranslationServiceClient (2.0.0-beta05)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta05 (latest)](/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationService.SpeechTranslationServiceClient)\n- [2.0.0-beta04](/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/2.0.0-beta04/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationService.SpeechTranslationServiceClient)\n- [1.0.0-beta03](/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/1.0.0-beta03/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationService.SpeechTranslationServiceClient) \n\n public class SpeechTranslationService.SpeechTranslationServiceClient : ClientBase\u003cSpeechTranslationService.SpeechTranslationServiceClient\u003e\n\nReference documentation and code samples for the Media Translation v1beta1 API class SpeechTranslationService.SpeechTranslationServiceClient.\n\nClient for SpeechTranslationService \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [ClientBase](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/ClientBase.cs) \\\u003e [ClientBase](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/ClientBase.cs)[SpeechTranslationService](/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationService)[SpeechTranslationServiceClient](/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationService.SpeechTranslationServiceClient) \\\u003e SpeechTranslationService.SpeechTranslationServiceClient \n\nInherited Members\n-----------------\n\n[ClientBase\\\u003cSpeechTranslationService.SpeechTranslationServiceClient\\\u003e.WithHost(string)](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/ClientBase.cs) \n[ClientBase.CallInvoker](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/ClientBase.cs) \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.MediaTranslation.V1Beta1](/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.MediaTranslation.V1Beta1.dll\n\nConstructors\n------------\n\n### SpeechTranslationServiceClient()\n\n protected SpeechTranslationServiceClient()\n\nProtected parameterless constructor to allow creation of test doubles.\n\n### SpeechTranslationServiceClient(CallInvoker)\n\n public SpeechTranslationServiceClient(CallInvoker callInvoker)\n\nCreates a new client for SpeechTranslationService that uses a custom `CallInvoker`.\n\n### SpeechTranslationServiceClient(ChannelBase)\n\n public SpeechTranslationServiceClient(ChannelBase channel)\n\nCreates a new client for SpeechTranslationService\n\n### SpeechTranslationServiceClient(ClientBaseConfiguration)\n\n protected SpeechTranslationServiceClient(ClientBase.ClientBaseConfiguration configuration)\n\nProtected constructor to allow creation of configured clients.\n\nMethods\n-------\n\n### NewInstance(ClientBaseConfiguration)\n\n protected override SpeechTranslationService.SpeechTranslationServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)\n\nCreates a new instance of client from given `ClientBaseConfiguration`.\n\n**Overrides** \n[ClientBase\\\u003cSpeechTranslationService.SpeechTranslationServiceClient\\\u003e.NewInstance(ClientBase.ClientBaseConfiguration)](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/ClientBase.cs)\n\n### StreamingTranslateSpeech(CallOptions)\n\n public virtual AsyncDuplexStreamingCall\u003cStreamingTranslateSpeechRequest, StreamingTranslateSpeechResponse\u003e StreamingTranslateSpeech(CallOptions options)\n\nPerforms bidirectional streaming speech translation: receive results while\nsending audio. This method is only available via the gRPC API (not REST).\n\n### StreamingTranslateSpeech(Metadata, DateTime?, CancellationToken)\n\n public virtual AsyncDuplexStreamingCall\u003cStreamingTranslateSpeechRequest, StreamingTranslateSpeechResponse\u003e StreamingTranslateSpeech(Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)\n\nPerforms bidirectional streaming speech translation: receive results while\nsending audio. This method is only available via the gRPC API (not REST)."]]