Show / Hide Table of Contents

Namespace Google.Apis.Classroom.v1.Data

Classes

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.

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.

Date

Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent:

  • A full date, with non-zero year, month and day values * A month and day value, with a zero year, e.g. an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, e.g. a credit card expiration date

Related types are google.type.TimeOfDay and 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); }

The JSON representation for Empty is empty JSON object {}.

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.

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.

Link

URL item.

ListAnnouncementsResponse

Response when listing course work.

ListCourseAliasesResponse

Response when listing course aliases.

ListCoursesResponse

Response when listing courses.

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.

StudentSubmissions 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.

YouTubeVideo

YouTube video item.

Back to top