Templates Plugins Courses

How to use Google Drive Service Acc


#9

Like when i used the site of Jarrad, he creates the code, but do i have to add other settings inside google? Or is the only thing to put in the plugin and then i can directly use the api, because this doesn’t work for me.


#10

Still struggling :man_facepalming:t3:


#11

We are currently preparing a demo app for this plugin, and hopefully will be able to post it soon. Please bear with us


#12

Hello @buero & @krasimir.v.rankov , thank you for reaching out.

Today we made a small plugin update, created a demo and first version of “How to use” documentation.

We hope that will help you.

Demo:

Documentation:
https://docs.zeroqode.com/plugins/google-drive-service-acc.-plugin

Regards, Zeroqode Team


#13

Hi Guys,
I’m struggling with implementing this. I’ve acquired a a service account, JWT key and Drive API. My test page is throwing this error when I try to do any create operations.

I’ve tried various encodings for the key and tried to mirror what I saw in the example app. Not sure if I’m missing something here.

Thanks


#14

Hi Jon,
did you check out our demo page https://bubble.is/page?type=page&name=google_drive_demo&id=zeroqode-demo-13&tab=tabs-1

and the documentation https://docs.zeroqode.com/plugins/google-drive-service-acc.-plugin

?


#15

I did. I modeled my page after this. Unfortunately this error isn’t very descriptive.


#16

if it’s a matter of getting the keys encoded right you can use this tool


#17

Hello can someone please guild me on how to get my private api key? @levon


#18

Hello, @ben

You could check the documentation for getting service account keys for Google Services here: https://docs.zeroqode.com/plugins/google-sheets-and-charts-service-plugin/obtaining-service-account-keys
It is used to show how to setup the Google Sheets Service Plugin but the steps of getting a service key for GDrive or Sheets are same, so please refer to it.

Regards,
Dumitru.


#19

It didn’t work. I get error " temporary bug"


#20

Ben, please show your setup details with screenshots/video of workflow, Google Dashboard so we could help you better.
Right now we tested out the How To get service keys and it works to get the key that way and test it under service account plugin.

Regards,
Dumitru.


#21


#22

Hello @ben

Thanks for sharing , however I would recommend to file a bug report to bubble: www.bubble.is/bug_report to file an official bug.
Also maybe try uninstalling, refresh the app and installing plugin again to give it another try.
Thanks for understanding.

Regards,
Dumitru.


#25

Can we enable support for team drives? (support article) . It seems like a natural fit when using a service account with drive.

FYI I just spent hours troubleshooting permissions between Drive UI, G Suite Admin Console, & Google Cloud API Console for a 404 error I was getting only to find out that the plugin was not raising a simple supportsTeamDrives=true flag during the request that was causing this. Regular drive shares work fine, BTW.

To be fair, I may be underselling how ‘simple’ adding team drive really is because the supportsTeamDrives=true flag I mentioned is used as a way to qualify that application (your plugin) is aware of the added parameters, capabilities, and different behavior when accessing shared drives.

Anyways, I’m curious to know
Thanks


#26

Hi there @jon1.

Let us check it out, thanks. I’ll be back to you asap with an update.


#27

While I’ve got someone’s attention. Is anyone aware of the API limitations or SLAs are for Drive in G-suite? Rate & bandwidth limits? I’ve tried getting this info from Google, but G Suite support directs me to Google Cloud Platform support and Google Cloud Platform support directs me to G Suite support. I’m hoping you guys have some more insight :slight_smile:

From what I’ve seen posted on places like reddit / stack overflow its 10m (or 100m calls) a day and 750gb /month transfer. When compared this with Dropbox or Box this isn’t even close (25,000 and 15,000 calls a month respectively - unknown transfer). Given how different these offerings are, I’m wondering if Google is doing at a loss and will change the rules. We’ve seen how fickle google can be… I’ve also seen google drive ‘enterprise’ storage, which isn’t tied to G Suite and seems to have a different pricing model based on amount of transfer in and transfer out.


#28

Any updates on wether or not this is possible? Not a rush though, I’m just trying to plan out where I’ll be storing these files.


#29

Hi there @jon1

We’re still looking into this ticket, however it’ll take some time due to priorities for other issues. Thanks for understanding.

Regarding limits of the Drive API, as was talked in this thread: https://stackoverflow.com/questions/10311969/what-is-the-limit-on-google-drive-api-usage/10313416#10313416
and answered by a Google Drive engineer/employer the quota can be seen in Google’s API Console.
And as you see the answer is pretty much what the info is known to the public.


#30

Hello @jon1

Regarding the support for TeamDrives, please upgrade the plugin to latest version, refresh the app and give a try.
Also would be a good idea to check the permissions settings to manage the members and drives:

Thanks for patience and understanding.

Regards,
Dumitru.