{"id":32325,"date":"2025-03-05T11:58:26","date_gmt":"2025-03-05T02:58:26","guid":{"rendered":"https:\/\/docs.c-bot.pro\/?p=32325"},"modified":"2025-03-25T19:36:12","modified_gmt":"2025-03-25T10:36:12","slug":"google_drive_viewer","status":"publish","type":"post","link":"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/google_drive\/google_drive_viewer\/","title":{"rendered":"Google Drive \/ Viewer"},"content":{"rendered":"\n<p><a href=\"https:\/\/docs.c-bot.pro\/en\/\"><i class=\"fas fa-book\"> <\/i> &nbsp; Home<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\">User guide<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/\">BOT<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/\">How to use the BOT editor<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\">Extention<\/a>&gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/google_drive\">Google Drive<\/a> &gt; Google Drive \/ Viewer<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full is-resized extension_icon\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"500\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2025\/03\/icon_GoogleDrive.png\" alt=\"\" class=\"wp-image-32322\" style=\"width:75px;height:75px\"\/><\/figure>\n\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\">App overview<\/h2>\n\n\n\n<p>Displays a table listing the files on Google Drive.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Extended Feature URL<\/td><td>cbot-extension:\/\/cloud-bot:google-drive:view:1<\/td><\/tr><tr><td>Provider<\/td><td>Cloud BOT <span style=\"margin-left: 2px ; padding: 2px 7px; border:0px solid #000 ; background-color: #007bff ; border-radius: 5px ; color: #ffffff ; font-size: 0.7em;\" class=\"badge\">official<\/span><\/td><\/tr><tr><td>External communication<\/td><td>Yes<br>*This application communicates with&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/cloud.google.com\/?hl=en\" target=\"_blank\"><\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/cloud.google.com\/\" data-type=\"URL\" data-id=\"https:\/\/openai.com\/\" target=\"_blank\">Google Cloud<\/a>'s API.<\/td><\/tr><tr><td>Version<\/td><td>1<\/td><\/tr><tr><td>Transaction<\/td><td>Use a transaction for each execution.<br>2 transactions per execution<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 id=\"outline__2\" class=\"wp-block-heading\">Preconfiguration<\/h2>\n\n\n\n<h3 id=\"outline__2_1\" class=\"wp-block-heading\">Google Cloud Settings<\/h3>\n\n\n\n<p>When using the Google Sheets extension, it is necessary to configure Google Cloud beforehand.<br>Please refer to the <a rel=\"noreferrer noopener\" href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/google_cloud_settings\/\" target=\"_blank\">detailed instructions here<\/a> and complete the setup.<\/p>\n\n\n\n<h2 id=\"outline__3\" class=\"wp-block-heading\">Screen description<\/h2>\n\n\n\n<h3 id=\"outline__3_1\" class=\"wp-block-heading\">Input screen<\/h3>\n\n\n\n<h4 id=\"outline__3_1_1\" class=\"wp-block-heading\">Step1<\/h4>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"709\" height=\"1024\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2025\/03\/img_gd_view_input_en-709x1024.png\" alt=\"\" class=\"wp-image-32490\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><strong><strong>Authentication method<\/strong><\/strong><\/p>\n\n\n\n<p class=\"extension_guide_body\">Select the authentication method.<\/p>\n\n\n\n<p>Service Account: Authenticate using a Google Cloud service account.<\/p>\n\n\n\n<p><strong><strong>Authentication type<\/strong><\/strong><\/p>\n\n\n\n<p>Specify the authentication type.<\/p>\n\n\n\n<p>Reference the authentication info from a file: Authenticate using a JSON file.<br>Enter the authentication info in JSON format: Authenticate by entering credentials in JSON format.<\/p>\n\n\n\n<p class=\"extension_detail_item_body\"><small> * For authentication information, please refer to <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/google_cloud_settings\/\" target=\"_blank\" rel=\"noopener noreferrer\">this<\/a>.<\/small><\/p>\n\n\n\n<p><strong><strong>Authentication file<\/strong><\/strong><\/p>\n\n\n\n<p class=\"extension_guide_body\">This is displayed when you select 'Reference the authentication info from a file' as the authentication type.<br>Specify the JSON file.<\/p>\n\n\n\n<p><strong><strong>Authentication text (JSON format)<\/strong><\/strong><\/p>\n\n\n\n<p class=\"extension_guide_body\">This is displayed when you select 'Enter the authentication info in JSON format' as the authentication type.<br>Enter the JSON text.<\/p>\n\n\n\n<p><strong>Folder ID<\/strong><\/p>\n\n\n\n<p>Specify the ID of the folder to download.<br>You can also specify it by entering the entire file URL.<\/p>\n\n\n\n<p><strong><strong>[How to Check the Folder ID]<\/strong><\/strong><\/p>\n\n\n\n<p>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.<br>The part between \"<code>\/d\/<\/code>\" and \"<code>\/edit<\/code>\" in the URL is the folder ID.<br>\u4f8b\uff1a\u300chttps:\/\/docs.google.com\/file\/d\/<span style=\"background: linear-gradient(transparent 60%, #bbddee 0%)\">1A2B3C4D5E6F7G8H9I0J<\/span>\/edit#gid=0\u300d<\/p>\n\n\n\n<p><strong>Output file type<\/strong><\/p>\n\n\n\n<p>Select the file type for displaying the table information.<\/p>\n\n\n\n<p><strong>Sort item<\/strong><\/p>\n\n\n\n<p>Specify the sorting items.<\/p>\n\n\n\n<p>Name: Sort by name.<br>Modified time: Sort by modified time.<\/p>\n\n\n\n<p><strong>Sort order<\/strong><\/p>\n\n\n\n<p>Choose whether to sort the retrieved items in ascending or descending order.<\/p>\n\n\n\n<p><strong>Filter method<\/strong><\/p>\n\n\n\n<p>Specify how to filter the items.<\/p>\n\n\n\n<p>Do not use regular expression : You can use wildcards for sorting criteria.<br><small>*For more information on wildcards, <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/regex\/#outline__1_0_1\" target=\"_blank\" rel=\"noreferrer noopener\">click here<\/a><\/small><br>Use regular expression : You can use regular expressions for sorting criteria.<br><small>*For more information on regular expressions, <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/regex\/#outline__1_0_2\" target=\"_blank\" rel=\"noreferrer noopener\">click here<\/a><\/small><\/p>\n\n\n\n<p><strong>Filter pattern<\/strong><\/p>\n\n\n\n<p>Specify the filter pattern.<\/p>\n\n\n\n<p><strong>Number of displays<\/strong><\/p>\n\n\n\n<p>Specify the number of items to display.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 id=\"outline__3_2\" class=\"wp-block-heading\">Result Screen<\/h3>\n\n\n\n<h4 id=\"outline__3_2_1\" class=\"wp-block-heading\">Displays a table listing the files on Google Drive.<\/h4>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"399\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2025\/03\/img_gd_view_conp_en-1024x399.png\" alt=\"\" class=\"wp-image-32491\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>The results will be displayed.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>File ID : <\/strong>The ID of the file.<\/li>\n\n\n\n<li><strong>Name : <\/strong>The name of the file.<\/li>\n\n\n\n<li><strong>Type : <\/strong>The type of the file.<\/li>\n\n\n\n<li><strong>Modified time<\/strong> :<strong> <\/strong>The last updated timestamp of the file.<\/li>\n\n\n\n<li><strong>File size (byte)\uff1a<\/strong>The data size of the file in bytes.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Home &gt; User guide &gt; BOT &gt; How to use the BOT editor &gt; Extention&gt; Google Drive &gt; 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&nbsp;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 [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_locale":"en_US","_original_post":"https:\/\/docs.c-bot.pro\/?p=32321","footnotes":""},"categories":[129],"tags":[],"class_list":["post-32325","post","type-post","status-publish","format-standard","hentry","category-google_drive","en-US"],"_links":{"self":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/32325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/comments?post=32325"}],"version-history":[{"count":4,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/32325\/revisions"}],"predecessor-version":[{"id":32494,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/32325\/revisions\/32494"}],"wp:attachment":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/media?parent=32325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/categories?post=32325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/tags?post=32325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}