GitHubEventsConfigResponse

data class GitHubEventsConfigResponse(val enterpriseConfigResourceName: String, val installationId: String, val name: String, val owner: String, val pullRequest: PullRequestFilterResponse, val push: PushFilterResponse)

GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.

Constructors

Link copied to clipboard
fun GitHubEventsConfigResponse(enterpriseConfigResourceName: String, installationId: String, name: String, owner: String, pullRequest: PullRequestFilterResponse, push: PushFilterResponse)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Optional. The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

Link copied to clipboard

The installationID that emits the GitHub event.

Link copied to clipboard

Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".

Link copied to clipboard

Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".

Link copied to clipboard

filter to match changes in pull requests.

Link copied to clipboard

filter to match changes in refs like branches, tags.