public sealed class GitHubEventsConfig : IMessage<GitHubEventsConfig>, IEquatable<GitHubEventsConfig>, IDeepCloneable<GitHubEventsConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class GitHubEventsConfig.
GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.
This message is experimental.
Implements
IMessage<GitHubEventsConfig>, IEquatable<GitHubEventsConfig>, IDeepCloneable<GitHubEventsConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
GitHubEventsConfig()
public GitHubEventsConfig()
GitHubEventsConfig(GitHubEventsConfig)
public GitHubEventsConfig(GitHubEventsConfig other)
Parameter | |
---|---|
Name | Description |
other | GitHubEventsConfig |
Properties
EventCase
public GitHubEventsConfig.EventOneofCase EventCase { get; }
Property Value | |
---|---|
Type | Description |
GitHubEventsConfig.EventOneofCase |
InstallationId
[Obsolete]
public long InstallationId { get; set; }
The installationID that emits the GitHub event.
Property Value | |
---|---|
Type | Description |
Int64 |
Name
public string Name { get; set; }
Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
Property Value | |
---|---|
Type | Description |
String |
Owner
public string Owner { get; set; }
Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
Property Value | |
---|---|
Type | Description |
String |
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 |