Cloud Build v1 API - Class PushFilter (2.8.0)

public sealed class PushFilter : IMessage<PushFilter>, IEquatable<PushFilter>, IDeepCloneable<PushFilter>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Build v1 API class PushFilter.

Push contains filter properties for matching GitHub git pushes.

Inheritance

object > PushFilter

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

PushFilter()

public PushFilter()

PushFilter(PushFilter)

public PushFilter(PushFilter other)
Parameter
NameDescription
otherPushFilter

Properties

Branch

public string Branch { get; set; }

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

Property Value
TypeDescription
string

GitRefCase

public PushFilter.GitRefOneofCase GitRefCase { get; }
Property Value
TypeDescription
PushFilterGitRefOneofCase

HasBranch

public bool HasBranch { get; }

Gets whether the "branch" field is set

Property Value
TypeDescription
bool

HasTag

public bool HasTag { get; }

Gets whether the "tag" field is set

Property Value
TypeDescription
bool

InvertRegex

public bool InvertRegex { get; set; }

When true, only trigger a build if the revision regex does NOT match the git_ref regex.

Property Value
TypeDescription
bool

Tag

public string Tag { get; set; }

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

Property Value
TypeDescription
string