BucketLifecycleRuleCondition class

The condition(s) under which the action will be taken.

Constructors

BucketLifecycleRuleCondition({int? age, DateTime? createdBefore, DateTime? customTimeBefore, int? daysSinceCustomTime, int? daysSinceNoncurrentTime, bool? isLive, String? matchesPattern, List<String>? matchesStorageClass, DateTime? noncurrentTimeBefore, int? numNewerVersions})
BucketLifecycleRuleCondition.fromJson(Map _json)

Properties

age int?
Age of an object (in days).
getter/setter pair
createdBefore DateTime?
A date in RFC 3339 format with only the date part (for instance, "2013-01-15").
getter/setter pair
customTimeBefore DateTime?
A date in RFC 3339 format with only the date part (for instance, "2013-01-15").
getter/setter pair
daysSinceCustomTime int?
Number of days elapsed since the user-specified timestamp set on an object.
getter/setter pair
daysSinceNoncurrentTime int?
Number of days elapsed since the noncurrent timestamp of an object.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isLive bool?
Relevant only for versioned objects.
getter/setter pair
matchesPattern String?
A regular expression that satisfies the RE2 syntax.
getter/setter pair
matchesStorageClass List<String>?
Objects having any of the storage classes specified by this condition will be matched.
getter/setter pair
noncurrentTimeBefore DateTime?
A date in RFC 3339 format with only the date part (for instance, "2013-01-15").
getter/setter pair
numNewerVersions int?
Relevant only for versioned objects.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited