com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRule.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 PreventionJobTriggerInspectJobInspectConfigRuleSetRule(
public val exclusionRule: PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRule? =
null,
public val hotwordRule: PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRule? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRule): PreventionJobTriggerInspectJobInspectConfigRuleSetRule =
PreventionJobTriggerInspectJobInspectConfigRuleSetRule(
exclusionRule = javaType.exclusionRule().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRule.Companion.toKotlin(args0)
})
}).orElse(null),
hotwordRule = javaType.hotwordRule().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRule.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy