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.


124
125
126
# File 'generated/google/apis/classroom_v1/classes.rb', line 124

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


122
123
124
# File 'generated/google/apis/classroom_v1/classes.rb', line 122

def student_work_folder
  @student_work_folder
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


129
130
131
# File 'generated/google/apis/classroom_v1/classes.rb', line 129

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