GoogleApi.Script.V1.Model.File (google_api_script v0.19.0)

View Source

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

  • createTime (type: DateTime.t, default: nil) - Creation date timestamp. This read-only field is only visible to users who have WRITER permission for the script project.
  • functionSet (type: GoogleApi.Script.V1.Model.GoogleAppsScriptTypeFunctionSet.t, default: nil) - The defined set of functions in the script file, if any.
  • lastModifyUser (type: GoogleApi.Script.V1.Model.GoogleAppsScriptTypeUser.t, default: nil) - 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.
  • name (type: String.t, default: nil) - The name of the file. The file extension is not part of the file name, which can be identified from the type field.
  • source (type: String.t, default: nil) - The file content.
  • type (type: String.t, default: nil) - The type of the file.
  • updateTime (type: DateTime.t, default: nil) - Last modified date timestamp. This read-only field is only visible to users who have WRITER permission for the script project.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Script.V1.Model.File{
  createTime: DateTime.t() | nil,
  functionSet:
    GoogleApi.Script.V1.Model.GoogleAppsScriptTypeFunctionSet.t() | nil,
  lastModifyUser: GoogleApi.Script.V1.Model.GoogleAppsScriptTypeUser.t() | nil,
  name: String.t() | nil,
  source: String.t() | nil,
  type: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.