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