Google Cloud Text-to-Speech v1beta1 API - Class TextToSpeechLongAudioSynthesizeSettings (2.0.0-beta10)

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.

Inheritance

object > ServiceSettingsBase > TextToSpeechLongAudioSynthesizeSettings

Namespace

Google.Cloud.TextToSpeech.V1Beta1

Assembly

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
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
Type Description
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
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.