Class: Google::Apis::ClassroomV1::ModifyAnnouncementAssigneesRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ClassroomV1::ModifyAnnouncementAssigneesRequest
 
- 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 an announcement.
Instance Attribute Summary collapse
- 
  
    
      #assignee_mode  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Mode of the announcement describing whether it will be accessible by 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 assigneeModeis set toINDIVIDUAL_STUDENTS.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ModifyAnnouncementAssigneesRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ModifyAnnouncementAssigneesRequest. 
- 
  
    
      #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) ⇒ ModifyAnnouncementAssigneesRequest
Returns a new instance of ModifyAnnouncementAssigneesRequest
| 1453 1454 1455 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1453 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#assignee_mode ⇒ String
Mode of the announcement describing whether it will be accessible by all
students or specified individual students.
Corresponds to the JSON property assigneeMode
| 1445 1446 1447 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1445 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
| 1451 1452 1453 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1451 def @modify_individual_students_options end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1458 1459 1460 1461 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1458 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 |