# Google Cloud Secure Source Manager V1 Client - Class CustomHostConfig (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 CustomHostConfig.

Custom host config for the instance.

Generated from protobuf message `google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig`

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ html` | `string` Required. The custom UI hostname for the instance, e.g., "git.source.internal.mycompany.com" |
| `↳ api` | `string` Required. The custom API hostname for the instance, e.g., "api.source.internal.mycompany.com" |
| `↳ git_ssh` | `string` Required. The custom git ssh hostname for the instance, e.g., "ssh.source.internal.mycompany.com" |
| `↳ git_http` | `string` Required. The custom git http hostname for the instance, e.g., "git.source.internal.mycompany.com" |

### getHtml

Required. The custom UI hostname for the instance, e.g.,
"git.source.internal.mycompany.com"

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

### setHtml

Required. The custom UI hostname for the instance, e.g.,
"git.source.internal.mycompany.com"

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

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

### getApi

Required. The custom API hostname for the instance, e.g.,
"api.source.internal.mycompany.com"

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

### setApi

Required. The custom API hostname for the instance, e.g.,
"api.source.internal.mycompany.com"

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

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

### getGitSsh

Required. The custom git ssh hostname for the instance, e.g.,
"ssh.source.internal.mycompany.com"

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

### setGitSsh

Required. The custom git ssh hostname for the instance, e.g.,
"ssh.source.internal.mycompany.com"

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

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

### getGitHttp

Required. The custom git http hostname for the instance, e.g.,
"git.source.internal.mycompany.com"

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

### setGitHttp

Required. The custom git http hostname for the instance, e.g.,
"git.source.internal.mycompany.com"

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

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