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

com.pulumi.gcp.serviceaccount.kotlin.outputs.GetAccountIdTokenResult.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.serviceaccount.kotlin.outputs

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

/**
 * A collection of values returned by getAccountIdToken.
 * @property delegates
 * @property id The provider-assigned unique ID for this managed resource.
 * @property idToken The `id_token` representing the new generated identity.
 * @property includeEmail
 * @property targetAudience
 * @property targetServiceAccount
 */
public data class GetAccountIdTokenResult(
    public val delegates: List? = null,
    public val id: String,
    public val idToken: String,
    public val includeEmail: Boolean? = null,
    public val targetAudience: String,
    public val targetServiceAccount: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.serviceaccount.outputs.GetAccountIdTokenResult): GetAccountIdTokenResult = GetAccountIdTokenResult(
            delegates = javaType.delegates().map({ args0 -> args0 }),
            id = javaType.id(),
            idToken = javaType.idToken(),
            includeEmail = javaType.includeEmail().map({ args0 -> args0 }).orElse(null),
            targetAudience = javaType.targetAudience(),
            targetServiceAccount = javaType.targetServiceAccount().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy