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

com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTargetBigQueryTarget.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 cadence How often and when to update profiles. New tables that match both the fiter and conditions are scanned as quickly as possible depending on system capacity.
 * Structure is documented below.
 * @property conditions In addition to matching the filter, these conditions must be true before a profile is generated
 * Structure is documented below.
 * @property disabled Tables that match this filter will not have profiles created.
 * @property filter Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table
 * Structure is documented below.
 */
public data class PreventionDiscoveryConfigTargetBigQueryTarget(
    public val cadence: PreventionDiscoveryConfigTargetBigQueryTargetCadence? = null,
    public val conditions: PreventionDiscoveryConfigTargetBigQueryTargetConditions? = null,
    public val disabled: PreventionDiscoveryConfigTargetBigQueryTargetDisabled? = null,
    public val filter: PreventionDiscoveryConfigTargetBigQueryTargetFilter? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionDiscoveryConfigTargetBigQueryTarget): PreventionDiscoveryConfigTargetBigQueryTarget =
            PreventionDiscoveryConfigTargetBigQueryTarget(
                cadence = javaType.cadence().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTargetBigQueryTargetCadence.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                conditions = javaType.conditions().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTargetBigQueryTargetConditions.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                disabled = javaType.disabled().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTargetBigQueryTargetDisabled.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                filter = javaType.filter().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTargetBigQueryTargetFilter.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy