com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobAction.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.Suppress
/**
*
* @property deidentify Create a de-identified copy of the requested table or files.
* Structure is documented below.
* @property jobNotificationEmails Sends an email when the job completes. The email goes to IAM project owners and technical Essential Contacts.
* @property pubSub Publish a message into a given Pub/Sub topic when the job completes.
* Structure is documented below.
* @property publishFindingsToCloudDataCatalog Publish findings of a DlpJob to Data Catalog.
* @property publishSummaryToCscc Publish the result summary of a DlpJob to the Cloud Security Command Center.
* @property publishToStackdriver Enable Stackdriver metric dlp.googleapis.com/findingCount.
* @property saveFindings If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk
* Structure is documented below.
*/
public data class PreventionJobTriggerInspectJobAction(
public val deidentify: PreventionJobTriggerInspectJobActionDeidentify? = null,
public val jobNotificationEmails: PreventionJobTriggerInspectJobActionJobNotificationEmails? =
null,
public val pubSub: PreventionJobTriggerInspectJobActionPubSub? = null,
public val publishFindingsToCloudDataCatalog: PreventionJobTriggerInspectJobActionPublishFindingsToCloudDataCatalog? = null,
public val publishSummaryToCscc: PreventionJobTriggerInspectJobActionPublishSummaryToCscc? = null,
public val publishToStackdriver: PreventionJobTriggerInspectJobActionPublishToStackdriver? = null,
public val saveFindings: PreventionJobTriggerInspectJobActionSaveFindings? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionJobTriggerInspectJobAction): PreventionJobTriggerInspectJobAction = PreventionJobTriggerInspectJobAction(
deidentify = javaType.deidentify().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobActionDeidentify.Companion.toKotlin(args0)
})
}).orElse(null),
jobNotificationEmails = javaType.jobNotificationEmails().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobActionJobNotificationEmails.Companion.toKotlin(args0)
})
}).orElse(null),
pubSub = javaType.pubSub().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobActionPubSub.Companion.toKotlin(args0)
})
}).orElse(null),
publishFindingsToCloudDataCatalog = javaType.publishFindingsToCloudDataCatalog().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobActionPublishFindingsToCloudDataCatalog.Companion.toKotlin(args0)
})
}).orElse(null),
publishSummaryToCscc = javaType.publishSummaryToCscc().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobActionPublishSummaryToCscc.Companion.toKotlin(args0)
})
}).orElse(null),
publishToStackdriver = javaType.publishToStackdriver().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobActionPublishToStackdriver.Companion.toKotlin(args0)
})
}).orElse(null),
saveFindings = javaType.saveFindings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobActionSaveFindings.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy