public sealed class TextToSpeechLongAudioSynthesizeSettings : ServiceSettingsBase
Reference documentation and code samples for the Google Cloud Text-to-Speech v1beta1 API class TextToSpeechLongAudioSynthesizeSettings.
Settings for TextToSpeechLongAudioSynthesizeClient instances.
Namespace
Google.Cloud.TextToSpeech.V1Beta1Assembly
Google.Cloud.TextToSpeech.V1Beta1.dll
Constructors
TextToSpeechLongAudioSynthesizeSettings()
public TextToSpeechLongAudioSynthesizeSettings()
Constructs a new TextToSpeechLongAudioSynthesizeSettings object with default settings.
Properties
SynthesizeLongAudioOperationsSettings
public OperationsSettings SynthesizeLongAudioOperationsSettings { get; set; }
Long Running Operation settings for calls to TextToSpeechLongAudioSynthesizeClient.SynthesizeLongAudio
and TextToSpeechLongAudioSynthesizeClient.SynthesizeLongAudioAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
SynthesizeLongAudioSettings
public CallSettings SynthesizeLongAudioSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
TextToSpeechLongAudioSynthesizeClient.SynthesizeLongAudio
and
TextToSpeechLongAudioSynthesizeClient.SynthesizeLongAudioAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 5000 seconds.
Methods
Clone()
public TextToSpeechLongAudioSynthesizeSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
TextToSpeechLongAudioSynthesizeSettings |
A deep clone of this TextToSpeechLongAudioSynthesizeSettings object. |
GetDefault()
public static TextToSpeechLongAudioSynthesizeSettings GetDefault()
Get a new instance of the default TextToSpeechLongAudioSynthesizeSettings.
Returns | |
---|---|
Type | Description |
TextToSpeechLongAudioSynthesizeSettings |
A new instance of the default TextToSpeechLongAudioSynthesizeSettings. |