com.pulumi.gcp.kms.kotlin.outputs.GetKMSSecretResult.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.kms.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getKMSSecret.
* @property additionalAuthenticatedData
* @property ciphertext
* @property cryptoKey
* @property id The provider-assigned unique ID for this managed resource.
* @property plaintext Contains the result of decrypting the provided ciphertext.
*/
public data class GetKMSSecretResult(
public val additionalAuthenticatedData: String? = null,
public val ciphertext: String,
public val cryptoKey: String,
public val id: String,
public val plaintext: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.kms.outputs.GetKMSSecretResult): GetKMSSecretResult = GetKMSSecretResult(
additionalAuthenticatedData = javaType.additionalAuthenticatedData().map({ args0 ->
args0
}).orElse(null),
ciphertext = javaType.ciphertext(),
cryptoKey = javaType.cryptoKey(),
id = javaType.id(),
plaintext = javaType.plaintext(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy