A condition of an object which triggers some action.
Value parameters
- ageDays
-
Age of an object (in days). This condition is satisfied when an object reaches the specified age. A value of 0 indicates that all objects immediately match this condition.
- createdBefore
-
This condition is satisfied when an object is created before midnight of the specified date in UTC.
- customTimeBefore
-
An object matches this condition if the custom timestamp set on the object is before the specified date in UTC.
- daysSinceCustomTime
-
Number of days that have elapsed since the custom timestamp set on an object. The value of the field must be a nonnegative integer.
- daysSinceNoncurrentTime
-
This condition is relevant only for versioned objects. An object version satisfies this condition only if these many days have been passed since it became noncurrent. The value of the field must be a nonnegative integer. If it's zero, the object version will become eligible for Lifecycle action as soon as it becomes noncurrent.
- isLive
-
Relevant only for versioned objects. If the value is
true
, this condition matches live objects; if the value isfalse
, it matches archived objects. - matchesPrefix
-
List of object name prefixes. If any prefix exactly matches the beginning of the object name, the condition evaluates to true.
- matchesStorageClass
-
Objects having any of the storage classes specified by this condition will be matched. Values include
MULTI_REGIONAL
,REGIONAL
,NEARLINE
,COLDLINE
,STANDARD
, andDURABLE_REDUCED_AVAILABILITY
. - matchesSuffix
-
List of object name suffixes. If any suffix exactly matches the end of the object name, the condition evaluates to true.
- noncurrentTimeBefore
-
This condition is relevant only for versioned objects. An object version satisfies this condition only if it became noncurrent before the specified date in UTC.
- 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.
Attributes
- Companion
- object
- Source
- Bucket.scala
- Graph
-
- Supertypes
-
trait Updatable[Condition]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Definition Classes
-
GeneratedMessage
- Source
- Bucket.scala
Returns a human-readable ASCII format representation of this message.
Returns a human-readable ASCII format representation of this message.
The original message can be decoded from this format by using fromAscii on the companion object.
Attributes
- Returns
-
human-readable representation of this message.
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Serializes the message into the given coded output stream
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Serializes the message and returns a byte array containing its raw bytes
Serializes the message and returns a byte array containing its raw bytes
Attributes
- Inherited from:
- GeneratedMessage
- Source
- GeneratedMessageCompanion.scala
Serializes the message and returns a ByteString containing its raw bytes
Serializes the message and returns a ByteString containing its raw bytes
Attributes
- Inherited from:
- GeneratedMessage
- Source
- GeneratedMessageCompanion.scala
Attributes
- Inherited from:
- GeneratedMessage
- Source
- GeneratedMessageCompanion.scala
Attributes
- Inherited from:
- Updatable
- Source
- Lenses.scala
Attributes
- Inherited from:
- GeneratedMessage
- Source
- GeneratedMessageCompanion.scala
Serializes the message into the given output stream
Serializes the message into the given output stream
Attributes
- Inherited from:
- GeneratedMessage
- Source
- GeneratedMessageCompanion.scala