Google Cloud Build V1 Client - Class StorageSourceManifest (0.7.3)

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

Location of the source manifest in Google 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
Name Description
data array

Optional. Data for populating the Message object.

↳ bucket string

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

↳ object string

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

↳ generation int|string

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

getBucket

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

Returns
Type Description
string

setBucket

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

Parameter
Name Description
var string
Returns
Type Description
$this

getObject

Google Cloud Storage object containing the source manifest.

This object must be a JSON file.

Returns
Type Description
string

setObject

Google Cloud Storage object containing the source manifest.

This object must be a JSON file.

Parameter
Name Description
var string
Returns
Type Description
$this

getGeneration

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

Returns
Type Description
int|string

setGeneration

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

Parameter
Name Description
var int|string
Returns
Type Description
$this