Enum AuthorizationPolicy.Action (0.33.0)

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

Possible values that define what action to take.

Protobuf enum google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Action

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ACTION_UNSPECIFIED

Default value.

ACTION_UNSPECIFIED = 0;

ACTION_UNSPECIFIED_VALUE

Default value.

ACTION_UNSPECIFIED = 0;

ALLOW

Grant access.

ALLOW = 1;

ALLOW_VALUE

Grant access.

ALLOW = 1;

DENY

Deny access. Deny rules should be avoided unless they are used to provide a default "deny all" fallback.

DENY = 2;

DENY_VALUE

Deny access. Deny rules should be avoided unless they are used to provide a default "deny all" fallback.

DENY = 2;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()