Enum CleanupPolicy.Action (1.44.0)

public enum CleanupPolicy.Action extends Enum<CleanupPolicy.Action> implements ProtocolMessageEnum

Action type for a cleanup policy.

Protobuf enum google.devtools.artifactregistry.v1.CleanupPolicy.Action

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTION_UNSPECIFIED

Action not specified.

ACTION_UNSPECIFIED = 0;

ACTION_UNSPECIFIED_VALUE

Action not specified.

ACTION_UNSPECIFIED = 0;

DELETE

Delete action.

DELETE = 1;

DELETE_VALUE

Delete action.

DELETE = 1;

KEEP

Keep action.

KEEP = 2;

KEEP_VALUE

Keep action.

KEEP = 2;

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()