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.
This message is experimental.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#installation_id
def installation_id() -> ::Integer
Returns
- (::Integer) — The installationID that emits the GitHub event.
#installation_id=
def installation_id=(value) -> ::Integer
Parameter
- value (::Integer) — The installationID that emits the GitHub event.
Returns
- (::Integer) — The installationID that emits the GitHub event.
#name
def name() -> ::String
Returns
- (::String) — Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
Returns
- (::String) — Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
#owner
def owner() -> ::String
Returns
- (::String) — Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
#owner=
def owner=(value) -> ::String
Parameter
- value (::String) — Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
Returns
- (::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
Returns
- (::Google::Cloud::Build::V1::PullRequestFilter) — filter to match changes in pull requests.
#pull_request=
def pull_request=(value) -> ::Google::Cloud::Build::V1::PullRequestFilter
Parameter
- value (::Google::Cloud::Build::V1::PullRequestFilter) — filter to match changes in pull requests.
Returns
- (::Google::Cloud::Build::V1::PullRequestFilter) — filter to match changes in pull requests.
#push
def push() -> ::Google::Cloud::Build::V1::PushFilter
Returns
- (::Google::Cloud::Build::V1::PushFilter) — filter to match changes in refs like branches, tags.
#push=
def push=(value) -> ::Google::Cloud::Build::V1::PushFilter
Parameter
- value (::Google::Cloud::Build::V1::PushFilter) — filter to match changes in refs like branches, tags.
Returns
- (::Google::Cloud::Build::V1::PushFilter) — filter to match changes in refs like branches, tags.