com.pulumi.gcp.diagflow.kotlin.inputs.CxPageTransitionRouteTriggerFulfillmentMessageTextArgs.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.CxPageTransitionRouteTriggerFulfillmentMessageTextArgs.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 CxPageTransitionRouteTriggerFulfillmentMessageTextArgs(
public val allowPlaybackInterruption: Output? = null,
public val texts: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.diagflow.inputs.CxPageTransitionRouteTriggerFulfillmentMessageTextArgs =
com.pulumi.gcp.diagflow.inputs.CxPageTransitionRouteTriggerFulfillmentMessageTextArgs.builder()
.allowPlaybackInterruption(allowPlaybackInterruption?.applyValue({ args0 -> args0 }))
.texts(texts?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [CxPageTransitionRouteTriggerFulfillmentMessageTextArgs].
*/
@PulumiTagMarker
public class CxPageTransitionRouteTriggerFulfillmentMessageTextArgsBuilder 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("mryrrsjudcwlbmsu")
public suspend fun allowPlaybackInterruption(`value`: Output) {
this.allowPlaybackInterruption = value
}
/**
* @param value A collection of text responses.
*/
@JvmName("ftbkceynnbjppkew")
public suspend fun texts(`value`: Output>) {
this.texts = value
}
@JvmName("cbirjxbxbwyrqrnx")
public suspend fun texts(vararg values: Output) {
this.texts = Output.all(values.asList())
}
/**
* @param values A collection of text responses.
*/
@JvmName("ljtffecgrxngpkkq")
public suspend fun texts(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy