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.



2776
2777
2778
# File 'lib/google/apis/classroom_v1/classes.rb', line 2776

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#course_idString

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

Returns:

  • (String)


2764
2765
2766
# File 'lib/google/apis/classroom_v1/classes.rb', line 2764

def course_id
  @course_id
end

#student_group_idString

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

Returns:

  • (String)


2769
2770
2771
# File 'lib/google/apis/classroom_v1/classes.rb', line 2769

def student_group_id
  @student_group_id
end

#user_idString

Identifier of the student. Corresponds to the JSON property userId

Returns:

  • (String)


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