com.pulumi.gcp.tpu.kotlin.outputs.V2VmServiceAccount.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.tpu.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property email Email address of the service account. If empty, default Compute service account will be used.
* @property scopes The list of scopes to be made available for this service account. If empty, access to all
* Cloud APIs will be allowed.
*/
public data class V2VmServiceAccount(
public val email: String? = null,
public val scopes: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.tpu.outputs.V2VmServiceAccount): V2VmServiceAccount = V2VmServiceAccount(
email = javaType.email().map({ args0 -> args0 }).orElse(null),
scopes = javaType.scopes().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy