File
import type { File } from "https://googleapis.deno.dev/v1/script:v1.ts";
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.
interface File {
createTime?: Date;
functionSet?: GoogleAppsScriptTypeFunctionSet;
lastModifyUser?: GoogleAppsScriptTypeUser;
name?: string;
source?: string;
type?:
| "ENUM_TYPE_UNSPECIFIED"
| "SERVER_JS"
| "HTML"
| "JSON";
updateTime?: Date;
}§Properties
§
createTime?: Date
[src]Creation date timestamp. This read-only field is only visible to users who have WRITER permission for the script project.
§
functionSet?: GoogleAppsScriptTypeFunctionSet
[src]The defined set of functions in the script file, if any.
§
lastModifyUser?: GoogleAppsScriptTypeUser
[src]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.