Media Translation v1beta1 API - Class SpeechTranslationServiceSettings (2.0.0-beta03)

public sealed class SpeechTranslationServiceSettings : ServiceSettingsBase

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

Settings for SpeechTranslationServiceClient instances.

Inheritance

object > ServiceSettingsBase > SpeechTranslationServiceSettings

Namespace

Google.Cloud.MediaTranslation.V1Beta1

Assembly

Google.Cloud.MediaTranslation.V1Beta1.dll

Constructors

SpeechTranslationServiceSettings()

public SpeechTranslationServiceSettings()

Constructs a new SpeechTranslationServiceSettings object with default settings.

Properties

StreamingTranslateSpeechSettings

public CallSettings StreamingTranslateSpeechSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SpeechTranslationServiceClient.StreamingTranslateSpeech and SpeechTranslationServiceClient.StreamingTranslateSpeechAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 400 seconds.

StreamingTranslateSpeechStreamingSettings

public BidirectionalStreamingSettings StreamingTranslateSpeechStreamingSettings { get; set; }

BidirectionalStreamingSettings for calls to SpeechTranslationServiceClient.StreamingTranslateSpeech and SpeechTranslationServiceClient.StreamingTranslateSpeechAsync.

Property Value
TypeDescription
BidirectionalStreamingSettings
Remarks

The default local send queue size is 100.

Methods

Clone()

public SpeechTranslationServiceSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
TypeDescription
SpeechTranslationServiceSettings

A deep clone of this SpeechTranslationServiceSettings object.

GetDefault()

public static SpeechTranslationServiceSettings GetDefault()

Get a new instance of the default SpeechTranslationServiceSettings.

Returns
TypeDescription
SpeechTranslationServiceSettings

A new instance of the default SpeechTranslationServiceSettings.