com.pulumi.gcp.diagflow.kotlin.outputs.CxSecuritySettingsAudioExportSettings.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 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 CxSecuritySettingsAudioExportSettings(
public val audioExportPattern: String? = null,
public val audioFormat: String? = null,
public val enableAudioRedaction: Boolean? = null,
public val gcsBucket: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.CxSecuritySettingsAudioExportSettings): CxSecuritySettingsAudioExportSettings = CxSecuritySettingsAudioExportSettings(
audioExportPattern = javaType.audioExportPattern().map({ args0 -> args0 }).orElse(null),
audioFormat = javaType.audioFormat().map({ args0 -> args0 }).orElse(null),
enableAudioRedaction = javaType.enableAudioRedaction().map({ args0 -> args0 }).orElse(null),
gcsBucket = javaType.gcsBucket().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy