TriggerRepositoryEventConfigPullRequest

data class TriggerRepositoryEventConfigPullRequest(val branch: String? = null, val commentControl: String? = null, val invertRegex: Boolean? = null)

Constructors

Link copied to clipboard
constructor(branch: String? = null, commentControl: String? = null, invertRegex: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val branch: String? = null

Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

Link copied to clipboard
val commentControl: String? = null

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values are: COMMENTS_DISABLED, COMMENTS_ENABLED, COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY.

Link copied to clipboard
val invertRegex: Boolean? = null

If true, branches that do NOT match the git_ref will trigger a build.