Enum Rule.Action (1.52.0)

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

Defines the action of the rule.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTION_UNSPECIFIED

Action not specified.

ACTION_UNSPECIFIED = 0;

ACTION_UNSPECIFIED_VALUE

Action not specified.

ACTION_UNSPECIFIED = 0;

ALLOW

Allow the operation.

ALLOW = 1;

ALLOW_VALUE

Allow the operation.

ALLOW = 1;

DENY

Deny the operation.

DENY = 2;

DENY_VALUE

Deny the operation.

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