Class PullRequestFilter (3.7.1)

PullRequestFilter(mapping=None, *, ignore_unknown_fields=False, **kwargs)

PullRequestFilter contains filter properties for matching GitHub Pull Requests.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
branch str
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 This field is a member of oneof_ git_ref.
comment_control google.cloud.devtools.cloudbuild_v1.types.PullRequestFilter.CommentControl
Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
invert_regex bool
If true, branches that do NOT match the git_ref will trigger a build.

Classes

CommentControl

CommentControl(value)

Controls behavior of Pull Request comments.