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 )
מידע על תיקייה ב-Drive שבה נשמרות העבודות של התלמיד/ה בקורס הזה. גלוי רק לתלמידים ולאדמינים של הדומיין. קריאה בלבד.
|
Methods |
|
הוספת משתמש כתלמיד בקורס. |
|
מחיקה של תלמיד או תלמידה מקורס. |
|
הפונקציה מחזירה תלמיד או תלמידה של קורס. |
|
הפונקציה מחזירה רשימה של תלמידים בקורס הזה שהמבקש מורשה להציג. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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. |"]]