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

com.pulumi.gcp.diagflow.kotlin.inputs.CxSecuritySettingsAudioExportSettingsArgs.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.12.0.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.CxSecuritySettingsAudioExportSettingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property audioExportPattern Filename pattern for exported audio.
 * @property audioFormat File format for exported audio file. Currently only in telephony recordings.
 * * MULAW: G.711 mu-law PCM with 8kHz sample rate.
 * * MP3: MP3 file format.
 * * OGG: OGG Vorbis.
 * Possible values are: `MULAW`, `MP3`, `OGG`.
 * @property enableAudioRedaction Enable audio redaction if it is true.
 * @property gcsBucket Cloud Storage bucket to export audio record to. Setting this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.
 */
public data class CxSecuritySettingsAudioExportSettingsArgs(
    public val audioExportPattern: Output? = null,
    public val audioFormat: Output? = null,
    public val enableAudioRedaction: Output? = null,
    public val gcsBucket: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.diagflow.inputs.CxSecuritySettingsAudioExportSettingsArgs =
        com.pulumi.gcp.diagflow.inputs.CxSecuritySettingsAudioExportSettingsArgs.builder()
            .audioExportPattern(audioExportPattern?.applyValue({ args0 -> args0 }))
            .audioFormat(audioFormat?.applyValue({ args0 -> args0 }))
            .enableAudioRedaction(enableAudioRedaction?.applyValue({ args0 -> args0 }))
            .gcsBucket(gcsBucket?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CxSecuritySettingsAudioExportSettingsArgs].
 */
@PulumiTagMarker
public class CxSecuritySettingsAudioExportSettingsArgsBuilder internal constructor() {
    private var audioExportPattern: Output? = null

    private var audioFormat: Output? = null

    private var enableAudioRedaction: Output? = null

    private var gcsBucket: Output? = null

    /**
     * @param value Filename pattern for exported audio.
     */
    @JvmName("idufisjoxxxmashh")
    public suspend fun audioExportPattern(`value`: Output) {
        this.audioExportPattern = value
    }

    /**
     * @param value File format for exported audio file. Currently only in telephony recordings.
     * * MULAW: G.711 mu-law PCM with 8kHz sample rate.
     * * MP3: MP3 file format.
     * * OGG: OGG Vorbis.
     * Possible values are: `MULAW`, `MP3`, `OGG`.
     */
    @JvmName("xraghamvmqshkgxi")
    public suspend fun audioFormat(`value`: Output) {
        this.audioFormat = value
    }

    /**
     * @param value Enable audio redaction if it is true.
     */
    @JvmName("wlpnrfqdrsskfkja")
    public suspend fun enableAudioRedaction(`value`: Output) {
        this.enableAudioRedaction = value
    }

    /**
     * @param value Cloud Storage bucket to export audio record to. Setting this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.
     */
    @JvmName("ohhmioxshrgrabjj")
    public suspend fun gcsBucket(`value`: Output) {
        this.gcsBucket = value
    }

    /**
     * @param value Filename pattern for exported audio.
     */
    @JvmName("ltoqckbimpjxfrtx")
    public suspend fun audioExportPattern(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.audioExportPattern = mapped
    }

    /**
     * @param value File format for exported audio file. Currently only in telephony recordings.
     * * MULAW: G.711 mu-law PCM with 8kHz sample rate.
     * * MP3: MP3 file format.
     * * OGG: OGG Vorbis.
     * Possible values are: `MULAW`, `MP3`, `OGG`.
     */
    @JvmName("dvvutkjcbgoclqsj")
    public suspend fun audioFormat(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.audioFormat = mapped
    }

    /**
     * @param value Enable audio redaction if it is true.
     */
    @JvmName("ulhundgritnwwetx")
    public suspend fun enableAudioRedaction(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableAudioRedaction = mapped
    }

    /**
     * @param value Cloud Storage bucket to export audio record to. Setting this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.
     */
    @JvmName("xnxmsjkosjvwijct")
    public suspend fun gcsBucket(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.gcsBucket = mapped
    }

    internal fun build(): CxSecuritySettingsAudioExportSettingsArgs =
        CxSecuritySettingsAudioExportSettingsArgs(
            audioExportPattern = audioExportPattern,
            audioFormat = audioFormat,
            enableAudioRedaction = enableAudioRedaction,
            gcsBucket = gcsBucket,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy