public sealed class PullRequestFilter : IMessage<PullRequestFilter>, IEquatable<PullRequestFilter>, IDeepCloneable<PullRequestFilter>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class PullRequestFilter.
PullRequestFilter contains filter properties for matching GitHub Pull Requests.
Implements
IMessage<PullRequestFilter>, IEquatable<PullRequestFilter>, IDeepCloneable<PullRequestFilter>, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
PullRequestFilter()
public PullRequestFilter()
PullRequestFilter(PullRequestFilter)
public PullRequestFilter(PullRequestFilter other)
Parameter | |
---|---|
Name | Description |
other | PullRequestFilter |
Properties
Branch
public string Branch { get; set; }
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
Property Value | |
---|---|
Type | Description |
String |
CommentControl
public PullRequestFilter.Types.CommentControl CommentControl { get; set; }
Configure builds to run whether a repository owner or collaborator need to
comment /gcbrun
.
Property Value | |
---|---|
Type | Description |
PullRequestFilter.Types.CommentControl |
GitRefCase
public PullRequestFilter.GitRefOneofCase GitRefCase { get; }
Property Value | |
---|---|
Type | Description |
PullRequestFilter.GitRefOneofCase |
InvertRegex
public bool InvertRegex { get; set; }
If true, branches that do NOT match the git_ref will trigger a build.
Property Value | |
---|---|
Type | Description |
Boolean |