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

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

Overview

Additional details for assignments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Assignment

Returns a new instance of Assignment.



1211
1212
1213
# File 'generated/google/apis/classroom_v1/classes.rb', line 1211

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



1209
1210
1211
# File 'generated/google/apis/classroom_v1/classes.rb', line 1209

def student_work_folder
  @student_work_folder
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1216
1217
1218
# File 'generated/google/apis/classroom_v1/classes.rb', line 1216

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