
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionInspectTemplateInspectConfigRuleSetRule.kt Maven / Gradle / Ivy
@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 - 2025 Weber Informatics LLC | Privacy Policy