Class GitHubEventsConfig
GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.
Implements
Inherited Members
Namespace: Google.Apis.CloudBuild.v1.Data
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class GitHubEventsConfig : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnterpriseConfigResourceName
The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
Declaration
[JsonProperty("enterpriseConfigResourceName")]
public virtual string EnterpriseConfigResourceName { get; set; }
Property Value
Type | Description |
---|---|
string |
InstallationId
The installationID that emits the GitHub event.
Declaration
[JsonProperty("installationId")]
public virtual long? InstallationId { get; set; }
Property Value
Type | Description |
---|---|
long? |
Name
Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Owner
Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
Declaration
[JsonProperty("owner")]
public virtual string Owner { get; set; }
Property Value
Type | Description |
---|---|
string |
PullRequest
filter to match changes in pull requests.
Declaration
[JsonProperty("pullRequest")]
public virtual PullRequestFilter PullRequest { get; set; }
Property Value
Type | Description |
---|---|
PullRequestFilter |
Push
filter to match changes in refs like branches, tags.
Declaration
[JsonProperty("push")]
public virtual PushFilter Push { get; set; }
Property Value
Type | Description |
---|---|
PushFilter |