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



1078
1079
1080
# File 'generated/google/apis/classroom_v1/classes.rb', line 1078

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


1076
1077
1078
# File 'generated/google/apis/classroom_v1/classes.rb', line 1076

def student_ids
  @student_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1083
1084
1085
# File 'generated/google/apis/classroom_v1/classes.rb', line 1083

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