Class PullRequestFilter
PullRequestFilter contains filter properties for matching GitHub Pull Requests.
Implements
Inherited Members
Namespace: Google.Apis.CloudBuild.v1.Data
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class PullRequestFilter : IDirectResponseSchema
Properties
Branch
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
Declaration
[JsonProperty("branch")]
public virtual string Branch { get; set; }
Property Value
Type | Description |
---|---|
string |
CommentControl
If CommentControl is enabled, depending on the setting, builds may not fire until a repository writer
comments /gcbrun
on a pull request or /gcbrun
is in the pull request description. Only PR comments that
contain /gcbrun
will trigger builds. If CommentControl is set to disabled, comments with /gcbrun
from a
user with repository write permission or above will still trigger builds to run.
Declaration
[JsonProperty("commentControl")]
public virtual string CommentControl { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
InvertRegex
If true, branches that do NOT match the git_ref will trigger a build.
Declaration
[JsonProperty("invertRegex")]
public virtual bool? InvertRegex { get; set; }
Property Value
Type | Description |
---|---|
bool? |