Class Bucket.LifecycleData.RuleData.ConditionData
The condition(s) under which the action will be taken.
Inheritance
System.Object
Bucket.LifecycleData.RuleData.ConditionData
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: Google.Apis.Storage.v1beta2.Data
Assembly: Google.Apis.Storage.v1beta2.dll
Syntax
public class ConditionData
Properties
Age
Age of an object (in days). This condition is satisfied when an object reaches the specified age.
Declaration
[JsonProperty("age")]
public virtual int? Age { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
CreatedBefore
A date in RFC 3339 format with only the date part, e.g. "2013-01-15". This condition is satisfied when an object is created before midnight of the specified date in UTC.
Declaration
[JsonProperty("createdBefore")]
public virtual string CreatedBefore { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsLive
Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.
Declaration
[JsonProperty("isLive")]
public virtual bool? IsLive { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
NumNewerVersions
Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.
Declaration
[JsonProperty("numNewerVersions")]
public virtual int? NumNewerVersions { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |