Google Cloud Text-to-Speech v1 API - Class TextToSpeechLongAudioSynthesizeSettings (3.1.0)

public sealed class TextToSpeechLongAudioSynthesizeSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Text-to-Speech v1 API class TextToSpeechLongAudioSynthesizeSettings.

Settings for TextToSpeechLongAudioSynthesizeClient instances.

Inheritance

Object > ServiceSettingsBase > TextToSpeechLongAudioSynthesizeSettings

Namespace

Google.Cloud.TextToSpeech.V1

Assembly

Google.Cloud.TextToSpeech.V1.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
TypeDescription
OperationsSettings
Remarks

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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
TextToSpeechLongAudioSynthesizeSettings

A deep clone of this TextToSpeechLongAudioSynthesizeSettings object.

GetDefault()

public static TextToSpeechLongAudioSynthesizeSettings GetDefault()

Get a new instance of the default TextToSpeechLongAudioSynthesizeSettings.

Returns
TypeDescription
TextToSpeechLongAudioSynthesizeSettings

A new instance of the default TextToSpeechLongAudioSynthesizeSettings.