Material attached to course work.
When creating attachments, setting the form, gem, or notebook field is not supported.
| JSON representation | 
|---|
| { // Union field | 
| Fields | |
|---|---|
| Union field material. Material content.materialcan be only one of the following: | |
| driveFile | 
 Google Drive file material. | 
| youtubeVideo | 
 YouTube video material. | 
| link | 
 Link material. On creation, this is upgraded to a more appropriate type if possible, and this is reflected in the response. | 
| form | 
 Google Forms material. Read-only. | 
| gem | 
 Gemini Gem material. Read-only. | 
| notebook | 
 NotebookLM Notebook material. Read-only. | 
GeminiGem
Gemini Gem link.
| JSON representation | 
|---|
| { "id": string, "title": string, "url": string } | 
| Fields | |
|---|---|
| id | 
 Gems resource id. | 
| title | 
 Title of the Gem. Read-only. | 
| url | 
 URL that can be used to access the Gem. Read-only. | 
NotebookLmNotebook
NotebookLM Notebook link.
| JSON representation | 
|---|
| { "id": string, "title": string, "url": string } | 
| Fields | |
|---|---|
| id | 
 Notebook resource id. | 
| title | 
 Title of the Notebook. Read-only. | 
| url | 
 URL that can be used to access the Notebook. Read-only. |