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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Appengine Admin V1 Client - Class ZipInfo (2.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.4 (latest)](/php/docs/reference/cloud-appengine-admin/latest/V1.ZipInfo)\n- [2.0.3](/php/docs/reference/cloud-appengine-admin/2.0.3/V1.ZipInfo)\n- [1.3.5](/php/docs/reference/cloud-appengine-admin/1.3.5/V1.ZipInfo)\n- [1.2.2](/php/docs/reference/cloud-appengine-admin/1.2.2/V1.ZipInfo)\n- [1.1.1](/php/docs/reference/cloud-appengine-admin/1.1.1/V1.ZipInfo)\n- [1.0.6](/php/docs/reference/cloud-appengine-admin/1.0.6/V1.ZipInfo) \nReference documentation and code samples for the Google Cloud Appengine Admin V1 Client class ZipInfo.\n\nThe zip file information for a zip deployment.\n\nGenerated from protobuf message `google.appengine.v1.ZipInfo`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AppEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSourceUrl\n\nURL of the zip file to deploy from. Must be a URL to a resource in\nGoogle Cloud Storage in the form\n'http(s)://storage.googleapis.com/\\\u003cbucket\\\u003e/\\\u003cobject\\\u003e'.\n\n### setSourceUrl\n\nURL of the zip file to deploy from. Must be a URL to a resource in\nGoogle Cloud Storage in the form\n'http(s)://storage.googleapis.com/\\\u003cbucket\\\u003e/\\\u003cobject\\\u003e'.\n\n### getFilesCount\n\nAn estimate of the number of files in a zip for a zip deployment.\n\nIf set, must be greater than or equal to the actual number of files.\nUsed for optimizing performance; if not provided, deployment may be slow.\n\n### setFilesCount\n\nAn estimate of the number of files in a zip for a zip deployment.\n\nIf set, must be greater than or equal to the actual number of files.\nUsed for optimizing performance; if not provided, deployment may be slow."]]