public sealed class RepositoryEventConfig : IMessage<RepositoryEventConfig>, IEquatable<RepositoryEventConfig>, IDeepCloneable<RepositoryEventConfig>, IBufferMessage, IMessageReference 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.
Implements
IMessageRepositoryEventConfig, IEquatableRepositoryEventConfig, IDeepCloneableRepositoryEventConfig, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
RepositoryEventConfig()
public RepositoryEventConfig()RepositoryEventConfig(RepositoryEventConfig)
public RepositoryEventConfig(RepositoryEventConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
RepositoryEventConfig |
Properties
FilterCase
public RepositoryEventConfig.FilterOneofCase FilterCase { get; }| Property Value | |
|---|---|
| Type | Description |
RepositoryEventConfigFilterOneofCase |
|
PullRequest
public PullRequestFilter PullRequest { get; set; }Filter to match changes in pull requests.
| Property Value | |
|---|---|
| Type | Description |
PullRequestFilter |
|
Push
public PushFilter Push { get; set; }Filter to match changes in refs like branches, tags.
| Property Value | |
|---|---|
| Type | Description |
PushFilter |
|
Repository
public string Repository { get; set; }The resource name of the Repo API resource.
| Property Value | |
|---|---|
| Type | Description |
string |
|
RepositoryAsRepositoryName
public RepositoryName RepositoryAsRepositoryName { get; set; }RepositoryName-typed view over the Repository resource name property.
| Property Value | |
|---|---|
| Type | Description |
RepositoryName |
|
RepositoryType
public RepositoryEventConfig.Types.RepositoryType RepositoryType { get; set; }Output only. The type of the SCM vendor the repository points to.
| Property Value | |
|---|---|
| Type | Description |
RepositoryEventConfigTypesRepositoryType |
|