Are your users using Classroom with Google Meet? Check out the Apps Script quickstart covering how to check student attendence in Google Meet courses.

AssigneeMode

Possible modes of assigning coursework/announcements.

Enums
ASSIGNEE_MODE_UNSPECIFIED No mode specified. This is never returned.
ALL_STUDENTS All students can see the item. This is the default state.
INDIVIDUAL_STUDENTS A subset of the students can see the item.