Relative Content

Tag Archive for google-cloud-platformgoogle-drive-api

Failing to retrieve google drive labels using google service account

I’m using google service account to interact with google drive – reading files and folders etc. It works fine but i can’t retrieve labels. Even if i specifically require labelInfo in fields, it’s never returned back (key is not in the response). With fields="files(*)" there are canReadLabels and canModifyLabels so it has some sort of idea about labels.