I use script from here to create spread sheet, but it always creates as closed one. I need to create spread sheet that accessible by link, but I cannot find a way to do it.
Here what I mean:
$spreadsheet = new Google_Service_Sheets_Spreadsheet([
'properties' => [
'title' => $title,
]
]);
(taken from link I proposed before) I creating new spreadsheet, and I assume that I need to do something like that
$spreadsheet = new Google_Service_Sheets_Spreadsheet([
'properties' => [
'title' => $title,
'access' => 'by_link' //pseudo code
]
]);
How to do it?