public class Classroom.Courses.CourseWorkMaterials extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Classroom.Courses.CourseWorkMaterials.Create |
class |
Classroom.Courses.CourseWorkMaterials.Delete |
class |
Classroom.Courses.CourseWorkMaterials.Get |
class |
Classroom.Courses.CourseWorkMaterials.List |
class |
Classroom.Courses.CourseWorkMaterials.Patch |
| Constructor and Description |
|---|
CourseWorkMaterials() |
| Modifier and Type | Method and Description |
|---|---|
Classroom.Courses.CourseWorkMaterials.Create |
create(String courseId,
CourseWorkMaterial content)
Creates a course work material.
|
Classroom.Courses.CourseWorkMaterials.Delete |
delete(String courseId,
String id)
Deletes a course work material.
|
Classroom.Courses.CourseWorkMaterials.Get |
get(String courseId,
String id)
Returns a course work material.
|
Classroom.Courses.CourseWorkMaterials.List |
list(String courseId)
Returns a list of course work material that the requester is permitted to view.
|
Classroom.Courses.CourseWorkMaterials.Patch |
patch(String courseId,
String id,
CourseWorkMaterial content)
Updates one or more fields of a course work material.
|
public Classroom.Courses.CourseWorkMaterials.Create create(String courseId, CourseWorkMaterial 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 CourseWorkMaterialIOExceptionpublic Classroom.Courses.CourseWorkMaterials.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 material to delete. This identifier is a Classroom-assigned
identifier.IOExceptionpublic Classroom.Courses.CourseWorkMaterials.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 material.IOExceptionpublic Classroom.Courses.CourseWorkMaterials.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.CourseWorkMaterials.Patch patch(String courseId, String id, CourseWorkMaterial 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 material.content - the CourseWorkMaterialIOExceptionCopyright © 2011–2022 Google. All rights reserved.