com.pulumi.googlenative.cloudfunctions.v2.kotlin.enums.FunctionEnvironment.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.cloudfunctions.v2.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Describe whether the function is 1st Gen or 2nd Gen.
*/
public enum class FunctionEnvironment(
public val javaValue: com.pulumi.googlenative.cloudfunctions.v2.enums.FunctionEnvironment,
) : ConvertibleToJava {
/**
* Unspecified
*/
EnvironmentUnspecified(com.pulumi.googlenative.cloudfunctions.v2.enums.FunctionEnvironment.EnvironmentUnspecified),
/**
* Gen 1
*/
Gen1(com.pulumi.googlenative.cloudfunctions.v2.enums.FunctionEnvironment.Gen1),
/**
* Gen 2
*/
Gen2(com.pulumi.googlenative.cloudfunctions.v2.enums.FunctionEnvironment.Gen2),
;
override fun toJava(): com.pulumi.googlenative.cloudfunctions.v2.enums.FunctionEnvironment =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.cloudfunctions.v2.enums.FunctionEnvironment): FunctionEnvironment = FunctionEnvironment.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy