com.pulumi.gcp.cloudrunv2.kotlin.outputs.JobTemplateTemplateVolumeGcs.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.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