# Media Translation v1beta1 API - Class SpeechTranslationServiceClientImpl (2.0.0-beta06)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.0.0-beta06 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServiceClientImpl)
- [2.0.0-beta05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/2.0.0-beta05/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServiceClientImpl)
- [1.0.0-beta03](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/1.0.0-beta03/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServiceClientImpl)

    public sealed class SpeechTranslationServiceClientImpl : SpeechTranslationServiceClient

Reference documentation and code samples for the Media Translation v1beta1 API class SpeechTranslationServiceClientImpl.

SpeechTranslationService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [SpeechTranslationServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServiceClient) \> SpeechTranslationServiceClientImpl

## Inherited Members

[SpeechTranslationServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServiceClient#Google_Cloud_MediaTranslation_V1Beta1_SpeechTranslationServiceClient_DefaultEndpoint) [SpeechTranslationServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServiceClient#Google_Cloud_MediaTranslation_V1Beta1_SpeechTranslationServiceClient_DefaultScopes) [SpeechTranslationServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServiceClient#Google_Cloud_MediaTranslation_V1Beta1_SpeechTranslationServiceClient_ServiceMetadata) [SpeechTranslationServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServiceClient#Google_Cloud_MediaTranslation_V1Beta1_SpeechTranslationServiceClient_CreateAsync_System_Threading_CancellationToken_) [SpeechTranslationServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServiceClient#Google_Cloud_MediaTranslation_V1Beta1_SpeechTranslationServiceClient_Create) [SpeechTranslationServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServiceClient#Google_Cloud_MediaTranslation_V1Beta1_SpeechTranslationServiceClient_ShutdownDefaultChannelsAsync) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.MediaTranslation.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1)

## Assembly

Google.Cloud.MediaTranslation.V1Beta1.dll

## Remarks

Provides translation from/to media types.

## Constructors

### SpeechTranslationServiceClientImpl(SpeechTranslationServiceClient, SpeechTranslationServiceSettings, ILogger)

    public SpeechTranslationServiceClientImpl(SpeechTranslationService.SpeechTranslationServiceClient grpcClient, SpeechTranslationServiceSettings settings, ILogger logger)

Constructs a client wrapper for the SpeechTranslationService service, with the specified gRPC client and
settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationService.SpeechTranslationServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServiceSettings` The base [SpeechTranslationServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServiceSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override SpeechTranslationService.SpeechTranslationServiceClient GrpcClient { get; }

The underlying gRPC SpeechTranslationService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationService.SpeechTranslationServiceClient` |   |

**Overrides** [SpeechTranslationServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServiceClient#Google_Cloud_MediaTranslation_V1Beta1_SpeechTranslationServiceClient_GrpcClient)

## Methods

### StreamingTranslateSpeech(CallSettings, BidirectionalStreamingSettings)

    public override SpeechTranslationServiceClient.StreamingTranslateSpeechStream StreamingTranslateSpeech(CallSettings callSettings = null, BidirectionalStreamingSettings streamingSettings = null)

Performs bidirectional streaming speech translation: receive results while
sending audio. This method is only available via the gRPC API (not REST).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |
| `streamingSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingSettings.html` If not null, applies streaming overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServiceClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServiceClient.StreamingTranslateSpeechStream` | The client-server stream. |

**Overrides** [SpeechTranslationServiceClient.StreamingTranslateSpeech(CallSettings, BidirectionalStreamingSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MediaTranslation.V1Beta1/latest/Google.Cloud.MediaTranslation.V1Beta1.SpeechTranslationServiceClient#Google_Cloud_MediaTranslation_V1Beta1_SpeechTranslationServiceClient_StreamingTranslateSpeech_Google_Api_Gax_Grpc_CallSettings_Google_Api_Gax_Grpc_BidirectionalStreamingSettings_)