com.pulumi.gcp.cloudfunctionsv2.kotlin.outputs.GetFunctionBuildConfigSource.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.Suppress
import kotlin.collections.List
/**
*
* @property repoSources If provided, get the source from this location in a Cloud Source Repository.
* @property storageSources If provided, get the source from this location in Google Cloud Storage.
*/
public data class GetFunctionBuildConfigSource(
public val repoSources: List,
public val storageSources: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudfunctionsv2.outputs.GetFunctionBuildConfigSource): GetFunctionBuildConfigSource = GetFunctionBuildConfigSource(
repoSources = javaType.repoSources().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudfunctionsv2.kotlin.outputs.GetFunctionBuildConfigSourceRepoSource.Companion.toKotlin(args0)
})
}),
storageSources = javaType.storageSources().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudfunctionsv2.kotlin.outputs.GetFunctionBuildConfigSourceStorageSource.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy