Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mod from "https://googleapis.deno.dev/v1/classroom:v1.ts";

§Classes

Classroom

Manages classes, rosters, and invitations in Google Classroom.

GoogleAuth

§Variables

auth

§Interfaces

Announcement

Announcement created by a teacher for students of the course

Assignment

Additional details for assignments.

AssignmentSubmission

Student work for an assignment.

Attachment

Attachment added to student assignment work. When creating attachments, setting the form field is not supported.

CloudPubsubTopic

A reference to a Cloud Pub/Sub topic. To register for notifications, the owner of the topic must grant classroom-notifications@system.gserviceaccount.com the projects.topics.publish permission.

Course

A Course in Classroom.

CourseAlias

Alternative identifier for a course. An alias uniquely identifies a course. It must be unique within one of the following scopes: * domain: A domain-scoped alias is visible to all users within the alias creator's domain and can be created only by a domain admin. A domain-scoped alias is often used when a course has an identifier external to Classroom. * project: A project-scoped alias is visible to any request from an application using the Developer Console project ID that created the alias and can be created by any project. A project-scoped alias is often used when an application has alternative identifiers. A random value can also be used to avoid duplicate courses in the event of transmission failures, as retrying a request will return ALREADY_EXISTS if a previous one has succeeded.

CourseMaterial

A material attached to a course as part of a material set.

CourseMaterialSet

A set of materials that appears on the "About" page of the course. These materials might include a syllabus, schedule, or other background information relating to the course as a whole.

CourseRosterChangesInfo

Information about a Feed with a feed_type of COURSE_ROSTER_CHANGES.

CoursesAliasesListOptions

Additional options for Classroom#coursesAliasesList.

CoursesAnnouncementsListOptions

Additional options for Classroom#coursesAnnouncementsList.

CoursesAnnouncementsPatchOptions

Additional options for Classroom#coursesAnnouncementsPatch.

CoursesCourseWorkListOptions

Additional options for Classroom#coursesCourseWorkList.

CoursesCourseWorkMaterialsListOptions

Additional options for Classroom#coursesCourseWorkMaterialsList.

CoursesCourseWorkMaterialsPatchOptions

Additional options for Classroom#coursesCourseWorkMaterialsPatch.

CoursesCourseWorkPatchOptions

Additional options for Classroom#coursesCourseWorkPatch.

CoursesCourseWorkStudentSubmissionsListOptions

Additional options for Classroom#coursesCourseWorkStudentSubmissionsList.

CoursesCourseWorkStudentSubmissionsPatchOptions

Additional options for Classroom#coursesCourseWorkStudentSubmissionsPatch.

CoursesListOptions

Additional options for Classroom#coursesList.

CoursesPatchOptions

Additional options for Classroom#coursesPatch.

CoursesStudentsCreateOptions

Additional options for Classroom#coursesStudentsCreate.

CoursesStudentsListOptions

Additional options for Classroom#coursesStudentsList.

CoursesTeachersListOptions

Additional options for Classroom#coursesTeachersList.

CoursesTopicsListOptions

Additional options for Classroom#coursesTopicsList.

CoursesTopicsPatchOptions

Additional options for Classroom#coursesTopicsPatch.

CourseWork

Course work created by a teacher for students of the course.

CourseWorkChangesInfo

Information about a Feed with a feed_type of COURSE_WORK_CHANGES.

CourseWorkMaterial

Course work material created by a teacher for students of the course

CredentialsClient

Defines the root interface for all clients that generate credentials for calling Google APIs. All clients should implement this interface.

Date

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

DriveFile

Representation of a Google Drive file.

DriveFolder

Representation of a Google Drive folder.

Empty

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

Feed

A class of notifications that an application can register to receive. For example: "all roster changes for a domain".

Form

Google Forms item.

GlobalPermission

Global user permission description.

GradebookSettings

The gradebook settings for a course. See the help center article for details.

GradeCategory

Details for a grade category in a course. Coursework may have zero or one grade category, and the category may be used in computing the overall grade. See the help center article for details.

GradeHistory

The history of each grade on this submission.

Guardian

Association between a student and a guardian of that student. The guardian may receive information about the student's course work.

GuardianInvitation

An invitation to become the guardian of a specified user, sent to a specified email address.

IndividualStudentsOptions

Assignee details about a coursework/announcement. This field is set if and only if assigneeMode is INDIVIDUAL_STUDENTS.

Invitation

An invitation to join a course.

InvitationsListOptions

Additional options for Classroom#invitationsList.

Link

URL item.

ListAnnouncementsResponse

Response when listing course work.

ListCourseAliasesResponse

Response when listing course aliases.

ListCoursesResponse

Response when listing courses.

ListCourseWorkMaterialResponse

Response when listing course work material.

ListCourseWorkResponse

Response when listing course work.

ListGuardianInvitationsResponse

Response when listing guardian invitations.

ListGuardiansResponse

Response when listing guardians.

ListInvitationsResponse

Response when listing invitations.

ListStudentsResponse

Response when listing students.

ListStudentSubmissionsResponse

Response when listing student submissions.

ListTeachersResponse

Response when listing teachers.

ListTopicResponse

Response when listing topics.

Material

Material attached to course work. When creating attachments, setting the form field is not supported.

ModifyAnnouncementAssigneesRequest

Request to modify assignee mode and options of an announcement.

ModifyAttachmentsRequest

Request to modify the attachments of a student submission.

ModifyCourseWorkAssigneesRequest

Request to modify assignee mode and options of a coursework.

ModifyIndividualStudentsOptions

Contains fields to add or remove students from a course work or announcement where the assigneeMode is set to INDIVIDUAL_STUDENTS.

MultipleChoiceQuestion

Additional details for multiple-choice questions.

MultipleChoiceSubmission

Student work for a multiple-choice question.

Name

Details of the user's name.

ReclaimStudentSubmissionRequest

Request to reclaim a student submission.

Registration

An instruction to Classroom to send notifications from the feed to the provided destination.

ReturnStudentSubmissionRequest

Request to return a student submission.

SharedDriveFile

Drive file that is used as material for course work.

ShortAnswerSubmission

Student work for a short answer question.

StateHistory

The history of each state this submission has been in.

Student

Student in a course.

StudentSubmission

Student submission for course work. StudentSubmission items are generated when a CourseWork item is created. Student submissions that have never been accessed (i.e. with state = NEW) may not have a creation time or update time.

SubmissionHistory

The history of the submission. This currently includes state and grade histories.

Teacher

Teacher of a course.

TimeOfDay

Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp.

Topic

Topic created by a teacher for the course

TurnInStudentSubmissionRequest

Request to turn in a student submission.

UserProfile

Global information for a user.

UserProfilesGuardianInvitationsListOptions

Additional options for Classroom#userProfilesGuardianInvitationsList.

UserProfilesGuardianInvitationsPatchOptions

Additional options for Classroom#userProfilesGuardianInvitationsPatch.

UserProfilesGuardiansListOptions

Additional options for Classroom#userProfilesGuardiansList.

YouTubeVideo

YouTube video item.