Class: Google::Apis::ClassroomV1::StudentGroupMember
- Inherits:
-
Object
- Object
- Google::Apis::ClassroomV1::StudentGroupMember
- 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
A student member in a student group.
Instance Attribute Summary collapse
-
#course_id ⇒ String
The identifier of the course.
-
#student_group_id ⇒ String
The identifier of the student group.
-
#user_id ⇒ String
Identifier of the student.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StudentGroupMember
constructor
A new instance of StudentGroupMember.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StudentGroupMember
Returns a new instance of StudentGroupMember.
2800 2801 2802 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2800 def initialize(**args) update!(**args) end |
Instance Attribute Details
#course_id ⇒ String
The identifier of the course.
Corresponds to the JSON property courseId
2788 2789 2790 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2788 def course_id @course_id end |
#student_group_id ⇒ String
The identifier of the student group.
Corresponds to the JSON property studentGroupId
2793 2794 2795 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2793 def student_group_id @student_group_id end |
#user_id ⇒ String
Identifier of the student.
Corresponds to the JSON property userId
2798 2799 2800 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2798 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2805 2806 2807 2808 2809 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2805 def update!(**args) @course_id = args[:course_id] if args.key?(:course_id) @student_group_id = args[:student_group_id] if args.key?(:student_group_id) @user_id = args[:user_id] if args.key?(:user_id) end |