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

