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

List

List files in 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 listed.

See Google Drive API Guide

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

🗝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 listing was executed successfully. Example: true

Data : String

List of files as JSON string. Example: {{ "1bzL3JPJDmN_sLe0hzySuGUzK2mtW1xML": { "Id": "1bzL3JPJDmN_sLe0hzySuGUzK2mtW1xML", "Name": "test-photograph.jpg", "Size": 271191, "Version": 3,b"CreatedTime": "2023-11-16T08:01:18.824+02:00" }, ...

Task Changelog

Changelog for Task Frends.GoogleDrive.List.

[1.1.0]

Added

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

[1.0.0] - 2023-11-17

Added

  • Initial implementation

Last updated

Was this helpful?