All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.cloudfunctionsv2.kotlin.outputs.GetFunctionBuildConfigSource.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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