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

com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesRecipeArtifactGcs.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.osconfig.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property bucket Bucket of the Google Cloud Storage object. Given an example URL: https://storage.googleapis.com/my-bucket/foo/bar#1234567
 * this value would be my-bucket.
 * @property generation Must be provided if allowInsecure is false. Generation number of the Google Cloud Storage object.
 * https://storage.googleapis.com/my-bucket/foo/bar#1234567 this value would be 1234567.
 * @property object Name of the Google Cloud Storage object. Given an example URL: https://storage.googleapis.com/my-bucket/foo/bar#1234567
 * this value would be foo/bar.
 */
public data class GuestPoliciesRecipeArtifactGcs(
    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.osconfig.outputs.GuestPoliciesRecipeArtifactGcs): GuestPoliciesRecipeArtifactGcs = GuestPoliciesRecipeArtifactGcs(
            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 - 2024 Weber Informatics LLC | Privacy Policy