Class: Google::Cloud::Build::V1::PushFilter

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::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



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.

Returns:

  • (::Boolean)

    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.

Returns:

  • (::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



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