Google Classroom add-ons are now generally available to developers! Please see the
add-ons documentation for more information.
GradeCategory
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 2024-12-05 UTC.
[null,null,["Last updated 2024-12-05 UTC."],[[["Grade categories, used for calculating overall grades in a course, can be represented in JSON format with specific fields for identification, name, weight, and default grade denominator."],["The `weight` field, applicable only for weighted categories grade calculation, represents the category's contribution to the overall average using a specific format where 100% is 1,000,000."],["A default grade denominator is used when the grade calculation type is TOTAL_POINTS, while the weight is used for WEIGHTED_CATEGORIES calculations."],["Coursework might not always have a grade category, but if it does, it's limited to one and detailed information can be found in the provided help center article link."]]],[]]