com.pulumi.gcp.diagflow.kotlin.inputs.CxAgentTextToSpeechSettingsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.diagflow.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.diagflow.inputs.CxAgentTextToSpeechSettingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property synthesizeSpeechConfigs Configuration of how speech should be synthesized, mapping from [language](https://cloud.google.com/dialogflow/cx/docs/reference/language) to [SynthesizeSpeechConfig](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents#synthesizespeechconfig).
* These settings affect:
* * The phone gateway synthesize configuration set via Agent.text_to_speech_settings.
* * How speech is synthesized when invoking session APIs. `Agent.text_to_speech_settings` only applies if `OutputAudioConfig.synthesize_speech_config` is not specified.
*/
public data class CxAgentTextToSpeechSettingsArgs(
public val synthesizeSpeechConfigs: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.diagflow.inputs.CxAgentTextToSpeechSettingsArgs =
com.pulumi.gcp.diagflow.inputs.CxAgentTextToSpeechSettingsArgs.builder()
.synthesizeSpeechConfigs(synthesizeSpeechConfigs?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CxAgentTextToSpeechSettingsArgs].
*/
@PulumiTagMarker
public class CxAgentTextToSpeechSettingsArgsBuilder internal constructor() {
private var synthesizeSpeechConfigs: Output? = null
/**
* @param value Configuration of how speech should be synthesized, mapping from [language](https://cloud.google.com/dialogflow/cx/docs/reference/language) to [SynthesizeSpeechConfig](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents#synthesizespeechconfig).
* These settings affect:
* * The phone gateway synthesize configuration set via Agent.text_to_speech_settings.
* * How speech is synthesized when invoking session APIs. `Agent.text_to_speech_settings` only applies if `OutputAudioConfig.synthesize_speech_config` is not specified.
*/
@JvmName("xruknycqwyjkvays")
public suspend fun synthesizeSpeechConfigs(`value`: Output) {
this.synthesizeSpeechConfigs = value
}
/**
* @param value Configuration of how speech should be synthesized, mapping from [language](https://cloud.google.com/dialogflow/cx/docs/reference/language) to [SynthesizeSpeechConfig](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents#synthesizespeechconfig).
* These settings affect:
* * The phone gateway synthesize configuration set via Agent.text_to_speech_settings.
* * How speech is synthesized when invoking session APIs. `Agent.text_to_speech_settings` only applies if `OutputAudioConfig.synthesize_speech_config` is not specified.
*/
@JvmName("unuvrkfbrhwiakxq")
public suspend fun synthesizeSpeechConfigs(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.synthesizeSpeechConfigs = mapped
}
internal fun build(): CxAgentTextToSpeechSettingsArgs = CxAgentTextToSpeechSettingsArgs(
synthesizeSpeechConfigs = synthesizeSpeechConfigs,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy