Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class GitHubConfig.
Configuration for connections to github.com.
Generated from protobuf message google.cloud.developerconnect.v1.GitHubConfig
Namespace
Google \ Cloud \ DeveloperConnect \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ github_app
int
Required. Immutable. The GitHub Application that was installed to the GitHub user or organization.
↳ authorizer_credential
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.
↳ 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.
int
setGithubApp
Required. Immutable. The GitHub Application that was installed to the GitHub user or organization.
var
int
$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.
hasAuthorizerCredential
clearAuthorizerCredential
setAuthorizerCredential
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.
$this
getAppInstallationId
Optional. GitHub App installation id.
int|string
setAppInstallationId
Optional. GitHub App installation id.
var
int|string
$this
getInstallationUri
Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.
string
setInstallationUri
Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.
var
string
$this