TriggerGithub

data class TriggerGithub(val enterpriseConfigResourceName: String? = null, val name: String? = null, val owner: String? = null, val pullRequest: TriggerGithubPullRequest? = null, val push: TriggerGithubPush? = null)

Constructors

Link copied to clipboard
constructor(enterpriseConfigResourceName: String? = null, name: String? = null, owner: String? = null, pullRequest: TriggerGithubPullRequest? = null, push: TriggerGithubPush? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"

Link copied to clipboard
val name: 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: String? = null

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. Specify only one of pull_request or push. Structure is documented below.

Link copied to clipboard
val push: TriggerGithubPush? = null

filter to match changes in refs, like branches or tags. Specify only one of pull_request or push. Structure is documented below.