Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs(
public val excludedFields: Output>? =
null,
public val identifyingFields: Output>? =
null,
public val includedFields: Output>? =
null,
public val rowsLimit: Output? = null,
public val rowsLimitPercent: Output? = null,
public val sampleMethod: Output? = null,
public val tableReference: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs =
com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs.builder()
.excludedFields(
excludedFields?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.identifyingFields(
identifyingFields?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.includedFields(
includedFields?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.rowsLimit(rowsLimit?.applyValue({ args0 -> args0 }))
.rowsLimitPercent(rowsLimitPercent?.applyValue({ args0 -> args0 }))
.sampleMethod(sampleMethod?.applyValue({ args0 -> args0 }))
.tableReference(
tableReference.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs].
*/
@PulumiTagMarker
public class PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgsBuilder internal constructor() {
private var excludedFields:
Output>? =
null
private var identifyingFields:
Output>? =
null
private var includedFields:
Output>? =
null
private var rowsLimit: Output? = null
private var rowsLimitPercent: Output? = null
private var sampleMethod: Output? = null
private var tableReference:
Output? = null
/**
* @param value 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.
*/
@JvmName("ggpqfpattmymkdqd")
public suspend fun excludedFields(`value`: Output>) {
this.excludedFields = value
}
@JvmName("bbhodxfuwilnbmiq")
public suspend fun excludedFields(vararg values: Output) {
this.excludedFields = Output.all(values.asList())
}
/**
* @param values 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.
*/
@JvmName("vsmlpclbphykbhfj")
public suspend fun excludedFields(values: List