Google Classroom add-ons are now generally available to developers! Please see the
add-ons documentation for more information.
GradeCategory
Stay organized with collections
Save and categorize content based on your preferences.
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.
JSON representation |
{
"id": string,
"name": string,
"weight": integer,
"defaultGradeDenominator": integer
} |
Fields |
id |
string
ID of the grade category.
|
name |
string
Name of the grade category.
|
weight |
integer
The weight of the category average as part of overall average. A weight of 12.34% is represented as 123400 (100% is 1,000,000). The last two digits should always be zero since we use two decimal precision. Only applicable when grade calculation type is WEIGHTED_CATEGORIES.
|
defaultGradeDenominator |
integer
Default value of denominator. Only applicable when grade calculation type is TOTAL_POINTS.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-17 UTC.
[null,null,["Last updated 2025-04-17 UTC."],[],[],null,["# GradeCategory\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nDetails for a grade category in a course.\n\nCoursework may have zero or one grade category, and the category may be used in computing the overall grade. See the [help center article](https://support.google.com/edu/classroom/answer/9184995) for details.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"name\": string, \"weight\": integer, \"defaultGradeDenominator\": integer } ``` |\n\n| Fields ||\n|---------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` ID of the grade category. |\n| `name` | `string` Name of the grade category. |\n| `weight` | `integer` The weight of the category average as part of overall average. A weight of 12.34% is represented as 123400 (100% is 1,000,000). The last two digits should always be zero since we use two decimal precision. Only applicable when grade calculation type is WEIGHTED_CATEGORIES. |\n| `defaultGradeDenominator` | `integer` Default value of denominator. Only applicable when grade calculation type is TOTAL_POINTS. |"]]