GitHubEventsConfig constructor

const GitHubEventsConfig({
  1. Input<String>? enterpriseConfigResourceName,
  2. Input<String>? installationId,
  3. Input<String>? name,
  4. Input<String>? owner,
  5. Input<PullRequestFilter>? pullRequest,
  6. Input<PushFilter>? push,
})

Creates a new GitHubEventsConfig. enterpriseConfigResourceName Optional. 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}" installationId The installationID that emits the GitHub event. name Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders". owner Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform". pullRequest filter to match changes in pull requests. push filter to match changes in refs like branches, tags.

Implementation

const GitHubEventsConfig({
  this.enterpriseConfigResourceName,
  this.installationId,
  this.name,
  this.owner,
  this.pullRequest,
  this.push,
});