GoogleCloudDialogflowV2beta1TextToSpeechSettingsArgs

data class GoogleCloudDialogflowV2beta1TextToSpeechSettingsArgs(val enableTextToSpeech: Output<Boolean>? = null, val outputAudioEncoding: Output<GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding>, val sampleRateHertz: Output<Int>? = null, val synthesizeSpeechConfigs: Output<Map<String, String>>? = null) : ConvertibleToJava<GoogleCloudDialogflowV2beta1TextToSpeechSettingsArgs>

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

Constructors

fun GoogleCloudDialogflowV2beta1TextToSpeechSettingsArgs(enableTextToSpeech: Output<Boolean>? = null, outputAudioEncoding: Output<GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding>, sampleRateHertz: Output<Int>? = null, synthesizeSpeechConfigs: Output<Map<String, String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudDialogflowV2beta1TextToSpeechSettingsArgs

Properties

Link copied to clipboard
val enableTextToSpeech: Output<Boolean>? = null

Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.

Link copied to clipboard

Audio encoding of the synthesized audio content.

Link copied to clipboard
val sampleRateHertz: Output<Int>? = null

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).

Link copied to clipboard
val synthesizeSpeechConfigs: Output<Map<String, String>>? = null

Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.