class Google::Apis::ScriptV1::Project

The script project resource.

Attributes

create_time[RW]

When the script was created. Corresponds to the JSON property `createTime` @return [String]

creator[RW]

A simple user profile resource. Corresponds to the JSON property `creator` @return [Google::Apis::ScriptV1::GoogleAppsScriptTypeUser]

last_modify_user[RW]

A simple user profile resource. Corresponds to the JSON property `lastModifyUser` @return [Google::Apis::ScriptV1::GoogleAppsScriptTypeUser]

parent_id[RW]

The parent's Drive ID that the script will be attached to. This is usually the ID of a Google Document or Google Sheet. This filed is optional, and if not set, a stand-alone script will be created. Corresponds to the JSON property `parentId` @return [String]

script_id[RW]

The script project's Drive ID. Corresponds to the JSON property `scriptId` @return [String]

title[RW]

The title for the project. Corresponds to the JSON property `title` @return [String]

update_time[RW]

When the script was last updated. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/script_v1/classes.rb, line 954
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/script_v1/classes.rb, line 959
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @creator = args[:creator] if args.key?(:creator)
  @last_modify_user = args[:last_modify_user] if args.key?(:last_modify_user)
  @parent_id = args[:parent_id] if args.key?(:parent_id)
  @script_id = args[:script_id] if args.key?(:script_id)
  @title = args[:title] if args.key?(:title)
  @update_time = args[:update_time] if args.key?(:update_time)
end