Class TriggerRepositoryEventConfigPullRequest


  • public final class TriggerRepositoryEventConfigPullRequest
    extends java.lang.Object
    • Method Detail

      • branch

        public java.util.Optional<java.lang.String> branch()
        Returns:
        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
      • commentControl

        public java.util.Optional<java.lang.String> commentControl()
        Returns:
        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`.
      • invertRegex

        public java.util.Optional<java.lang.Boolean> invertRegex()
        Returns:
        If true, branches that do NOT match the git_ref will trigger a build.