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
Returns Cloud Storage bucket containing the source (see Bucket Name Requirements).
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
Returns Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
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
Returns Cloud Storage object containing the source.
This object must be a zipped (.zip
) or gzipped archive file (.tar.gz
)
containing source to build.
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
Returns Option to specify the tool to fetch the source file for the build.
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 |