com.pulumi.gcp.storage.kotlin.outputs.GetBucketSoftDeletePolicy.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.storage.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property effectiveTime Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
* @property retentionDurationSeconds The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800.
*/
public data class GetBucketSoftDeletePolicy(
public val effectiveTime: String,
public val retentionDurationSeconds: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.storage.outputs.GetBucketSoftDeletePolicy): GetBucketSoftDeletePolicy = GetBucketSoftDeletePolicy(
effectiveTime = javaType.effectiveTime(),
retentionDurationSeconds = javaType.retentionDurationSeconds(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy