Cloud Build v1 API - Class GitHubEventsConfig (2.10.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
Name Description
other GitHubEventsConfig

Properties

EventCase

public GitHubEventsConfig.EventOneofCase EventCase { get; }
Property Value
Type Description
GitHubEventsConfigEventOneofCase

InstallationId

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

The installationID that emits the GitHub event.

Property Value
Type Description
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
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