class Classroom extends Service (View source)

Service definition for Classroom (v1).

Manages classes, rosters, and invitations in Google Classroom.

For more information about this service, see the API Documentation

Constants

CLASSROOM_ANNOUNCEMENTS

View and manage announcements in Google Classroom.

CLASSROOM_ANNOUNCEMENTS_READONLY

View announcements in Google Classroom.

CLASSROOM_COURSES

See, edit, create, and permanently delete your Google Classroom classes.

CLASSROOM_COURSES_READONLY

View your Google Classroom classes.

CLASSROOM_COURSEWORK_ME

See, create and edit coursework items including assignments, questions, and grades.

CLASSROOM_COURSEWORK_ME_READONLY

View your course work and grades in Google Classroom.

CLASSROOM_COURSEWORK_STUDENTS

Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer.

CLASSROOM_COURSEWORK_STUDENTS_READONLY

View course work and grades for students in the Google Classroom classes you teach or administer.

CLASSROOM_COURSEWORKMATERIALS

See, edit, and create classwork materials in Google Classroom.

CLASSROOM_COURSEWORKMATERIALS_READONLY

See all classwork materials for your Google Classroom classes.

CLASSROOM_GUARDIANLINKS_ME_READONLY

View your Google Classroom guardians.

CLASSROOM_GUARDIANLINKS_STUDENTS

View and manage guardians for students in your Google Classroom classes.

CLASSROOM_GUARDIANLINKS_STUDENTS_READONLY

View guardians for students in your Google Classroom classes.

CLASSROOM_PROFILE_EMAILS

View the email addresses of people in your classes.

CLASSROOM_PROFILE_PHOTOS

View the profile photos of people in your classes.

CLASSROOM_PUSH_NOTIFICATIONS

Receive notifications about your Google Classroom data.

CLASSROOM_ROSTERS

Manage your Google Classroom class rosters.

CLASSROOM_ROSTERS_READONLY

View your Google Classroom class rosters.

CLASSROOM_STUDENT_SUBMISSIONS_ME_READONLY

View your course work and grades in Google Classroom.

CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY

View course work and grades for students in the Google Classroom classes you teach or administer.

CLASSROOM_TOPICS

See, create, and edit topics in Google Classroom.

CLASSROOM_TOPICS_READONLY

View topics in Google Classroom.

Properties

$courses
$courses_aliases
$courses_announcements
$courses_announcements_addOnAttachments
$courses_courseWork
$courses_courseWork_addOnAttachments
$courses_courseWork_addOnAttachments_studentSubmissions
$courses_courseWork_studentSubmissions
$courses_courseWorkMaterials
$courses_courseWorkMaterials_addOnAttachments
$courses_posts
$courses_posts_addOnAttachments
$courses_posts_addOnAttachments_studentSubmissions
$courses_students
$courses_teachers
$courses_topics
$invitations
$registrations
$userProfiles
$userProfiles_guardianInvitations
$userProfiles_guardians
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Classroom service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Classroom service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.