Link to plugin page: https://zeroqode.com/plugin/complete-google-drive-service-acc-1528978032696x958624210411847700
Push files to Google Drive using a Service Account both as Base64 or File Type. The easiest way to allow your app to move data on its own.
NOTE: This is the JSON WEB Token authentication version, users will access the Service Account Google Drive.For the information on how to obtain Service Account Keys for a Service Acc. Plugin, please read here: https://docs.zeroqode.com/obtaining-google-service-account-keys
All pushed files are stored in Google Service account and can be retrieved only through the API (for instance- Get Files). The files are NOT stored in Google Drive itself.
Service accounts, types of service accounts, and the IAM roles that are available to service accounts please find here: https://cloud.google.com/iam/docs/service-accounts
A shared drive is an organizational structure within Google Drive that lives parallel to My Drive. You can organize an individual file within a shared drive or in My Drive but not both. For more details please visit this page: https://developers.google.com/drive/api/v3/about-files
For using the plugin you'll need to get the API credentials with JWT for Google Create your development account at: https://console.cloud.google.com/home/dashboard and also enable Google Drive API in the console.
Go to your Google Console and add a new project.
Enter your project name and click "Create"
If necessary, add an organization
Select your project
Go to APIs and services > Library
Find Google Drive API and click it
Press Enable
Go to APIs and services > Credentials
Click Create Credentials
In appeared dropdown select Service account
Enter service account name
You can skip the next two steps
Click Service Account email
Select KEYS tab
Add key
Save the .json file
Open APIs and services > OAuth consent screen
Select as user type External and press Create and complete form
Find your .json file and open it
You can open file with any text editor (Notepad, Notepad++, Sublime Text, Atom, etc.)
Use string from "client_email" as Iss (account email)
Use string from "private_key" field as Private key
IMPORTANT: Need to replace all "\n" symbols in key with linebreak ("Enter" button)!
Special File Loader for Base64 Returning Files
Fields
Exposed States
files - Uploaded file encoded in base64 (Text)
info - Mime Type of the file uploaded file (Text)
Name - Name of the uploaded file (Text)
Actions
Events
Generates a special search line to send in the Search/Get Files request
Once generated, you must pass the value of the return action to api call.
Returns files from Google Drive
To generate a correct query string you can use the Generate Sort Query action
Upload a file to Google Drive
Upload binary file to Google Drive
Create a file or folder on Google Drive
Gives everyone permission to change or to create file to Google Drive.
Gives everyone permission to read file on Google Drive
Deletes a permission to access with link.
Remove permission from file using file id and permission id.
Give a user write permission.
Give a user read permission
Give to user permission and set its role to the writer.
Give to user permission and set its role to the reader.
Delete file from Google Drive
Get information about file
Returns image from Google Drive as media.
Update file name
Return childrens of folder
Exports a Google Doc to the requested MIME type and returns the exported content. Please note that the exported content is limited to 10MB.
Return Download URL of the file
For file name untitled issue , you'll need to create a workflow of a few steps, both of which are calls found in plugin:
Update 30.04.2021
Update 27.09.2021
Improvement: Version: 1.9.0
Update 27.09.2021
Improvement: Version: 1.9.0
Update 18.11.21
Improvement: Version: 1.10.0
Update 02.03.2022
Improvement: 1.11.0
Bubble Editor: https://bubble.is/page?type=page&name=google_drive_demo&id=zeroqode-demo-13&tab=tabs-1