com.pulumi.gcp.dataplex.kotlin.outputs.DatascanDataProfileSpec.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.dataplex.kotlin.outputs
import kotlin.Double
import kotlin.String
import kotlin.Suppress
/**
*
* @property excludeFields The fields to exclude from data profile.
* If specified, the fields will be excluded from data profile, regardless of `include_fields` value.
* Structure is documented below.
* @property includeFields The fields to include in data profile.
* If not specified, all fields at the time of profile scan job execution are included, except for ones listed in `exclude_fields`.
* Structure is documented below.
* @property postScanActions Actions to take upon job completion.
* Structure is documented below.
* @property rowFilter A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10
* @property samplingPercent The percentage of the records to be selected from the dataset for DataScan.
* Value can range between 0.0 and 100.0 with up to 3 significant decimal digits.
* Sampling is not applied if `sampling_percent` is not specified, 0 or 100.
*/
public data class DatascanDataProfileSpec(
public val excludeFields: DatascanDataProfileSpecExcludeFields? = null,
public val includeFields: DatascanDataProfileSpecIncludeFields? = null,
public val postScanActions: DatascanDataProfileSpecPostScanActions? = null,
public val rowFilter: String? = null,
public val samplingPercent: Double? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataplex.outputs.DatascanDataProfileSpec): DatascanDataProfileSpec = DatascanDataProfileSpec(
excludeFields = javaType.excludeFields().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataplex.kotlin.outputs.DatascanDataProfileSpecExcludeFields.Companion.toKotlin(args0)
})
}).orElse(null),
includeFields = javaType.includeFields().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataplex.kotlin.outputs.DatascanDataProfileSpecIncludeFields.Companion.toKotlin(args0)
})
}).orElse(null),
postScanActions = javaType.postScanActions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataplex.kotlin.outputs.DatascanDataProfileSpecPostScanActions.Companion.toKotlin(args0)
})
}).orElse(null),
rowFilter = javaType.rowFilter().map({ args0 -> args0 }).orElse(null),
samplingPercent = javaType.samplingPercent().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy