I am trying to delete excess rows and columns (known range) from a list of google sheets (around 570 sheets) in a specific directory.
I was able to get the spreadsheet Id's using the google drive API. However, modifying the dimensions of a page require the sheet Id.
I was unable to find a way of retrieving this the sheet Id through the drive API (file properties) nor was I able to find any documentation on how I can list the available sheets within a spreadsheet given that I have the spreadsheet Id.
I tried using google apps script to reach my goal, but the run time has exceeded the allowed limit (5 minutes) even after exhausting all possibility of optimizing the code.