Cloud Build V1 API - Class Google::Cloud::Build::V1::PullRequestFilter (v0.12.0)

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

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

#comment_control=

def comment_control=(value) -> ::Google::Cloud::Build::V1::PullRequestFilter::CommentControl
Parameter
Returns

#invert_regex

def invert_regex() -> ::Boolean
Returns
  • (::Boolean) — If true, branches that do NOT match the git_ref will trigger a build.

#invert_regex=

def invert_regex=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, branches that do NOT match the git_ref will trigger a build.
Returns
  • (::Boolean) — If true, branches that do NOT match the git_ref will trigger a build.