|
|
|
|
- Specific cases when using Google Drive with an existing token
- Functions that use gglDrive variables
gglDrive (Variable type) In french: gglDrive
The gglDrive type is used to handle Google Drive. To use a gglDrive variable, you need to connect to Google Drive using GglDriveConnect. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
oOAuth2Param is OAuth2Parameters
oOAuth2Param.ClientID = "client_id"
oOAuth2Param.ClientSecret = "client_secret"
oOAuth2Param.RedirectionURL = "http://localhost:9000/"
Drive is gglDrive
Drive = GglDriveConnect(oOAuth2Param)
oMyOAuthParameters is OAuth2Parameters
oOAuth2Token is AuthToken
oOAuth2Token = AuthIdentify(oMyOAuthParameters)
Drive is gglDrive
Drive = GglDriveConnect(oOAuth2Token)
Remarks Specific cases when using Google Drive with an existing token | | Property of OAuth2Parameters variables | Value used by the GglDriveConnect function |
---|
AuthURL | "https://accounts.google.com/o/oauth2/v2/auth" | TokenURL | "https://oauth2.googleapis.com/token" | Scope | "https://www.googleapis.com/auth/drive" | RedirectionURL (Editable) | "http://localhost:3400/" |
Functions that use gglDrive variables | | | Creates a connection to Dropbox. | | Copies a directory on a remote drive to another directory. | | Copies a single file on a remote drive to another directory on same drive. | | Creates a directory on the remote drive. | | Creates a file on the remote drive. | | Deletes a directory and its files from a remote drive. | | Deletes a file from a remote drive. | | Downloads a directory and its files from a remote drive to the user's computer. | | Downloads a file from a remote drive to the user's computer. | | Downloads a Google Docs Editors file from Google Drive in a given compatible format. | | Lists drive directories. | | Lists the files in a cloud-based drive directory. | | Lists Google Docs Editors files (Docs, Sheets, etc.) present on Google Drive. | | Moves a directory and its contents to another directory within a remote drive. | | Moves a file on a remote drive from one directory to another. | | Renames a file or directory on a remote drive. | | Uploads a directory and its contents to a remote drive. | | Uploads a local file to a remote drive. | | Creates a connection to Google Drive. | | Creates a connection to OneDrive. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|