Google Classroom アドオンの一般提供が開始されました。詳しくは、
アドオンのドキュメントをご覧ください。
REST Resource: courses.teachers
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
リソース: Teacher
JSON 表現 |
{
"courseId": string,
"userId": string,
"profile": {
object (UserProfile )
}
} |
フィールド |
courseId |
string
コースの識別子。 読み取り専用です。
|
userId |
string
ユーザーの ID。 リクエストのパラメータとして指定する場合、この識別子は次のいずれかになります。
- ユーザーの数字 ID
- お客様のメールアドレス
- リクエスト元のユーザーを示す文字列リテラル
"me"
|
profile |
object (UserProfile )
教師のグローバル ユーザー情報。 読み取り専用です。
|
メソッド |
|
コースの教師を作成します。 |
|
指定されたコースから指定された教師を削除します。 |
|
コースの教師を返します。 |
|
リクエスト元が表示を許可されている、このコースの教師のリストを返します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],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. |"]]