In my application, I am allowing a user to input a sheet URL and then my application pulls in information from the sheet as well as allow them to append some values to the sheet.
This is all meant to be done in a specific google workspace. I would like to validate that the sheet the user imported comes from the google workspace I am expecting and is not public.
I am not sure if this is possible or not. I have scoured the Google developer docs around sheets and I haven't found any related questions on SO.
Is there any way to achieve that?