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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[[["\u003cp\u003eThe latest version available for the Cloud Build v1 API class PullRequestFilter is 2.15.0, with multiple previous versions available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe PullRequestFilter class, part of the Google.Cloud.CloudBuild.V1 namespace, is designed to set up filters for matching GitHub Pull Requests, inheriting from the object class and implementing several interfaces such as IMessage and IEquatable.\u003c/p\u003e\n"],["\u003cp\u003ePullRequestFilter has properties such as Branch, which allows for specifying a regular expression to match branches, CommentControl, to manage build triggering based on repository owner comments, and InvertRegex, which if true, triggers builds on branches that do not match the git_ref.\u003c/p\u003e\n"],["\u003cp\u003eThe PullRequestFilter class can be constructed with no parameters, or with another PullRequestFilter object, and it includes methods and inherited members from the object class.\u003c/p\u003e\n"],["\u003cp\u003eThe GitRefCase property indicates the current state of the git reference (branch), allowing for conditional logic based on the presence of a branch definition, and the HasBranch property indicates whether the "branch" field is set.\u003c/p\u003e\n"]]],[],null,[]]