I am using the Google Classroom API to automatically create assignments for multiple instructors. Currently, I add all materials by using the "link" type. However, this option does not allow me to change the Share Type of a Google Drive file (e.g. student own copy or edit).
I am not uploading the materials using the "driveFile" type of materials because it doesn't seem feasible for me to get a Drive API resource ID because other instructors are providing me with the links to their files.
As soon as I add the material, it switches to a "driveFile" type, so it seems like I should be able to change the Share Type of that file. However, I can't switch the Share Type after it has already been added to Classroom because "Patch" does not allow for changes in course materials. Is there any way to get around this?