Cloud Build V1 API - Class Google::Cloud::Build::V1::GitHubEventsConfig (v0.15.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.

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

#pull_request=

def pull_request=(value) -> ::Google::Cloud::Build::V1::PullRequestFilter
Parameter
Returns

#push

def push() -> ::Google::Cloud::Build::V1::PushFilter
Returns

#push=

def push=(value) -> ::Google::Cloud::Build::V1::PushFilter
Parameter
Returns