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