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

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

Related

How to reset my Drive for Desktop storage?

I have a problem where I'm unable to empty my trash in Google Drive. Somehow when I empty the trash, it'll appear empty and after refresh everything is there again. The storage use/allocation doesn't also change in size.
I have tried https://developers.google.com/drive/api/v3/reference/files/emptyTrash a proposed solution here but no luck.
I am using Standard subscription of 200 GB
Since you have a Google One account, I would suggest you going to their support page Google One Help to see if they can help you with that.
UPDATE
I have found another link for Google One support where you can talk personally to a Google Expert:
https://support.google.com/googleone/answer/9269729

Sharing a Google Drive for collaborative working

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

Sharing with others without asking for login details

I need to be able to share a file from my apple device to any user. It doesn't matter if they have an account or not, they shouldn't be asked to log in or create an account. I've tried using gdrive for Google drive but it keeps crashing. What's the best option I have?
Try https://www.box.com/. You can edit the permissions for a file so others can access it. Same as gDrive. There are other options out there too. This is just one that is pretty popular.
Here's a link that will help you do this: https://support.box.com/hc/en-us/articles/200520888-Shared-Links-Overview-and-FAQs

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.

Google Apps Scripts Error

I brought up this question in one of my Google Admin groups and was referred here so hopefully I'm where I'm supposed to be!
Here's my issue. If I include I go to Apps Scripts inside of my Manage Site page (under Sites), I get to the project page and there I can choose to open a new script from a template. Inside the Script Gallery, no matter which script I choose to "Install", I get the error stating "File name cannot be empty". I'm sure I'm making some kind of dumb mistake but I cannot figure out what I'm doing wrong. Unfortunately I can't say specifically when it started. If anyone can steer me in the right direction, I'd greatly appreciate it. I was going to attach an image but I don't have 10 posts....
Thanks,
James
I believe the Script Gallery should only be accessible through Google Spreadsheets, not in Google Sites. If you are seeing that option in Google Sites please post a screenshot so we can see (using another image hosting service if you don't have enough reputation).