Class: Google::Apis::ClassroomV1::ModifyIndividualStudentsOptions
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ClassroomV1::ModifyIndividualStudentsOptions
 
- Defined in:
- generated/google/apis/classroom_v1/classes.rb,
 generated/google/apis/classroom_v1/representations.rb,
 generated/google/apis/classroom_v1/representations.rb
Overview
Contains fields to add or remove students from a course work or announcement
where the assigneeMode is set to INDIVIDUAL_STUDENTS.
Instance Attribute Summary collapse
- 
  
    
      #add_student_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Ids of students to be added as having access to this coursework/announcement. 
- 
  
    
      #remove_student_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Ids of students to be removed from having access to this coursework/announcement. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ModifyIndividualStudentsOptions 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ModifyIndividualStudentsOptions. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ModifyIndividualStudentsOptions
Returns a new instance of ModifyIndividualStudentsOptions
| 1529 1530 1531 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1529 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#add_student_ids ⇒ Array<String>
Ids of students to be added as having access to this
coursework/announcement.
Corresponds to the JSON property addStudentIds
| 1521 1522 1523 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1521 def add_student_ids @add_student_ids end | 
#remove_student_ids ⇒ Array<String>
Ids of students to be removed from having access to this
coursework/announcement.
Corresponds to the JSON property removeStudentIds
| 1527 1528 1529 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1527 def remove_student_ids @remove_student_ids end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1534 1535 1536 1537 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1534 def update!(**args) @add_student_ids = args[:add_student_ids] if args.key?(:add_student_ids) @remove_student_ids = args[:remove_student_ids] if args.key?(:remove_student_ids) end |