Reference documentation and code samples for the Google Cloud Network Security V1 Client class Action.
Possible values that define what action to take.
Protobuf type google.cloud.networksecurity.v1.AuthorizationPolicy.Action
Namespace
Google \ Cloud \ NetworkSecurity \ V1 \ AuthorizationPolicyMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
ACTION_UNSPECIFIED
Value: 0
Default value.
Generated from protobuf enum ACTION_UNSPECIFIED = 0;
ALLOW
Value: 1
Grant access.
Generated from protobuf enum ALLOW = 1;
DENY
Value: 2
Deny access.
Deny rules should be avoided unless they are used to provide a default "deny all" fallback.
Generated from protobuf enum DENY = 2;