Interface Bucket.Lifecycle.RuleOrBuilder (2.20.2)

Stay organized with collections Save and categorize content based on your preferences.
public static interface Bucket.Lifecycle.RuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAction()

public abstract Bucket.Lifecycle.Rule.Action getAction()

The action to take.

.google.storage.v2.Bucket.Lifecycle.Rule.Action action = 1;

Returns
TypeDescription
Bucket.Lifecycle.Rule.Action

The action.

getActionOrBuilder()

public abstract Bucket.Lifecycle.Rule.ActionOrBuilder getActionOrBuilder()

The action to take.

.google.storage.v2.Bucket.Lifecycle.Rule.Action action = 1;

Returns
TypeDescription
Bucket.Lifecycle.Rule.ActionOrBuilder

getCondition()

public abstract Bucket.Lifecycle.Rule.Condition getCondition()

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

.google.storage.v2.Bucket.Lifecycle.Rule.Condition condition = 2;

Returns
TypeDescription
Bucket.Lifecycle.Rule.Condition

The condition.

getConditionOrBuilder()

public abstract Bucket.Lifecycle.Rule.ConditionOrBuilder getConditionOrBuilder()

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

.google.storage.v2.Bucket.Lifecycle.Rule.Condition condition = 2;

Returns
TypeDescription
Bucket.Lifecycle.Rule.ConditionOrBuilder

hasAction()

public abstract boolean hasAction()

The action to take.

.google.storage.v2.Bucket.Lifecycle.Rule.Action action = 1;

Returns
TypeDescription
boolean

Whether the action field is set.

hasCondition()

public abstract boolean hasCondition()

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

.google.storage.v2.Bucket.Lifecycle.Rule.Condition condition = 2;

Returns
TypeDescription
boolean

Whether the condition field is set.