com.pulumi.gcp.diagflow.kotlin.inputs.CxFlowAdvancedSettingsArgs.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.CxFlowAdvancedSettingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property audioExportGcsDestination If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:
* * Agent level
* * Flow level
* Structure is documented below.
* @property dtmfSettings Define behaviors for DTMF (dual tone multi frequency). DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Exposed at the following levels:
* * Agent level
* * Flow level
* * Page level
* * Parameter level
* Structure is documented below.
*/
public data class CxFlowAdvancedSettingsArgs(
public val audioExportGcsDestination: Output? =
null,
public val dtmfSettings: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.diagflow.inputs.CxFlowAdvancedSettingsArgs =
com.pulumi.gcp.diagflow.inputs.CxFlowAdvancedSettingsArgs.builder()
.audioExportGcsDestination(
audioExportGcsDestination?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.dtmfSettings(dtmfSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [CxFlowAdvancedSettingsArgs].
*/
@PulumiTagMarker
public class CxFlowAdvancedSettingsArgsBuilder internal constructor() {
private var audioExportGcsDestination:
Output? = null
private var dtmfSettings: Output? = null
/**
* @param value If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:
* * Agent level
* * Flow level
* Structure is documented below.
*/
@JvmName("hijvftyvffuhgasj")
public suspend fun audioExportGcsDestination(`value`: Output) {
this.audioExportGcsDestination = value
}
/**
* @param value Define behaviors for DTMF (dual tone multi frequency). DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Exposed at the following levels:
* * Agent level
* * Flow level
* * Page level
* * Parameter level
* Structure is documented below.
*/
@JvmName("yfptspbliiihwcwb")
public suspend fun dtmfSettings(`value`: Output) {
this.dtmfSettings = value
}
/**
* @param value If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:
* * Agent level
* * Flow level
* Structure is documented below.
*/
@JvmName("tecjohkqjwjbaltv")
public suspend fun audioExportGcsDestination(`value`: CxFlowAdvancedSettingsAudioExportGcsDestinationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.audioExportGcsDestination = mapped
}
/**
* @param argument If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels:
* * Agent level
* * Flow level
* Structure is documented below.
*/
@JvmName("usasokwsbtxalygt")
public suspend fun audioExportGcsDestination(argument: suspend CxFlowAdvancedSettingsAudioExportGcsDestinationArgsBuilder.() -> Unit) {
val toBeMapped = CxFlowAdvancedSettingsAudioExportGcsDestinationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.audioExportGcsDestination = mapped
}
/**
* @param value Define behaviors for DTMF (dual tone multi frequency). DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Exposed at the following levels:
* * Agent level
* * Flow level
* * Page level
* * Parameter level
* Structure is documented below.
*/
@JvmName("cinbuapabbndpdvl")
public suspend fun dtmfSettings(`value`: CxFlowAdvancedSettingsDtmfSettingsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dtmfSettings = mapped
}
/**
* @param argument Define behaviors for DTMF (dual tone multi frequency). DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Exposed at the following levels:
* * Agent level
* * Flow level
* * Page level
* * Parameter level
* Structure is documented below.
*/
@JvmName("lquhemjukcabfxhx")
public suspend fun dtmfSettings(argument: suspend CxFlowAdvancedSettingsDtmfSettingsArgsBuilder.() -> Unit) {
val toBeMapped = CxFlowAdvancedSettingsDtmfSettingsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.dtmfSettings = mapped
}
internal fun build(): CxFlowAdvancedSettingsArgs = CxFlowAdvancedSettingsArgs(
audioExportGcsDestination = audioExportGcsDestination,
dtmfSettings = dtmfSettings,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy