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
- (::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.
#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
- (::Google::Cloud::Build::V1::RepositoryEventConfig::RepositoryType) — Output only. The type of the SCM vendor the repository points to.