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 message google.appengine.v1.FileInfo
Namespace
Google \ Cloud \ AppEngine \ V1Methods
__construct
Constructor.
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>'.
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>'.
var
string
$this
getSha1Sum
The SHA1 hash of the file, in hex.
string
setSha1Sum
The SHA1 hash of the file, in hex.
var
string
$this
getMimeType
The MIME type of the file.
Defaults to the value from Google Cloud Storage.
string
setMimeType
The MIME type of the file.
Defaults to the value from Google Cloud Storage.
var
string
$this