require 'google_drive'
session = GoogleDrive::Session.from_service_account_key 'key.json'
spreadsheet = session.spreadsheet_by_key 'spreadsheet_key'
worksheet = spreadsheet.worksheets.first
worksheet.save
如何在save
之前读写工作表属性?
https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/sheets#gridproperties
我需要读写hideGridlines
属性。