Class: Google::Apis::ClassroomV1::ModifyCourseWorkAssigneesRequest
- Inherits:
-
Object
- Object
- Google::Apis::ClassroomV1::ModifyCourseWorkAssigneesRequest
- 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
Request to modify assignee mode and options of a coursework.
Instance Attribute Summary collapse
-
#assignee_mode ⇒ String
Mode of the coursework describing whether it will be assigned to all students or specified individual students.
-
#modify_individual_students_options ⇒ Google::Apis::ClassroomV1::ModifyIndividualStudentsOptions
Contains fields to add or remove students from a course work or announcement where the
assigneeMode
is set toINDIVIDUAL_STUDENTS
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ModifyCourseWorkAssigneesRequest
constructor
A new instance of ModifyCourseWorkAssigneesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ModifyCourseWorkAssigneesRequest
Returns a new instance of ModifyCourseWorkAssigneesRequest.
1977 1978 1979 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 1977 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assignee_mode ⇒ String
Mode of the coursework describing whether it will be assigned to all students
or specified individual students.
Corresponds to the JSON property assigneeMode
1969 1970 1971 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 1969 def assignee_mode @assignee_mode end |
#modify_individual_students_options ⇒ Google::Apis::ClassroomV1::ModifyIndividualStudentsOptions
Contains fields to add or remove students from a course work or announcement
where the assigneeMode
is set to INDIVIDUAL_STUDENTS
.
Corresponds to the JSON property modifyIndividualStudentsOptions
1975 1976 1977 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 1975 def @modify_individual_students_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1982 1983 1984 1985 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 1982 def update!(**args) @assignee_mode = args[:assignee_mode] if args.key?(:assignee_mode) @modify_individual_students_options = args[:modify_individual_students_options] if args.key?(:modify_individual_students_options) end |