0.6.2 (latest) 0.6.1 0.5.3 0.4.1 0.3.0 0.2.2 0.1.2 Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class Installation.

Represents an installation of the GitHub App.

Generated from protobuf message `google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation`

## Namespace

Google \\ Cloud \\ DeveloperConnect \\ V1 \\ FetchGitHubInstallationsResponse

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ id` | `int|string` ID of the installation in GitHub. |
| `↳ name` | `string` Name of the GitHub user or organization that owns this installation. |
| `↳ type` | `string` Either "user" or "organization". |

### getId

ID of the installation in GitHub.

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

### setId

ID of the installation in GitHub.

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

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

### getName

Name of the GitHub user or organization that owns this installation.

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

### setName

Name of the GitHub user or organization that owns this installation.

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

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

### getType

Either "user" or "organization".

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

### setType

Either "user" or "organization".

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

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