Google Classroom 外掛程式現已全面開放開發人員使用!詳情請參閱
外掛程式說明文件。
REST Resource: courses.studentGroups
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:StudentGroup
JSON 表示法 |
{
"courseId": string,
"id": string,
"title": string
} |
欄位 |
courseId |
string
課程的 ID。
|
id |
string
學生群組的 ID。
|
title |
string
學生群組的名稱。
|
方法 |
|
為課程建立學生群組。 |
|
刪除學生群組。 |
|
傳回課程中的群組清單。 |
|
更新學生群組中的一或多個欄位。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-08 (世界標準時間)。
[null,null,["上次更新時間:2025-08-08 (世界標準時間)。"],[],[],null,["# REST Resource: courses.studentGroups\n\n- [Resource: StudentGroup](#StudentGroup)\n - [JSON representation](#StudentGroup.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: StudentGroup\n----------------------\n\nA student group in a course.\n\n| JSON representation |\n|---------------------------------------------------------------|\n| ``` { \"courseId\": string, \"id\": string, \"title\": string } ``` |\n\n| Fields ||\n|------------|-----------------------------------------------|\n| `courseId` | `string` The identifier of the course. |\n| `id` | `string` The identifier of the student group. |\n| `title` | `string` The title of the student group. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### [create](/workspace/classroom/reference/rest/v1/courses.studentGroups/create) | | **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. This feature is available in [V1_20250630_PREVIEW](https://developers.google.com/workspace/classroom/reference/rest/v1/PreviewVersion) and later. See [Access Preview APIs](https://developers.google.com/workspace/classroom/reference/preview) to learn more. Creates a student group for a course. |\n| ### [delete](/workspace/classroom/reference/rest/v1/courses.studentGroups/delete) | | **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. This feature is available in [V1_20250630_PREVIEW](https://developers.google.com/workspace/classroom/reference/rest/v1/PreviewVersion) and later. See [Access Preview APIs](https://developers.google.com/workspace/classroom/reference/preview) to learn more. Deletes a student group. |\n| ### [list](/workspace/classroom/reference/rest/v1/courses.studentGroups/list) | | **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. This feature is available in [V1_20250630_PREVIEW](https://developers.google.com/workspace/classroom/reference/rest/v1/PreviewVersion) and later. See [Access Preview APIs](https://developers.google.com/workspace/classroom/reference/preview) to learn more. Returns a list of groups in a course. |\n| ### [patch](/workspace/classroom/reference/rest/v1/courses.studentGroups/patch) | | **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. This feature is available in [V1_20250630_PREVIEW](https://developers.google.com/workspace/classroom/reference/rest/v1/PreviewVersion) and later. See [Access Preview APIs](https://developers.google.com/workspace/classroom/reference/preview) to learn more. Updates one or more fields in a student group. |"]]