class Google::Apis::ClassroomV1::Material
Material
attached to course work. When creating attachments, setting the `form` field is not supported.
Attributes
drive_file[RW]
Drive file that is used as material for course work. Corresponds to the JSON property `driveFile` @return [Google::Apis::ClassroomV1::SharedDriveFile]
form[RW]
Google
Forms item. Corresponds to the JSON property `form` @return [Google::Apis::ClassroomV1::Form]
link[RW]
URL item. Corresponds to the JSON property `link` @return [Google::Apis::ClassroomV1::Link]
youtube_video[RW]
YouTube video item. Corresponds to the JSON property `youtubeVideo` @return [Google::Apis::ClassroomV1::YouTubeVideo]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/classroom_v1/classes.rb, line 1543 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 1548 def update!(**args) @drive_file = args[:drive_file] if args.key?(:drive_file) @form = args[:form] if args.key?(:form) @link = args[:link] if args.key?(:link) @youtube_video = args[:youtube_video] if args.key?(:youtube_video) end