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

com.pulumi.gcp.cloudrunv2.kotlin.outputs.JobTemplateTemplateVolumeGcs.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.cloudrunv2.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property bucket Name of the cloud storage bucket to back the volume. The resource service account must have permission to access the bucket.
 * @property readOnly If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write.
 */
public data class JobTemplateTemplateVolumeGcs(
    public val bucket: String,
    public val readOnly: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.JobTemplateTemplateVolumeGcs): JobTemplateTemplateVolumeGcs = JobTemplateTemplateVolumeGcs(
            bucket = javaType.bucket(),
            readOnly = javaType.readOnly().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy