Class Object.RetentionData
A collection of object level retention parameters.
Inherited Members
Namespace: Google.Apis.Storage.v1.Data
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class Object.RetentionData
Properties
Mode
The bucket's object retention mode, can only be Unlocked or Locked.
Declaration
[JsonProperty("mode")]
public virtual string Mode { get; set; }
Property Value
Type | Description |
---|---|
string |
RetainUntilTime
DateTime representation of RetainUntilTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use RetainUntilTimeDateTimeOffset instead.")]
public virtual DateTime? RetainUntilTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
RetainUntilTimeDateTimeOffset
DateTimeOffset representation of RetainUntilTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? RetainUntilTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
RetainUntilTimeRaw
A time in RFC 3339 format until which object retention protects this object.
Declaration
[JsonProperty("retainUntilTime")]
public virtual string RetainUntilTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |