com.pulumi.googlenative.compute.beta.kotlin.enums.FirewallPolicyRuleDirection.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.compute.beta.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The direction in which this rule applies.
*/
public enum class FirewallPolicyRuleDirection(
public val javaValue: com.pulumi.googlenative.compute.beta.enums.FirewallPolicyRuleDirection,
) : ConvertibleToJava {
Egress(com.pulumi.googlenative.compute.beta.enums.FirewallPolicyRuleDirection.Egress),
Ingress(com.pulumi.googlenative.compute.beta.enums.FirewallPolicyRuleDirection.Ingress),
;
override fun toJava(): com.pulumi.googlenative.compute.beta.enums.FirewallPolicyRuleDirection =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.compute.beta.enums.FirewallPolicyRuleDirection): FirewallPolicyRuleDirection =
FirewallPolicyRuleDirection.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy