GoogleCloudDialogflowV2TextToSpeechSettings class

Instructs the speech synthesizer on how to generate the output audio content.

Constructors

GoogleCloudDialogflowV2TextToSpeechSettings({Input<bool>? enableTextToSpeech, required Input<GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding> outputAudioEncoding, Input<int>? sampleRateHertz, Input<Map<String, String>>? synthesizeSpeechConfigs})
Creates a new GoogleCloudDialogflowV2TextToSpeechSettings. enableTextToSpeech Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained. outputAudioEncoding Audio encoding of the synthesized audio content. sampleRateHertz Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality). synthesizeSpeechConfigs Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
const
GoogleCloudDialogflowV2TextToSpeechSettings.fromMap(Map<String, dynamic> map)
factory

Properties

enableTextToSpeech → Input<bool>?
Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.
final
hashCode → int
The hash code for this object.
no setterinherited
outputAudioEncoding → Input<GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding>
Audio encoding of the synthesized audio content.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampleRateHertz → Input<int>?
Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality).
final
synthesizeSpeechConfigs → Input<Map<String, String>>?
Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited