
com.pulumi.gcp.cloudrunv2.kotlin.outputs.ServiceTemplateVolumeGcs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.cloudrunv2.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property bucket GCS Bucket name
* @property mountOptions A list of flags to pass to the gcsfuse command for configuring this volume.
* Flags should be passed without leading dashes.
* @property readOnly If true, mount the GCS bucket as read-only
*/
public data class ServiceTemplateVolumeGcs(
public val bucket: String,
public val mountOptions: List? = null,
public val readOnly: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.ServiceTemplateVolumeGcs): ServiceTemplateVolumeGcs = ServiceTemplateVolumeGcs(
bucket = javaType.bucket(),
mountOptions = javaType.mountOptions().map({ args0 -> args0 }),
readOnly = javaType.readOnly().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy