Reference documentation and code samples for the Google Cloud Build V2 Client class GitHubConfig.
Configuration for connections to github.com.
Generated from protobuf message google.devtools.cloudbuild.v2.GitHubConfig
Namespace
Google \ Cloud \ Build \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ authorizer_credential
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.
↳ app_installation_id
int|string
GitHub App installation id.
getAuthorizerCredential
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.
hasAuthorizerCredential
clearAuthorizerCredential
setAuthorizerCredential
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.
$this
getAppInstallationId
GitHub App installation id.
int|string
setAppInstallationId
GitHub App installation id.
var
int|string
$this