Hello my fellow Programmers, I am working on a java program that automatically creates a Google Spreadsheet with a predefined structure. It works like a charm, but I have a problem with giving writing permissions to other people. I have a list of gmail accounts that should be allowed to write on my spreadsheet, but i can't seem to find a way to give these permissions automatically. I tried to follow these google guides here: https://developers.google.com/drive/api/v2/reference/permissions/insert https://developers.google.com/drive/api/v3/manage-sharing
but it does not work, because I don't have a DriveService running, I'm using a SheetService, and the code from above is not compatible with my SheetService.
The google SheetsService does not have a Permission import like a DriveService does:
no Permission to be imported here
So if somebody has any idea how I can solve this issue I would be very thankful. If you need more information just ask. Thank you.