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

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this