1.3.0 (latest) 1.2.3 1.1.4 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 AppConnections V1 Client class ApplicationEndpoint.

ApplicationEndpoint represents a remote application endpoint.

Generated from protobuf message `google.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint`

## Namespace

Google \\ Cloud \\ BeyondCorp \\ AppConnections \\ V1 \\ AppConnection

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ host` | `string` Required. Hostname or IP address of the remote application endpoint. |
| `↳ port` | `int` Required. Port of the remote application endpoint. |

### getHost

Required. Hostname or IP address of the remote application endpoint.

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

### setHost

Required. Hostname or IP address of the remote application endpoint.

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

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

### getPort

Required. Port of the remote application endpoint.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setPort

Required. Port of the remote application endpoint.

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

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