com.pulumi.googlenative.storage.v1.inputs.BucketRetentionPolicyArgs Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.googlenative.storage.v1.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.
*
*/
public final class BucketRetentionPolicyArgs extends com.pulumi.resources.ResourceArgs {
public static final BucketRetentionPolicyArgs Empty = new BucketRetentionPolicyArgs();
/**
* Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.
*
*/
@Import(name="effectiveTime")
private @Nullable Output effectiveTime;
/**
* @return Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.
*
*/
public Optional
© 2015 - 2024 Weber Informatics LLC | Privacy Policy