Relative Content

Tag Archive for google-drive-api

How to use app script to add custom properties to a file?

I am trying to write a app script that add some custom properties to the file that stored in shared Drive. After trying multiple ways and reading through the documentationtext, I still can’t succeed adding or getting properties of a file.
Here is my coding for adding the AppProperties:

Can fetch only resources in my google drive when using java GDrive API

I have been working to a kotlin microservice that downloads file from GDrive.
To do that, I create oauth credentials and I have linked them to one user in our organization. I was able to access to files and folders contained into this user google drive. As soon as the folder was moved to a Shared Drive, I lost access from the microservice and I am not able to access a folder/file created by the same user in that shared drive.
What should I do to have access to a company shared folder from a microservice?
I also tried to share folders and file directly with the user that the microservice is supposed to “use” but nothing could fix the issue (a part creating a folder in the gdrive user’s home and share it into the shared structure with a “link”)
Thanks

Mirroring a public Google Drive to my laptop for offline use

I would like to mirror a public Google Drive to my laptop. What is the best way to do this? I have installed Google Drive for desktop and have been following instructions to go to Preferences, then Google Drive (folders from Drive) then Mirror files…how do I then specify the target public drive URL, (https//drive.google.com/drive/folders/1-JTOkg…Nj) that I want mirrorred locally for offline use?