TriggerRepositoryEventConfigPullRequestArgs

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

Constructors

fun TriggerRepositoryEventConfigPullRequestArgs(branch: Output<String>? = null, commentControl: Output<String>? = null, invertRegex: Output<Boolean>? = null)

Functions

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

Properties

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

Regex of branches to match.

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

Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values are COMMENTS_DISABLED, COMMENTS_ENABLED, and 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.