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 \u003ccode\u003ePullRequestFilter\u003c/code\u003e class is 2.15.0, and the documentation provides links to previous versions, down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePullRequestFilter\u003c/code\u003e class, part of the Google Cloud Build v1 API, is used to define filter criteria for GitHub Pull Requests to trigger builds.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePullRequestFilter\u003c/code\u003e implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003ePullRequestFilter\u003c/code\u003e class include \u003ccode\u003eBranch\u003c/code\u003e (for specifying a regex pattern for branch matching), \u003ccode\u003eCommentControl\u003c/code\u003e (for controlling when builds are triggered based on comments), \u003ccode\u003eGitRefCase\u003c/code\u003e (for identifying the type of Git reference), and \u003ccode\u003eInvertRegex\u003c/code\u003e (for inverting the branch matching logic).\u003c/p\u003e\n"],["\u003cp\u003eConstructors are provided for creating instances of \u003ccode\u003ePullRequestFilter\u003c/code\u003e either as a default object or by copying values from another \u003ccode\u003ePullRequestFilter\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]