Material
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
חומר לימוד שמצורף לעבודה.
כשיוצרים קבצים מצורפים, אי אפשר להגדיר את השדה form
, gem
או notebook
.
ייצוג ב-JSON |
{
// Union field material can be only one of the following:
"driveFile": {
object (SharedDriveFile )
},
"youtubeVideo": {
object (YouTubeVideo )
},
"link": {
object (Link )
},
"form": {
object (Form )
},
"gem": {
object (GeminiGem )
},
"notebook": {
object (NotebookLmNotebook )
}
// End of list of possible types for union field material .
} |
שדות |
שדה איחוד material . תוכן החומר. הערך material יכול להיות רק אחד מהבאים: |
driveFile |
object (SharedDriveFile )
חומרים מקובץ ב-Google Drive.
|
youtubeVideo |
object (YouTubeVideo )
חומרים של סרטונים ב-YouTube.
|
link |
object (Link )
קישור חומר. בזמן היצירה, אם אפשר, המודעה משודרגת לסוג מתאים יותר, והשינוי הזה משתקף בתשובה.
|
form |
object (Form )
חומרים מ-Google Forms. קריאה בלבד.
|
gem |
object (GeminiGem )
חומרים של תצורות Gem של Gemini. קריאה בלבד.
|
notebook |
object (NotebookLmNotebook )
חומרים מתיקיית Notebook ב-NotebookLM. קריאה בלבד.
|
SharedDriveFile
קובץ ב-Drive שמשמש כחומר לימודי.
שדות |
driveFile |
object (DriveFile )
פרטים של קובץ ב-Drive.
|
shareMode |
enum (ShareMode )
המנגנון שבאמצעותו התלמידים ניגשים לפריט ב-Drive.
|
ShareMode
אפשרויות שיתוף אפשריות. ברירת המחדל היא VIEW אם לא מציינים ערך, ואפשר לציין ערכים אחרים רק באובייקט של עבודת קורס מסוג ASSIGNMENT.
טיפוסים בני מנייה (enum) |
UNKNOWN_SHARE_MODE |
לא צוין מצב שיתוף. הערך הזה לא אמור לחזור אף פעם. |
VIEW |
התלמידים יכולים לראות את הקובץ ששותף. |
EDIT |
התלמידים יכולים לערוך את הקובץ המשותף. |
STUDENT_COPY |
לתלמידים יש עותק אישי של הקובץ המשותף. |
GeminiGem
ייצוג ב-JSON |
{
"id": string,
"title": string,
"url": string
} |
שדות |
id |
string
מזהה המשאב של תצורת ה-Gem.
|
title |
string
השם של ה-Gem. קריאה בלבד.
|
url |
string
כתובת URL שאפשר להשתמש בה כדי לגשת ל-Gem. קריאה בלבד.
|
NotebookLmNotebook
קישור לתיקיית Notebook ב-NotebookLM.
ייצוג ב-JSON |
{
"id": string,
"title": string,
"url": string
} |
שדות |
id |
string
מזהה המשאב של ה-Notebook.
|
title |
string
הכותרת של ה-Notebook. קריאה בלבד.
|
url |
string
כתובת ה-URL שאפשר להשתמש בה כדי לגשת למחברת. קריאה בלבד.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-08 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-08 (שעון UTC)."],[],[],null,["# Material\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [SharedDriveFile](#SharedDriveFile)\n - [JSON representation](#SharedDriveFile.SCHEMA_REPRESENTATION)\n- [ShareMode](#ShareMode)\n- [GeminiGem](#GeminiGem)\n - [JSON representation](#GeminiGem.SCHEMA_REPRESENTATION)\n- [NotebookLmNotebook](#NotebookLmNotebook)\n - [JSON representation](#NotebookLmNotebook.SCHEMA_REPRESENTATION)\n\nMaterial attached to course work.\n\nWhen creating attachments, setting the `form`, `gem`, or `notebook` field is not supported.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `material` can be only one of the following: \"driveFile\": { object (/workspace/classroom/reference/rest/v1/Material#SharedDriveFile) }, \"youtubeVideo\": { object (/workspace/classroom/reference/rest/v1/YouTubeVideo) }, \"link\": { object (/workspace/classroom/reference/rest/v1/Link) }, \"form\": { object (/workspace/classroom/reference/rest/v1/Form) }, \"gem\": { object (/workspace/classroom/reference/rest/v1/Material#GeminiGem) }, \"notebook\": { object (/workspace/classroom/reference/rest/v1/Material#NotebookLmNotebook) } // End of list of possible types for union field `material`. } ``` |\n\n| Fields ||\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `material`. Material content. `material` can be only one of the following: ||\n| `driveFile` | `object (`[SharedDriveFile](/workspace/classroom/reference/rest/v1/Material#SharedDriveFile)`)` Google Drive file material. |\n| `youtubeVideo` | `object (`[YouTubeVideo](/workspace/classroom/reference/rest/v1/YouTubeVideo)`)` YouTube video material. |\n| `link` | `object (`[Link](/workspace/classroom/reference/rest/v1/Link)`)` Link material. On creation, this is upgraded to a more appropriate type if possible, and this is reflected in the response. |\n| `form` | `object (`[Form](/workspace/classroom/reference/rest/v1/Form)`)` Google Forms material. Read-only. |\n| `gem` | `object (`[GeminiGem](/workspace/classroom/reference/rest/v1/Material#GeminiGem)`)` Gemini Gem material. Read-only. |\n| `notebook` | `object (`[NotebookLmNotebook](/workspace/classroom/reference/rest/v1/Material#NotebookLmNotebook)`)` NotebookLM Notebook material. Read-only. |\n\nSharedDriveFile\n---------------\n\nDrive file that is used as material for course work.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"driveFile\": { object (/workspace/classroom/reference/rest/v1/DriveFile) }, \"shareMode\": enum (/workspace/classroom/reference/rest/v1/Material#ShareMode) } ``` |\n\n| Fields ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| `driveFile` | `object (`[DriveFile](/workspace/classroom/reference/rest/v1/DriveFile)`)` Drive file details. |\n| `shareMode` | `enum (`[ShareMode](/workspace/classroom/reference/rest/v1/Material#ShareMode)`)` Mechanism by which students access the Drive item. |\n\nShareMode\n---------\n\nPossible sharing options. Defaults to VIEW if left unspecified, and other values may only be specified within a course work object of type ASSIGNMENT.\n\n| Enums ||\n|----------------------|-----------------------------------------------------------|\n| `UNKNOWN_SHARE_MODE` | No sharing mode specified. This should never be returned. |\n| `VIEW` | Students can view the shared file. |\n| `EDIT` | Students can edit the shared file. |\n| `STUDENT_COPY` | Students have a personal copy of the shared file. |\n\nGeminiGem\n---------\n\nGemini Gem link.\n\n| JSON representation |\n|----------------------------------------------------------|\n| ``` { \"id\": string, \"title\": string, \"url\": string } ``` |\n\n| Fields ||\n|---------|-------------------------------------------------------------|\n| `id` | `string` Gems resource id. |\n| `title` | `string` Title of the Gem. Read-only. |\n| `url` | `string` URL that can be used to access the Gem. Read-only. |\n\nNotebookLmNotebook\n------------------\n\nNotebookLM Notebook link.\n\n| JSON representation |\n|----------------------------------------------------------|\n| ``` { \"id\": string, \"title\": string, \"url\": string } ``` |\n\n| Fields ||\n|---------|------------------------------------------------------------------|\n| `id` | `string` Notebook resource id. |\n| `title` | `string` Title of the Notebook. Read-only. |\n| `url` | `string` URL that can be used to access the Notebook. Read-only. |"]]