Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::StorageSource.
Location of the source in an archive file in Cloud Storage.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bucket
def bucket() -> ::String
- (::String) — Cloud Storage bucket containing the source (see Bucket Name Requirements).
#bucket=
def bucket=(value) -> ::String
- value (::String) — Cloud Storage bucket containing the source (see Bucket Name Requirements).
- (::String) — Cloud Storage bucket containing the source (see Bucket Name Requirements).
#generation
def generation() -> ::Integer
- (::Integer) — Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
#generation=
def generation=(value) -> ::Integer
- value (::Integer) — Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
- (::Integer) — Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
#object
def object() -> ::String
-
(::String) — Cloud Storage object containing the source.
This object must be a zipped (
.zip
) or gzipped archive file (.tar.gz
) containing source to build.
#object=
def object=(value) -> ::String
-
value (::String) — Cloud Storage object containing the source.
This object must be a zipped (
.zip
) or gzipped archive file (.tar.gz
) containing source to build.
-
(::String) — Cloud Storage object containing the source.
This object must be a zipped (
.zip
) or gzipped archive file (.tar.gz
) containing source to build.
#source_fetcher
def source_fetcher() -> ::Google::Cloud::Build::V1::StorageSource::SourceFetcher
- (::Google::Cloud::Build::V1::StorageSource::SourceFetcher) — Option to specify the tool to fetch the source file for the build.
#source_fetcher=
def source_fetcher=(value) -> ::Google::Cloud::Build::V1::StorageSource::SourceFetcher
- value (::Google::Cloud::Build::V1::StorageSource::SourceFetcher) — Option to specify the tool to fetch the source file for the build.
- (::Google::Cloud::Build::V1::StorageSource::SourceFetcher) — Option to specify the tool to fetch the source file for the build.