Cloud Build V1 API - Class Google::Cloud::Build::V1::GitHubEventsConfig (v1.4.0)

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
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.

    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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.