All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.diagflow.kotlin.inputs.CxAgentAdvancedSettingsLoggingSettingsArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.13.1.0
Show newest version
@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.CxAgentAdvancedSettingsLoggingSettingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property enableConsentBasedRedaction Enables consent-based end-user input redaction, if true, a pre-defined session parameter **$session.params.conversation-redaction** will be used to determine if the utterance should be redacted.
 * @property enableInteractionLogging Enables DF Interaction logging.
 * @property enableStackdriverLogging Enables Google Cloud Logging.
 */
public data class CxAgentAdvancedSettingsLoggingSettingsArgs(
    public val enableConsentBasedRedaction: Output? = null,
    public val enableInteractionLogging: Output? = null,
    public val enableStackdriverLogging: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.diagflow.inputs.CxAgentAdvancedSettingsLoggingSettingsArgs =
        com.pulumi.gcp.diagflow.inputs.CxAgentAdvancedSettingsLoggingSettingsArgs.builder()
            .enableConsentBasedRedaction(enableConsentBasedRedaction?.applyValue({ args0 -> args0 }))
            .enableInteractionLogging(enableInteractionLogging?.applyValue({ args0 -> args0 }))
            .enableStackdriverLogging(enableStackdriverLogging?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CxAgentAdvancedSettingsLoggingSettingsArgs].
 */
@PulumiTagMarker
public class CxAgentAdvancedSettingsLoggingSettingsArgsBuilder internal constructor() {
    private var enableConsentBasedRedaction: Output? = null

    private var enableInteractionLogging: Output? = null

    private var enableStackdriverLogging: Output? = null

    /**
     * @param value Enables consent-based end-user input redaction, if true, a pre-defined session parameter **$session.params.conversation-redaction** will be used to determine if the utterance should be redacted.
     */
    @JvmName("cxktrhnioqcirgfe")
    public suspend fun enableConsentBasedRedaction(`value`: Output) {
        this.enableConsentBasedRedaction = value
    }

    /**
     * @param value Enables DF Interaction logging.
     */
    @JvmName("jfjyiojuphwlogty")
    public suspend fun enableInteractionLogging(`value`: Output) {
        this.enableInteractionLogging = value
    }

    /**
     * @param value Enables Google Cloud Logging.
     */
    @JvmName("bbsmhsohhkjoerlc")
    public suspend fun enableStackdriverLogging(`value`: Output) {
        this.enableStackdriverLogging = value
    }

    /**
     * @param value Enables consent-based end-user input redaction, if true, a pre-defined session parameter **$session.params.conversation-redaction** will be used to determine if the utterance should be redacted.
     */
    @JvmName("fyoqaukspwknihaa")
    public suspend fun enableConsentBasedRedaction(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableConsentBasedRedaction = mapped
    }

    /**
     * @param value Enables DF Interaction logging.
     */
    @JvmName("jdvmpqvfokgqtetr")
    public suspend fun enableInteractionLogging(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableInteractionLogging = mapped
    }

    /**
     * @param value Enables Google Cloud Logging.
     */
    @JvmName("xpldoycrhukcwyor")
    public suspend fun enableStackdriverLogging(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableStackdriverLogging = mapped
    }

    internal fun build(): CxAgentAdvancedSettingsLoggingSettingsArgs =
        CxAgentAdvancedSettingsLoggingSettingsArgs(
            enableConsentBasedRedaction = enableConsentBasedRedaction,
            enableInteractionLogging = enableInteractionLogging,
            enableStackdriverLogging = enableStackdriverLogging,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy