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

com.pulumi.gcp.bigquery.kotlin.outputs.JobLoadDestinationEncryptionConfiguration.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.bigquery.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property kmsKeyName Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table.
 * The BigQuery Service Account associated with your project requires access to this encryption key.
 * @property kmsKeyVersion (Output)
 * Describes the Cloud KMS encryption key version used to protect destination BigQuery table.
 */
public data class JobLoadDestinationEncryptionConfiguration(
    public val kmsKeyName: String,
    public val kmsKeyVersion: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.bigquery.outputs.JobLoadDestinationEncryptionConfiguration): JobLoadDestinationEncryptionConfiguration = JobLoadDestinationEncryptionConfiguration(
            kmsKeyName = javaType.kmsKeyName(),
            kmsKeyVersion = javaType.kmsKeyVersion().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy