GoogleCloudDialogflowV2TextToSpeechSettings class

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

Constructors

GoogleCloudDialogflowV2TextToSpeechSettings({bool? enableTextToSpeech, String? outputAudioEncoding, int? sampleRateHertz, Map<String, GoogleCloudDialogflowV2SynthesizeSpeechConfig>? synthesizeSpeechConfigs})
GoogleCloudDialogflowV2TextToSpeechSettings.fromJson(Map json_)

Properties

enableTextToSpeech bool?
Indicates whether text to speech is enabled.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
outputAudioEncoding String?
Audio encoding of the synthesized audio content.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRateHertz int?
The synthesis sample rate (in hertz) for this audio.
getter/setter pair
synthesizeSpeechConfigs Map<String, GoogleCloudDialogflowV2SynthesizeSpeechConfig>?
Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
getter/setter pair

Methods

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

Operators

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