Enum AuthorizationPolicy.Action (0.14.0)

publicenumAuthorizationPolicy.ActionextendsEnum<AuthorizationPolicy.Action>implementsProtocolMessageEnum

Possible values that define what action to take.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
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

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.