recipe-create-classroom-course
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCreate a Google Classroom Course
创建Google Classroom课程
PREREQUISITE: Load the following skills to execute this recipe:gws-classroom
Create a Google Classroom course and invite students.
前提条件: 加载以下技能以执行此方案:gws-classroom
创建Google Classroom课程并邀请学生。
Steps
步骤
- Create the course:
gws classroom courses create --json '{"name": "Introduction to CS", "section": "Period 1", "room": "Room 101", "ownerId": "me"}' - Invite a student:
gws classroom invitations create --json '{"courseId": "COURSE_ID", "userId": "student@school.edu", "role": "STUDENT"}' - List enrolled students:
gws classroom courses students list --params '{"courseId": "COURSE_ID"}' --format table
- 创建课程:
gws classroom courses create --json '{"name": "Introduction to CS", "section": "Period 1", "room": "Room 101", "ownerId": "me"}' - 邀请学生:
gws classroom invitations create --json '{"courseId": "COURSE_ID", "userId": "student@school.edu", "role": "STUDENT"}' - 列出已注册学生:
gws classroom courses students list --params '{"courseId": "COURSE_ID"}' --format table