# Google Cloud Network Security V1 Client - Class Action (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 Action.

Possible values that define what action to take.

Protobuf type `google.cloud.networksecurity.v1.AuthorizationPolicy.Action`

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1 \\ AuthorizationPolicy

## Methods

### 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;`