Enum AuthzPolicy.AuthzAction (0.94.0)

public enum AuthzPolicy.AuthzAction extends Enum<AuthzPolicy.AuthzAction> implements ProtocolMessageEnum

The action to be applied to this policy. Valid values are ALLOW, DENY, CUSTOM.

Protobuf enum google.cloud.networksecurity.v1.AuthzPolicy.AuthzAction

Implements

ProtocolMessageEnum

Static Fields

Name Description
ALLOW

Allow request to pass through to the backend.

ALLOW = 1;

ALLOW_VALUE

Allow request to pass through to the backend.

ALLOW = 1;

AUTHZ_ACTION_UNSPECIFIED

Unspecified action.

AUTHZ_ACTION_UNSPECIFIED = 0;

AUTHZ_ACTION_UNSPECIFIED_VALUE

Unspecified action.

AUTHZ_ACTION_UNSPECIFIED = 0;

CUSTOM

Delegate the authorization decision to an external authorization engine.

CUSTOM = 3;

CUSTOM_VALUE

Delegate the authorization decision to an external authorization engine.

CUSTOM = 3;

DENY

Deny the request and return a HTTP 404 to the client.

DENY = 2;

DENY_VALUE

Deny the request and return a HTTP 404 to the client.

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