Cloud Build v1 API - Class RepositoryEventConfig (2.6.0)

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

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

The configuration of a trigger that creates a build whenever an event from Repo API is received.

Inheritance

object > RepositoryEventConfig

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

RepositoryEventConfig()

public RepositoryEventConfig()

RepositoryEventConfig(RepositoryEventConfig)

public RepositoryEventConfig(RepositoryEventConfig other)
Parameter
NameDescription
otherRepositoryEventConfig

Properties

FilterCase

public RepositoryEventConfig.FilterOneofCase FilterCase { get; }
Property Value
TypeDescription
RepositoryEventConfigFilterOneofCase

PullRequest

public PullRequestFilter PullRequest { get; set; }

Filter to match changes in pull requests.

Property Value
TypeDescription
PullRequestFilter

Push

public PushFilter Push { get; set; }

Filter to match changes in refs like branches, tags.

Property Value
TypeDescription
PushFilter

Repository

public string Repository { get; set; }

The resource name of the Repo API resource.

Property Value
TypeDescription
string

RepositoryAsRepositoryName

public RepositoryName RepositoryAsRepositoryName { get; set; }

RepositoryName-typed view over the Repository resource name property.

Property Value
TypeDescription
RepositoryName

RepositoryType

public RepositoryEventConfig.Types.RepositoryType RepositoryType { get; set; }

Output only. The type of the SCM vendor the repository points to.

Property Value
TypeDescription
RepositoryEventConfigTypesRepositoryType