GitHubEventsConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received. This message is experimental.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
installation_id |
int
The installationID that emits the GitHub event. |
owner |
str
Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform". |
name |
str
Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders". |
pull_request |
google.cloud.devtools.cloudbuild_v1.types.PullRequestFilter
filter to match changes in pull requests. This field is a member of oneof _ event .
|
push |
google.cloud.devtools.cloudbuild_v1.types.PushFilter
filter to match changes in refs like branches, tags. This field is a member of oneof _ event .
|