com.pulumi.gcp.compute.kotlin.outputs.BackendServiceIap.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.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @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 BackendServiceIap(
public val oauth2ClientId: String,
public val oauth2ClientSecret: String,
public val oauth2ClientSecretSha256: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.BackendServiceIap): BackendServiceIap = BackendServiceIap(
oauth2ClientId = javaType.oauth2ClientId(),
oauth2ClientSecret = javaType.oauth2ClientSecret(),
oauth2ClientSecretSha256 = javaType.oauth2ClientSecretSha256().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy