Cloud Build v1 API - Class GitHubEventsConfig (2.8.0)

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.

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
GitHubEventsConfigEventOneofCase

InstallationId

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

The installationID that emits the GitHub event.

Property Value
TypeDescription
long

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