Class: Google::Apis::ClassroomV1::IndividualStudentsOptions

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

Assignee details about a coursework/announcement. This field is set if and only if assigneeMode is INDIVIDUAL_STUDENTS.

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) ⇒ IndividualStudentsOptions

Returns a new instance of IndividualStudentsOptions



1049
1050
1051
# File 'generated/google/apis/classroom_v1/classes.rb', line 1049

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

Instance Attribute Details

#student_idsArray<String>

Identifiers for the students that have access to the coursework/announcement. Corresponds to the JSON property studentIds

Returns:

  • (Array<String>)


1047
1048
1049
# File 'generated/google/apis/classroom_v1/classes.rb', line 1047

def student_ids
  @student_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1054
1055
1056
# File 'generated/google/apis/classroom_v1/classes.rb', line 1054

def update!(**args)
  @student_ids = args[:student_ids] if args.key?(:student_ids)
end