Google 课堂插件现已面向开发者正式推出!如需了解详情,请参阅
插件文档。
REST Resource: courses.students
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:学生
JSON 表示法 |
{
"courseId": string,
"userId": string,
"profile": {
object (UserProfile )
},
"studentWorkFolder": {
object (DriveFolder )
}
} |
字段 |
courseId |
string
课程的标识符。 只读。
|
userId |
string
用户的标识符。 作为请求的参数指定时,此标识符可以是以下各项之一:
- 用户的数字标识符
- 用户的电子邮件地址
- 字符串字面量
"me" ,表示请求用户
|
profile |
object (UserProfile )
学生的全球用户信息。 只读。
|
studentWorkFolder |
object (DriveFolder )
此学生在此课程中所做作业的云端硬盘文件夹的相关信息。只有学生和网域管理员才能看到。 只读。
|
方法 |
|
将用户添加为课程的学生。 |
|
删除课程的学生。 |
|
返回课程的学生。 |
|
返回请求者有权查看的此课程的学生列表。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# REST Resource: courses.students\n\n- [Resource: Student](#Student)\n - [JSON representation](#Student.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Student\n-----------------\n\nStudent in a course.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"courseId\": string, \"userId\": string, \"profile\": { object (/workspace/classroom/reference/rest/v1/userProfiles#UserProfile) }, \"studentWorkFolder\": { object (/workspace/classroom/reference/rest/v1/DriveFolder) } } ``` |\n\n| Fields ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `courseId` | `string` Identifier of the course. Read-only. |\n| `userId` | `string` Identifier of the user. When specified as a parameter of a request, this identifier can be one of the following: - the numeric identifier for the user - the email address of the user - the string literal `\"me\"`, indicating the requesting user |\n| `profile` | `object (`[UserProfile](/workspace/classroom/reference/rest/v1/userProfiles#UserProfile)`)` Global user information for the student. Read-only. |\n| `studentWorkFolder` | `object (`[DriveFolder](/workspace/classroom/reference/rest/v1/DriveFolder)`)` Information about a Drive Folder for this student's work in this course. Only visible to the student and domain administrators. Read-only. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------|------------------------------------------------------------------------------------|\n| ### [create](/workspace/classroom/reference/rest/v1/courses.students/create) | Adds a user as a student of a course. |\n| ### [delete](/workspace/classroom/reference/rest/v1/courses.students/delete) | Deletes a student of a course. |\n| ### [get](/workspace/classroom/reference/rest/v1/courses.students/get) | Returns a student of a course. |\n| ### [list](/workspace/classroom/reference/rest/v1/courses.students/list) | Returns a list of students of this course that the requester is permitted to view. |"]]