class Google::Apis::ClassroomV1::Feed

A class of notifications that an application can register to receive. For example: “all roster changes for a domain”.

Attributes

course_roster_changes_info[RW]

Information about a `Feed` with a `feed_type` of `COURSE_ROSTER_CHANGES`. Corresponds to the JSON property `courseRosterChangesInfo` @return [Google::Apis::ClassroomV1::CourseRosterChangesInfo]

course_work_changes_info[RW]

Information about a `Feed` with a `feed_type` of `COURSE_WORK_CHANGES`. Corresponds to the JSON property `courseWorkChangesInfo` @return [Google::Apis::ClassroomV1::CourseWorkChangesInfo]

feed_type[RW]

The type of feed. Corresponds to the JSON property `feedType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/classroom_v1/classes.rb, line 917
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 922
def update!(**args)
  @course_roster_changes_info = args[:course_roster_changes_info] if args.key?(:course_roster_changes_info)
  @course_work_changes_info = args[:course_work_changes_info] if args.key?(:course_work_changes_info)
  @feed_type = args[:feed_type] if args.key?(:feed_type)
end