Show / Hide Table of Contents

Class Object.RetentionData

A collection of object level retention parameters.

Inheritance
object
Object.RetentionData
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
In this article
Back to top Generated by DocFX