All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.dialogflow.v3.kotlin.inputs.GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.dialogflow.v3.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
 * @property ssml The SSML text to be synthesized. For more information, see [SSML](/speech/text-to-speech/docs/ssml).
 * @property text The raw text to be synthesized.
 */
public data class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextArgs(
    public val ssml: Output? = null,
    public val text: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextArgs =
        com.pulumi.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextArgs.builder()
            .ssml(ssml?.applyValue({ args0 -> args0 }))
            .text(text?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextArgs].
 */
@PulumiTagMarker
public class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextArgsBuilder internal constructor() {
    private var ssml: Output? = null

    private var text: Output? = null

    /**
     * @param value The SSML text to be synthesized. For more information, see [SSML](/speech/text-to-speech/docs/ssml).
     */
    @JvmName("llmckquicqefvnwf")
    public suspend fun ssml(`value`: Output) {
        this.ssml = value
    }

    /**
     * @param value The raw text to be synthesized.
     */
    @JvmName("iypwyvegtjwejduk")
    public suspend fun text(`value`: Output) {
        this.text = value
    }

    /**
     * @param value The SSML text to be synthesized. For more information, see [SSML](/speech/text-to-speech/docs/ssml).
     */
    @JvmName("ppwqrstfrnbbhicd")
    public suspend fun ssml(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ssml = mapped
    }

    /**
     * @param value The raw text to be synthesized.
     */
    @JvmName("garscpausiyblvfq")
    public suspend fun text(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.text = mapped
    }

    internal fun build(): GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextArgs =
        GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextArgs(
            ssml = ssml,
            text = text,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy