Google Drive / Viewer

Home > User guide > BOT > How to use the BOT editor > Extention> Google Drive > Google Drive / Viewer

App overview
Displays a table listing the files on Google Drive.
Extended Feature URL | cbot-extension://cloud-bot:google-drive:view:1 |
Provider | Cloud BOT official |
External communication | Yes *This application communicates with Google Cloud's API. |
Version | 1 |
Transaction | Use a transaction for each execution. 2 transactions per execution |
Preconfiguration
Google Cloud Settings
When using the Google Sheets extension, it is necessary to configure Google Cloud beforehand.
Please refer to the detailed instructions here and complete the setup.
Screen description
Input screen
Step1

Authentication method
Select the authentication method.
Service Account: Authenticate using a Google Cloud service account.
Authentication type
Specify the authentication type.
Reference the authentication info from a file: Authenticate using a JSON file.
Enter the authentication info in JSON format: Authenticate by entering credentials in JSON format.
* For authentication information, please refer to this.
Authentication file
This is displayed when you select 'Reference the authentication info from a file' as the authentication type.
Specify the JSON file.
Authentication text (JSON format)
This is displayed when you select 'Enter the authentication info in JSON format' as the authentication type.
Enter the JSON text.
Folder ID
Specify the ID of the folder to download.
You can also specify it by entering the entire file URL.
[How to Check the Folder ID]
Right-click the folder on Google Drive, select "Share" and then choose "Copy link" to copy the URL. Paste it into a text editor to check.
The part between "/d/
" and "/edit
" in the URL is the folder ID.
例:「https://docs.google.com/file/d/1A2B3C4D5E6F7G8H9I0J/edit#gid=0」
Output file type
Select the file type for displaying the table information.
Sort item
Specify the sorting items.
Name: Sort by name.
Modified time: Sort by modified time.
Sort order
Choose whether to sort the retrieved items in ascending or descending order.
Filter method
Specify how to filter the items.
Do not use regular expression : You can use wildcards for sorting criteria.
*For more information on wildcards, click here
Use regular expression : You can use regular expressions for sorting criteria.
*For more information on regular expressions, click here
Filter pattern
Specify the filter pattern.
Number of displays
Specify the number of items to display.
Result Screen
Displays a table listing the files on Google Drive.

The results will be displayed.
- File ID : The ID of the file.
- Name : The name of the file.
- Type : The type of the file.
- Modified time : The last updated timestamp of the file.
- File size (byte):The data size of the file in bytes.