com.pulumi.gcp.serviceaccount.kotlin.outputs.GetAccountKeyResult.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 getAccountKey.
* @property id The provider-assigned unique ID for this managed resource.
* @property keyAlgorithm
* @property name
* @property project
* @property publicKey The public key, base64 encoded
* @property publicKeyType
*/
public data class GetAccountKeyResult(
public val id: String,
public val keyAlgorithm: String,
public val name: String,
public val project: String? = null,
public val publicKey: String,
public val publicKeyType: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.serviceaccount.outputs.GetAccountKeyResult): GetAccountKeyResult = GetAccountKeyResult(
id = javaType.id(),
keyAlgorithm = javaType.keyAlgorithm(),
name = javaType.name(),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
publicKey = javaType.publicKey(),
publicKeyType = javaType.publicKeyType().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy