Reference documentation and code samples for the Google Cloud Build V1 Client class StorageSource.
Location of the source in an archive file in Cloud Storage.
Generated from protobuf message google.devtools.cloudbuild.v1.StorageSource
Namespace
Google \ Cloud \ Build \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ bucket
↳ object
string
Cloud Storage object containing the source. This object must be a zipped ( .zip
) or gzipped archive file ( .tar.gz
) containing source to build.
↳ generation
int|string
Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
getBucket
Cloud Storage bucket containing the source (see Bucket Name Requirements ).
string
setBucket
Cloud Storage bucket containing the source (see Bucket Name Requirements ).
var
string
$this
getObject
Cloud Storage object containing the source.
This object must be a zipped ( .zip
) or gzipped archive file ( .tar.gz
)
containing source to build.
string
setObject
Cloud Storage object containing the source.
This object must be a zipped ( .zip
) or gzipped archive file ( .tar.gz
)
containing source to build.
var
string
$this
getGeneration
Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
int|string
setGeneration
Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
var
int|string
$this