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

CustomInterceptProfile defines in-band integration behavior (intercept).

It is used by firewall rules with an APPLY_SECURITY_PROFILE_GROUP action.

Generated from protobuf message `google.cloud.networksecurity.v1.CustomInterceptProfile`

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ intercept_endpoint_group` | `string` Required. The target InterceptEndpointGroup. When a firewall rule with this security profile attached matches a packet, the packet will be intercepted to the location-local target in this group. |

### getInterceptEndpointGroup

Required. The target InterceptEndpointGroup.

When a firewall rule with this security profile attached matches a packet,
the packet will be intercepted to the location-local target in this group.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setInterceptEndpointGroup

Required. The target InterceptEndpointGroup.

When a firewall rule with this security profile attached matches a packet,
the packet will be intercepted to the location-local target in this group.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |