# Cloud Build V2 API - Class Google::Cloud::Build::V2::GitHubConfig (v0.14.0)

0.14.0 (latest) 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 0.8.0 0.7.2 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Build V2 API class Google::Cloud::Build::V2::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) --- GitHub App installation id.

### #app_installation_id=

    def app_installation_id=(value) -> ::Integer

**Parameter**

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

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

### #authorizer_credential

    def authorizer_credential() -> ::Google::Cloud::Build::V2::OAuthCredential

**Returns**

- ([::Google::Cloud::Build::V2::OAuthCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-build-v2/latest/Google-Cloud-Build-V2-OAuthCredential)) --- OAuth credential of the account that authorized the Cloud Build GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the Cloud Build GitHub App.

### #authorizer_credential=

    def authorizer_credential=(value) -> ::Google::Cloud::Build::V2::OAuthCredential

**Parameter**

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

- ([::Google::Cloud::Build::V2::OAuthCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-build-v2/latest/Google-Cloud-Build-V2-OAuthCredential)) --- OAuth credential of the account that authorized the Cloud Build GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the Cloud Build GitHub App.