When I copy a Classroom using the web version,
all materials/assignments are set as drafts without being published. This is what I want to achieve using GAM.
How can I get the same result when I copy a Classroom using GAM?
According to
GAMADV-XTD3 wiki , I can't find any attributes for marking published materials as drafts. It seems that only assignments can be set as drafts (workstates markpublishedasdraft). Is it really the case?
gam create|add course [id|alias <CourseAlias>] <CourseAttribute>*
[copyfrom <CourseID>
[announcementstates <CourseAnnouncementStateList>]
[materialstates <CourseMaterialStateList>]
[workstates <CourseWorkStateList>]
[markpublishedasdraft [<Boolean>]]
[removeduedate [<Boolean>]]
[mapsharemodestudentcopy edit|none|view]
[copymaterialsfiles [<Boolean>]]
[copytopics [<Boolean>]]
[members none|all|students|teachers]]
[logdrivefileids [<Boolean>>]]