Class PushFilter (3.24.0)

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

Push contains filter properties for matching GitHub git pushes.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

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

Attributes

NameDescription
branch str
Regexes matching branches to build. 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.
tag str
Regexes matching tags to build. 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.
invert_regex bool
When true, only trigger a build if the revision regex does NOT match the git_ref regex.