Class: Google::Cloud::Build::V1::RepoSource
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::RepoSource
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb
Overview
Location of the source in a Google Cloud Source Repository.
Defined Under Namespace
Classes: SubstitutionsEntry
Instance Attribute Summary collapse
-
#branch_name ⇒ ::String
Regex matching branches to build.
-
#commit_sha ⇒ ::String
Explicit commit SHA to build.
-
#dir ⇒ ::String
Directory, relative to the source root, in which to run the build.
-
#invert_regex ⇒ ::Boolean
Only trigger a build if the revision regex does NOT match the revision regex.
-
#project_id ⇒ ::String
ID of the project that owns the Cloud Source Repository.
-
#repo_name ⇒ ::String
Name of the Cloud Source Repository.
-
#substitutions ⇒ ::Google::Protobuf::Map{::String => ::String}
Substitutions to use in a triggered build.
-
#tag_name ⇒ ::String
Regex matching tags to build.
Instance Attribute Details
#branch_name ⇒ ::String
Returns Regex matching branches to build.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax.
162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 162 class RepoSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class SubstitutionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#commit_sha ⇒ ::String
Returns Explicit commit SHA to build.
162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 162 class RepoSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class SubstitutionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#dir ⇒ ::String
Returns Directory, relative to the source root, in which to run the build.
This must be a relative path. If a step's dir
is specified and is an
absolute path, this value is ignored for that step's execution.
162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 162 class RepoSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class SubstitutionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#invert_regex ⇒ ::Boolean
Returns Only trigger a build if the revision regex does NOT match the revision regex.
162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 162 class RepoSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class SubstitutionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#project_id ⇒ ::String
Returns ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 162 class RepoSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class SubstitutionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#repo_name ⇒ ::String
Returns Name of the Cloud Source Repository.
162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 162 class RepoSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class SubstitutionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#substitutions ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Substitutions to use in a triggered build. Should only be used with RunBuildTrigger.
162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 162 class RepoSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class SubstitutionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#tag_name ⇒ ::String
Returns Regex matching tags to build.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax.
162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 162 class RepoSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class SubstitutionsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |