Google Cloud Appengine Admin V1 Client - Class ZipInfo (1.3.5)

Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class ZipInfo.

The zip file information for a zip deployment.

Generated from protobuf message google.appengine.v1.ZipInfo

Namespace

Google \ Cloud \ AppEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ source_url string

URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.

↳ files_count int

An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.

getSourceUrl

URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.

Returns
Type Description
string

setSourceUrl

URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.

Parameter
Name Description
var string
Returns
Type Description
$this

getFilesCount

An estimate of the number of files in a zip for a zip deployment.

If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.

Returns
Type Description
int

setFilesCount

An estimate of the number of files in a zip for a zip deployment.

If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.

Parameter
Name Description
var int
Returns
Type Description
$this