# Google Cloud BeyondCorp Client Connector Services V1 Client - Class DestinationRoute (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.4.5 0.3.2 0.2.2 0.1.6 Reference documentation and code samples for the Google Cloud BeyondCorp Client Connector Services V1 Client class DestinationRoute.

The setting used to configure ClientGateways.

It is adding routes to the client's routing table
after the connection is established.

Generated from protobuf message `google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.DestinationRoute`

## Namespace

Google \\ Cloud \\ BeyondCorp \\ ClientConnectorServices \\ V1 \\ ClientConnectorService \\ Ingress \\ Config

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ address` | `string` Required. The network address of the subnet for which the packet is routed to the ClientGateway. |
| `↳ netmask` | `string` Required. The network mask of the subnet for which the packet is routed to the ClientGateway. |

### getAddress

Required. The network address of the subnet
for which the packet is routed to the ClientGateway.

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

### setAddress

Required. The network address of the subnet
for which the packet is routed to the ClientGateway.

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

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

### getNetmask

Required. The network mask of the subnet
for which the packet is routed to the ClientGateway.

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

### setNetmask

Required. The network mask of the subnet
for which the packet is routed to the ClientGateway.

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

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