com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetServiceTemplateContainerEnv.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.cloudrunv2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property name The name of the Cloud Run v2 Service.
* @property value Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
* @property valueSources Source for the environment variable's value.
*/
public data class GetServiceTemplateContainerEnv(
public val name: String,
public val `value`: String,
public val valueSources: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.GetServiceTemplateContainerEnv): GetServiceTemplateContainerEnv = GetServiceTemplateContainerEnv(
name = javaType.name(),
`value` = javaType.`value`(),
valueSources = javaType.valueSources().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetServiceTemplateContainerEnvValueSource.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy