com.pulumi.gcp.dataplex.kotlin.outputs.DatascanDataQualitySpec.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
import kotlin.collections.List
/**
*
* @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 rules The list of rules to evaluate against a data source. At least one rule is required.
* Structure is documented below.
* @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 DatascanDataQualitySpec(
public val postScanActions: DatascanDataQualitySpecPostScanActions? = null,
public val rowFilter: String? = null,
public val rules: List? = null,
public val samplingPercent: Double? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataplex.outputs.DatascanDataQualitySpec): DatascanDataQualitySpec = DatascanDataQualitySpec(
postScanActions = javaType.postScanActions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataplex.kotlin.outputs.DatascanDataQualitySpecPostScanActions.Companion.toKotlin(args0)
})
}).orElse(null),
rowFilter = javaType.rowFilter().map({ args0 -> args0 }).orElse(null),
rules = javaType.rules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataplex.kotlin.outputs.DatascanDataQualitySpecRule.Companion.toKotlin(args0)
})
}),
samplingPercent = javaType.samplingPercent().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy