public static interface Bucket.Lifecycle.Rule.ConditionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAgeDays()
public abstract int getAgeDays()
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.
optional int32 age_days = 1;
Returns | |
---|---|
Type | Description |
int | The ageDays. |
getCreatedBefore()
public abstract Date getCreatedBefore()
This condition is satisfied when an object is created before midnight of the specified date in UTC.
.google.type.Date created_before = 2;
Returns | |
---|---|
Type | Description |
com.google.type.Date | The createdBefore. |
getCreatedBeforeOrBuilder()
public abstract DateOrBuilder getCreatedBeforeOrBuilder()
This condition is satisfied when an object is created before midnight of the specified date in UTC.
.google.type.Date created_before = 2;
Returns | |
---|---|
Type | Description |
com.google.type.DateOrBuilder |
getCustomTimeBefore()
public abstract Date getCustomTimeBefore()
An object matches this condition if the custom timestamp set on the object is before the specified date in UTC.
.google.type.Date custom_time_before = 8;
Returns | |
---|---|
Type | Description |
com.google.type.Date | The customTimeBefore. |
getCustomTimeBeforeOrBuilder()
public abstract DateOrBuilder getCustomTimeBeforeOrBuilder()
An object matches this condition if the custom timestamp set on the object is before the specified date in UTC.
.google.type.Date custom_time_before = 8;
Returns | |
---|---|
Type | Description |
com.google.type.DateOrBuilder |
getDaysSinceCustomTime()
public abstract int getDaysSinceCustomTime()
Number of days that have elapsed since the custom timestamp set on an object. The value of the field must be a nonnegative integer.
optional int32 days_since_custom_time = 7;
Returns | |
---|---|
Type | Description |
|