BucketLifecycleRuleConditionArgs

data class BucketLifecycleRuleConditionArgs(val age: Output<Int>? = null, val createdBefore: Output<String>? = null, val customTimeBefore: Output<String>? = null, val daysSinceCustomTime: Output<Int>? = null, val daysSinceNoncurrentTime: Output<Int>? = null, val matchesPrefixes: Output<List<String>>? = null, val matchesStorageClasses: Output<List<String>>? = null, val matchesSuffixes: Output<List<String>>? = null, val noncurrentTimeBefore: Output<String>? = null, val numNewerVersions: Output<Int>? = null, val withState: Output<String>? = null) : ConvertibleToJava<BucketLifecycleRuleConditionArgs>

Constructors

Link copied to clipboard
constructor(age: Output<Int>? = null, createdBefore: Output<String>? = null, customTimeBefore: Output<String>? = null, daysSinceCustomTime: Output<Int>? = null, daysSinceNoncurrentTime: Output<Int>? = null, matchesPrefixes: Output<List<String>>? = null, matchesStorageClasses: Output<List<String>>? = null, matchesSuffixes: Output<List<String>>? = null, noncurrentTimeBefore: Output<String>? = null, numNewerVersions: Output<Int>? = null, withState: Output<String>? = null)

Properties

Link copied to clipboard
val age: Output<Int>? = null

Minimum age of an object in days to satisfy this condition.

Link copied to clipboard
val createdBefore: Output<String>? = null

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.

Link copied to clipboard
val customTimeBefore: Output<String>? = null

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.

Link copied to clipboard
val daysSinceCustomTime: Output<Int>? = null

Days since the date set in the customTime metadata for the object. This condition is satisfied when the current date and time is at least the specified number of days after the customTime.

Link copied to clipboard
val daysSinceNoncurrentTime: Output<Int>? = null

Relevant only for versioned objects. Number of days elapsed since the noncurrent timestamp of an object.

Link copied to clipboard
val matchesPrefixes: Output<List<String>>? = null

One or more matching name prefixes to satisfy this condition.

Link copied to clipboard
val matchesStorageClasses: Output<List<String>>? = null

Storage Class of objects to satisfy this condition. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, DURABLE_REDUCED_AVAILABILITY.

Link copied to clipboard
val matchesSuffixes: Output<List<String>>? = null

One or more matching name suffixes to satisfy this condition.

Link copied to clipboard
val noncurrentTimeBefore: Output<String>? = null

Relevant only for versioned objects. The date in RFC 3339 (e.g. 2017-06-13) when the object became nonconcurrent.

Link copied to clipboard
val numNewerVersions: Output<Int>? = null

Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition.

Link copied to clipboard
val withState: Output<String>? = null

Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: "LIVE", "ARCHIVED", "ANY".

Functions

Link copied to clipboard
open override fun toJava(): BucketLifecycleRuleConditionArgs