
com.pulumi.gcp.compute.kotlin.outputs.RegionBackendServiceIap.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.compute.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property enabled Whether the serving infrastructure will authenticate and authorize all incoming requests.
* @property oauth2ClientId OAuth2 Client ID for IAP
* @property oauth2ClientSecret OAuth2 Client Secret for IAP
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property oauth2ClientSecretSha256 (Output)
* OAuth2 Client Secret SHA-256 for IAP
* **Note**: This property is sensitive and will not be displayed in the plan.
*/
public data class RegionBackendServiceIap(
public val enabled: Boolean,
public val oauth2ClientId: String? = null,
public val oauth2ClientSecret: String? = null,
public val oauth2ClientSecretSha256: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.RegionBackendServiceIap): RegionBackendServiceIap = RegionBackendServiceIap(
enabled = javaType.enabled(),
oauth2ClientId = javaType.oauth2ClientId().map({ args0 -> args0 }).orElse(null),
oauth2ClientSecret = javaType.oauth2ClientSecret().map({ args0 -> args0 }).orElse(null),
oauth2ClientSecretSha256 = javaType.oauth2ClientSecretSha256().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy