class Google::Apis::ClassroomV1::CourseMaterial
A material attached to a course as part of a material set.
Attributes
drive_file[RW]
Representation
of a Google
Drive file. Corresponds to the JSON property `driveFile` @return [Google::Apis::ClassroomV1::DriveFile]
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]
you_tube_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 421 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 426 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) @you_tube_video = args[:you_tube_video] if args.key?(:you_tube_video) end