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



1241
1242
1243
# File 'generated/google/apis/classroom_v1/classes.rb', line 1241

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



1239
1240
1241
# File 'generated/google/apis/classroom_v1/classes.rb', line 1239

def student_work_folder
  @student_work_folder
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1246
1247
1248
# File 'generated/google/apis/classroom_v1/classes.rb', line 1246

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