Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::GitHubEventsConfig.
GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#installation_id
def installation_id() -> ::Integer
- (::Integer) — The installationID that emits the GitHub event.
#installation_id=
def installation_id=(value) -> ::Integer
- value (::Integer) — The installationID that emits the GitHub event.
- (::Integer) — The installationID that emits the GitHub event.
#name
def name() -> ::String
- (::String) — Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
#name=
def name=(value) -> ::String
- value (::String) — Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
- (::String) — Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
#owner
def owner() -> ::String
- (::String) — Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
#owner=
def owner=(value) -> ::String
- value (::String) — Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
- (::String) — Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
#pull_request
def pull_request() -> ::Google::Cloud::Build::V1::PullRequestFilter
-
(::Google::Cloud::Build::V1::PullRequestFilter) — filter to match changes in pull requests.
Note: The following fields are mutually exclusive:
pull_request
,push
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#pull_request=
def pull_request=(value) -> ::Google::Cloud::Build::V1::PullRequestFilter
-
value (::Google::Cloud::Build::V1::PullRequestFilter) — filter to match changes in pull requests.
Note: The following fields are mutually exclusive:
pull_request
,push
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Build::V1::PullRequestFilter) — filter to match changes in pull requests.
Note: The following fields are mutually exclusive:
pull_request
,push
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#push
def push() -> ::Google::Cloud::Build::V1::PushFilter
-
(::Google::Cloud::Build::V1::PushFilter) — filter to match changes in refs like branches, tags.
Note: The following fields are mutually exclusive:
push
,pull_request
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#push=
def push=(value) -> ::Google::Cloud::Build::V1::PushFilter
-
value (::Google::Cloud::Build::V1::PushFilter) — filter to match changes in refs like branches, tags.
Note: The following fields are mutually exclusive:
push
,pull_request
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Build::V1::PushFilter) — filter to match changes in refs like branches, tags.
Note: The following fields are mutually exclusive:
push
,pull_request
. If a field in that set is populated, all other fields in the set will automatically be cleared.