function createMaterial() {
const courseId = '776967326029'; // クラスIDを指定
const title = 'Syllabus';
const description = `
Course Title:
Google Classroom Essentials
Department / Program:
EdTech Training Program
Term / Schedule:
Online, Self-paced
Classroom / Location:
Online, from the comfort of your home
Instructor:
Pre-Practice
Course Overview / Purpose:
This course is designed to help educators and administrators
understand and use the essential features and functions of Google Classroom effectively.
Participants will learn how to set up classes,
create course work,
use rubrics,
manage members,
provide feedback,
and communicate efficiently through the platform.
Learning Objectives:
- Create and manage Google Classroom classes.
- Create and organize course work and assignments.
- Develop and apply rubrics for grading.
- Invite and manage students, co-teachers, and guardians.
- Provide effective feedback and return graded work.
- Post announcements and manage classroom settings.
- Understand both the teacher and student user flows.
Weekly Course Plan / Schedule:
1. Introduction to Google Classroom
2. Creating a Class
3. Creating Course Work
4. Creating Rubrics
5. Inviting Members
6. Providing Feedback
7. Grading and Returning Work
8. Posting Announcements
9. Classroom Settings
10. Teacher and Student Flow
11. Working with Guardians
12. Final Review and Best Practices
References:
- Google Classroom Help Center
- Google for Education Training Center
Out-of-Class Learning:
Participants are expected to explore Google Classroom hands-on,
complete practice assignments,
and review help resources.
Estimated time: 1–2 hours per week.
Evaluation / Grading Criteria:
- Completion of practice tasks: 40%
- Participation in discussions (if applicable): 20%
- Final project (create and submit a sample class): 40%
Prerequisites / Requirements:
- Basic computer literacy
- A Google account
`;
const material = {
title: title,
description: description,
state: 'DRAFT'
};
try {
const createdMaterial = Classroom.Courses.CourseWorkMaterials.create(material, courseId);
Logger.log(`資料作成成功: ID = ${createdMaterial.id}, タイトル: ${createdMaterial.title}`);
} catch (e) {
Logger.log('資料作成失敗: ' + e.message);
}
}