com.pulumi.gcp.diagflow.kotlin.inputs.CxPageEntryFulfillmentMessageTextArgs.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.CxPageEntryFulfillmentMessageTextArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property allowPlaybackInterruption (Output)
* Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
* @property texts A collection of text responses.
*/
public data class CxPageEntryFulfillmentMessageTextArgs(
public val allowPlaybackInterruption: Output? = null,
public val texts: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.diagflow.inputs.CxPageEntryFulfillmentMessageTextArgs =
com.pulumi.gcp.diagflow.inputs.CxPageEntryFulfillmentMessageTextArgs.builder()
.allowPlaybackInterruption(allowPlaybackInterruption?.applyValue({ args0 -> args0 }))
.texts(texts?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [CxPageEntryFulfillmentMessageTextArgs].
*/
@PulumiTagMarker
public class CxPageEntryFulfillmentMessageTextArgsBuilder internal constructor() {
private var allowPlaybackInterruption: Output? = null
private var texts: Output>? = null
/**
* @param value (Output)
* Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
*/
@JvmName("inpqhgkyvdtesgyx")
public suspend fun allowPlaybackInterruption(`value`: Output) {
this.allowPlaybackInterruption = value
}
/**
* @param value A collection of text responses.
*/
@JvmName("fyrcprcafssgmetj")
public suspend fun texts(`value`: Output>) {
this.texts = value
}
@JvmName("ecfsjgdxdqcfieuf")
public suspend fun texts(vararg values: Output) {
this.texts = Output.all(values.asList())
}
/**
* @param values A collection of text responses.
*/
@JvmName("bmieswvwmrgibtgf")
public suspend fun texts(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy