Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class FileInfo.
Single source file that is part of the version to be deployed. Each source
file that is deployed must be specified separately.
Generated from protobuf messagegoogle.appengine.v1.FileInfo
Namespace
Google \ Cloud \ AppEngine \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ source_url
string
URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.
↳ sha1_sum
string
The SHA1 hash of the file, in hex.
↳ mime_type
string
The MIME type of the file. Defaults to the value from Google Cloud Storage.
getSourceUrl
URL source to use to fetch this file. 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 source to use to fetch this file. Must be a URL to a resource in
Google Cloud Storage in the form
'http(s)://storage.googleapis.com/<bucket>/<object>'.
[[["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 FileInfo (2.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.4 (latest)](/php/docs/reference/cloud-appengine-admin/latest/V1.FileInfo)\n- [2.0.3](/php/docs/reference/cloud-appengine-admin/2.0.3/V1.FileInfo)\n- [1.3.5](/php/docs/reference/cloud-appengine-admin/1.3.5/V1.FileInfo)\n- [1.2.2](/php/docs/reference/cloud-appengine-admin/1.2.2/V1.FileInfo)\n- [1.1.1](/php/docs/reference/cloud-appengine-admin/1.1.1/V1.FileInfo)\n- [1.0.6](/php/docs/reference/cloud-appengine-admin/1.0.6/V1.FileInfo) \nReference documentation and code samples for the Google Cloud Appengine Admin V1 Client class FileInfo.\n\nSingle source file that is part of the version to be deployed. Each source\nfile that is deployed must be specified separately.\n\nGenerated from protobuf message `google.appengine.v1.FileInfo`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AppEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSourceUrl\n\nURL source to use to fetch this file. 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 source to use to fetch this file. 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### getSha1Sum\n\nThe SHA1 hash of the file, in hex.\n\n### setSha1Sum\n\nThe SHA1 hash of the file, in hex.\n\n### getMimeType\n\nThe MIME type of the file.\n\nDefaults to the value from Google Cloud Storage.\n\n### setMimeType\n\nThe MIME type of the file.\n\nDefaults to the value from Google Cloud Storage."]]