ndjae.blogg.se

View starred docs google drive
View starred docs google drive






view starred docs google drive view starred docs google drive

You want to achieve this using googlapis for golang.The folder is shared between your account and the service account, and you can see the starred files in your Google Drive.You want to retrieve the file list of the files which have the star from the specific folder.How does my app query for starred files in the admin's drive?įrom your question, I understood that your current situation is as follows. I suspect it has something to do with using a service account and there may be a way to fix this by impersonating something in some way, but the docs get deep and I'm not sure it will even help if I figure it out. Then fl is an empty list there are no starred files. However when my app uses the same string: q := "parents in '" + folderID + "' and starred "įl, err = ().PageSize(100).Q(q).Fields("nextPageToken, files(name)").Do() With the this query string: parents in 're89w.r9d9' and starred Now if the admin uses the Files: list "Try this API" at: The app queries for starred files in that shared folder and processes those files.The admin can star a selection of those files and invoke the app.The users can create files in that shared folder.The admin creates a Drive folder which is shared with select users and the service account.I'm using a service account key as suggested in the cloud docs:Īccessing private data on behalf of a service account outside Google

view starred docs google drive

I am developing an app locally which will eventually run on Google App Engine in Go.








View starred docs google drive