An individual file within a script project. A file is a third-party source code created by one or more developers. It can be a server-side JS code, HTML, or a configuration file. Each script project can contain multiple files.
object (User) The user who modified the file most recently. This read-only field is only visible to users who have WRITER permission for the script project.
createTime
string (Timestamp format) Creation date timestamp. This read-only field is only visible to users who have WRITER permission for the script project.A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
updateTime
string (Timestamp format) Last modified date timestamp. This read-only field is only visible to users who have WRITER permission for the script project.A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
functionSet
object (FunctionSet) The defined set of functions in the script file, if any.
FileType
An enumeration of different types of files.
Enums
ENUM_TYPE_UNSPECIFIED
Undetermined file type; never actually used.
SERVER_JS
An Apps Script server-side code file.
HTML
A file containing client-side HTML.
JSON
A file in JSON format. This type is only used for the script project's manifest. The manifest file content must match the structure of a valid ScriptManifest