com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobStorageConfigTimespanConfig.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.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property enableAutoPopulationOfTimespanConfig When the job is started by a JobTrigger we will automatically figure out a valid startTime to avoid
* scanning files that have not been modified since the last time the JobTrigger executed. This will
* be based on the time of the execution of the last run of the JobTrigger or the timespan endTime
* used in the last run of the JobTrigger.
* @property endTime Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.
* @property startTime Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.
* @property timestampField Specification of the field containing the timestamp of scanned items.
* Structure is documented below.
*/
public data class PreventionJobTriggerInspectJobStorageConfigTimespanConfig(
public val enableAutoPopulationOfTimespanConfig: Boolean? = null,
public val endTime: String? = null,
public val startTime: String? = null,
public val timestampField: PreventionJobTriggerInspectJobStorageConfigTimespanConfigTimestampField? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionJobTriggerInspectJobStorageConfigTimespanConfig): PreventionJobTriggerInspectJobStorageConfigTimespanConfig =
PreventionJobTriggerInspectJobStorageConfigTimespanConfig(
enableAutoPopulationOfTimespanConfig = javaType.enableAutoPopulationOfTimespanConfig().map({ args0 ->
args0
}).orElse(null),
endTime = javaType.endTime().map({ args0 -> args0 }).orElse(null),
startTime = javaType.startTime().map({ args0 -> args0 }).orElse(null),
timestampField = javaType.timestampField().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobStorageConfigTimespanConfigTimestampField.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy