public sealed class SpeechTranslationServiceSettings : ServiceSettingsBase
Settings for SpeechTranslationServiceClient instances.
Namespace
Google.Cloud.MediaTranslation.V1Beta1Assembly
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
BidirectionalStreamingSettings |
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 | |
---|---|
Type | Description |
SpeechTranslationServiceSettings | A deep clone of this SpeechTranslationServiceSettings object. |
GetDefault()
public static SpeechTranslationServiceSettings GetDefault()
Get a new instance of the default SpeechTranslationServiceSettings.
Returns | |
---|---|
Type | Description |
SpeechTranslationServiceSettings | A new instance of the default SpeechTranslationServiceSettings. |