Class: Google::Apis::ClassroomV1::Feed
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ClassroomV1::Feed
 
- 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 class of notifications that an application can register to receive. For example: "all roster changes for a domain".
Instance Attribute Summary collapse
- 
  
    
      #course_roster_changes_info  ⇒ Google::Apis::ClassroomV1::CourseRosterChangesInfo 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Information about a Feedwith afeed_typeofCOURSE_ROSTER_CHANGES.
- 
  
    
      #feed_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of feed. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Feed 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Feed. 
- 
  
    
      #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) ⇒ Feed
Returns a new instance of Feed
| 837 838 839 | # File 'generated/google/apis/classroom_v1/classes.rb', line 837 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#course_roster_changes_info ⇒ Google::Apis::ClassroomV1::CourseRosterChangesInfo
Information about a Feed with a feed_type of COURSE_ROSTER_CHANGES.
Corresponds to the JSON property courseRosterChangesInfo
| 830 831 832 | # File 'generated/google/apis/classroom_v1/classes.rb', line 830 def course_roster_changes_info @course_roster_changes_info end | 
#feed_type ⇒ String
The type of feed.
Corresponds to the JSON property feedType
| 835 836 837 | # File 'generated/google/apis/classroom_v1/classes.rb', line 835 def feed_type @feed_type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 842 843 844 845 | # File 'generated/google/apis/classroom_v1/classes.rb', line 842 def update!(**args) @course_roster_changes_info = args[:course_roster_changes_info] if args.key?(:course_roster_changes_info) @feed_type = args[:feed_type] if args.key?(:feed_type) end |