All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadence.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataloss.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property inspectTemplateModifiedCadence Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update.
 * Structure is documented below.
 * @property refreshFrequency Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changes. Defaults to never.
 * Possible values are: `UPDATE_FREQUENCY_NEVER`, `UPDATE_FREQUENCY_DAILY`, `UPDATE_FREQUENCY_MONTHLY`.
 */
public data class PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadence(
    public val inspectTemplateModifiedCadence: PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceInspectTemplateModifiedCadence? =
        null,
    public val refreshFrequency: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadence): PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadence =
            PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadence(
                inspectTemplateModifiedCadence = javaType.inspectTemplateModifiedCadence().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceInspectTemplateModifiedCadence.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                refreshFrequency = javaType.refreshFrequency().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy