Reference documentation and code samples for the Google Cloud Build V1 Client class PushFilter.
Push contains filter properties for matching GitHub git pushes.
Generated from protobuf message google.devtools.cloudbuild.v1.PushFilter
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ branch
string
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
↳ tag
string
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
↳ invert_regex
bool
When true, only trigger a build if the revision regex does NOT match the git_ref regex.
getBranch
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
string
hasBranch
setBranch
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
var
string
$this
getTag
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
string
hasTag
setTag
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
var
string
$this
getInvertRegex
When true, only trigger a build if the revision regex does NOT match the git_ref regex.
bool
setInvertRegex
When true, only trigger a build if the revision regex does NOT match the git_ref regex.
var
bool
$this
getGitRef
string