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

com.pulumi.gcp.storage.kotlin.outputs.GetBucketSoftDeletePolicy.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.10.0.0
Show newest version
@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