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.
↳ app_installation_id
int|string
Optional. GitHub App installation id.
↳ installation_uri
string
Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.
getGithubApp
Required. Immutable. The GitHub Application that was installed to the
GitHub user or organization.
Returns
Type
Description
int
setGithubApp
Required. Immutable. The GitHub Application that was installed to the
GitHub user or organization.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getAuthorizerCredential
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Developer Connect V1 Client - Class GitHubConfig (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/cloud-developerconnect/latest/V1.GitHubConfig)\n- [0.4.0](/php/docs/reference/cloud-developerconnect/0.4.0/V1.GitHubConfig)\n- [0.3.0](/php/docs/reference/cloud-developerconnect/0.3.0/V1.GitHubConfig)\n- [0.2.2](/php/docs/reference/cloud-developerconnect/0.2.2/V1.GitHubConfig)\n- [0.1.2](/php/docs/reference/cloud-developerconnect/0.1.2/V1.GitHubConfig) \nReference documentation and code samples for the Google Cloud Developer Connect V1 Client class GitHubConfig.\n\nConfiguration for connections to github.com.\n\nGenerated from protobuf message `google.cloud.developerconnect.v1.GitHubConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DeveloperConnect \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getGithubApp\n\nRequired. Immutable. The GitHub Application that was installed to the\nGitHub user or organization.\n\n### setGithubApp\n\nRequired. Immutable. The GitHub Application that was installed to the\nGitHub user or organization.\n\n### getAuthorizerCredential\n\nOptional. OAuth credential of the account that authorized the GitHub App.\n\nIt is recommended to use a robot account instead of a human user account.\nThe OAuth token must be tied to the GitHub App of this config.\n\n### hasAuthorizerCredential\n\n### clearAuthorizerCredential\n\n### setAuthorizerCredential\n\nOptional. OAuth credential of the account that authorized the GitHub App.\n\nIt is recommended to use a robot account instead of a human user account.\nThe OAuth token must be tied to the GitHub App of this config.\n\n### getAppInstallationId\n\nOptional. GitHub App installation id.\n\n### setAppInstallationId\n\nOptional. GitHub App installation id.\n\n### getInstallationUri\n\nOutput only. The URI to navigate to in order to manage the installation\nassociated with this GitHubConfig.\n\n### setInstallationUri\n\nOutput only. The URI to navigate to in order to manage the installation\nassociated with this GitHubConfig."]]