# Google Cloud Secure Source Manager V1 Client - Class HostConfig (1.8.0)

1.8.0 (latest) 1.7.0 1.6.3 1.5.0 1.4.1 1.3.3 1.2.0 1.1.0 1.0.0 0.2.5 0.1.0 Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class HostConfig.

HostConfig has different instance endpoints.

Generated from protobuf message `google.cloud.securesourcemanager.v1.Instance.HostConfig`

## Namespace

Google \\ Cloud \\ SecureSourceManager \\ V1 \\ Instance

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ html` | `string` Output only. HTML hostname. |
| `↳ api` | `string` Output only. API hostname. |
| `↳ git_http` | `string` Output only. Git HTTP hostname. |
| `↳ git_ssh` | `string` Output only. Git SSH hostname. |

### getHtml

Output only. HTML hostname.

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

### setHtml

Output only. HTML hostname.

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

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

### getApi

Output only. API hostname.

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

### setApi

Output only. API hostname.

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

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

### getGitHttp

Output only. Git HTTP hostname.

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

### setGitHttp

Output only. Git HTTP hostname.

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

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

### getGitSsh

Output only. Git SSH hostname.

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

### setGitSsh

Output only. Git SSH hostname.

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

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