Class: Google::Apis::ClassroomV1::StudentGroup
- Inherits:
-
Object
- Object
- Google::Apis::ClassroomV1::StudentGroup
- 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 group in a course.
Instance Attribute Summary collapse
-
#course_id ⇒ String
The identifier of the course.
-
#id ⇒ String
The identifier of the student group.
-
#title ⇒ String
The title of the student group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StudentGroup
constructor
A new instance of StudentGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StudentGroup
Returns a new instance of StudentGroup.
2745 2746 2747 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2745 def initialize(**args) update!(**args) end |
Instance Attribute Details
#course_id ⇒ String
The identifier of the course.
Corresponds to the JSON property courseId
2733 2734 2735 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2733 def course_id @course_id end |
#id ⇒ String
The identifier of the student group.
Corresponds to the JSON property id
2738 2739 2740 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2738 def id @id end |
#title ⇒ String
The title of the student group.
Corresponds to the JSON property title
2743 2744 2745 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2743 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2750 2751 2752 2753 2754 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2750 def update!(**args) @course_id = args[:course_id] if args.key?(:course_id) @id = args[:id] if args.key?(:id) @title = args[:title] if args.key?(:title) end |