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

com.pulumi.gcp.cloudrunv2.kotlin.outputs.JobBinaryAuthorization.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.13.1.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 breakglassJustification If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
 * @property policy The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}
 * @property useDefault If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
 */
public data class JobBinaryAuthorization(
    public val breakglassJustification: String? = null,
    public val policy: String? = null,
    public val useDefault: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.JobBinaryAuthorization): JobBinaryAuthorization = JobBinaryAuthorization(
            breakglassJustification = javaType.breakglassJustification().map({ args0 -> args0 }).orElse(null),
            policy = javaType.policy().map({ args0 -> args0 }).orElse(null),
            useDefault = javaType.useDefault().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy