Class: Google::Apis::ClassroomV1::CourseRosterChangesInfo
- Inherits:
-
Object
- Object
- Google::Apis::ClassroomV1::CourseRosterChangesInfo
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/classroom_v1/classes.rb,
lib/google/apis/classroom_v1/representations.rb,
lib/google/apis/classroom_v1/representations.rb
Overview
Information about a Feed
with a feed_type
of COURSE_ROSTER_CHANGES
.
Instance Attribute Summary collapse
-
#course_id ⇒ String
The
course_id
of the course to subscribe to roster changes for.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CourseRosterChangesInfo
constructor
A new instance of CourseRosterChangesInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CourseRosterChangesInfo
Returns a new instance of CourseRosterChangesInfo.
698 699 700 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 698 def initialize(**args) update!(**args) end |
Instance Attribute Details
#course_id ⇒ String
The course_id
of the course to subscribe to roster changes for.
Corresponds to the JSON property courseId
696 697 698 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 696 def course_id @course_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
703 704 705 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 703 def update!(**args) @course_id = args[:course_id] if args.key?(:course_id) end |