Class: Google::Apis::ClassroomV1::StudentGroupMember

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

The identifier of the course. Corresponds to the JSON property courseId

Returns:

  • (String)


2788
2789
2790
# File 'lib/google/apis/classroom_v1/classes.rb', line 2788

def course_id
  @course_id
end

#student_group_idString

The identifier of the student group. Corresponds to the JSON property studentGroupId

Returns:

  • (String)


2793
2794
2795
# File 'lib/google/apis/classroom_v1/classes.rb', line 2793

def student_group_id
  @student_group_id
end

#user_idString

Identifier of the student. Corresponds to the JSON property userId

Returns:

  • (String)


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