class Google::Apis::ScriptV1::CreateProjectRequest

Request to create a script project. Request to create a script project.

Attributes

parent_id[RW]

The Drive ID of a parent file that the created script project is bound to. This is usually the ID of a Google Doc, Google Sheet, Google Form, or Google Slides file. If not set, a standalone script project is created. Corresponds to the JSON property `parentId` @return [String]

title[RW]

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

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/script_v1/classes.rb, line 68
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 73
def update!(**args)
  @parent_id = args[:parent_id] if args.key?(:parent_id)
  @title = args[:title] if args.key?(:title)
end