public class Classroom.Courses.CourseWork extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Classroom.Courses.CourseWork.Create |
class |
Classroom.Courses.CourseWork.Delete |
class |
Classroom.Courses.CourseWork.Get |
class |
Classroom.Courses.CourseWork.List |
class |
Classroom.Courses.CourseWork.ModifyAssignees |
class |
Classroom.Courses.CourseWork.Patch |
class |
Classroom.Courses.CourseWork.StudentSubmissions
The "studentSubmissions" collection of methods.
|
| Constructor and Description |
|---|
CourseWork() |
| Modifier and Type | Method and Description |
|---|---|
Classroom.Courses.CourseWork.Create |
create(String courseId,
CourseWork content)
Creates course work.
|
Classroom.Courses.CourseWork.Delete |
delete(String courseId,
String id)
Deletes a course work.
|
Classroom.Courses.CourseWork.Get |
get(String courseId,
String id)
Returns course work.
|
Classroom.Courses.CourseWork.List |
list(String courseId)
Returns a list of course work that the requester is permitted to view.
|
Classroom.Courses.CourseWork.ModifyAssignees |
modifyAssignees(String courseId,
String id,
ModifyCourseWorkAssigneesRequest content)
Modifies assignee mode and options of a coursework.
|
Classroom.Courses.CourseWork.Patch |
patch(String courseId,
String id,
CourseWork content)
Updates one or more fields of a course work.
|
Classroom.Courses.CourseWork.StudentSubmissions |
studentSubmissions()
An accessor for creating requests from the StudentSubmissions collection.
|
public Classroom.Courses.CourseWork.Create create(String courseId, CourseWork content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.courseId - Identifier of the course. This identifier can be either the Classroom-assigned identifier or an
alias.content - the CourseWorkIOExceptionpublic Classroom.Courses.CourseWork.Delete delete(String courseId, String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.courseId - Identifier of the course. This identifier can be either the Classroom-assigned identifier or an
alias.id - Identifier of the course work to delete. This identifier is a Classroom-assigned identifier.IOExceptionpublic Classroom.Courses.CourseWork.Get get(String courseId, String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.courseId - Identifier of the course. This identifier can be either the Classroom-assigned identifier or an
alias.id - Identifier of the course work.IOExceptionpublic Classroom.Courses.CourseWork.List list(String courseId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.courseId - Identifier of the course. This identifier can be either the Classroom-assigned identifier or an
alias.IOExceptionpublic Classroom.Courses.CourseWork.ModifyAssignees modifyAssignees(String courseId, String id, ModifyCourseWorkAssigneesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.courseId - Identifier of the course. This identifier can be either the Classroom-assigned identifier or an
alias.id - Identifier of the coursework.content - the ModifyCourseWorkAssigneesRequestIOExceptionpublic Classroom.Courses.CourseWork.Patch patch(String courseId, String id, CourseWork content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.courseId - Identifier of the course. This identifier can be either the Classroom-assigned identifier or an
alias.id - Identifier of the course work.content - the CourseWorkIOExceptionpublic Classroom.Courses.CourseWork.StudentSubmissions studentSubmissions()
The typical use is:
Classroom classroom = new Classroom(...);Classroom.StudentSubmissions.List request = classroom.studentSubmissions().list(parameters ...)
Copyright © 2011–2022 Google. All rights reserved.