Frends.GoogleDrive.Download / 1.1.0
Summary
Copies files onto the agent's file system, selecting them with a Drive search query rather than by identifier, and can reach into shared drives.
Typical use — collecting documents people dropped in a folder, where the query expresses the selection rule
Input parameters.
| Name | Type | Default | Example | Description |
|---|---|---|---|---|
| FileQuery | String |
* |
'42o3j8C7kntMJZeElbZb5B_5u92snSIkb' in parents and name contains 'test' |
Query for specific files to be downloaded. See Google Drive API Guide |
| DestinationDirectory | String |
– | //fileshare/destinationdirectory, c:\temp, /downloads |
Destination directory (local or network folder). |
| ServiceAccountKeyJSONSecret | String |
– |
{
"type": "service_account",
"project_id": "something",
"private_key_id": "fdsafdsafdsalmnop12345678909876543212344",
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIE.......Hw==\n-----END PRIVATE KEY-----\n",
"client_email": "someone@something.iam.gserviceaccount.com",
"client_id": "123456789012345678900",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www....nt.com"
}
|
Service account key JSON. |
| IncludeSharedDrives | Boolean |
False |
false |
Whether to include shared drives in the search. |