Google Classroom アドオンの一般提供が開始されました。詳しくは、
アドオンのドキュメントをご覧ください。
ルーブリックの構造と既知の制限事項
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Classroom のルーブリックについて詳しくは、ルーブリックの一般的な構造と Classroom UI でルーブリックを使用して評価する方法に関するヘルプセンター記事をご覧ください。
ルーブリックの構造
API を使用してルーブリックを操作する際に、強調しておくとよい重要なコンセプトがいくつかあります。
CourseWork
に関連付けられているルーブリックは 1 つ(最大)で、そのルーブリックは CourseWork
に固有です(CourseWork
リソース間で共有できません)。
- ルーブリックは基準で構成され、基準はレベルで構成されます。ルーブリックには常に 1 つ以上の基準が必要であり、基準には常に 1 つ以上のレベルが必要です。
- レベルには、スコア付き(ポイントあり)とスコアなし(ポイントなし)があります。ルーブリックでは、レベルは完全に採点されるか、完全に採点されないかのいずれかである必要があります。
- レベルに点数が付けられている場合、1 つの評価基準内のすべてのレベルに一意の点数が設定されている必要があります。ポイントには、整数(10 など)または浮動小数点値(9.99 など)を指定できます。0 を含めることができます。null 値は受け付けられません。また、ルーブリックの 1 つの基準に 1 つのレベルのみが設定され、そのレベルの点数が 0 点であることはできません。
- レベルにスコアが付けられていない場合、ポイント フィールドは省略する必要があります。null 値は受け付けられません。
- 条件とレベルの順序は重要であり、Classroom UI での表示順序を反映しています。
- 特に、スコア付きレベルは常にポイントで昇順または降順に並べ替える必要があります。
- 各ルーブリックには最大 50 個の評価基準を作成でき、各評価基準には最大 10 個の評価レベルを作成できます。
StudentSubmission
オブジェクトは、ルーブリック関連のフィールドをサポートしています。
- 既存の
draftGrade
プロパティと assignedGrade
プロパティに加えて、ルーブリックで採点された生徒の提出物には draftRubricGrades
プロパティと assignedRubricGrades
プロパティがあります。これらは、ルーブリックの採点時に生徒がルーブリックから受け取るルーブリックの成績(選択されたレベルと点数)を、それぞれ下書き状態と割り当て状態で表します。
- 現時点では、これらのプロパティは読み取り専用です。つまり、API を使用して課題を採点することはできませんが、Classroom の UI で採点された課題を読み取ることはできます。
ルーブリックの動作
API は、一貫性を保つために可能な限り Classroom UI を反映することを目的としていますが、これにより、デベロッパーにとって直感的でない動作が生じる可能性があります。以下にその例を示します。
- ルーブリックは、教師を制約することなく採点をガイドすることを目的としています。そのため、教師はルーブリックを使用して課題を採点する際に、次のことができます。
- 採点時にルーブリックを完全に無視する。
- 評価基準のレベルで利用可能な点数に関係なく、評価基準の点数をオーバーライドします。
- 一部の基準のみにレベルを選択します。
- 対応するレベルを選択せずに、評価基準に点数を割り当てます。
- ルーブリックから得られる点数に関係なく、課題の合計点をオーバーライドします。
また、この API は Classroom UI にまだない動作をサポートしていません。たとえば、この API では、課題でルーブリックの使用を強制したり、教師がルーブリックや提出物を編集する権限を現在のようにオーバーライドしたりすることはできません。
採点時の制限事項
同様に、教師がルーブリックを使用して採点を開始すると、ルーブリックの編集にいくつかの制限が追加されます。採点が開始された後に可能な編集は次のとおりです。
- 評価基準とレベルのタイトルと説明は編集できます。
- レベルの順序は条件内で変更できます。
追加のスコープ
教師が再利用できるように、ルーブリックを Google スプレッドシートに手動でエクスポートできます。
これらのスプレッドシートからルーブリックを作成または更新する場合(ガイドの例を参照)、アプリケーションは https://www.googleapis.com/auth/spreadsheets.readonly
または https://www.googleapis.com/auth/spreadsheets
スコープをリクエストする必要があります。spreadsheets
スコープはセンシティブとみなされ、アプリケーションの確認が必要になる場合があります。
サードパーティのコースワーク
ルーブリックを作成できるのは、親 CourseWork
アイテムを作成した Google Cloud プロジェクトのみです。これは Classroom API のより広範な設計パターンであり、異なるアプリケーションが自分のものではないリソースに影響を与えないようにします。
これは、Classroom アプリでユーザーが作成したリソースにも当てはまります。たとえば、教師が Classroom UI で作成したコースワークのルーブリックを、同じ教師が所有するアプリであっても管理することはできません。この制限がユースケースに大きな影響を与える場合は、公開バグトラッカーでフィードバックをお寄せください。
ライセンス要件
次の条件を満たしている場合のみ、ユーザーは Classroom API を使用してルーブリックを作成、更新、削除できます。
API 機能がユーザーにどのように公開されるかについて詳しくは、ユーザーの利用資格をご覧ください。また、開発用のデモアカウントについて理解し、リクエストするには、Classroom API の前提条件をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-29 UTC。
[null,null,["最終更新日 2025-08-29 UTC。"],[],[],null,["# Rubrics structure and known limitations\n\nIf unfamiliar with Classroom Rubrics, see these Help Center articles to learn\nabout the [general structure](https://support.google.com/edu/classroom/answer/9335069?co=GENIEPlatform%3DDesktop#zippy=%2Cdelete-an-assignments-rubric%2Cedit-an-assignments-rubric%2Cshare-rubrics-with-export-and-import%2Csee-an-assignments-rubric%2Cadd-a-rubric-to-an-existing-assignment%2Creuse-a-rubric%2Ccreate-a-rubric%2Crubric-overview) of a rubric and how [rubric grading](https://support.google.com/edu/classroom/answer/9335428?ref_topic=11599451&sjid=7396534141168895349-NA) is done in\nthe Classroom UI.\n\nRubrics structure\n-----------------\n\nThere are some important concepts that may be worth highlighting when using the\nAPI to interact with rubrics:\n\n- There is (at most) a single [rubric](/workspace/classroom/reference/rest/v1/courses.courseWork.rubrics) associated with a [`CourseWork`](/workspace/classroom/reference/rest/v1/courses.courseWork) and that rubric is unique to that `CourseWork` (it is not shareable across `CourseWork` resources).\n- The rubric consists of [criteria](/workspace/classroom/reference/rest/v1/courses.courseWork.rubrics#criterion), which consist of [levels](/workspace/classroom/reference/rest/v1/courses.courseWork.rubrics#level). A rubric must always have at least one criteria, and a criterion must always have at least one level.\n- Levels can be scored (have points) or unscored (no points). Levels must be entirely scored or entirely unscored in a rubric.\n - If the levels are scored, all levels in a criterion must have a unique points value set. Points can be integers (like 10) or floating point values (like 9.99). This can include 0. Null values are not accepted. Additionally, a rubric can't have a single criteria with a single level that is 0 points.\n - If the levels are unscored, the points field should be omitted; null values are not accepted.\n- The order for criteria and levels is meaningful and reflects the order they are represented in the Classroom UI.\n - Scored levels in particular must always be sorted by points in either increasing or decreasing order.\n- There can be up to 50 criteria per rubric and up to 10 performance levels per criterion.\n\nRelated student submission fields\n---------------------------------\n\n[`StudentSubmission`](/workspace/classroom/reference/rest/v1/courses.courseWork.studentSubmissions) objects support rubrics-related fields:\n\n- In addition to the existing `draftGrade` and `assignedGrade` properties, a student submission graded with a rubric has `draftRubricGrades` and `assignedRubricGrades` properties. These represent the rubric grades (levels selected and point values) the student receives during grading from the rubric, in the draft and assigned states, respectively.\n- For now, these properties are read-only. This means that *the API can't be\n used to grade submissions*, but you can read submissions graded in the Classroom UI.\n\nRubrics behaviors\n-----------------\n\nThe API aims to mirror the Classroom UI whenever possible for consistency, but\nthis can lead to behaviour that may be unintuitive for developers and is worth\nmentioning:\n\n- Rubrics are intended to *guide* grading without constraining teachers. As a result, a teacher can do the following when grading a submission with a rubric:\n - Completely ignore the rubric when grading.\n - Override the points for a criterion, irrespective of the points available in the criterion's levels.\n - Select levels for only a subset of criteria.\n - Assign points for a criteria without selecting a corresponding level.\n - Override the assignment's total points, irrespective of the points that would come from the rubric.\n\nAdditionally, the API doesn't support behavior the Classroom UI doesn't already\nhave. For example, the API doesn't enable enforcing rubrics usage on assignments\nor overriding a teacher's ability to edit rubrics and submissions as they can\ntoday.\n\nLimitations during grading\n--------------------------\n\nSimilarly, there are some additional limitations place on editing rubrics once a\nteacher has started grading with it. Only the following edits are possible after\ngrading as started:\n\n- Text edits are allowed for criterion and level titles and descriptions.\n- Level ordering can change within criteria.\n\nAdditional scopes\n-----------------\n\nRubrics can be manually [exported](https://support.google.com/edu/classroom/answer/9335069?co=GENIE.Platform%3DDesktop#zippy=%2Cshare-rubrics-with-export-and-import) to Google Spreadsheets for re-use by\nteachers.\n\nIf you create or update a rubric from these spreadsheets (see an [example in the\nguide](/workspace/classroom/rubrics/getting-started#export-and-import-rubrics)), your application needs to request the\n`https://www.googleapis.com/auth/spreadsheets.readonly` or\n`https://www.googleapis.com/auth/spreadsheets` scope. Be aware that the\n`spreadsheets` scopes are considered sensitive and may require your application\nto be [verified](https://support.google.com/cloud/answer/9110914).\n\nThird-party coursework\n----------------------\n\nRubrics can only be created by the Google Cloud project that created the parent\n`CourseWork` item. This is a broader design pattern in the\nClassroom API which prevents different applications from impacting\nresources that aren't thiers.\n\nThis extends to resources created by users in the Classroom app.\nFor example, It's not possible for an application to manage rubrics for a\ncoursework that a teacher created in the Classroom UI, even if\nthe same teacher owns the application. If this significantly limits your use\ncase, share feedback in the [public issue tracker](https://issuetracker.google.com/issues/new?component=191645&template=823907).\n\nLicense requirements\n--------------------\n\nA user can only create, update, and delete rubrics with the\nClassroom API if the following conditions are met:\n\n- The user making the request has a [Google Workspace for Education Plus](https://edu.google.com/intl/ALL_us/workspace-for-education/editions/compare-editions/) license assigned to them.\n- The course owner of the corresponding course has a [Google Workspace for Education Plus](https://edu.google.com/intl/ALL_us/workspace-for-education/editions/compare-editions/) license assigned to them.\n\nSee [user eligibility](/workspace/classroom/guides/key-concepts/user-eligibility) to learn more about how API\ncapabilities are exposed to users and Classroom API [prerequisites](https://developers.google.com/workspace/classroom/guides/onboarding/prerequisites) to\nbecome familiar with, and request, a demo account for development."]]