Class: Google::Apis::ClassroomV1::ModifyAnnouncementAssigneesRequest

Inherits:
Object
  • Object
show all
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 an announcement.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ModifyAnnouncementAssigneesRequest

Returns a new instance of ModifyAnnouncementAssigneesRequest.



1930
1931
1932
# File 'lib/google/apis/classroom_v1/classes.rb', line 1930

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

Instance Attribute Details

#assignee_modeString

Mode of the announcement describing whether it is accessible by all students or specified individual students. Corresponds to the JSON property assigneeMode

Returns:

  • (String)


1922
1923
1924
# File 'lib/google/apis/classroom_v1/classes.rb', line 1922

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



1928
1929
1930
# File 'lib/google/apis/classroom_v1/classes.rb', line 1928

def modify_individual_students_options
  @modify_individual_students_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1935
1936
1937
1938
# File 'lib/google/apis/classroom_v1/classes.rb', line 1935

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