Reference documentation and code samples for the Google Cloud Build V1 Client class GitHubEventsConfig.
GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.
Generated from protobuf message google.devtools.cloudbuild.v1.GitHubEventsConfig
Namespace
Google \ Cloud \ Build \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ installation_id
int|string
The installationID that emits the GitHub event.
↳ owner
string
Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
↳ name
string
Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
↳ pull_request
↳ push
getInstallationId
The installationID that emits the GitHub event.
int|string
setInstallationId
The installationID that emits the GitHub event.
var
int|string
$this
getOwner
Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
string
setOwner
Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
var
string
$this
getName
Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
string
setName
Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
var
string
$this
getPullRequest
filter to match changes in pull requests.
hasPullRequest
setPullRequest
filter to match changes in pull requests.
$this
getPush
filter to match changes in refs like branches, tags.
hasPush
setPush
filter to match changes in refs like branches, tags.
$this
getEvent
string