com.pulumi.gcp.cloudbuild.kotlin.outputs.TriggerBuildSource.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.Suppress
/**
*
* @property repoSource Location of the source in a Google Cloud Source Repository.
* Structure is documented below.
* @property storageSource Location of the source in an archive file in Google Cloud Storage.
* Structure is documented below.
*/
public data class TriggerBuildSource(
public val repoSource: TriggerBuildSourceRepoSource? = null,
public val storageSource: TriggerBuildSourceStorageSource? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudbuild.outputs.TriggerBuildSource): TriggerBuildSource = TriggerBuildSource(
repoSource = javaType.repoSource().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudbuild.kotlin.outputs.TriggerBuildSourceRepoSource.Companion.toKotlin(args0)
})
}).orElse(null),
storageSource = javaType.storageSource().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudbuild.kotlin.outputs.TriggerBuildSourceStorageSource.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy