For the complete documentation index, see llms.txt. This page is also available as Markdown.

Download

Download objects from Google Drive.

Task version: 1.1.0

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

FileQuery : String

Query for specific files to be downloaded.

See Google Drive API Guide

Default: * Example: '42o3j8C7kntMJZeElbZb5B_5u92snSIkb' in parents and name contains 'test'

DestinationDirectory : String

Destination directory (local or network folder).

Default: - Example: //fileshare/destinationdirectory, c:\temp, /downloads

🗝ServiceAccountKeyJSON : String

Service account key JSON.

Default: - Example: { "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" }

IncludeSharedDrives : Boolean

Whether to include shared drives in the search.

Default: False Example: false

Task Result

Name
Description

Success : Boolean

Gets a value indicating whether download was executed successfully. Example: true

Data : List<DownloadResult>

List of download result(s). Example: { {"id", "filename"}, {"id", filename"} }

ErrorMessage : List<Object>

List of error messages. Example: { "An error occured...", "Another error occured" }

Task Changelog

Changelog for Task Frends.GoogleDrive.Download.

[1.1.0]

Added

  • Added a flag to include shared drives in the file search

[1.0.0] - 2023-11-16

Added

  • Initial implementation

Last updated

Was this helpful?