When creating attachments, setting the form field is not supported.
JSON representation
{// Union field material can be only one of the following:"driveFile": {object (SharedDriveFile)},"youtubeVideo": {object (YouTubeVideo)},"link": {object (Link)},"form": {object (Form)}// End of list of possible types for union field material.}
Fields
Union field material. Material content. material can be only one of the following:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-03 UTC."],[[["Course work materials can include Google Drive files, YouTube videos, and links, and these are automatically categorized when possible."],["When attaching materials to coursework, the \"form\" field is not supported."],["Shared Google Drive files for coursework offer varying access levels for students: view, edit, or individual copies."],["`ShareMode` defaults to \"view\" unless specified within assignments, allowing control over student interaction with materials."]]],[]]