# Google Cloud Network Management V1 Client - Class IpMasqueradingSkippedInfo (2.9.2)

2.9.2 (latest) 2.9.1 2.8.0 2.7.0 2.6.1 2.5.0 2.4.2 2.3.2 2.2.1 2.1.1 2.0.1 1.7.3 1.5.0 1.4.2 1.3.0 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Network Management V1 Client class IpMasqueradingSkippedInfo.

For display only. Contains information about why IP masquerading was skipped
for the packet.

Generated from protobuf message `google.cloud.networkmanagement.v1.IpMasqueradingSkippedInfo`

## Namespace

Google \\ Cloud \\ NetworkManagement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ reason` | `int` Reason why IP masquerading was not applied. |
| `↳ non_masquerade_range` | `string` The matched non-masquerade IP range. Only set if reason is DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE or DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE. |

### getReason

Reason why IP masquerading was not applied.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Reason](https://docs.cloud.google.com/php/docs/reference/cloud-network-management/latest/V1.IpMasqueradingSkippedInfo.Reason). |

### setReason

Reason why IP masquerading was not applied.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Reason](https://docs.cloud.google.com/php/docs/reference/cloud-network-management/latest/V1.IpMasqueradingSkippedInfo.Reason). |

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

### getNonMasqueradeRange

The matched non-masquerade IP range. Only set if reason is
DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE or
DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE.

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

### setNonMasqueradeRange

The matched non-masquerade IP range. Only set if reason is
DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE or
DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE.

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

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