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.
2776 2777 2778 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2776 def initialize(**args) update!(**args) end |
Instance Attribute Details
#course_id ⇒ String
The identifier of the course.
Corresponds to the JSON property courseId
2764 2765 2766 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2764 def course_id @course_id end |
#student_group_id ⇒ String
The identifier of the student group.
Corresponds to the JSON property studentGroupId
2769 2770 2771 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2769 def student_group_id @student_group_id end |
#user_id ⇒ String
Identifier of the student.
Corresponds to the JSON property userId
2774 2775 2776 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2774 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2781 2782 2783 2784 2785 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2781 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 |