Google 课堂插件现已面向开发者正式推出!如需了解详情,请参阅
插件文档。
REST Resource: courses.studentGroups
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:StudentGroup
JSON 表示法 |
{
"courseId": string,
"id": string,
"title": string
} |
字段 |
courseId |
string
课程的标识符。
|
id |
string
学生群组的标识符。
|
title |
string
学生群组的标题。
|
方法 |
|
为课程创建学生群组。 |
|
删除学生群组。 |
|
返回课程中的群组列表。 |
|
更新学生群组中的一个或多个字段。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-08。
[null,null,["最后更新时间 (UTC):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. |"]]