Class BucketRetentionPolicy
Inheritance
System.Object
BucketRetentionPolicy
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Storage.Outputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class BucketRetentionPolicy
Fields
View SourceIsLocked
If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy. Caution: Locking a bucket is an irreversible action.
Declaration
public readonly bool? IsLocked
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
RetentionPeriod
The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds.
Declaration
public readonly int RetentionPeriod
Field Value
| Type | Description |
|---|---|
| System.Int32 |