[What I want to do]
Press https://drive.google.com/ on the left side of the and change the "Shared Drive Settings" in the API, where you can right-click a specific drive from among the shared drives listed there.
試Trial 】
Using the link as a reference, I set the parameters "DomainUsersOnly" and "DriveMembersOnly" to true and false to create a shared drive, but when I checked from the GUI, it didn't change.
Link: https://pkg.go.dev/google.golang.org/api @v0.52.0/drive/v3#DriveRestrictions
go google-drive-sdk
After specifying the parameters in update(), I was able to change them.
The parameters may not be available during create()
© 2024 OneMinuteCode. All rights reserved.