com.pulumi.gcp.cloudbuild.kotlin.outputs.TriggerBuildSourceStorageSource.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.cloudbuild.kotlin.outputs
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.
* This object must be a gzipped archive file (.tar.gz) containing source to build.
*/
public data class TriggerBuildSourceStorageSource(
public val bucket: String,
public val generation: String? = null,
public val `object`: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudbuild.outputs.TriggerBuildSourceStorageSource): TriggerBuildSourceStorageSource = TriggerBuildSourceStorageSource(
bucket = javaType.bucket(),
generation = javaType.generation().map({ args0 -> args0 }).orElse(null),
`object` = javaType.`object`(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy