RepositoryEventConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The configuration of a trigger that creates a build whenever an event from Repo API is received.
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 |
repository |
str
The resource name of the Repo API resource. |
repository_type |
google.cloud.devtools.cloudbuild_v1.types.RepositoryEventConfig.RepositoryType
Output only. The type of the SCM vendor the repository points to. |
pull_request |
google.cloud.devtools.cloudbuild_v1.types.PullRequestFilter
Filter to match changes in pull requests. This field is a member of oneof _ filter .
|
push |
google.cloud.devtools.cloudbuild_v1.types.PushFilter
Filter to match changes in refs like branches, tags. This field is a member of oneof _ filter .
|
Classes
RepositoryType
RepositoryType(value)
All possible SCM repo types from Repo API.
Values: REPOSITORY_TYPE_UNSPECIFIED (0): If unspecified, RepositoryType defaults to GITHUB. GITHUB (1): The SCM repo is GITHUB. GITHUB_ENTERPRISE (2): The SCM repo is GITHUB Enterprise. GITLAB_ENTERPRISE (3): The SCM repo is GITLAB Enterprise.