Hi,

I'm building an application that create a test containing a google sheet 
link. The sheet is created using a service account and the issue I'm facing 
is I cannot make the sheet available to everyone via the API call.

Sheets.Spreadsheets.Create create = sheetsClient.spreadsheets().create(new 
Spreadsheet());
Spreadsheet spreadsheet = create.execute();
return spreadsheet.getSpreadsheetUrl();


Which works fine and gives me a valid SpreadsheetUrl. However, when I access 
the url I get a request permission page, and since the link is created by a 
service account 

I cannot change the permission of the link. Is there a way I can set the 
permission in the code? I also set the SCOPE to 


SheetsScopes.SPREADSHEETS


Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to