Updates grading period settings of a course.
The requesting user and course owner must be eligible to modify Grading Periods. For details, see 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.
HTTP request
PATCH https://classroom.googleapis.com/v1/courses/{courseId}/gradingPeriodSettings
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
course |
Required. The identifier of the course. |
Query parameters
Parameters | |
---|---|
update |
Mask that identifies which fields in the GradingPeriodSettings to update. The GradingPeriodSettings
The following fields may be specified:
This is a comma-separated list of fully qualified names of fields. Example: |
preview |
Optional. The preview version of the API. This must be set in order to access new API capabilities made available to developers in the Preview Program. |
Request body
The request body contains an instance of GradingPeriodSettings
.
Response body
If successful, the response body contains an instance of GradingPeriodSettings
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/classroom.courses
For more information, see the Authorization guide.