ส่วนเสริมของ Google Classroom พร้อมให้บริการแก่นักพัฒนาซอฟต์แวร์แล้ว โปรดดูข้อมูลเพิ่มเติมใน
เอกสารส่วนเสริม
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 Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]