Class: Google::Apis::ClassroomV1::Assignment

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/classroom_v1/classes.rb,
lib/google/apis/classroom_v1/representations.rb,
lib/google/apis/classroom_v1/representations.rb

Overview

Additional details for assignments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Assignment

Returns a new instance of Assignment.



304
305
306
# File 'lib/google/apis/classroom_v1/classes.rb', line 304

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#student_work_folderGoogle::Apis::ClassroomV1::DriveFolder

Representation of a Google Drive folder. Corresponds to the JSON property studentWorkFolder



302
303
304
# File 'lib/google/apis/classroom_v1/classes.rb', line 302

def student_work_folder
  @student_work_folder
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



309
310
311
# File 'lib/google/apis/classroom_v1/classes.rb', line 309

def update!(**args)
  @student_work_folder = args[:student_work_folder] if args.key?(:student_work_folder)
end