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

Note: The following fields are mutually exclusive: branch, tag. If a field in that set is populated, all other fields in the set will automatically be cleared.

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

    Note: The following fields are mutually exclusive: branch, tag. If a field in that set is populated, all other fields in the set will automatically be cleared.



1889
1890
1891
1892
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1889

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.



1889
1890
1891
1892
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1889

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

Note: The following fields are mutually exclusive: tag, branch. If a field in that set is populated, all other fields in the set will automatically be cleared.

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

    Note: The following fields are mutually exclusive: tag, branch. If a field in that set is populated, all other fields in the set will automatically be cleared.



1889
1890
1891
1892
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1889

class PushFilter
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end