# Developer Connect V1 API - Class Google::Cloud::DeveloperConnect::V1::GitHubConfig (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::GitHubConfig.

Configuration for connections to github.com.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #app_installation_id

    def app_installation_id() -> ::Integer

**Returns**

- (::Integer) --- Optional. GitHub App installation id.

### #app_installation_id=

    def app_installation_id=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. GitHub App installation id.
**Returns**

- (::Integer) --- Optional. GitHub App installation id.

### #authorizer_credential

    def authorizer_credential() -> ::Google::Cloud::DeveloperConnect::V1::OAuthCredential

**Returns**

- ([::Google::Cloud::DeveloperConnect::V1::OAuthCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-OAuthCredential)) --- Optional. OAuth credential of the account that authorized the GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the GitHub App of this config.

### #authorizer_credential=

    def authorizer_credential=(value) -> ::Google::Cloud::DeveloperConnect::V1::OAuthCredential

**Parameter**

- **value** ([::Google::Cloud::DeveloperConnect::V1::OAuthCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-OAuthCredential)) --- Optional. OAuth credential of the account that authorized the GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the GitHub App of this config.
**Returns**

- ([::Google::Cloud::DeveloperConnect::V1::OAuthCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-OAuthCredential)) --- Optional. OAuth credential of the account that authorized the GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the GitHub App of this config.

### #github_app

    def github_app() -> ::Google::Cloud::DeveloperConnect::V1::GitHubConfig::GitHubApp

**Returns**

- ([::Google::Cloud::DeveloperConnect::V1::GitHubConfig::GitHubApp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-GitHubConfig-GitHubApp)) --- Required. Immutable. The GitHub Application that was installed to the GitHub user or organization.

### #github_app=

    def github_app=(value) -> ::Google::Cloud::DeveloperConnect::V1::GitHubConfig::GitHubApp

**Parameter**

- **value** ([::Google::Cloud::DeveloperConnect::V1::GitHubConfig::GitHubApp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-GitHubConfig-GitHubApp)) --- Required. Immutable. The GitHub Application that was installed to the GitHub user or organization.
**Returns**

- ([::Google::Cloud::DeveloperConnect::V1::GitHubConfig::GitHubApp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-GitHubConfig-GitHubApp)) --- Required. Immutable. The GitHub Application that was installed to the GitHub user or organization.

### #installation_uri

    def installation_uri() -> ::String

**Returns**

- (::String) --- Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.