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

CustomMirroringProfile defines out-of-band integration behavior (mirroring).

It is used by mirroring rules with a MIRROR action.

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

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1

## Methods

### __construct

Constructor.

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

### getMirroringEndpointGroup

Required. Immutable. The target MirroringEndpointGroup.

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

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

### setMirroringEndpointGroup

Required. Immutable. The target MirroringEndpointGroup.

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

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

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