Class: Google::Cloud::Build::V1::RepositoryEventConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::RepositoryEventConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb
Overview
The configuration of a trigger that creates a build whenever an event from Repo API is received.
Defined Under Namespace
Modules: RepositoryType
Instance Attribute Summary collapse
-
#pull_request ⇒ ::Google::Cloud::Build::V1::PullRequestFilter
Filter to match changes in pull requests.
-
#push ⇒ ::Google::Cloud::Build::V1::PushFilter
Filter to match changes in refs like branches, tags.
-
#repository ⇒ ::String
The resource name of the Repo API resource.
-
#repository_type ⇒ ::Google::Cloud::Build::V1::RepositoryEventConfig::RepositoryType
readonly
Output only.
Instance Attribute Details
#pull_request ⇒ ::Google::Cloud::Build::V1::PullRequestFilter
1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1694 class RepositoryEventConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # All possible SCM repo types from Repo API. module RepositoryType # If unspecified, RepositoryType defaults to GITHUB. REPOSITORY_TYPE_UNSPECIFIED = 0 # The SCM repo is GITHUB. GITHUB = 1 # The SCM repo is GITHUB Enterprise. GITHUB_ENTERPRISE = 2 # The SCM repo is GITLAB Enterprise. GITLAB_ENTERPRISE = 3 end end |
#push ⇒ ::Google::Cloud::Build::V1::PushFilter
1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1694 class RepositoryEventConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # All possible SCM repo types from Repo API. module RepositoryType # If unspecified, RepositoryType defaults to GITHUB. REPOSITORY_TYPE_UNSPECIFIED = 0 # The SCM repo is GITHUB. GITHUB = 1 # The SCM repo is GITHUB Enterprise. GITHUB_ENTERPRISE = 2 # The SCM repo is GITLAB Enterprise. GITLAB_ENTERPRISE = 3 end end |
#repository ⇒ ::String
1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1694 class RepositoryEventConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # All possible SCM repo types from Repo API. module RepositoryType # If unspecified, RepositoryType defaults to GITHUB. REPOSITORY_TYPE_UNSPECIFIED = 0 # The SCM repo is GITHUB. GITHUB = 1 # The SCM repo is GITHUB Enterprise. GITHUB_ENTERPRISE = 2 # The SCM repo is GITLAB Enterprise. GITLAB_ENTERPRISE = 3 end end |
#repository_type ⇒ ::Google::Cloud::Build::V1::RepositoryEventConfig::RepositoryType (readonly)
1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1694 class RepositoryEventConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # All possible SCM repo types from Repo API. module RepositoryType # If unspecified, RepositoryType defaults to GITHUB. REPOSITORY_TYPE_UNSPECIFIED = 0 # The SCM repo is GITHUB. GITHUB = 1 # The SCM repo is GITHUB Enterprise. GITHUB_ENTERPRISE = 2 # The SCM repo is GITLAB Enterprise. GITLAB_ENTERPRISE = 3 end end |