Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::PullRequestFilter.
PullRequestFilter contains filter properties for matching GitHub Pull Requests.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#branch
def branch() -> ::String
-
(::String) — Regex of branches to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
#branch=
def branch=(value) -> ::String
-
value (::String) — Regex of branches to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
-
(::String) — Regex of branches to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
#comment_control
def comment_control() -> ::Google::Cloud::Build::V1::PullRequestFilter::CommentControl
-
(::Google::Cloud::Build::V1::PullRequestFilter::CommentControl) — Configure builds to run whether a repository owner or collaborator need to
comment
/gcbrun
.
#comment_control=
def comment_control=(value) -> ::Google::Cloud::Build::V1::PullRequestFilter::CommentControl
-
value (::Google::Cloud::Build::V1::PullRequestFilter::CommentControl) — Configure builds to run whether a repository owner or collaborator need to
comment
/gcbrun
.
-
(::Google::Cloud::Build::V1::PullRequestFilter::CommentControl) — Configure builds to run whether a repository owner or collaborator need to
comment
/gcbrun
.
#invert_regex
def invert_regex() -> ::Boolean
- (::Boolean) — If true, branches that do NOT match the git_ref will trigger a build.
#invert_regex=
def invert_regex=(value) -> ::Boolean
- value (::Boolean) — If true, branches that do NOT match the git_ref will trigger a build.
- (::Boolean) — If true, branches that do NOT match the git_ref will trigger a build.