Class: Google::Apis::ClassroomV1::ModifyCourseWorkAssigneesRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/classroom_v1/classes.rb,
generated/google/apis/classroom_v1/representations.rb,
generated/google/apis/classroom_v1/representations.rb

Overview

Request to modify assignee mode and options of a coursework.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ModifyCourseWorkAssigneesRequest

Returns a new instance of ModifyCourseWorkAssigneesRequest.



1562
1563
1564
# File 'generated/google/apis/classroom_v1/classes.rb', line 1562

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

Instance Attribute Details

#assignee_modeString

Mode of the coursework describing whether it will be assigned to all students or specified individual students. Corresponds to the JSON property assigneeMode

Returns:

  • (String)


1554
1555
1556
# File 'generated/google/apis/classroom_v1/classes.rb', line 1554

def assignee_mode
  @assignee_mode
end

#modify_individual_students_optionsGoogle::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



1560
1561
1562
# File 'generated/google/apis/classroom_v1/classes.rb', line 1560

def modify_individual_students_options
  @modify_individual_students_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1567
1568
1569
1570
# File 'generated/google/apis/classroom_v1/classes.rb', line 1567

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