Sharing a Google Drive for collaborative working - google-drive-api

I was recommended by Google Support to ask here.
How do I get a work around for using my Google Drive as a collaborative work area? i.e. share the entire drive with others? Currently Google only allows a Drive to be associated to a single account whereas that's no use for collaborative working / sharing unless you share multiple folders as once?
Any thoughts
Cheers
BJS

Can't you make a folder and treat it as root (like C:) and subfolder it from there?
Then modify the share settings on your root folder from private to anyone with a link or public.
It might not be the way you intended to use it but as far as I know this works.
Sincerely
Bert

Related

Prestashop Upload Images to Google Drive

I have a requirement from my client to make the prestashop (products images, categories images etc) directly upload to Google Drive. Before to start the implementation I have been looking for some tutorials but I didn't found anything. That made me think it's not so easy to implement this feature.
Do you know if is this possible without changing half of Prestashop's core?
You can copy img folder to google drive public folder and use PrestaShop media server. but google drive is not suitable choice for this usage.

How to disable copy/ download access for editors in google sheets

I would like to restrict access on google sheets so that only an "owner" can download/ copy a document.
Currently the files only allow folks tagged to viewer/ commenter access to be disabled
Is there a script that i can use to extend this to folks tagged to "editor" access as well.
Thanks
As comment by James D and as seen on the Google Support page
When you share a file with someone, you can choose what they can do with it.
View: People can view, but can’t change or share the file with others.
Comment: People can make comments and suggestions, but can’t change or
share the file with others.
Edit: People can make changes, accept or
reject suggestions, and share the file with others.
So if you want to restrict access to some documents, spreadsheets, any file, you must change the user's permission.

Make my app silently login to default predefined google drive account instead of asking users account

thanks for reading!
So I recently got some good ideas but my knowledge just isn't enough here. Even though my google-ing should be top notch I could't find anything about this.
I want the user to take a picture of something, upload the image to google drive, and download it as .txt file, so I would like to do an OCR. Making all the users give me their google drive access is not what I want. I want to have one dedicated google drive, where they automatically log into when the app starts, upload and download the stuff from that one same google drive account for everyone. The problem is that I can't really figure out how to do that. I'm quite new to API-s as well.
The scenario you describe is best achieved using a Service Account. See https://developers.google.com/identity/protocols/OAuth2ServiceAccount

Visual interface Google Drive for app

Maybe this is a silly question, but I've been trying to look information about it on internet without luck.
I have an app that uses Google Drive SDK. I was wondering if there is an option to actually access my files stored for my app like I can access my personal files in Google Drive
I have a small mess with some folders and it will be easier if I can actually manage them with a visual interface.
Thanks!
I'm guessing that your app uses a Service Account? If so, then there is no UI. See this question I can't see the files and folders created via code in my Google Drive
Aha. You cant with a service account. However you could share the files and folders with a "real" account and see them. Easier to do if you already have everything inside a root folder so you only share that folder.

Determine if a certain File is process by a project that uses Google Drive API

Good day! I am currently developing a website using Google Drive API. However, I am wondering if is it possible to know if a certain file is created/uploaded/shared by the project using an App Id. I was thinking if it is belong to the attributes of a file. But, when i checked, it seems that, there's no such thing.
What I am trying to do, is to filter the files' shared by the other user to the owner of the account using my web site. Is it possible? Any suggestions on how to do it?
Thank you in advance.
File metadata doesn't contain this information unfortunatelly, therefore you can't know if some file was created by your app or not. But FYI Google store it somewhere, if you will try to upload somefile without providing its content type (* / *) and after that try to open this file through browser you will see the message:
No preview available
This item was created with YourAppName, a Google Drive app.
Download this file or use one of the apps you have installed to open it.