com.pulumi.gcp.diagflow.kotlin.outputs.CxPageEventHandlerTriggerFulfillmentMessagePlayAudio.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.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @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 audioUri URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
*/
public data class CxPageEventHandlerTriggerFulfillmentMessagePlayAudio(
public val allowPlaybackInterruption: Boolean? = null,
public val audioUri: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.CxPageEventHandlerTriggerFulfillmentMessagePlayAudio): CxPageEventHandlerTriggerFulfillmentMessagePlayAudio =
CxPageEventHandlerTriggerFulfillmentMessagePlayAudio(
allowPlaybackInterruption = javaType.allowPlaybackInterruption().map({ args0 ->
args0
}).orElse(null),
audioUri = javaType.audioUri(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy