Google Classroom ऐड-ऑन अब आम तौर पर डेवलपर के लिए उपलब्ध हैं! ज़्यादा जानकारी के लिए, कृपया
ऐड-ऑन दस्तावेज़ देखें.
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 )
Gemini Gem का कॉन्टेंट. सिर्फ़ पढ़ने के लिए.
|
notebook |
object (NotebookLmNotebook )
NotebookLM की सुविधा वाले नोटबुक में मौजूद कॉन्टेंट. सिर्फ़ पढ़ने के लिए.
|
SharedDriveFile
Drive में मौजूद ऐसी फ़ाइल जिसका इस्तेमाल कोर्स के काम के लिए किया जाता है.
JSON के काेड में दिखाना |
{
"driveFile": {
object (DriveFile )
},
"shareMode": enum (ShareMode )
} |
फ़ील्ड |
driveFile |
object (DriveFile )
Drive में मौजूद फ़ाइल की जानकारी.
|
shareMode |
enum (ShareMode )
वह तरीका जिससे छात्र-छात्राएं Drive में मौजूद आइटम को ऐक्सेस करते हैं.
|
ShareMode
शेयर करने के संभावित विकल्प. अगर इसे तय नहीं किया जाता है, तो डिफ़ॉल्ट रूप से VIEW सेट होता है. साथ ही, अन्य वैल्यू सिर्फ़ ASSIGNMENT टाइप के कोर्स वर्क ऑब्जेक्ट में तय की जा सकती हैं.
Enums |
UNKNOWN_SHARE_MODE |
शेयर करने का कोई मोड नहीं दिया गया है. यह कभी भी वापस नहीं आना चाहिए. |
VIEW |
छात्र-छात्राएं, शेयर की गई फ़ाइल देख सकते हैं. |
EDIT |
छात्र-छात्राएं, शेयर की गई फ़ाइल में बदलाव कर सकते हैं. |
STUDENT_COPY |
छात्र-छात्राओं के पास, शेयर की गई फ़ाइल की निजी कॉपी होती है. |
GeminiGem
JSON के काेड में दिखाना |
{
"id": string,
"title": string,
"url": string
} |
फ़ील्ड |
id |
string
Gems का रिसॉर्स आईडी.
|
title |
string
Gem का टाइटल. सिर्फ़ पढ़ने के लिए.
|
url |
string
Gem को ऐक्सेस करने के लिए इस्तेमाल किया जा सकने वाला यूआरएल. सिर्फ़ पढ़ने के लिए.
|
NotebookLmNotebook
NotebookLM की सुविधा वाले नोटबुक का लिंक.
JSON के काेड में दिखाना |
{
"id": string,
"title": string,
"url": string
} |
फ़ील्ड |
id |
string
नोटबुक का रिसॉर्स आईडी.
|
title |
string
नोटबुक का टाइटल. सिर्फ़ पढ़ने के लिए.
|
url |
string
वह यूआरएल जिसका इस्तेमाल नोटबुक को ऐक्सेस करने के लिए किया जा सकता है. सिर्फ़ पढ़ने के लिए.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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. |"]]