Class TriggerGithubPullRequest
- java.lang.Object
-
- com.pulumi.gcp.cloudbuild.outputs.TriggerGithubPullRequest
-
public final class TriggerGithubPullRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TriggerGithubPullRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
branch()
static TriggerGithubPullRequest.Builder
builder()
static TriggerGithubPullRequest.Builder
builder(TriggerGithubPullRequest defaults)
java.util.Optional<java.lang.String>
commentControl()
java.util.Optional<java.lang.Boolean>
invertRegex()
-
-
-
Method Detail
-
branch
public 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.
-
builder
public static TriggerGithubPullRequest.Builder builder()
-
builder
public static TriggerGithubPullRequest.Builder builder(TriggerGithubPullRequest defaults)
-
-