public class Classroom.Courses.Topics extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Classroom.Courses.Topics.Create |
class |
Classroom.Courses.Topics.Delete |
class |
Classroom.Courses.Topics.Get |
class |
Classroom.Courses.Topics.List |
class |
Classroom.Courses.Topics.Patch |
| Constructor and Description |
|---|
Topics() |
| Modifier and Type | Method and Description |
|---|---|
Classroom.Courses.Topics.Create |
create(String courseId,
Topic content)
Creates a topic.
|
Classroom.Courses.Topics.Delete |
delete(String courseId,
String id)
Deletes a topic.
|
Classroom.Courses.Topics.Get |
get(String courseId,
String id)
Returns a topic.
|
Classroom.Courses.Topics.List |
list(String courseId)
Returns the list of topics that the requester is permitted to view.
|
Classroom.Courses.Topics.Patch |
patch(String courseId,
String id,
Topic content)
Updates one or more fields of a topic.
|
public Classroom.Courses.Topics.Create create(String courseId, Topic 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 TopicIOExceptionpublic Classroom.Courses.Topics.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 topic to delete.IOExceptionpublic Classroom.Courses.Topics.Get get(String courseId, String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.courseId - Identifier of the course.id - Identifier of the topic.IOExceptionpublic Classroom.Courses.Topics.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.Topics.Patch patch(String courseId, String id, Topic 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 topic.content - the TopicIOExceptionCopyright © 2011–2022 Google. All rights reserved.