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

com.pulumi.azure.appservice.kotlin.outputs.LinuxFunctionAppSlotAuthSettingsV2GoogleV2.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.appservice.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property allowedAudiences Specifies a list of Allowed Audiences that should be requested as part of Google Sign-In authentication.
 * @property clientId The OpenID Connect Client ID for the Google web application.
 * @property clientSecretSettingName The app setting name that contains the `client_secret` value used for Google Login.
 * !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
 * @property loginScopes The list of OAuth 2.0 scopes that should be requested as part of Google Sign-In authentication.
 */
public data class LinuxFunctionAppSlotAuthSettingsV2GoogleV2(
    public val allowedAudiences: List? = null,
    public val clientId: String,
    public val clientSecretSettingName: String,
    public val loginScopes: List? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.LinuxFunctionAppSlotAuthSettingsV2GoogleV2):
            LinuxFunctionAppSlotAuthSettingsV2GoogleV2 = LinuxFunctionAppSlotAuthSettingsV2GoogleV2(
            allowedAudiences = javaType.allowedAudiences().map({ args0 -> args0 }),
            clientId = javaType.clientId(),
            clientSecretSettingName = javaType.clientSecretSettingName(),
            loginScopes = javaType.loginScopes().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy