Class SpeechTranslationServiceClientImpl (1.0.0-beta03)

public sealed class SpeechTranslationServiceClientImpl : SpeechTranslationServiceClient

SpeechTranslationService client wrapper implementation, for convenient use.

Inheritance

Object > SpeechTranslationServiceClient > SpeechTranslationServiceClientImpl

Namespace

Google.Cloud.MediaTranslation.V1Beta1

Assembly

Google.Cloud.MediaTranslation.V1Beta1.dll

Remarks

Provides translation from/to media types.

Constructors

SpeechTranslationServiceClientImpl(SpeechTranslationService.SpeechTranslationServiceClient, SpeechTranslationServiceSettings)

public SpeechTranslationServiceClientImpl(SpeechTranslationService.SpeechTranslationServiceClient grpcClient, SpeechTranslationServiceSettings settings)

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

Parameters
NameDescription
grpcClientSpeechTranslationService.SpeechTranslationServiceClient

The underlying gRPC client.

settingsSpeechTranslationServiceSettings

The base SpeechTranslationServiceSettings used within this client.

Properties

GrpcClient

public override SpeechTranslationService.SpeechTranslationServiceClient GrpcClient { get; }

The underlying gRPC SpeechTranslationService client

Property Value
TypeDescription
SpeechTranslationService.SpeechTranslationServiceClient
Overrides

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
NameDescription
callSettingsCallSettings

If not null, applies overrides to this RPC call.

streamingSettingsBidirectionalStreamingSettings

If not null, applies streaming overrides to this RPC call.

Returns
TypeDescription
SpeechTranslationServiceClient.StreamingTranslateSpeechStream

The client-server stream.

Overrides