Cloud Build V1 API - Class Google::Cloud::Build::V1::RepositoryEventConfig (v1.0.0)

Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::RepositoryEventConfig.

The configuration of a trigger that creates a build whenever an event from Repo API is received.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#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

#repository

def repository() -> ::String
Returns
  • (::String) — The resource name of the Repo API resource.

#repository=

def repository=(value) -> ::String
Parameter
  • value (::String) — The resource name of the Repo API resource.
Returns
  • (::String) — The resource name of the Repo API resource.

#repository_type

def repository_type() -> ::Google::Cloud::Build::V1::RepositoryEventConfig::RepositoryType
Returns