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) — 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) — 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) — 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) — 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) — Required. Immutable. The GitHub Application that was installed to the GitHub user or organization.
Returns
- (::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.