CloudbuildTriggerRepositoryEventConfig class
repository_event_config block (v2 form). Wires the trigger to a
cloudbuildv2_repository (which in turn references a
cloudbuildv2_connection). The connection abstracts the SCM
provider — GitHub, GitHub Enterprise, GitLab Self-Managed,
Bitbucket Data Center, Bitbucket Cloud — behind one uniform Repo
API surface.
Pick exactly one of push / pullRequest.
- Annotations
-
- @immutable
Constructors
-
CloudbuildTriggerRepositoryEventConfig({TfArg<
String> ? repository, CloudbuildTriggerPushFilter? push, CloudbuildTriggerPullRequestFilter? pullRequest}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pullRequest → CloudbuildTriggerPullRequestFilter?
-
Pull-request filter. Mutually exclusive with push.
final
- push → CloudbuildTriggerPushFilter?
-
Push-event filter. Mutually exclusive with pullRequest.
final
-
repository
→ TfArg<
String> ? -
Resource name of the
cloudbuildv2_repository. Format:'projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}'. Within a Terraform configuration typically passed asTfArg.ref(repo.id)against a siblinggoogle_cloudbuildv2_repository.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
-
toArgMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited