GitHubEventsConfigArgs

data class GitHubEventsConfigArgs(val enterpriseConfigResourceName: Output<String>? = null, val installationId: Output<String>? = null, val name: Output<String>? = null, val owner: Output<String>? = null, val pullRequest: Output<PullRequestFilterArgs>? = null, val push: Output<PushFilterArgs>? = null) : ConvertibleToJava<GitHubEventsConfigArgs>

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

Constructors

Link copied to clipboard
fun GitHubEventsConfigArgs(enterpriseConfigResourceName: Output<String>? = null, installationId: Output<String>? = null, name: Output<String>? = null, owner: Output<String>? = null, pullRequest: Output<PullRequestFilterArgs>? = null, push: Output<PushFilterArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GitHubEventsConfigArgs

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
val installationId: Output<String>? = null

The installationID that emits the GitHub event.

Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
val owner: Output<String>? = null

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

Link copied to clipboard
val pullRequest: Output<PullRequestFilterArgs>? = null

filter to match changes in pull requests.

Link copied to clipboard
val push: Output<PushFilterArgs>? = null

filter to match changes in refs like branches, tags.