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.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("hacrnffiidfqjgal")
public suspend fun customInfoTypes(`value`: Output>) {
this.customInfoTypes = value
}
@JvmName("hhfaxfuhicoesiog")
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("mwhxxytexdjlkiif")
public suspend fun customInfoTypes(values: List