Class: Google::Apis::ClassroomV1::IndividualStudentsOptions
- Inherits:
-
Object
- Object
- Google::Apis::ClassroomV1::IndividualStudentsOptions
- 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
Assignee details about a coursework/announcement. This field is set if and
only if assigneeMode
is INDIVIDUAL_STUDENTS
.
Instance Attribute Summary collapse
-
#student_ids ⇒ Array<String>
Identifiers for the students that have access to the coursework/announcement.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IndividualStudentsOptions
constructor
A new instance of IndividualStudentsOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IndividualStudentsOptions
Returns a new instance of IndividualStudentsOptions.
1455 1456 1457 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 1455 def initialize(**args) update!(**args) end |
Instance Attribute Details
#student_ids ⇒ Array<String>
Identifiers for the students that have access to the coursework/announcement.
Corresponds to the JSON property studentIds
1453 1454 1455 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 1453 def student_ids @student_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1460 1461 1462 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 1460 def update!(**args) @student_ids = args[:student_ids] if args.key?(:student_ids) end |