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