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

com.pulumi.gcp.appengine.kotlin.outputs.ApplicationIap.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.appengine.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property enabled (Optional) Whether the serving infrastructure will authenticate and authorize all incoming requests.
 * (default is false)
 * @property oauth2ClientId OAuth2 client ID to use for the authentication flow.
 * @property oauth2ClientSecret OAuth2 client secret to use for the authentication flow.
 * The SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field.
 * @property oauth2ClientSecretSha256 Hex-encoded SHA-256 hash of the client secret.
 */
public data class ApplicationIap(
    public val enabled: Boolean? = null,
    public val oauth2ClientId: String,
    public val oauth2ClientSecret: String,
    public val oauth2ClientSecretSha256: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.appengine.outputs.ApplicationIap): ApplicationIap =
            ApplicationIap(
                enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
                oauth2ClientId = javaType.oauth2ClientId(),
                oauth2ClientSecret = javaType.oauth2ClientSecret(),
                oauth2ClientSecretSha256 = javaType.oauth2ClientSecretSha256().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy