Enum AuthzPolicy.PolicyProfile (0.94.0)

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

The type of authorization being performed. New values may be added in the future.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
CONTENT_AUTHZ

Applies to content security, sanitization, etc. Only CUSTOM action is allowed in this policy profile. AuthzExtensions in the custom provider must support EXT_PROC_GRPC protocol only and be capable of receiving all EXT_PROC_GRPC events (REQUEST_HEADERS, REQUEST_BODY, REQUEST_TRAILERS, RESPONSE_HEADERS, RESPONSE_BODY, RESPONSE_TRAILERS) with FULL_DUPLEX_STREAMED body send mode.

CONTENT_AUTHZ = 2;

CONTENT_AUTHZ_VALUE

Applies to content security, sanitization, etc. Only CUSTOM action is allowed in this policy profile. AuthzExtensions in the custom provider must support EXT_PROC_GRPC protocol only and be capable of receiving all EXT_PROC_GRPC events (REQUEST_HEADERS, REQUEST_BODY, REQUEST_TRAILERS, RESPONSE_HEADERS, RESPONSE_BODY, RESPONSE_TRAILERS) with FULL_DUPLEX_STREAMED body send mode.

CONTENT_AUTHZ = 2;

POLICY_PROFILE_UNSPECIFIED

Unspecified policy profile.

POLICY_PROFILE_UNSPECIFIED = 0;

POLICY_PROFILE_UNSPECIFIED_VALUE

Unspecified policy profile.

POLICY_PROFILE_UNSPECIFIED = 0;

REQUEST_AUTHZ

Applies to request authorization. CUSTOM authorization policies with Authz extensions will be allowed with EXT_AUTHZ_GRPC or EXT_PROC_GRPC protocols. Extensions are invoked only for request header events.

REQUEST_AUTHZ = 1;

REQUEST_AUTHZ_VALUE

Applies to request authorization. CUSTOM authorization policies with Authz extensions will be allowed with EXT_AUTHZ_GRPC or EXT_PROC_GRPC protocols. Extensions are invoked only for request header events.

REQUEST_AUTHZ = 1;

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