class Google::Apis::ClassroomV1::AssignmentSubmission
Student
work for an assignment.
Attributes
attachments[RW]
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 (for example, title) may not be. Corresponds to the JSON property `attachments` @return [Array<Google::Apis::ClassroomV1::Attachment>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/classroom_v1/classes.rb, line 148 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/classroom_v1/classes.rb, line 153 def update!(**args) @attachments = args[:attachments] if args.key?(:attachments) end