com.pulumi.googlenative.run.v1.kotlin.outputs.EnvVarResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.run.v1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* EnvVar represents an environment variable present in a Container.
* @property name Name of the environment variable. Must be a C_IDENTIFIER.
* @property value Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run.
* @property valueFrom Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty.
*/
public data class EnvVarResponse(
public val name: String,
public val `value`: String,
public val valueFrom: EnvVarSourceResponse,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.run.v1.outputs.EnvVarResponse): EnvVarResponse = EnvVarResponse(
name = javaType.name(),
`value` = javaType.`value`(),
valueFrom = javaType.valueFrom().let({ args0 ->
com.pulumi.googlenative.run.v1.kotlin.outputs.EnvVarSourceResponse.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy