Class: Google::Cloud::Build::V1::GitRepoSource
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::GitRepoSource
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb
Overview
GitRepoSource describes a repo and ref of a code repository.
Instance Attribute Summary collapse
-
#github_enterprise_config ⇒ ::String
The full resource name of the github enterprise config.
-
#ref ⇒ ::String
The branch or tag to use.
-
#repo_type ⇒ ::Google::Cloud::Build::V1::GitFileSource::RepoType
See RepoType below.
-
#repository ⇒ ::String
The connected repository resource name, in the format
projects/*/locations/*/connections/*/repositories/*
. -
#uri ⇒ ::String
The URI of the repo (e.g. https://github.com/user/repo.git).
Instance Attribute Details
#github_enterprise_config ⇒ ::String
Returns The full resource name of the github enterprise config.
Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}
.
projects/{project}/githubEnterpriseConfigs/{id}
.
1300 1301 1302 1303 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1300 class GitRepoSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#ref ⇒ ::String
Returns The branch or tag to use. Must start with "refs/" (required).
1300 1301 1302 1303 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1300 class GitRepoSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#repo_type ⇒ ::Google::Cloud::Build::V1::GitFileSource::RepoType
Returns See RepoType below.
1300 1301 1302 1303 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1300 class GitRepoSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#repository ⇒ ::String
Returns The connected repository resource name, in the format
projects/*/locations/*/connections/*/repositories/*
. Either uri
or
repository
can be specified and is required.
1300 1301 1302 1303 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1300 class GitRepoSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#uri ⇒ ::String
Returns The URI of the repo (e.g. https://github.com/user/repo.git).
Either uri
or repository
can be specified and is required.
1300 1301 1302 1303 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1300 class GitRepoSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |