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

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

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

/**
 *
 * @property mode Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used.
 * @property path The relative path of the secret in the container.
 * @property version The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version
 */
public data class JobTemplateTemplateVolumeSecretItem(
    public val mode: Int? = null,
    public val path: String,
    public val version: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.JobTemplateTemplateVolumeSecretItem): JobTemplateTemplateVolumeSecretItem = JobTemplateTemplateVolumeSecretItem(
            mode = javaType.mode().map({ args0 -> args0 }).orElse(null),
            path = javaType.path(),
            version = javaType.version(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy