TriggerGithubPullRequestArgs

data class TriggerGithubPullRequestArgs(val branch: Output<String>, val commentControl: Output<String>? = null, val invertRegex: Output<Boolean>? = null) : ConvertibleToJava<TriggerGithubPullRequestArgs>

Constructors

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

Properties

Link copied to clipboard
val branch: Output<String>

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: Output<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: Output<Boolean>? = null

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

Functions

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