Hiện tại, các nhà phát triển đã có thể sử dụng rộng rãi tiện ích bổ sung của Google Lớp học! Vui lòng xem
tài liệu về tiện ích bổ sung để biết thêm thông tin.
REST Resource: courses.students
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tài nguyên: Học viên
Học viên trong một khoá học.
Biểu diễn dưới dạng JSON |
{
"courseId": string,
"userId": string,
"profile": {
object (UserProfile )
},
"studentWorkFolder": {
object (DriveFolder )
}
} |
Trường |
courseId |
string
Giá trị nhận dạng của khoá học. Chỉ có thể đọc.
|
userId |
string
Giá trị nhận dạng của người dùng. Khi được chỉ định làm tham số của một yêu cầu, giá trị nhận dạng này có thể là một trong những giá trị sau:
- giá trị nhận dạng dạng số của người dùng
- địa chỉ email của người dùng
- chuỗi cố định
"me" , cho biết người dùng yêu cầu
|
profile |
object (UserProfile )
Thông tin người dùng chung của học viên. Chỉ có thể đọc.
|
studentWorkFolder |
object (DriveFolder )
Thông tin về Thư mục Drive chứa bài tập của học viên này trong khoá học này. Chỉ học viên và quản trị viên miền mới xem được. Chỉ có thể đọc.
|
Phương thức |
|
Thêm người dùng làm học viên của một khoá học. |
|
Xoá học viên khỏi khoá học. |
|
Trả về một học viên của một khoá học. |
|
Trả về danh sách học viên của khoá học mà người yêu cầu được phép xem. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],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. |"]]