Reference documentation and code samples for the Google Cloud Network Security V1 Client class PolicyProfile.
The type of authorization being performed.
New values may be added in the future.
Protobuf type google.cloud.networksecurity.v1.AuthzPolicy.PolicyProfile
Namespace
Google \ Cloud \ NetworkSecurity \ V1 \ AuthzPolicyMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
POLICY_PROFILE_UNSPECIFIED
Value: 0Unspecified policy profile.
Generated from protobuf enum POLICY_PROFILE_UNSPECIFIED = 0;
REQUEST_AUTHZ
Value: 1Applies 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.
Generated from protobuf enum REQUEST_AUTHZ = 1;
CONTENT_AUTHZ
Value: 2Applies 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.
Generated from protobuf enum CONTENT_AUTHZ = 2;