Interface CloudbuildTriggerRepositoryEventConfigPullRequest

    • Method Detail

      • getBranch

        @Stability(Stable)
        @Nullable
        default String getBranch()
        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 Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#branch CloudbuildTrigger#branch}

      • getCommentControl

        @Stability(Stable)
        @Nullable
        default String getCommentControl()
        Configure builds to run whether a repository owner or collaborator need to comment '/gcbrun'. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#comment_control CloudbuildTrigger#comment_control}

      • getInvertRegex

        @Stability(Stable)
        @Nullable
        default Object getInvertRegex()
        If true, branches that do NOT match the git_ref will trigger a build.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#invert_regex CloudbuildTrigger#invert_regex}