Please wait. This can take some minutes ...
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.
com.pulumi.gcp.dataloss.kotlin.inputs.PreventionJobTriggerInspectJobInspectConfigArgs.kt Maven / Gradle / Ivy
@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.PreventionJobTriggerInspectJobInspectConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property customInfoTypes Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
* Structure is documented below.
* @property excludeInfoTypes When true, excludes type information of the findings.
* @property includeQuote When true, a contextual quote from the data that triggered a finding is included in the response.
* @property infoTypes Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list
* or listed at https://cloud.google.com/dlp/docs/infotypes-reference.
* When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run.
* By default this may be all types, but may change over time as detectors are updated.
* Structure is documented below.
* @property limits Configuration to control the number of findings returned.
* Structure is documented below.
* @property minLikelihood Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info
* Default value is `POSSIBLE`.
* Possible values are: `VERY_UNLIKELY`, `UNLIKELY`, `POSSIBLE`, `LIKELY`, `VERY_LIKELY`.
* @property ruleSets Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end,
* other rules are executed in the order they are specified for each info type.
* Structure is documented below.
*/
public data class PreventionJobTriggerInspectJobInspectConfigArgs(
public val customInfoTypes: Output>? = null,
public val excludeInfoTypes: Output? = null,
public val includeQuote: Output? = null,
public val infoTypes: Output>? =
null,
public val limits: Output? = null,
public val minLikelihood: Output? = null,
public val ruleSets: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobInspectConfigArgs =
com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobInspectConfigArgs.builder()
.customInfoTypes(
customInfoTypes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.excludeInfoTypes(excludeInfoTypes?.applyValue({ args0 -> args0 }))
.includeQuote(includeQuote?.applyValue({ args0 -> args0 }))
.infoTypes(
infoTypes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.limits(limits?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.minLikelihood(minLikelihood?.applyValue({ args0 -> args0 }))
.ruleSets(
ruleSets?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [PreventionJobTriggerInspectJobInspectConfigArgs].
*/
@PulumiTagMarker
public class PreventionJobTriggerInspectJobInspectConfigArgsBuilder internal constructor() {
private var customInfoTypes:
Output>? = null
private var excludeInfoTypes: Output? = null
private var includeQuote: Output? = null
private var infoTypes: Output>? =
null
private var limits: Output? = null
private var minLikelihood: Output? = null
private var ruleSets: Output>? = null
/**
* @param value Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
* Structure is documented below.
*/
@JvmName("gimejjxqxvdciepd")
public suspend fun customInfoTypes(`value`: Output>) {
this.customInfoTypes = value
}
@JvmName("vsmjqamqtvovqiwg")
public suspend fun customInfoTypes(vararg values: Output) {
this.customInfoTypes = Output.all(values.asList())
}
/**
* @param values Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
* Structure is documented below.
*/
@JvmName("ybtdajcaxvctptww")
public suspend fun customInfoTypes(values: List>) {
this.customInfoTypes = Output.all(values)
}
/**
* @param value When true, excludes type information of the findings.
*/
@JvmName("dprvdnpyqvomjevg")
public suspend fun excludeInfoTypes(`value`: Output) {
this.excludeInfoTypes = value
}
/**
* @param value When true, a contextual quote from the data that triggered a finding is included in the response.
*/
@JvmName("jxcqmcfbgytvbdso")
public suspend fun includeQuote(`value`: Output) {
this.includeQuote = value
}
/**
* @param value Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list
* or listed at https://cloud.google.com/dlp/docs/infotypes-reference.
* When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run.
* By default this may be all types, but may change over time as detectors are updated.
* Structure is documented below.
*/
@JvmName("icwtlfmyowlijkrc")
public suspend fun infoTypes(`value`: Output>) {
this.infoTypes = value
}
@JvmName("kacmlntuexriwfjh")
public suspend fun infoTypes(vararg values: Output) {
this.infoTypes = Output.all(values.asList())
}
/**
* @param values Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list
* or listed at https://cloud.google.com/dlp/docs/infotypes-reference.
* When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run.
* By default this may be all types, but may change over time as detectors are updated.
* Structure is documented below.
*/
@JvmName("ugbelinipttclxfo")
public suspend fun infoTypes(values: List>) {
this.infoTypes = Output.all(values)
}
/**
* @param value Configuration to control the number of findings returned.
* Structure is documented below.
*/
@JvmName("jseqtlflwuhbmbrt")
public suspend fun limits(`value`: Output) {
this.limits = value
}
/**
* @param value Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info
* Default value is `POSSIBLE`.
* Possible values are: `VERY_UNLIKELY`, `UNLIKELY`, `POSSIBLE`, `LIKELY`, `VERY_LIKELY`.
*/
@JvmName("ddegjqxshgikvbkl")
public suspend fun minLikelihood(`value`: Output) {
this.minLikelihood = value
}
/**
* @param value Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end,
* other rules are executed in the order they are specified for each info type.
* Structure is documented below.
*/
@JvmName("eiqkveencvhqrjwm")
public suspend fun ruleSets(`value`: Output>) {
this.ruleSets = value
}
@JvmName("qvkatdmpslamvcii")
public suspend fun ruleSets(vararg values: Output) {
this.ruleSets = Output.all(values.asList())
}
/**
* @param values Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end,
* other rules are executed in the order they are specified for each info type.
* Structure is documented below.
*/
@JvmName("oewsaussjeftodyn")
public suspend fun ruleSets(values: List>) {
this.ruleSets = Output.all(values)
}
/**
* @param value Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
* Structure is documented below.
*/
@JvmName("ofpahrogwfjcabab")
public suspend fun customInfoTypes(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customInfoTypes = mapped
}
/**
* @param argument Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
* Structure is documented below.
*/
@JvmName("iqvvstrwimhoqvxh")
public suspend fun customInfoTypes(argument: List Unit>) {
val toBeMapped = argument.toList().map {
PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.customInfoTypes = mapped
}
/**
* @param argument Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
* Structure is documented below.
*/
@JvmName("fvjisxbrtckgeddy")
public suspend fun customInfoTypes(vararg argument: suspend PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.customInfoTypes = mapped
}
/**
* @param argument Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
* Structure is documented below.
*/
@JvmName("lgmvkhfgwhhnbvnp")
public suspend fun customInfoTypes(argument: suspend PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeArgsBuilder.() -> Unit) {
val toBeMapped =
listOf(
PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.customInfoTypes = mapped
}
/**
* @param values Custom info types to be used. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
* Structure is documented below.
*/
@JvmName("ntmmcmyyhidohgyp")
public suspend fun customInfoTypes(vararg values: PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.customInfoTypes = mapped
}
/**
* @param value When true, excludes type information of the findings.
*/
@JvmName("texqvjhuvqrytcxa")
public suspend fun excludeInfoTypes(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.excludeInfoTypes = mapped
}
/**
* @param value When true, a contextual quote from the data that triggered a finding is included in the response.
*/
@JvmName("nxtwthiiiwntkdib")
public suspend fun includeQuote(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.includeQuote = mapped
}
/**
* @param value Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list
* or listed at https://cloud.google.com/dlp/docs/infotypes-reference.
* When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run.
* By default this may be all types, but may change over time as detectors are updated.
* Structure is documented below.
*/
@JvmName("cdjsqrfvjdyacedb")
public suspend fun infoTypes(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.infoTypes = mapped
}
/**
* @param argument Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list
* or listed at https://cloud.google.com/dlp/docs/infotypes-reference.
* When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run.
* By default this may be all types, but may change over time as detectors are updated.
* Structure is documented below.
*/
@JvmName("kxrssipxhdrliiqh")
public suspend fun infoTypes(argument: List Unit>) {
val toBeMapped = argument.toList().map {
PreventionJobTriggerInspectJobInspectConfigInfoTypeArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.infoTypes = mapped
}
/**
* @param argument Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list
* or listed at https://cloud.google.com/dlp/docs/infotypes-reference.
* When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run.
* By default this may be all types, but may change over time as detectors are updated.
* Structure is documented below.
*/
@JvmName("vtwprsimditlixge")
public suspend fun infoTypes(vararg argument: suspend PreventionJobTriggerInspectJobInspectConfigInfoTypeArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
PreventionJobTriggerInspectJobInspectConfigInfoTypeArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.infoTypes = mapped
}
/**
* @param argument Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list
* or listed at https://cloud.google.com/dlp/docs/infotypes-reference.
* When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run.
* By default this may be all types, but may change over time as detectors are updated.
* Structure is documented below.
*/
@JvmName("sklidkegvfgdspqj")
public suspend fun infoTypes(argument: suspend PreventionJobTriggerInspectJobInspectConfigInfoTypeArgsBuilder.() -> Unit) {
val toBeMapped =
listOf(
PreventionJobTriggerInspectJobInspectConfigInfoTypeArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.infoTypes = mapped
}
/**
* @param values Restricts what infoTypes to look for. The values must correspond to InfoType values returned by infoTypes.list
* or listed at https://cloud.google.com/dlp/docs/infotypes-reference.
* When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run.
* By default this may be all types, but may change over time as detectors are updated.
* Structure is documented below.
*/
@JvmName("dvwbdaaxyhqgclcn")
public suspend fun infoTypes(vararg values: PreventionJobTriggerInspectJobInspectConfigInfoTypeArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.infoTypes = mapped
}
/**
* @param value Configuration to control the number of findings returned.
* Structure is documented below.
*/
@JvmName("uxvqelxqgbawnvvc")
public suspend fun limits(`value`: PreventionJobTriggerInspectJobInspectConfigLimitsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.limits = mapped
}
/**
* @param argument Configuration to control the number of findings returned.
* Structure is documented below.
*/
@JvmName("uvyhnufdafrrgbux")
public suspend fun limits(argument: suspend PreventionJobTriggerInspectJobInspectConfigLimitsArgsBuilder.() -> Unit) {
val toBeMapped = PreventionJobTriggerInspectJobInspectConfigLimitsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.limits = mapped
}
/**
* @param value Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info
* Default value is `POSSIBLE`.
* Possible values are: `VERY_UNLIKELY`, `UNLIKELY`, `POSSIBLE`, `LIKELY`, `VERY_LIKELY`.
*/
@JvmName("avuadogvcpeiauyb")
public suspend fun minLikelihood(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.minLikelihood = mapped
}
/**
* @param value Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end,
* other rules are executed in the order they are specified for each info type.
* Structure is documented below.
*/
@JvmName("wvsgppwuhipmeqbx")
public suspend fun ruleSets(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ruleSets = mapped
}
/**
* @param argument Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end,
* other rules are executed in the order they are specified for each info type.
* Structure is documented below.
*/
@JvmName("avamnrllqqissgrw")
public suspend fun ruleSets(argument: List Unit>) {
val toBeMapped = argument.toList().map {
PreventionJobTriggerInspectJobInspectConfigRuleSetArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.ruleSets = mapped
}
/**
* @param argument Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end,
* other rules are executed in the order they are specified for each info type.
* Structure is documented below.
*/
@JvmName("lspuxhxctbgntftn")
public suspend fun ruleSets(vararg argument: suspend PreventionJobTriggerInspectJobInspectConfigRuleSetArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
PreventionJobTriggerInspectJobInspectConfigRuleSetArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.ruleSets = mapped
}
/**
* @param argument Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end,
* other rules are executed in the order they are specified for each info type.
* Structure is documented below.
*/
@JvmName("itfodjjmvxvqiuxl")
public suspend fun ruleSets(argument: suspend PreventionJobTriggerInspectJobInspectConfigRuleSetArgsBuilder.() -> Unit) {
val toBeMapped =
listOf(
PreventionJobTriggerInspectJobInspectConfigRuleSetArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.ruleSets = mapped
}
/**
* @param values Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end,
* other rules are executed in the order they are specified for each info type.
* Structure is documented below.
*/
@JvmName("pqeunkjarpjbolft")
public suspend fun ruleSets(vararg values: PreventionJobTriggerInspectJobInspectConfigRuleSetArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.ruleSets = mapped
}
internal fun build(): PreventionJobTriggerInspectJobInspectConfigArgs =
PreventionJobTriggerInspectJobInspectConfigArgs(
customInfoTypes = customInfoTypes,
excludeInfoTypes = excludeInfoTypes,
includeQuote = includeQuote,
infoTypes = infoTypes,
limits = limits,
minLikelihood = minLikelihood,
ruleSets = ruleSets,
)
}