Class: Google::Cloud::Build::V1::PushFilter
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::PushFilter
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb
Overview
Push contains filter properties for matching GitHub git pushes.
Instance Attribute Summary collapse
-
#branch ⇒ ::String
Regexes matching branches to build.
-
#invert_regex ⇒ ::Boolean
When true, only trigger a build if the revision regex does NOT match the git_ref regex.
-
#tag ⇒ ::String
Regexes matching tags to build.
Instance Attribute Details
#branch ⇒ ::String
Returns 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.
1678 1679 1680 1681 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1678 class PushFilter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#invert_regex ⇒ ::Boolean
Returns When true, only trigger a build if the revision regex does NOT match the git_ref regex.
1678 1679 1680 1681 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1678 class PushFilter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#tag ⇒ ::String
Returns 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.
1678 1679 1680 1681 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1678 class PushFilter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |