
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTargetCloudStorageTargetConditions.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.dataloss.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property cloudStorageConditions Cloud Storage conditions.
* Structure is documented below.
* @property createdAfter File store must have been created after this date. Used to avoid backfilling. A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
* @property minAge Duration format. Minimum age a file store must have. If set, the value must be 1 hour or greater.
*/
public data class PreventionDiscoveryConfigTargetCloudStorageTargetConditions(
public val cloudStorageConditions: PreventionDiscoveryConfigTargetCloudStorageTargetConditionsCloudStorageConditions? = null,
public val createdAfter: String? = null,
public val minAge: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionDiscoveryConfigTargetCloudStorageTargetConditions): PreventionDiscoveryConfigTargetCloudStorageTargetConditions =
PreventionDiscoveryConfigTargetCloudStorageTargetConditions(
cloudStorageConditions = javaType.cloudStorageConditions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDiscoveryConfigTargetCloudStorageTargetConditionsCloudStorageConditions.Companion.toKotlin(args0)
})
}).orElse(null),
createdAfter = javaType.createdAfter().map({ args0 -> args0 }).orElse(null),
minAge = javaType.minAge().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy