I am trying to get the file using google drive api, by default the file is not shareable i want to make it shareable.
Here is my code:-
Using the answer under this question did it for me: make folder shared google drive api v3?
I applied it to 'file' rather than folder, made the type 'anyone' and role 'reader' - seems to be the equivalent of making the file shared.