Bucket Lifecycle Rule Condition Args
Constructors
Properties
A date in the RFC 3339 format YYYY-MM-DD. This condition is satisfied when an object is created before midnight of the specified date in UTC.
A date in the RFC 3339 format YYYY-MM-DD. This condition is satisfied when the customTime metadata for the object is set to an earlier date than the date used in this lifecycle condition.
Number of days elapsed since the user-specified timestamp set on an object.
Number of days elapsed since the noncurrent timestamp of an object. This condition is relevant only for versioned objects.
One or more matching name prefixes to satisfy this condition.
Storage Class of objects to satisfy this condition. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, DURABLE_REDUCED_AVAILABILITY.
One or more matching name suffixes to satisfy this condition.
While set true, age value will be omitted from requests. This prevents a default age of 0 from being applied, and if you do not have an age value set, setting this to true is strongly recommended. When unset and other conditions are set to zero values, this can result in a rule that applies your action to all files in the bucket.
Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition.