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

Action to be taken when a URL matches a filter.

Protobuf type `google.cloud.networksecurity.v1.UrlFilter.UrlFilteringAction`

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1 \\ UrlFilter

## Methods

### static::name

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

### static::value

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

## Constants

### URL_FILTERING_ACTION_UNSPECIFIED

    Value: 0

Filtering action not specified.

Generated from protobuf enum `URL_FILTERING_ACTION_UNSPECIFIED = 0;`

### ALLOW

    Value: 1

The connection matching this filter will be allowed to transmit.

Generated from protobuf enum `ALLOW = 1;`

### DENY

    Value: 2

The connection matching this filter will be dropped.

Generated from protobuf enum `DENY = 2;`