Class Bucket.SoftDeletePolicyData
The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted.
Inherited Members
Namespace: Google.Apis.Storage.v1.Data
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class Bucket.SoftDeletePolicyData
Properties
EffectiveTime
DateTime representation of EffectiveTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EffectiveTimeDateTimeOffset instead.")]
public virtual DateTime? EffectiveTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
EffectiveTimeDateTimeOffset
DateTimeOffset representation of EffectiveTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? EffectiveTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
EffectiveTimeRaw
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.
Declaration
[JsonProperty("effectiveTime")]
public virtual string EffectiveTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
RetentionDurationSeconds
The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted.
Declaration
[JsonProperty("retentionDurationSeconds")]
public virtual long? RetentionDurationSeconds { get; set; }
Property Value
Type | Description |
---|---|
long? |