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
-
(::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
-
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.
-
(::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
-
(::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
-
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.
-
(::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.
#repository
def repository() -> ::String
- (::String) — The resource name of the Repo API resource.
#repository=
def repository=(value) -> ::String
- value (::String) — The resource name of the Repo API resource.
- (::String) — The resource name of the Repo API resource.
#repository_type
def repository_type() -> ::Google::Cloud::Build::V1::RepositoryEventConfig::RepositoryType
- (::Google::Cloud::Build::V1::RepositoryEventConfig::RepositoryType) — Output only. The type of the SCM vendor the repository points to.