Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Search capabilities with Google Cloud Storage

I'm going to use Google's infrastructure to store files and I hesitate between Google Drive and Google Cloud Storage. I don't think I'll store a lot of data (less than 50GB). However I would like to offer search functionality through files contents (FULL TEXT) to my users. I know it's available with Google Drive SDK https://developers.google.com/drive/search-parameters but I'm not sure it is for Google Cloud Storage files ? I don't want to force my users to have a google account and they will be able to share files to others, and they will do all their stuff through my web site.

One more question, is there a way to manage identities with a Google API (create/update users) ? without a gmail account ?

thanks

like image 448
Cyril S. Avatar asked Nov 12 '22 06:11

Cyril S.


1 Answers

Google cloud storage does not offer full text search at this time.

Identities require a Google/gmail account, but check out signed URLs: https://developers.google.com/storage/docs/accesscontrol#Signed-URLs.

Your app can determine whether one of your users should have access to an app and then hand the user a signed url that grants access to that object for a limited period of time.

like image 118
fejta Avatar answered Nov 15 '22 07:11

fejta