GitHubEventsConfig class

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

Constructors

GitHubEventsConfig({Input<String>? enterpriseConfigResourceName, Input<String>? installationId, Input<String>? name, Input<String>? owner, Input<PullRequestFilter>? pullRequest, 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.
const
GitHubEventsConfig.fromMap(Map<String, dynamic> map)
factory

Properties

enterpriseConfigResourceName → Input<String>?
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}"
final
hashCode → int
The hash code for this object.
no setterinherited
installationId → Input<String>?
The installationID that emits the GitHub event.
final
name → Input<String>?
Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
final
owner → Input<String>?
Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
final
pullRequest → Input<PullRequestFilter>?
filter to match changes in pull requests.
final
push → Input<PushFilter>?
filter to match changes in refs like branches, tags.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited