naxwebsites.blogg.se

Google drive login florida
Google drive login florida










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.

google drive login florida

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.

  • 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.
  • google drive login florida

    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

    google drive login florida

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












    Google drive login florida