Google Cloud Build V1 Client - Class StorageSourceManifest (0.11.0)

Reference documentation and code samples for the Google Cloud Build V1 Client class StorageSourceManifest.

Location of the source manifest in Cloud Storage.

This feature is in Preview; see description here.

Generated from protobuf message google.devtools.cloudbuild.v1.StorageSourceManifest

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ bucket string

Cloud Storage bucket containing the source manifest (see Bucket Name Requirements).

↳ object string

Cloud Storage object containing the source manifest. This object must be a JSON file.

↳ 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 manifest (see Bucket Name Requirements).

Returns
TypeDescription
string

setBucket

Cloud Storage bucket containing the source manifest (see Bucket Name Requirements).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getObject

Cloud Storage object containing the source manifest.

This object must be a JSON file.

Returns
TypeDescription
string

setObject

Cloud Storage object containing the source manifest.

This object must be a JSON file.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGeneration

Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

Returns
TypeDescription
int|string

setGeneration

Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this