Class: Google::Apis::ClassroomV1::CourseMaterialSet
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ClassroomV1::CourseMaterialSet
 
- Defined in:
- generated/google/apis/classroom_v1/classes.rb,
 generated/google/apis/classroom_v1/representations.rb,
 generated/google/apis/classroom_v1/representations.rb
Overview
A set of materials that appears on the "About" page of the course. These materials might include a syllabus, schedule, or other background information relating to the course as a whole.
Instance Attribute Summary collapse
- 
  
    
      #materials  ⇒ Array<Google::Apis::ClassroomV1::CourseMaterial> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Materials attached to this set. 
- 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Title for this set. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CourseMaterialSet 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CourseMaterialSet. 
- 
  
    
      #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) ⇒ CourseMaterialSet
Returns a new instance of CourseMaterialSet
| 489 490 491 | # File 'generated/google/apis/classroom_v1/classes.rb', line 489 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#materials ⇒ Array<Google::Apis::ClassroomV1::CourseMaterial>
Materials attached to this set.
Corresponds to the JSON property materials
| 482 483 484 | # File 'generated/google/apis/classroom_v1/classes.rb', line 482 def materials @materials end | 
#title ⇒ String
Title for this set.
Corresponds to the JSON property title
| 487 488 489 | # File 'generated/google/apis/classroom_v1/classes.rb', line 487 def title @title end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 494 495 496 497 | # File 'generated/google/apis/classroom_v1/classes.rb', line 494 def update!(**args) @materials = args[:materials] if args.key?(:materials) @title = args[:title] if args.key?(:title) end |