CoursesResource class

Constructors

CoursesResource(ApiRequester client)

Properties

aliases → CoursesAliasesResource
no setter
announcements → CoursesAnnouncementsResource
no setter
courseWork → CoursesCourseWorkResource
no setter
courseWorkMaterials → CoursesCourseWorkMaterialsResource
no setter
hashCode → int
The hash code for this object.
no setterinherited
posts → CoursesPostsResource
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
studentGroups → CoursesStudentGroupsResource
no setter
students → CoursesStudentsResource
no setter
teachers → CoursesTeachersResource
no setter
topics → CoursesTopicsResource
no setter

Methods

create(Course request, {String? $fields}) → Future<Course>
Creates a course.
delete(String id, {String? $fields}) → Future<Empty>
Deletes a course.
get(String id, {String? $fields}) → Future<Course>
Returns a course.
getGradingPeriodSettings(String courseId, {String? $fields}) → Future<GradingPeriodSettings>
Returns the grading period settings in a course.
list({List<String>? courseStates, int? pageSize, String? pageToken, String? studentId, String? teacherId, String? $fields}) → Future<ListCoursesResponse>
Returns a list of courses that the requesting user is permitted to view, restricted to those that match the request.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Course request, String id, {String? updateMask, String? $fields}) → Future<Course>
Updates one or more fields in a course.
toString() → String
A string representation of this object.
inherited
update(Course request, String id, {String? $fields}) → Future<Course>
Updates a course.
updateGradingPeriodSettings(GradingPeriodSettings request, String courseId, {String? updateMask, String? $fields}) → Future<GradingPeriodSettings>
Updates grading period settings of a course.

Operators

operator ==(Object other) → bool
The equality operator.
inherited