com.pulumi.gcp.storage.kotlin.outputs.GetProjectServiceAccountResult.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.storage.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getProjectServiceAccount.
* @property emailAddress The email address of the service account. This value is often used to refer to the service account
* in order to grant IAM permissions.
* @property id The provider-assigned unique ID for this managed resource.
* @property member The Identity of the service account in the form `serviceAccount:{email_address}`. This value is often used to refer to the service account in order to grant IAM permissions.
* @property project
* @property userProject
*/
public data class GetProjectServiceAccountResult(
public val emailAddress: String,
public val id: String,
public val member: String,
public val project: String,
public val userProject: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.storage.outputs.GetProjectServiceAccountResult): GetProjectServiceAccountResult = GetProjectServiceAccountResult(
emailAddress = javaType.emailAddress(),
id = javaType.id(),
member = javaType.member(),
project = javaType.project(),
userProject = javaType.userProject().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy