public class Classroom.Courses.Aliases extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Classroom.Courses.Aliases.Create |
class |
Classroom.Courses.Aliases.Delete |
class |
Classroom.Courses.Aliases.List |
| Constructor and Description |
|---|
Aliases() |
| Modifier and Type | Method and Description |
|---|---|
Classroom.Courses.Aliases.Create |
create(String courseId,
CourseAlias content)
Creates an alias for a course.
|
Classroom.Courses.Aliases.Delete |
delete(String courseId,
String alias)
Deletes an alias of a course.
|
Classroom.Courses.Aliases.List |
list(String courseId)
Returns a list of aliases for a course.
|
public Classroom.Courses.Aliases.Create create(String courseId, CourseAlias content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.courseId - Identifier of the course to alias.
This identifier can be either the Classroom-assigned identifier
or an
alias.content - the CourseAliasIOExceptionpublic Classroom.Courses.Aliases.Delete delete(String courseId, String alias) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.courseId - Identifier of the course whose alias should be deleted.
This identifier can be either the Classroom-
assigned identifier or an
alias.alias - Alias to delete.
This may not be the Classroom-assigned identifier.IOExceptionpublic Classroom.Courses.Aliases.List list(String courseId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.courseId - The identifier of the course.
This identifier can be either the Classroom-assigned identifier or an
alias.IOExceptionCopyright © 2011–2020 Google. All rights reserved.