# Google Cloud Network Security V1 Client - Class AuthzAction (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.0 1.0.4 0.6.5 0.5.2 0.4.1 0.3.7 Reference documentation and code samples for the Google Cloud Network Security V1 Client class AuthzAction.

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

Protobuf type `google.cloud.networksecurity.v1.AuthzPolicy.AuthzAction`

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1 \\ AuthzPolicy

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### AUTHZ_ACTION_UNSPECIFIED

    Value: 0

Unspecified action.

Generated from protobuf enum `AUTHZ_ACTION_UNSPECIFIED = 0;`

### ALLOW

    Value: 1

Allow request to pass through to the backend.

Generated from protobuf enum `ALLOW = 1;`

### DENY

    Value: 2

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

Generated from protobuf enum `DENY = 2;`

### CUSTOM

    Value: 3

Delegate the authorization decision to an external authorization engine.

Generated from protobuf enum `CUSTOM = 3;`