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

com.pulumi.gcp.cloudfunctionsv2.kotlin.outputs.FunctionBuildConfigSourceStorageSource.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.13.1.0
Show newest version
@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