
com.pulumi.gcp.diagflow.kotlin.inputs.CxAgentAdvancedSettingsArgs.kt Maven / Gradle / Ivy
@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.CxAgentAdvancedSettingsArgs.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.
* @property loggingSettings Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:
* * Agent level
* Structure is documented below.
* @property speechSettings Settings for speech to text detection. Exposed at the following levels:
* * Agent level
* * Flow level
* * Page level
* * Parameter level
* Structure is documented below.
*/
public data class CxAgentAdvancedSettingsArgs(
public val audioExportGcsDestination: Output? = null,
public val dtmfSettings: Output? = null,
public val loggingSettings: Output? = null,
public val speechSettings: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.diagflow.inputs.CxAgentAdvancedSettingsArgs =
com.pulumi.gcp.diagflow.inputs.CxAgentAdvancedSettingsArgs.builder()
.audioExportGcsDestination(
audioExportGcsDestination?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.dtmfSettings(dtmfSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.loggingSettings(loggingSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.speechSettings(
speechSettings?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [CxAgentAdvancedSettingsArgs].
*/
@PulumiTagMarker
public class CxAgentAdvancedSettingsArgsBuilder internal constructor() {
private var audioExportGcsDestination:
Output? = null
private var dtmfSettings: Output? = null
private var loggingSettings: Output? = null
private var speechSettings: 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("pmlbmaovsrqotlde")
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("kfacyffrljypakwn")
public suspend fun dtmfSettings(`value`: Output) {
this.dtmfSettings = value
}
/**
* @param value Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:
* * Agent level
* Structure is documented below.
*/
@JvmName("vqvgkulpetsutgbo")
public suspend fun loggingSettings(`value`: Output) {
this.loggingSettings = value
}
/**
* @param value Settings for speech to text detection. Exposed at the following levels:
* * Agent level
* * Flow level
* * Page level
* * Parameter level
* Structure is documented below.
*/
@JvmName("stdjaharbbgvnqqg")
public suspend fun speechSettings(`value`: Output) {
this.speechSettings = 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("aqupkdhdjkyqrtby")
public suspend fun audioExportGcsDestination(`value`: CxAgentAdvancedSettingsAudioExportGcsDestinationArgs?) {
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("fptgkuxdfyccysva")
public suspend fun audioExportGcsDestination(argument: suspend CxAgentAdvancedSettingsAudioExportGcsDestinationArgsBuilder.() -> Unit) {
val toBeMapped = CxAgentAdvancedSettingsAudioExportGcsDestinationArgsBuilder().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("wocbdpicmkxgolvv")
public suspend fun dtmfSettings(`value`: CxAgentAdvancedSettingsDtmfSettingsArgs?) {
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("sbekmcsahmamosce")
public suspend fun dtmfSettings(argument: suspend CxAgentAdvancedSettingsDtmfSettingsArgsBuilder.() -> Unit) {
val toBeMapped = CxAgentAdvancedSettingsDtmfSettingsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.dtmfSettings = mapped
}
/**
* @param value Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:
* * Agent level
* Structure is documented below.
*/
@JvmName("okikebbhesnqnmib")
public suspend fun loggingSettings(`value`: CxAgentAdvancedSettingsLoggingSettingsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.loggingSettings = mapped
}
/**
* @param argument Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels:
* * Agent level
* Structure is documented below.
*/
@JvmName("xhethhneqwmcnxhk")
public suspend fun loggingSettings(argument: suspend CxAgentAdvancedSettingsLoggingSettingsArgsBuilder.() -> Unit) {
val toBeMapped = CxAgentAdvancedSettingsLoggingSettingsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.loggingSettings = mapped
}
/**
* @param value Settings for speech to text detection. Exposed at the following levels:
* * Agent level
* * Flow level
* * Page level
* * Parameter level
* Structure is documented below.
*/
@JvmName("thfstmmhmhcljcpm")
public suspend fun speechSettings(`value`: CxAgentAdvancedSettingsSpeechSettingsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.speechSettings = mapped
}
/**
* @param argument Settings for speech to text detection. Exposed at the following levels:
* * Agent level
* * Flow level
* * Page level
* * Parameter level
* Structure is documented below.
*/
@JvmName("lkbsyggdvqqxkyfw")
public suspend fun speechSettings(argument: suspend CxAgentAdvancedSettingsSpeechSettingsArgsBuilder.() -> Unit) {
val toBeMapped = CxAgentAdvancedSettingsSpeechSettingsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.speechSettings = mapped
}
internal fun build(): CxAgentAdvancedSettingsArgs = CxAgentAdvancedSettingsArgs(
audioExportGcsDestination = audioExportGcsDestination,
dtmfSettings = dtmfSettings,
loggingSettings = loggingSettings,
speechSettings = speechSettings,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy