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.
2769 2770 2771 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2769 def initialize(**args) update!(**args) end |
Instance Attribute Details
#course_id ⇒ String
The identifier of the course.
Corresponds to the JSON property courseId
2757 2758 2759 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2757 def course_id @course_id end |
#id ⇒ String
The identifier of the student group.
Corresponds to the JSON property id
2762 2763 2764 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2762 def id @id end |
#title ⇒ String
The title of the student group.
Corresponds to the JSON property title
2767 2768 2769 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2767 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2774 2775 2776 2777 2778 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2774 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 |