افزونه های Google Classroom اکنون به طور کلی در دسترس توسعه دهندگان هستند! لطفاً برای اطلاعات بیشتر به
اسناد افزونه ها مراجعه کنید.
REST Resource: courses.teachers
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
منبع: معلم
نمایندگی JSON |
---|
{
"courseId": string,
"userId": string,
"profile": {
object (UserProfile )
}
} |
فیلدها |
---|
courseId | string شناسه دوره فقط خواندنی |
userId | string شناسه کاربر. هنگامی که به عنوان پارامتر یک درخواست مشخص می شود، این شناسه می تواند یکی از موارد زیر باشد: - شناسه عددی برای کاربر
- آدرس ایمیل کاربر
- رشته تحت اللفظی
"me" که کاربر درخواست کننده را نشان می دهد
|
profile | object ( UserProfile ) اطلاعات کاربر جهانی برای معلم. فقط خواندنی |
روش ها |
---|
| معلم یک دوره ایجاد می کند. |
| معلم مشخص شده را از دوره مشخص شده حذف می کند. |
| معلم یک دوره را برمی گرداند. |
| فهرستی از معلمان این دوره را که درخواست کننده مجاز به مشاهده آنهاست، برمی گرداند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# REST Resource: courses.teachers\n\n- [Resource: Teacher](#Teacher)\n - [JSON representation](#Teacher.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Teacher\n-----------------\n\nTeacher of a course.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"courseId\": string, \"userId\": string, \"profile\": { object (/workspace/classroom/reference/rest/v1/userProfiles#UserProfile) } } ``` |\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 teacher. Read-only. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------|------------------------------------------------------------------------------------|\n| ### [create](/workspace/classroom/reference/rest/v1/courses.teachers/create) | Creates a teacher of a course. |\n| ### [delete](/workspace/classroom/reference/rest/v1/courses.teachers/delete) | Removes the specified teacher from the specified course. |\n| ### [get](/workspace/classroom/reference/rest/v1/courses.teachers/get) | Returns a teacher of a course. |\n| ### [list](/workspace/classroom/reference/rest/v1/courses.teachers/list) | Returns a list of teachers of this course that the requester is permitted to view. |"]]