com.pulumi.gcp.serviceaccount.kotlin.outputs.GetAccountResult.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.String
import kotlin.Suppress
/**
* A collection of values returned by getAccount.
* @property accountId
* @property displayName The display name for the service account.
* @property email The e-mail address of the service account. This value
* should be referenced from any `gcp.organizations.getIAMPolicy` data sources
* that would grant the service account privileges.
* @property id The provider-assigned unique ID for this managed resource.
* @property member The Identity of the service account in the form `serviceAccount:{email}`. This value is often used to refer to the service account in order to grant IAM permissions.
* @property name The fully-qualified name of the service account.
* @property project
* @property uniqueId The unique id of the service account.
*/
public data class GetAccountResult(
public val accountId: String,
public val displayName: String,
public val email: String,
public val id: String,
public val member: String,
public val name: String,
public val project: String? = null,
public val uniqueId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.serviceaccount.outputs.GetAccountResult): GetAccountResult = GetAccountResult(
accountId = javaType.accountId(),
displayName = javaType.displayName(),
email = javaType.email(),
id = javaType.id(),
member = javaType.member(),
name = javaType.name(),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
uniqueId = javaType.uniqueId(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy