GoogleApi.CloudBuild.V1.Model.PullRequestFilter (google_api_cloud_build v0.38.0) View Source

PullRequestFilter contains filter properties for matching GitHub Pull Requests.

Attributes

  • branch (type: String.t, default: nil) - 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
  • commentControl (type: String.t, default: nil) - Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
  • invertRegex (type: boolean(), default: nil) - If true, branches that do NOT match the git_ref will trigger a build.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudBuild.V1.Model.PullRequestFilter{
  branch: String.t() | nil,
  commentControl: String.t() | nil,
  invertRegex: boolean() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.