All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.serviceaccount.kotlin.outputs.GetAccountKeyResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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