GitHubEventsConfigResponse class
GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.
Constructors
-
GitHubEventsConfigResponse({required Input<
String> enterpriseConfigResourceName, required Input<String> installationId, required Input<String> name, required Input<String> owner, required Input<PullRequestFilterResponse> pullRequest, required Input<PushFilterResponse> push}) -
Creates a new GitHubEventsConfigResponse.
enterpriseConfigResourceNameOptional. 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}"installationIdThe installationID that emits the GitHub event.nameName of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".ownerOwner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".pullRequestfilter to match changes in pull requests.pushfilter to match changes in refs like branches, tags.const -
GitHubEventsConfigResponse.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<
PullRequestFilterResponse> -
filter to match changes in pull requests.
final
-
push
→ Input<
PushFilterResponse> -
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