Helper::GoogleDrive Class

Description

Helper class for downloading and uploading files to Google Drive.

Properties

namedResourceCharacter

Named Resource to read credentials from.

folderIdCharacter

The Id of the folder to list (if using list)

errorCharacter

Error reported back from call (if call fails)

created_idCharacter

Created Id of uploaded document.

responseCharacter

Raw curl response from google server.

Methods

EmbeddableLink Method

Create a sharable link for a google file resource given a file id.

ExportFile Method

Export a google document to a specified format.

GetFile Method

Download a file from google drive.

ListFiles Method

List Files in supplied google drive folder.

UploadFile Method

Upload a file to google drive.

See Also