![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.cloudfunctionsv2.kotlin.outputs.FunctionBuildConfigSourceStorageSource.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.cloudfunctionsv2.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property bucket Google Cloud Storage bucket containing the source
* @property generation Google Cloud Storage generation for the object. If the generation
* is omitted, the latest generation will be used.
* @property object Google Cloud Storage object containing the source.
*/
public data class FunctionBuildConfigSourceStorageSource(
public val bucket: String? = null,
public val generation: Int? = null,
public val `object`: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudfunctionsv2.outputs.FunctionBuildConfigSourceStorageSource): FunctionBuildConfigSourceStorageSource = FunctionBuildConfigSourceStorageSource(
bucket = javaType.bucket().map({ args0 -> args0 }).orElse(null),
generation = javaType.generation().map({ args0 -> args0 }).orElse(null),
`object` = javaType.`object`().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy