Cloud Build V1 API - Class Google::Cloud::Build::V1::StorageSource (v0.24.0)

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
Returns

#bucket=

def bucket=(value) -> ::String
Parameter
Returns

#generation

def generation() -> ::Integer
Returns
  • (::Integer) — Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

#generation=

def generation=(value) -> ::Integer
Parameter
  • value (::Integer) — Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
Returns
  • (::Integer) — Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

#object

def object() -> ::String
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::String) — Cloud Storage object containing the source.

    This object must be a zipped (.zip) or gzipped archive file (.tar.gz) containing source to build.