Enum Volume.SnapshotAutoDeleteBehavior (0.42.0)

public enum Volume.SnapshotAutoDeleteBehavior extends Enum<Volume.SnapshotAutoDeleteBehavior> implements ProtocolMessageEnum

The kinds of auto delete behavior to use when snapshot reserved space is full.

Protobuf enum google.cloud.baremetalsolution.v2.Volume.SnapshotAutoDeleteBehavior

Implements

ProtocolMessageEnum

Static Fields

Name Description
DISABLED

Don't delete any snapshots. This disables new snapshot creation, as long as the snapshot reserved space is full.

DISABLED = 1;

DISABLED_VALUE

Don't delete any snapshots. This disables new snapshot creation, as long as the snapshot reserved space is full.

DISABLED = 1;

NEWEST_FIRST

Delete the newest snapshots first.

NEWEST_FIRST = 3;

NEWEST_FIRST_VALUE

Delete the newest snapshots first.

NEWEST_FIRST = 3;

OLDEST_FIRST

Delete the oldest snapshots first.

OLDEST_FIRST = 2;

OLDEST_FIRST_VALUE

Delete the oldest snapshots first.

OLDEST_FIRST = 2;

SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED

The unspecified behavior.

SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED = 0;

SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED_VALUE

The unspecified behavior.

SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()