Link to plugin page: https://zeroqode.com/plugin/google-drive-api-1533643899387x405657498681344000
Push files to Google Drive using your Users Drive Account both as Base64 or File Type. The easiest way to allow your app to move data on its own.
Note: This is the OAuth version, your users will sign into their own Drive account's using the plugin then have access to their files.
Prerequisites
You must have a developer account with Google to interact with the plugin API. Create your development account at: https://console.cloud.google.com/home/dashboard and also enable Google Drive API in console.
The plugin comes with Save to Drive Visual Element and FileUploader. Place the element on page and configure it.
Note: This element is optional to use. Please see the information on the element to understand it's usage
fileId - The ID of the file.
ime type - The MIME type of the file. Google Drive will attempt to automatically detect an appropriate value from uploaded content if no value is provided. The value cannot be changed unless a new revision is uploaded. If a file is created with a Google Doc MIME type, the uploaded content will be imported if possible. The supported import formats are published in the About resource.
file description - A short description of the file.
childId - The ID of the child.
enforceSingleParent - Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive. If the child's owner makes the request, the child is removed from all current folders and placed in the requested folder. Any other requests that increase the number of the child's parents fail, except when the canAddMyDriveParent file capability is true and a single parent is being added.
permissionId - The ID for the permission
Update 05/04/21Improvement