com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptions.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.dataloss.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property excludedFields References to fields excluded from scanning.
* This allows you to skip inspection of entire columns which you know have no findings.
* Structure is documented below.
* @property identifyingFields Specifies the BigQuery fields that will be returned with findings.
* If not specified, no identifying fields will be returned for findings.
* Structure is documented below.
* @property includedFields Limit scanning only to these fields.
* Structure is documented below.
* @property rowsLimit Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted.
* If not set, or if set to 0, all rows will be scanned. Only one of rowsLimit and rowsLimitPercent can be
* specified. Cannot be used in conjunction with TimespanConfig.
* @property rowsLimitPercent Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down.
* Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of
* rowsLimit and rowsLimitPercent can be specified. Cannot be used in conjunction with TimespanConfig.
* @property sampleMethod How to sample rows if not all rows are scanned. Meaningful only when used in conjunction with either
* rowsLimit or rowsLimitPercent. If not specified, rows are scanned in the order BigQuery reads them.
* Default value is `TOP`.
* Possible values are: `TOP`, `RANDOM_START`.
* @property tableReference Set of files to scan.
* Structure is documented below.
*/
public data class PreventionJobTriggerInspectJobStorageConfigBigQueryOptions(
public val excludedFields: List? = null,
public val identifyingFields: List? = null,
public val includedFields: List? = null,
public val rowsLimit: Int? = null,
public val rowsLimitPercent: Int? = null,
public val sampleMethod: String? = null,
public val tableReference: PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReference,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptions): PreventionJobTriggerInspectJobStorageConfigBigQueryOptions =
PreventionJobTriggerInspectJobStorageConfigBigQueryOptions(
excludedFields = javaType.excludedFields().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsExcludedField.Companion.toKotlin(args0)
})
}),
identifyingFields = javaType.identifyingFields().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsIdentifyingField.Companion.toKotlin(args0)
})
}),
includedFields = javaType.includedFields().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsIncludedField.Companion.toKotlin(args0)
})
}),
rowsLimit = javaType.rowsLimit().map({ args0 -> args0 }).orElse(null),
rowsLimitPercent = javaType.rowsLimitPercent().map({ args0 -> args0 }).orElse(null),
sampleMethod = javaType.sampleMethod().map({ args0 -> args0 }).orElse(null),
tableReference = javaType.tableReference().let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsTableReference.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy