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