@maxim_mazurok/gapi.client.classroom-v1 0.0.20250416 → 0.0.20250420
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +17 -17
- package/package.json +1 -1
- package/readme.md +2 -2
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Type definitions for non-npm package Google Classroom API v1 0.0 */
|
|
2
|
-
// Project: https://developers.google.com/classroom/
|
|
2
|
+
// Project: https://developers.google.com/workspace/classroom/
|
|
3
3
|
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
4
|
// Nick Amoscato <https://github.com/namoscato>
|
|
5
5
|
// Declan Vong <https://github.com/declanvong>
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://classroom.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250420
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1223,7 +1223,7 @@ declare namespace gapi.client {
|
|
|
1223
1223
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1224
1224
|
uploadType?: string;
|
|
1225
1225
|
}): Request<Announcement>;
|
|
1226
|
-
/** Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call this to validate query parameters and the requesting user's role whenever the add-on is opened in an [iframe](https://developers.google.com/classroom/add-ons/get-started/iframes/iframes-overview). This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist. */
|
|
1226
|
+
/** Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call this to validate query parameters and the requesting user's role whenever the add-on is opened in an [iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/iframes-overview). This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist. */
|
|
1227
1227
|
getAddOnContext(request?: {
|
|
1228
1228
|
/** V1 error format. */
|
|
1229
1229
|
'$.xgafv'?: string;
|
|
@@ -1233,7 +1233,7 @@ declare namespace gapi.client {
|
|
|
1233
1233
|
addOnToken?: string;
|
|
1234
1234
|
/** Data format for response. */
|
|
1235
1235
|
alt?: string;
|
|
1236
|
-
/** Optional. The identifier of the attachment. This field is required for all requests except when the user is in the [Attachment Discovery iframe](https://developers.google.com/classroom/add-ons/get-started/iframes/attachment-discovery-iframe). */
|
|
1236
|
+
/** Optional. The identifier of the attachment. This field is required for all requests except when the user is in the [Attachment Discovery iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/attachment-discovery-iframe). */
|
|
1237
1237
|
attachmentId?: string;
|
|
1238
1238
|
/** JSONP */
|
|
1239
1239
|
callback?: string;
|
|
@@ -1787,7 +1787,7 @@ declare namespace gapi.client {
|
|
|
1787
1787
|
studentSubmissions: StudentSubmissionsResource;
|
|
1788
1788
|
}
|
|
1789
1789
|
interface RubricsResource {
|
|
1790
|
-
/** Creates a rubric. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements). For further details, see [Rubrics structure and known limitations](/classroom/rubrics/limitations). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user isn't permitted to create rubrics for course work in the requested course. * `INTERNAL` if the request has insufficient OAuth scopes. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course or course work don't exist or the user doesn't have access to the course or course work. * `FAILED_PRECONDITION` for the following request error: * `AttachmentNotVisible` */
|
|
1790
|
+
/** Creates a rubric. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/rubrics/limitations#license-requirements). For further details, see [Rubrics structure and known limitations](/classroom/rubrics/limitations). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user isn't permitted to create rubrics for course work in the requested course. * `INTERNAL` if the request has insufficient OAuth scopes. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course or course work don't exist or the user doesn't have access to the course or course work. * `FAILED_PRECONDITION` for the following request error: * `AttachmentNotVisible` */
|
|
1791
1791
|
create(request: {
|
|
1792
1792
|
/** V1 error format. */
|
|
1793
1793
|
'$.xgafv'?: string;
|
|
@@ -1849,7 +1849,7 @@ declare namespace gapi.client {
|
|
|
1849
1849
|
},
|
|
1850
1850
|
body: Rubric,
|
|
1851
1851
|
): Request<Rubric>;
|
|
1852
|
-
/** Deletes a rubric. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding rubric. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding rubric, or if the requesting user isn't permitted to delete the requested rubric. * `NOT_FOUND` if no rubric exists with the requested ID or the user does not have access to the course, course work, or rubric. * `INVALID_ARGUMENT` if grading has already started on the rubric. */
|
|
1852
|
+
/** Deletes a rubric. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/rubrics/limitations#license-requirements). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding rubric. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding rubric, or if the requesting user isn't permitted to delete the requested rubric. * `NOT_FOUND` if no rubric exists with the requested ID or the user does not have access to the course, course work, or rubric. * `INVALID_ARGUMENT` if grading has already started on the rubric. */
|
|
1853
1853
|
delete(request?: {
|
|
1854
1854
|
/** V1 error format. */
|
|
1855
1855
|
'$.xgafv'?: string;
|
|
@@ -1944,7 +1944,7 @@ declare namespace gapi.client {
|
|
|
1944
1944
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1945
1945
|
uploadType?: string;
|
|
1946
1946
|
}): Request<ListRubricsResponse>;
|
|
1947
|
-
/** Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated. Rubric update capabilities are [limited](/classroom/rubrics/limitations) once grading has started. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding course work, if the user isn't permitted to make the requested modification to the rubric, or for access errors. This error code is also returned if grading has already started on the rubric. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course, course work, or rubric doesn't exist or if the user doesn't have access to the corresponding course work. * `INTERNAL` if grading has already started on the rubric. */
|
|
1947
|
+
/** Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated. Rubric update capabilities are [limited](/classroom/rubrics/limitations) once grading has started. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/rubrics/limitations#license-requirements). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding course work, if the user isn't permitted to make the requested modification to the rubric, or for access errors. This error code is also returned if grading has already started on the rubric. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course, course work, or rubric doesn't exist or if the user doesn't have access to the corresponding course work. * `INTERNAL` if grading has already started on the rubric. */
|
|
1948
1948
|
patch(request: {
|
|
1949
1949
|
/** V1 error format. */
|
|
1950
1950
|
'$.xgafv'?: string;
|
|
@@ -2538,7 +2538,7 @@ declare namespace gapi.client {
|
|
|
2538
2538
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2539
2539
|
uploadType?: string;
|
|
2540
2540
|
}): Request<CourseWork>;
|
|
2541
|
-
/** Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call this to validate query parameters and the requesting user's role whenever the add-on is opened in an [iframe](https://developers.google.com/classroom/add-ons/get-started/iframes/iframes-overview). This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist. */
|
|
2541
|
+
/** Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call this to validate query parameters and the requesting user's role whenever the add-on is opened in an [iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/iframes-overview). This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist. */
|
|
2542
2542
|
getAddOnContext(request?: {
|
|
2543
2543
|
/** V1 error format. */
|
|
2544
2544
|
'$.xgafv'?: string;
|
|
@@ -2548,7 +2548,7 @@ declare namespace gapi.client {
|
|
|
2548
2548
|
addOnToken?: string;
|
|
2549
2549
|
/** Data format for response. */
|
|
2550
2550
|
alt?: string;
|
|
2551
|
-
/** Optional. The identifier of the attachment. This field is required for all requests except when the user is in the [Attachment Discovery iframe](https://developers.google.com/classroom/add-ons/get-started/iframes/attachment-discovery-iframe). */
|
|
2551
|
+
/** Optional. The identifier of the attachment. This field is required for all requests except when the user is in the [Attachment Discovery iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/attachment-discovery-iframe). */
|
|
2552
2552
|
attachmentId?: string;
|
|
2553
2553
|
/** JSONP */
|
|
2554
2554
|
callback?: string;
|
|
@@ -2736,7 +2736,7 @@ declare namespace gapi.client {
|
|
|
2736
2736
|
},
|
|
2737
2737
|
body: CourseWork,
|
|
2738
2738
|
): Request<CourseWork>;
|
|
2739
|
-
/** Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated. Rubric update capabilities are [limited](/classroom/rubrics/limitations) once grading has started. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding course work, if the user isn't permitted to make the requested modification to the rubric, or for access errors. This error code is also returned if grading has already started on the rubric. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course, course work, or rubric doesn't exist or if the user doesn't have access to the corresponding course work. * `INTERNAL` if grading has already started on the rubric. */
|
|
2739
|
+
/** Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated. Rubric update capabilities are [limited](/classroom/rubrics/limitations) once grading has started. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/rubrics/limitations#license-requirements). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding course work, if the user isn't permitted to make the requested modification to the rubric, or for access errors. This error code is also returned if grading has already started on the rubric. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course, course work, or rubric doesn't exist or if the user doesn't have access to the corresponding course work. * `INTERNAL` if grading has already started on the rubric. */
|
|
2740
2740
|
updateRubric(request: {
|
|
2741
2741
|
/** V1 error format. */
|
|
2742
2742
|
'$.xgafv'?: string;
|
|
@@ -3174,7 +3174,7 @@ declare namespace gapi.client {
|
|
|
3174
3174
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3175
3175
|
uploadType?: string;
|
|
3176
3176
|
}): Request<CourseWorkMaterial>;
|
|
3177
|
-
/** Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call this to validate query parameters and the requesting user's role whenever the add-on is opened in an [iframe](https://developers.google.com/classroom/add-ons/get-started/iframes/iframes-overview). This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist. */
|
|
3177
|
+
/** Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call this to validate query parameters and the requesting user's role whenever the add-on is opened in an [iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/iframes-overview). This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist. */
|
|
3178
3178
|
getAddOnContext(request?: {
|
|
3179
3179
|
/** V1 error format. */
|
|
3180
3180
|
'$.xgafv'?: string;
|
|
@@ -3184,7 +3184,7 @@ declare namespace gapi.client {
|
|
|
3184
3184
|
addOnToken?: string;
|
|
3185
3185
|
/** Data format for response. */
|
|
3186
3186
|
alt?: string;
|
|
3187
|
-
/** Optional. The identifier of the attachment. This field is required for all requests except when the user is in the [Attachment Discovery iframe](https://developers.google.com/classroom/add-ons/get-started/iframes/attachment-discovery-iframe). */
|
|
3187
|
+
/** Optional. The identifier of the attachment. This field is required for all requests except when the user is in the [Attachment Discovery iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/attachment-discovery-iframe). */
|
|
3188
3188
|
attachmentId?: string;
|
|
3189
3189
|
/** JSONP */
|
|
3190
3190
|
callback?: string;
|
|
@@ -3680,7 +3680,7 @@ declare namespace gapi.client {
|
|
|
3680
3680
|
studentSubmissions: StudentSubmissionsResource;
|
|
3681
3681
|
}
|
|
3682
3682
|
interface PostsResource {
|
|
3683
|
-
/** Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call this to validate query parameters and the requesting user's role whenever the add-on is opened in an [iframe](https://developers.google.com/classroom/add-ons/get-started/iframes/iframes-overview). This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist. */
|
|
3683
|
+
/** Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call this to validate query parameters and the requesting user's role whenever the add-on is opened in an [iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/iframes-overview). This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist. */
|
|
3684
3684
|
getAddOnContext(request?: {
|
|
3685
3685
|
/** V1 error format. */
|
|
3686
3686
|
'$.xgafv'?: string;
|
|
@@ -3690,7 +3690,7 @@ declare namespace gapi.client {
|
|
|
3690
3690
|
addOnToken?: string;
|
|
3691
3691
|
/** Data format for response. */
|
|
3692
3692
|
alt?: string;
|
|
3693
|
-
/** Optional. The identifier of the attachment. This field is required for all requests except when the user is in the [Attachment Discovery iframe](https://developers.google.com/classroom/add-ons/get-started/iframes/attachment-discovery-iframe). */
|
|
3693
|
+
/** Optional. The identifier of the attachment. This field is required for all requests except when the user is in the [Attachment Discovery iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/attachment-discovery-iframe). */
|
|
3694
3694
|
attachmentId?: string;
|
|
3695
3695
|
/** JSONP */
|
|
3696
3696
|
callback?: string;
|
|
@@ -3718,7 +3718,7 @@ declare namespace gapi.client {
|
|
|
3718
3718
|
addOnAttachments: AddOnAttachmentsResource;
|
|
3719
3719
|
}
|
|
3720
3720
|
interface StudentsResource {
|
|
3721
|
-
/** Adds a user as a student of a course. Domain administrators are permitted to [directly add](https://developers.google.com/classroom/guides/manage-users) users within their domain as students to courses within their domain. Students are permitted to add themselves to a course using an enrollment code. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create students in this course or for access errors. * `NOT_FOUND` if the requested course ID does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled, for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * UserGroupsMembershipLimitReached * InactiveCourseOwner * `ALREADY_EXISTS` if the user is already a student or teacher in the course. */
|
|
3721
|
+
/** Adds a user as a student of a course. Domain administrators are permitted to [directly add](https://developers.google.com/workspace/classroom/guides/manage-users) users within their domain as students to courses within their domain. Students are permitted to add themselves to a course using an enrollment code. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create students in this course or for access errors. * `NOT_FOUND` if the requested course ID does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled, for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * UserGroupsMembershipLimitReached * InactiveCourseOwner * `ALREADY_EXISTS` if the user is already a student or teacher in the course. */
|
|
3722
3722
|
create(request: {
|
|
3723
3723
|
/** V1 error format. */
|
|
3724
3724
|
'$.xgafv'?: string;
|
|
@@ -3871,7 +3871,7 @@ declare namespace gapi.client {
|
|
|
3871
3871
|
}): Request<ListStudentsResponse>;
|
|
3872
3872
|
}
|
|
3873
3873
|
interface TeachersResource {
|
|
3874
|
-
/** Creates a teacher of a course. Domain administrators are permitted to [directly add](https://developers.google.com/classroom/guides/manage-users) users within their domain as teachers to courses within their domain. Non-admin users should send an Invitation instead. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create teachers in this course or for access errors. * `NOT_FOUND` if the requested course ID does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled, for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached * UserGroupsMembershipLimitReached * InactiveCourseOwner * `ALREADY_EXISTS` if the user is already a teacher or student in the course. */
|
|
3874
|
+
/** Creates a teacher of a course. Domain administrators are permitted to [directly add](https://developers.google.com/workspace/classroom/guides/manage-users) users within their domain as teachers to courses within their domain. Non-admin users should send an Invitation instead. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create teachers in this course or for access errors. * `NOT_FOUND` if the requested course ID does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled, for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached * UserGroupsMembershipLimitReached * InactiveCourseOwner * `ALREADY_EXISTS` if the user is already a teacher or student in the course. */
|
|
3875
3875
|
create(request: {
|
|
3876
3876
|
/** V1 error format. */
|
|
3877
3877
|
'$.xgafv'?: string;
|
|
@@ -4525,7 +4525,7 @@ declare namespace gapi.client {
|
|
|
4525
4525
|
},
|
|
4526
4526
|
body: Course,
|
|
4527
4527
|
): Request<Course>;
|
|
4528
|
-
/** Updates grading period settings of a course. Individual grading periods can be added, removed, or modified using this method. The requesting user and course owner must be eligible to modify Grading Periods. For details, see [licensing requirements](https://developers.google.com/classroom/grading-periods/manage-grading-periods#licensing_requirements). This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the grading period settings in a course or for access errors: * UserIneligibleToUpdateGradingPeriodSettings * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist. */
|
|
4528
|
+
/** Updates grading period settings of a course. Individual grading periods can be added, removed, or modified using this method. The requesting user and course owner must be eligible to modify Grading Periods. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/grading-periods/manage-grading-periods#licensing_requirements). This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the grading period settings in a course or for access errors: * UserIneligibleToUpdateGradingPeriodSettings * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist. */
|
|
4529
4529
|
updateGradingPeriodSettings(request: {
|
|
4530
4530
|
/** V1 error format. */
|
|
4531
4531
|
'$.xgafv'?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# TypeScript typings for Google Classroom API v1
|
|
2
2
|
|
|
3
3
|
Manages classes, rosters, and invitations in Google Classroom.
|
|
4
|
-
For detailed description please check [documentation](https://developers.google.com/classroom/).
|
|
4
|
+
For detailed description please check [documentation](https://developers.google.com/workspace/classroom/).
|
|
5
5
|
|
|
6
6
|
## Installing
|
|
7
7
|
|
|
@@ -176,7 +176,7 @@ Updates a course. This method returns the following error codes: * `PERMISSION_D
|
|
|
176
176
|
await gapi.client.classroom.courses.update({id: 'id'});
|
|
177
177
|
|
|
178
178
|
/*
|
|
179
|
-
Updates grading period settings of a course. Individual grading periods can be added, removed, or modified using this method. The requesting user and course owner must be eligible to modify Grading Periods. For details, see [licensing requirements](https://developers.google.com/classroom/grading-periods/manage-grading-periods#licensing_requirements). This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the grading period settings in a course or for access errors: * UserIneligibleToUpdateGradingPeriodSettings * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.
|
|
179
|
+
Updates grading period settings of a course. Individual grading periods can be added, removed, or modified using this method. The requesting user and course owner must be eligible to modify Grading Periods. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/grading-periods/manage-grading-periods#licensing_requirements). This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the grading period settings in a course or for access errors: * UserIneligibleToUpdateGradingPeriodSettings * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.
|
|
180
180
|
*/
|
|
181
181
|
await gapi.client.classroom.courses.updateGradingPeriodSettings({
|
|
182
182
|
courseId: 'courseId',
|