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

com.pulumi.gcp.cloudrunv2.kotlin.outputs.ServiceBinaryAuthorization.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.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 useDefault If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
 */
public data class ServiceBinaryAuthorization(
    public val breakglassJustification: String? = null,
    public val useDefault: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.ServiceBinaryAuthorization): ServiceBinaryAuthorization = ServiceBinaryAuthorization(
            breakglassJustification = javaType.breakglassJustification().map({ args0 -> args0 }).orElse(null),
            useDefault = javaType.useDefault().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy