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
Optional.
-
#object ⇒ ::String
Required.
-
#source_fetcher ⇒ ::Google::Cloud::Build::V1::StorageSource::SourceFetcher
Optional.
Instance Attribute Details
#bucket ⇒ ::String
Returns Cloud Storage bucket containing the source (see Bucket Name Requirements).
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 113 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 Optional. Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 113 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 Required. Cloud Storage object containing the source.
This object must be a zipped (.zip) or gzipped archive file (.tar.gz)
containing source to build.
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 113 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 Optional. Option to specify the tool to fetch the source file for the build.
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 113 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 |