class Google::Apis::ScriptV1::File
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.
Attributes
Creation date timestamp. This read-only field is only visible to users who have WRITER permission for the script project. Corresponds to the JSON property `createTime` @return [String]
A set of functions. No duplicates are permitted. Corresponds to the JSON property `functionSet` @return [Google::Apis::ScriptV1::GoogleAppsScriptTypeFunctionSet]
A simple user profile resource. Corresponds to the JSON property `lastModifyUser` @return [Google::Apis::ScriptV1::GoogleAppsScriptTypeUser]
The name of the file. The file extension is not part of the file name, which can be identified from the type field. Corresponds to the JSON property `name` @return [String]
The file content. Corresponds to the JSON property `source` @return [String]
The type of the file. Corresponds to the JSON property `type` @return [String]
Last modified date timestamp. This read-only field is only visible to users who have WRITER permission for the script project. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/script_v1/classes.rb, line 390 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/script_v1/classes.rb, line 395 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @function_set = args[:function_set] if args.key?(:function_set) @last_modify_user = args[:last_modify_user] if args.key?(:last_modify_user) @name = args[:name] if args.key?(:name) @source = args[:source] if args.key?(:source) @type = args[:type] if args.key?(:type) @update_time = args[:update_time] if args.key?(:update_time) end