Class: Google::Cloud::Build::V1::StorageSource
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::StorageSource
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb
Overview
Location of the source in an archive file in Cloud Storage.
Defined Under Namespace
Modules: SourceFetcher
Instance Attribute Summary collapse
-
#bucket ⇒ ::String
Cloud Storage bucket containing the source (see Bucket Name Requirements).
-
#generation ⇒ ::Integer
Cloud Storage generation for the object.
-
#object ⇒ ::String
Cloud Storage object containing the source.
-
#source_fetcher ⇒ ::Google::Cloud::Build::V1::StorageSource::SourceFetcher
Option to specify the tool to fetch the source file for the build.
Instance Attribute Details
#bucket ⇒ ::String
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 79 class StorageSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the tool to fetch the source file for the build. module SourceFetcher # Unspecified. Defaults to GSUTIL. SOURCE_FETCHER_UNSPECIFIED = 0 # Use the "gsutil" tool to download the source file. GSUTIL = 1 # Use the Cloud Storage Fetcher tool to download the source file. GCS_FETCHER = 2 end end |
#generation ⇒ ::Integer
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 79 class StorageSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the tool to fetch the source file for the build. module SourceFetcher # Unspecified. Defaults to GSUTIL. SOURCE_FETCHER_UNSPECIFIED = 0 # Use the "gsutil" tool to download the source file. GSUTIL = 1 # Use the Cloud Storage Fetcher tool to download the source file. GCS_FETCHER = 2 end end |
#object ⇒ ::String
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 79 class StorageSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the tool to fetch the source file for the build. module SourceFetcher # Unspecified. Defaults to GSUTIL. SOURCE_FETCHER_UNSPECIFIED = 0 # Use the "gsutil" tool to download the source file. GSUTIL = 1 # Use the Cloud Storage Fetcher tool to download the source file. GCS_FETCHER = 2 end end |
#source_fetcher ⇒ ::Google::Cloud::Build::V1::StorageSource::SourceFetcher
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 79 class StorageSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the tool to fetch the source file for the build. module SourceFetcher # Unspecified. Defaults to GSUTIL. SOURCE_FETCHER_UNSPECIFIED = 0 # Use the "gsutil" tool to download the source file. GSUTIL = 1 # Use the Cloud Storage Fetcher tool to download the source file. GCS_FETCHER = 2 end end |