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


132
133
134
# File 'generated/google/apis/classroom_v1/classes.rb', line 132

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


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

def student_work_folder
  @student_work_folder
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


137
138
139
# File 'generated/google/apis/classroom_v1/classes.rb', line 137

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