Class: Google::Apis::ClassroomV1::AssignmentSubmission
- Inherits:
-
Object
- Object
- Google::Apis::ClassroomV1::AssignmentSubmission
- Defined in:
- generated/google/apis/classroom_v1/classes.rb,
generated/google/apis/classroom_v1/representations.rb,
generated/google/apis/classroom_v1/representations.rb
Overview
Student work for an assignment.
Instance Attribute Summary collapse
-
#attachments ⇒ Array<Google::Apis::ClassroomV1::Attachment>
Attachments added by the student.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AssignmentSubmission
constructor
A new instance of AssignmentSubmission.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AssignmentSubmission
Returns a new instance of AssignmentSubmission
157 158 159 |
# File 'generated/google/apis/classroom_v1/classes.rb', line 157 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attachments ⇒ Array<Google::Apis::ClassroomV1::Attachment>
Attachments added by the student.
Drive files that correspond to materials with a share mode of
STUDENT_COPY may not exist yet if the student has not accessed the
assignment in Classroom.
Some attachment metadata is only populated if the requesting user has
permission to access it. Identifier and alternate_link fields are always
available, but others (e.g. title) may not be.
Corresponds to the JSON property attachments
155 156 157 |
# File 'generated/google/apis/classroom_v1/classes.rb', line 155 def @attachments end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
162 163 164 |
# File 'generated/google/apis/classroom_v1/classes.rb', line 162 def update!(**args) @attachments = args[:attachments] if args.key?(:attachments) end |