
Also, this can be used without using the access token. In this case, the access token retrieved from the service account can be used. In this workaround, the file list is retrieved using the Web Apps created by Google Apps Script, and when the script of golang requests to the Web Apps, the file list is returned. In this case, the starred file list can be retrieved.

In this workaround, the file list in the specific folder can be retrieved with the access token retrieved from OAuth2 instead of the service account. When you want to retrieve the starred file list, how about the following workarounds? Workaround 1: So in the current stage, I thought that unfortunately, the starred file list cannot be directly retrieved using the service account. I think that this is the reason of the issue. I thought that this is a bug or the current specification for the service account.īecause for example, when files(name,starred) is used for fields, even when the files with the star are existing in the folder, the field of starred is always false for all files.

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

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