com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTarget.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.dataloss.kotlin.outputs
import kotlin.Suppress
/**
*
* @property bigQueryTarget BigQuery target for Discovery. The first target to match a table will be the one applied.
* Structure is documented below.
* @property cloudSqlTarget Cloud SQL target for Discovery. The first target to match a table will be the one applied.
* Structure is documented below.
*/
public data class PreventionDiscoveryConfigTarget(
public val bigQueryTarget: PreventionDiscoveryConfigTargetBigQueryTarget? = null,
public val cloudSqlTarget: PreventionDiscoveryConfigTargetCloudSqlTarget? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionDiscoveryConfigTarget): PreventionDiscoveryConfigTarget = PreventionDiscoveryConfigTarget(
bigQueryTarget = javaType.bigQueryTarget().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTargetBigQueryTarget.Companion.toKotlin(args0)
})
}).orElse(null),
cloudSqlTarget = javaType.cloudSqlTarget().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTargetCloudSqlTarget.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy