com.pulumi.gcp.dataloss.kotlin.outputs.PreventionInspectTemplateInspectConfigRuleSetRule.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.dataloss.kotlin.outputs
import kotlin.Suppress
/**
*
* @property exclusionRule The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results.
* Structure is documented below.
* @property hotwordRule Hotword-based detection rule.
* Structure is documented below.
*/
public data class PreventionInspectTemplateInspectConfigRuleSetRule(
public val exclusionRule: PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRule? = null,
public val hotwordRule: PreventionInspectTemplateInspectConfigRuleSetRuleHotwordRule? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionInspectTemplateInspectConfigRuleSetRule): PreventionInspectTemplateInspectConfigRuleSetRule =
PreventionInspectTemplateInspectConfigRuleSetRule(
exclusionRule = javaType.exclusionRule().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRule.Companion.toKotlin(args0)
})
}).orElse(null),
hotwordRule = javaType.hotwordRule().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionInspectTemplateInspectConfigRuleSetRuleHotwordRule.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy