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 \ FetchGitHubInstallationsResponseMethods
__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 |
|