Recipe Create Classroom Course

作者 googleworkspacea3768d0e82ad无许可证31K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库昨天更新

Create a Google Classroom course and invite students.

AI 生成的概览

通过 gws 命令行工具创建 Google Classroom 课程并邀请学生。

功能
该配方说明如何创建一门 Google Classroom 课程,指定名称、班级、教室和所有者,然后按邮箱地址以 STUDENT 角色邀请学生。最后以表格形式列出课程中已注册的学生。它是一份简短的操作步骤指南,而非脚本。
适用场景
当需要通过 gws 命令行工具新建 Google Classroom 课程并添加学生时使用。适合教师或管理员自动化课堂设置。
运行要求
需要 gws 命令行工具以及预先加载的 gws-classroom 技能,还需要 Google Classroom 访问权限和相应的账号权限。不包含脚本。

Create a Google Classroom Course

PREREQUISITE: Load the following skills to execute this recipe: gws-classroom

Create a Google Classroom course and invite students.

Steps

  1. Create the course: gws classroom courses create --json '{"name": "Introduction to CS", "section": "Period 1", "room": "Room 101", "ownerId": "me"}'
  2. Invite a student: gws classroom invitations create --json '{"courseId": "COURSE_ID", "userId": "[email protected]", "role": "STUDENT"}'
  3. List enrolled students: gws classroom courses students list --params '{"courseId": "COURSE_ID"}' --format table

来源与署名

来源:googleworkspace/cli位于skills/recipe-create-classroom-course提交a3768d0

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架