REST Resource: courses.teachers

资源:教师

课程教师。

JSON 表示法
{
  "courseId": string,
  "userId": string,
  "profile": {
    object (UserProfile)
  }
}
字段
courseId

string

课程的标识符。

只读。

userId

string

用户的标识符。

当指定为请求的参数时,此标识符可以是以下其中之一:

  • 用户的数字标识符
  • 用户的电子邮件地址
  • 字符串字面量 "me",表示发出请求的用户
profile

object (UserProfile)

教师的全局用户信息。

只读。

方法

create

创建课程的教师。

delete

从指定课程中移除指定的教师。

get

返回课程的教师。

list

返回允许请求者查看此课程的教师列表。