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

com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTargetBigQueryTargetConditions.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.String
import kotlin.Suppress

/**
 *
 * @property createdAfter A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
 * @property orConditions At least one of the conditions must be true for a table to be scanned.
 * Structure is documented below.
 * @property typeCollection Restrict discovery to categories of table types. Currently view, materialized view, snapshot and non-biglake external tables are supported.
 * Possible values are: `BIG_QUERY_COLLECTION_ALL_TYPES`, `BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES`.
 * @property types Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
 * Each value may be one of: `DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES`, `DATABASE_RESOURCE_TYPE_TABLE`.
 */
public data class PreventionDiscoveryConfigTargetBigQueryTargetConditions(
    public val createdAfter: String? = null,
    public val orConditions: PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditions? =
        null,
    public val typeCollection: String? = null,
    public val types: PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypes? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionDiscoveryConfigTargetBigQueryTargetConditions): PreventionDiscoveryConfigTargetBigQueryTargetConditions =
            PreventionDiscoveryConfigTargetBigQueryTargetConditions(
                createdAfter = javaType.createdAfter().map({ args0 -> args0 }).orElse(null),
                orConditions = javaType.orConditions().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditions.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                typeCollection = javaType.typeCollection().map({ args0 -> args0 }).orElse(null),
                types = javaType.types().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypes.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy