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

com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTarget.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.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