Class GitHubEventsConfig (1.3.0)

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

GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.

This message is experimental.

Inheritance

Object > GitHubEventsConfig

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

GitHubEventsConfig()

public GitHubEventsConfig()

GitHubEventsConfig(GitHubEventsConfig)

public GitHubEventsConfig(GitHubEventsConfig other)
Parameter
NameDescription
otherGitHubEventsConfig

Properties

EventCase

public GitHubEventsConfig.EventOneofCase EventCase { get; }
Property Value
TypeDescription
GitHubEventsConfig.EventOneofCase

InstallationId

[Obsolete]
public long InstallationId { get; set; }

The installationID that emits the GitHub event.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
String

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