Class: Google::Apis::ClassroomV1::CourseWorkChangesInfo
- Inherits:
-
Object
- Object
- Google::Apis::ClassroomV1::CourseWorkChangesInfo
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/classroom_v1/classes.rb,
generated/google/apis/classroom_v1/representations.rb,
generated/google/apis/classroom_v1/representations.rb
Overview
Information about a Feed
with a feed_type
of COURSE_WORK_CHANGES
.
Instance Attribute Summary collapse
-
#course_id ⇒ String
The
course_id
of the course to subscribe to work changes for.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CourseWorkChangesInfo
constructor
A new instance of CourseWorkChangesInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CourseWorkChangesInfo
Returns a new instance of CourseWorkChangesInfo.
655 656 657 |
# File 'generated/google/apis/classroom_v1/classes.rb', line 655 def initialize(**args) update!(**args) end |
Instance Attribute Details
#course_id ⇒ String
The course_id
of the course to subscribe to work changes for.
Corresponds to the JSON property courseId
653 654 655 |
# File 'generated/google/apis/classroom_v1/classes.rb', line 653 def course_id @course_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
660 661 662 |
# File 'generated/google/apis/classroom_v1/classes.rb', line 660 def update!(**args) @course_id = args[:course_id] if args.key?(:course_id) end |