{"id":353,"date":"2025-05-29T01:31:19","date_gmt":"2025-05-28T16:31:19","guid":{"rendered":"https:\/\/cg-method.com\/google\/?p=353"},"modified":"2026-10-02T17:00:58","modified_gmt":"2026-10-02T08:00:58","slug":"gas-get-drive-file-urls","status":"publish","type":"post","link":"https:\/\/cg-method.com\/google\/gas-get-drive-file-urls\/","title":{"rendered":"Google\u30c9\u30e9\u30a4\u30d6\u2502\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30ebURL\u3092\u4e00\u62ec\u53d6\u5f97\u3057\u3066\u51fa\u529b\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u6307\u5b9a\u3057\u305fDrive\u30d5\u30a9\u30eb\u30c0\u304b\u3089\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u30fb\u95b2\u89a7URL\u30fb\u30d5\u30a1\u30a4\u30ebID\u3092\u4e00\u89a7\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8d70\u67fb\u304c\u7d42\u308f\u3063\u3066\u304b\u3089\u65b0\u3057\u3044\u7d50\u679c\u30b7\u30fc\u30c8\u3092\u4f5c\u308b\u305f\u3081\u3001\u65e2\u5b58\u306e\u4e00\u89a7\u3078\u8ffd\u8a18\u30fb\u4e0a\u66f8\u304d\u3057\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u7d42\u78ba\u8a8d\u306f2026\u5e7410\u67082\u65e5\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ed\u30fc\u30ab\u30eb\u306e\u6a21\u64ec\u691c\u8a3c\u3092\u884c\u3044\u307e\u3057\u305f\u304c\u3001Google\u3078\u306e\u8a8d\u53ef\u30fb\u5b9f\u30b7\u30fc\u30c8\u3078\u306e\u53cd\u6620\u30fbDrive\u306e\u5b9f\u30d5\u30a1\u30a4\u30eb\u5217\u6319\u30fbWeb\u30a2\u30d7\u30ea\u306e\u914d\u5099\u306f\u672a\u691c\u8a3c\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7df4\u7fd2\u7528\u306e\u5165\u529b\u3068\u8a2d\u5b9a<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">ZIP\u3092\u5c55\u958b\u3057\u3001\u4f7f\u3046\u8a18\u4e8b\u306earticle-353.js\u3060\u3051\u3092Apps Script\u3078\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u540c\u540d\u306e\u95a2\u6570\u3092\u542b\u3080\u305f\u3081\u3001\u5225\u306e\u8a18\u4e8b\u306e\u30b3\u30fc\u30c9\u3092\u540c\u3058\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u6df7\u305c\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/cg-method.com\/google\/wp-content\/uploads\/2026\/10\/cgm-google-data-practice-20261002.zip\">\u30c7\u30fc\u30bf\u6574\u7406\u306e\u7df4\u7fd2\u30b3\u30fc\u30c9\u3068HTML\u4f8b\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\uff08ZIP\uff09<\/a><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th style=\"min-width:8em !important\">\u8a2d\u5b9a\u540d<\/th><th style=\"min-width:8em !important\">\u8a2d\u5b9a\u3059\u308b\u5024<\/th><\/tr><\/thead><tbody><tr><td>FOLDER_ID<\/td><td>\u95b2\u89a7\u3067\u304d\u308b\u5c11\u6570\u30d5\u30a1\u30a4\u30eb\u306e\u7df4\u7fd2\u30d5\u30a9\u30eb\u30c0ID<\/td><\/tr><tr><td>SPREADSHEET_ID<\/td><td>\u7df4\u7fd2\u7528\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8ID<\/td><\/tr><tr><td>RECURSIVE<\/td><td>\u76f4\u4e0b\u3060\u3051\u306ffalse\u3002\u5b50\u30d5\u30a9\u30eb\u30c0\u3082\u542b\u3081\u308b\u5834\u5408\u306ftrue<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8a2d\u5b9a\u3067\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305a\u65b0\u898f\u306e\u7df4\u7fd2\u30c7\u30fc\u30bf\u3092\u4f7f\u3044\u3001\u8981\u6c42\u3055\u308c\u308b\u8a8d\u53ef\u7bc4\u56f2\u3068\u64cd\u4f5c\u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5165\u529b\u4f8b\u3068\u5b9f\u884c\u3059\u308b\u95a2\u6570<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u89aa\u30d5\u30a9\u30eb\u30c0\u306bA\u30921\u500b\u3001\u5b50\u30d5\u30a9\u30eb\u30c0\u306bB\u30921\u500b\u5165\u308c\u305f\u7df4\u7fd2\u4f8b\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">RECURSIVE=false\u306e\u7d50\u679c\u306f1\u884c\u3001true\u306f2\u884c\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">exportFiles\u3067\u65b0\u3057\u3044\u7d50\u679c\u30b7\u30fc\u30c8\u3092\u4f5c\u308a\u3001\u540d\u524d\u30fbURL\u30fbID\u3092\u7167\u5408\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\"><code>\/\/ \u3053\u306e\u30b3\u30fc\u30c9\u306f\u8a18\u4e8b\u3054\u3068\u306b\u5225\u306eApps Script\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u4fdd\u5b58\u3057\u307e\u3059\u3002\nfunction required_(key) {\n  const value=PropertiesService.getScriptProperties().getProperty(key);\n  if (!value) throw new Error(key+&#x27;\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044&#x27;);\n  return value;\n}\nfunction safeCell_(value) {\n  const s=String(value);\n  return \/^[=+@-]\/.test(s) ? &quot;&#x27;&quot;+s : s;\n}\nfunction escapeHtml_(value) {\n  return String(value).replace(\/[&amp;&lt;&gt;&quot;&#x27;]\/g,c=&gt;({&#x27;&amp;&#x27;:&#x27;&amp;amp;&#x27;,&#x27;&lt;&#x27;:&#x27;&amp;lt;&#x27;,&#x27;&gt;&#x27;:&#x27;&amp;gt;&#x27;,&#x27;&quot;&#x27;:&#x27;&amp;quot;&#x27;,&quot;&#x27;&quot;:&#x27;&amp;#39;&#x27;}[c]));\n}\nfunction https_(value) {\n  const s=String(value).trim();\n  if (!\/^https:\\\/\\\/[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?(?::443)?(?:[\/?#][^\\s&lt;&gt;&quot;&#x27;\\\\]*)?$\/i.test(s)) throw new Error(&#x27;HTTPS URL\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044&#x27;);\n  return s;\n}\nfunction sourceSheet_() {\n  const sheet=SpreadsheetApp.openById(required_(&#x27;SPREADSHEET_ID&#x27;)).getSheetByName(required_(&#x27;SHEET_NAME&#x27;));\n  if (!sheet) throw new Error(&#x27;\u5bfe\u8c61\u30b7\u30fc\u30c8\u304c\u3042\u308a\u307e\u305b\u3093&#x27;);\n  return sheet;\n}\nfunction walkFolder_(root,recursive) {\n  const queue=[{folder:root,path:root.getName()}],seen=new Set(),rows=[],counts=[];\n  let visitedFiles=0;\n  for (let index=0;index&lt;queue.length;index++) {\n    if (index&gt;=100) throw new Error(&#x27;100\u30d5\u30a9\u30eb\u30c0\u3092\u8d85\u3048\u308b\u305f\u3081\u4e2d\u6b62\u3057\u307e\u3057\u305f&#x27;);\n    const {folder,path}=queue[index],id=folder.getId();\n    if (seen.has(id)) throw new Error(&#x27;\u91cd\u8907\u30d5\u30a9\u30eb\u30c0ID\u3067\u3059&#x27;);\n    seen.add(id);\n    const files=folder.getFiles();let count=0;\n    while (files.hasNext()) {\n      const file=files.next();\n      if (++visitedFiles&gt;1000) throw new Error(&#x27;1000\u30d5\u30a1\u30a4\u30eb\u3092\u8d85\u3048\u308b\u305f\u3081\u4e2d\u6b62\u3057\u307e\u3057\u305f&#x27;);\n      rows.push([safeCell_(path),safeCell_(file.getName()),file.getUrl(),file.getId()]);count++;\n    }\n    counts.push([safeCell_(path),id,count]);\n    if (recursive) {\n      const children=folder.getFolders();\n      while(children.hasNext()) {\n        const child=children.next();queue.push({folder:child,path:path+&#x27; \/ &#x27;+child.getName()});\n        if(queue.length&gt;100) throw new Error(&#x27;100\u30d5\u30a9\u30eb\u30c0\u3092\u8d85\u3048\u308b\u305f\u3081\u4e2d\u6b62\u3057\u307e\u3057\u305f&#x27;);\n      }\n    }\n  }\n  return {rows,counts,total:visitedFiles};\n}\nfunction createOutput_(header,rows) {\n  \/\/ \u8d70\u67fb\u5b8c\u4e86\u5f8c\u3060\u3051\u3001\u65b0\u898f\u306e\u7a7a\u30b7\u30fc\u30c8\u3078\u4e00\u62ec\u51fa\u529b\u3057\u307e\u3059\u3002\n  const ss=SpreadsheetApp.openById(required_(&#x27;SPREADSHEET_ID&#x27;));\n  const name=&#x27;\u7df4\u7fd2\u7d50\u679c_&#x27;+Utilities.getUuid().replace(\/-\/g,&#x27;&#x27;);\n  const sheet=ss.insertSheet(name);\n  if(sheet.getMaxRows()&lt;rows.length+1) sheet.insertRowsAfter(sheet.getMaxRows(),rows.length+1-sheet.getMaxRows());\n  sheet.getRange(1,1,rows.length+1,header.length).setValues([header,...rows]);\n  return name;\n}\nfunction recursive_(){return PropertiesService.getScriptProperties().getProperty(&#x27;RECURSIVE&#x27;)===&#x27;true&#x27;;}\nfunction previewFiles() {\n  const result=walkFolder_(DriveApp.getFolderById(required_(&#x27;FOLDER_ID&#x27;)),recursive_());\n  Logger.log(&#x27;\u30d5\u30a1\u30a4\u30eb\u4ef6\u6570: &#x27;+result.total);return result;\n}\nfunction exportFiles() {\n  const result=previewFiles();\n  return createOutput_([&#x27;\u30d5\u30a9\u30eb\u30c0\u30d1\u30b9&#x27;,&#x27;\u30d5\u30a1\u30a4\u30eb\u540d&#x27;,&#x27;\u95b2\u89a7URL&#x27;,&#x27;\u30d5\u30a1\u30a4\u30ebID&#x27;],result.rows);\n}\n<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u78ba\u8a8d\u7d50\u679c\u3068\u5207\u308a\u5206\u3051<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th style=\"min-width:8em !important\">\u6761\u4ef6<\/th><th style=\"min-width:8em !important\">\u7d50\u679c<\/th><\/tr><\/thead><tbody><tr><td>\u7a7a\u30d5\u30a9\u30eb\u30c0<\/td><td>\u65b0\u3057\u3044\u7d50\u679c\u30b7\u30fc\u30c8\u306b\u898b\u51fa\u3057\u3060\u3051\u3092\u51fa\u529b<\/td><\/tr><tr><td>\u518d\u5b9f\u884c\u30fb\u540c\u540d\u30d5\u30a1\u30a4\u30eb<\/td><td>\u5225\u306e\u65b0\u898f\u7d50\u679c\u30b7\u30fc\u30c8\u3002ID\u3067\u533a\u5225\u3057\u53e4\u3044\u884c\u3092\u6df7\u305c\u306a\u3044<\/td><\/tr><tr><td>\u4e0a\u9650\u30fb\u6a29\u9650\u30a8\u30e9\u30fc<\/td><td>\u8d70\u67fb\u304c\u5931\u6557\u3057\u305f\u5834\u5408\u306f\u7d50\u679c\u30b7\u30fc\u30c8\u4f5c\u6210\u524d\u306b\u505c\u6b62<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Node.js\u306e\u6a21\u64ec\u691c\u8a3c\u306f5\u8a18\u4e8b\u5408\u8a0869\u30b1\u30fc\u30b9\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7d14\u7c8b\u95a2\u6570\u306e\u7d50\u679c\u3068\u3001\u6a21\u64ec\u306eGoogle\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u5bfe\u8c61\u9078\u629e\u30fb\u66f8\u8fbc\u5148\u30fb\u5931\u6557\u6642\u505c\u6b62\u3092\u78ba\u8a8d\u3057\u305f\u7bc4\u56f2\u3067\u3042\u308a\u3001\u5b9f\u30b5\u30fc\u30d3\u30b9\u306e\u6210\u529f\u3092\u793a\u3059\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">100\u30d5\u30a9\u30eb\u30c0\u307e\u305f\u306f1000\u30d5\u30a1\u30a4\u30eb\u3092\u8d85\u3048\u308b\u5bfe\u8c61\u306f\u8d70\u67fb\u3092\u6b62\u3081\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u4e0a\u9650\u4ee5\u5185\u3067\u3082Apps Script\u306e\u5b9f\u884c\u6642\u9593\u3084\u8a8d\u53ef\u3067\u505c\u6b62\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9014\u4e2d\u518d\u958b\u306f\u306a\u304f\u3001\u5171\u6709\u30c9\u30e9\u30a4\u30d6\u3084\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u306e\u30ea\u30f3\u30af\u5148\u3001\u898b\u3048\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u542b\u3080\u7db2\u7f85\u7684\u306a\u68da\u5378\u3057\u306f\u672a\u78ba\u8a8d\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u5148\u982d\u304c\u6570\u5f0f\u3068\u3057\u3066\u89e3\u91c8\u3055\u308c\u308b\u8a18\u53f7\u306a\u3089\u6587\u5b57\u5217\u3068\u3057\u3066\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Drive\u306e\u5171\u6709\u7bc4\u56f2\u306f\u5909\u66f4\u305b\u305a\u3001\u95b2\u89a7URL\u3092\u53d6\u5f97\u3057\u3066\u3082\u4ed6\u306e\u30e6\u30fc\u30b6\u30fc\u3078\u95b2\u89a7\u6a29\u9650\u3092\u4e0e\u3048\u308b\u3053\u3068\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u505c\u6b62\u3068\u623b\u3057\u65b9<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u4f8b\u306f\u5b9a\u671f\u30c8\u30ea\u30ac\u30fc\u3092\u4f5c\u6210\u3057\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e2\u5b58\u30c8\u30ea\u30ac\u30fc\u304b\u3089\u547c\u3076\u5909\u66f4\u3092\u52a0\u3048\u308b\u5834\u5408\u306f\u3001\u307e\u305a\u624b\u52d5\u306e1\u56de\u3092\u78ba\u8a8d\u3057\u3001\u505c\u6b62\u6642\u306b\u306f\u305d\u306e\u30c8\u30ea\u30ac\u30fc\u3092\u6b62\u3081\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7d50\u679c\u30b7\u30fc\u30c8\u306f\u6bce\u56de\u65b0\u898f\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u66f8\u8fbc\u6642\u306e\u5931\u6557\u3067\u9014\u4e2d\u7d50\u679c\u304c\u6b8b\u308b\u5834\u5408\u306f\u5b8c\u6210\u3057\u305f\u4e00\u89a7\u3068\u3057\u3066\u4f7f\u308f\u305a\u3001\u65e2\u5b58\u306e\u5143\u30c7\u30fc\u30bf\u3068\u6df7\u305c\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7d50\u679c\u306e\u524a\u9664\u3084\u53e4\u3044\u30b7\u30fc\u30c8\u306e\u4e00\u62ec\u6d88\u53bb\u306f\u30b3\u30fc\u30c9\u306b\u542b\u3081\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u516c\u5f0f\u8cc7\u6599<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developers.google.com\/apps-script\/reference\/drive\/folder\">Drive\u30d5\u30a9\u30eb\u30c0\u306e\u53d6\u5f97\u3068\u5217\u6319<\/a>\u3001<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/spreadsheet\/range\">\u30b7\u30fc\u30c8\u7bc4\u56f2\u3078\u306e\u53cd\u6620<\/a>\u3001<a href=\"https:\/\/developers.google.com\/apps-script\/guides\/html\/templates\">HTML\u3078\u306e\u51fa\u529b\u3068\u30a8\u30b9\u30b1\u30fc\u30d7<\/a>\u3001<a href=\"https:\/\/developers.google.com\/apps-script\/guides\/services\/quotas\">Apps Script\u306e\u5229\u7528\u4e0a\u9650<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u95a2\u9023\u8a18\u4e8b\u30fb\u65e7\u5b9f\u88c5\u306e\u53c2\u8003\u8cc7\u6599<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f93\u6765\u306e\u30b3\u30fc\u30c9\u3084\u5916\u90e8\u306e\u53c2\u8003\u4f8b\u306f\u3001\u672c\u7a3f\u306e\u7df4\u7fd2ZIP\u3068\u5185\u5bb9\u304c\u7570\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u306e\u30b3\u30fc\u30c9\u306f\u8a18\u4e8b\u3054\u3068\u306b\u5225\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u4fdd\u5b58\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/google\/wp-content\/uploads\/2020\/04\/eyecatch-google-apps-script-convert-spreadsheet-300x169.png\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/google\/gas-batch-convert-google-format\/\">Google\u30c9\u30e9\u30a4\u30d6\u2502\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u307e\u3068\u3081\u3066\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u30fb\u30b9\u30e9\u30a4\u30c9\u30fb\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u81ea\u52d5\u5909\u63db\u3059&#8230;<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Google\u30c9\u30e9\u30a4\u30d6\u3067\u5171\u6709\u3055\u308c\u305f .xlsx \u3084 .csv\u3001.pptx \u306a\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u3001\u6bce\u56de\u624b\u52d5\u3067Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3084\u30b9\u30e9\u30a4\u30c9\u306b\u5909\u63db\u3057\u3066\u3044\u307e\u305b\u3093\u304b\u3002 \u5c11\u6570\u306a\u3089\u624b\u52d5\u3067\u3082\u5bfe\u5fdc\u3067\u304d\u307e&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/google\/wp-content\/uploads\/2021\/01\/gas-copy-files-between-folders-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/google\/gas-copy-files-between-folders\/\">Google\u30c9\u30e9\u30a4\u30d6\u2502\u30d5\u30a9\u30eb\u30c0\u30fc\u76f4\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u307e\u3068\u3081\u3066\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Google\u30c9\u30e9\u30a4\u30d6\u3067\u3001\u30d5\u30a9\u30eb\u30c0\u30fc\u76f4\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u5225\u30d5\u30a9\u30eb\u30c0\u30fc\u3078\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002 \u4ee5\u4e0b\u306eGAS\u306f\u76f4\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u304c\u5bfe\u8c61\u3067\u3059\u3002 \u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u30fc\u3001\u305d\u306e\u4e2d\u306e\u30d5\u30a1&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/google\/wp-content\/uploads\/2025\/05\/gas-rename-files-in-folder-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/google\/gas-rename-files-in-folder\/\">Google\u30c9\u30e9\u30a4\u30d6\u2502\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u4e00\u62ec\u30ea\u30cd\u30fc\u30e0\uff01\u6587\u5b57\u5217\u3092\u7f6e\u63db\u3057\u3066\u81ea\u52d5\u5909\u66f4\u3059\u308b\u65b9\u6cd5<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">\u30d5\u30a9\u30eb\u30c0\u30fc\u76f4\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u4e00\u62ec\u3067\u7f6e\u63db\u3059\u308b\u306b\u306f\u3001\u5909\u66f4\u524d\u306e\u540d\u524d\u3068ID\u3092\u4fdd\u5b58\u3057\u3001\u7f6e\u63db\u7d50\u679c\u3092\u5148\u306b\u78ba\u8a8d\u3057\u307e\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u306eGAS\u306f\u5b50\u30d5\u30a9\u30eb\u30c0\u30fc\u3078\u5165\u3089\u305a\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3060\u3051\u3092\u5909&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/google\/wp-content\/uploads\/2025\/05\/google-drive-folder-file-count-gas-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/google\/google-drive-folder-file-count-gas\/\">Google\u30c9\u30e9\u30a4\u30d6\u2502\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u96c6\u8a08\u3059\u308b\u65b9\u6cd5\u2502GAS<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">\u5404\u30d5\u30a9\u30eb\u30c0\u306e\u76f4\u4e0b\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u96c6\u8a08\u3057\u307e\u3059\u3002 \u89aa\u306e\u884c\u306f\u5b50\u306e\u4ef6\u6570\u3092\u5408\u7b97\u305b\u305a\u3001\u5168\u8d70\u67fb\u306e\u5408\u8a08\u306f\u5b9f\u884c\u30ed\u30b0\u306b\u5206\u3051\u3066\u8868\u793a\u3057\u307e\u3059\u3002 \u30d5\u30a1\u30a4\u30eb\u4ef6\u6570\u306f\u4f7f\u7528\u5bb9\u91cf\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002 &#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"product-card\" data-id=\"23047\" data-sale-effect=\"flash\">\n\t\t<div class=\"product-card__image\">\n\t\t<a href=\"https:\/\/www.amazon.co.jp\/dp\/4798064742?tag=cgm-google-22&#038;linkCode=ogi&#038;th=1&#038;psc=1\" rel=\"nofollow noopener sponsored\" target=\"_blank\">\t\t\t<img src=\"https:\/\/m.media-amazon.com\/images\/I\/51FYffSOBcS._SL500_.jpg\" alt=\"\" width=\"200\" height=\"200\" loading=\"lazy\" decoding=\"async\" \/>\t\t<\/a>\t<\/div>\n\t\t<div class=\"product-card__body\">\n\t\t<div class=\"product-card__title\">\n\t\t\t\t\t\t<a href=\"https:\/\/www.amazon.co.jp\/dp\/4798064742?tag=cgm-google-22&#038;linkCode=ogi&#038;th=1&#038;psc=1\" rel=\"nofollow noopener sponsored\" target=\"_blank\">\u8a73\u89e3! Google Apps Script\u5b8c\u5168\u5165\u9580\uff3b\u7b2c3\u7248\uff3d<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"product-card__info\">\u79c0\u548c\u30b7\u30b9\u30c6\u30e0<\/div>\n\t\t\t\t\t\t<div class=\"product-card__price\">\u00a52,860<span>\uff082026\/09\/24 18:33\u6642\u70b9 | Amazon\u8abf\u3079\uff09<\/span><\/div>\n\t\t\t\t\t\t<div class=\"product-card__review\"><a href=\"https:\/\/www.amazon.co.jp\/product-reviews\/4798064742?tag=cgm-google-22\" rel=\"nofollow noopener sponsored\" target=\"_blank\"><svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path fill=\"currentColor\" d=\"M12 17.3l-6.2 3.7 1.6-7L2 9.2l7.2-.6L12 2l2.8 6.6 7.2.6-5.4 4.8 1.6 7z\"\/><\/svg><span>\u53e3\u30b3\u30df\u3092\u898b\u308b<\/span><\/a><\/div>\n\t\t\t<\/div>\n\t\t<div class=\"product-card__btns\">\n\t\t\t\t<div class=\"product-card__btnwrap -rakuten -on-sale\">\n\t\t\t\t\t\t<div class=\"product-card__sale\">\uff3c\u697d\u5929\u30bb\u30fc\u30eb\u958b\u50ac\u4e2d\uff01\u30dd\u30a4\u30f3\u30c8\u6700\u592711\u500d\uff01\uff0f<\/div>\n\t\t\t\t\t\t<a href=\"https:\/\/hb.afl.rakuten.co.jp\/hgc\/14eb6112.12938970.14eb6113.c6861b17\/_RTLink148150?pc=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2FGoogle%2520Apps%2520Script%25E5%25AE%258C%25E5%2585%25A8%25E5%2585%25A5%25E9%2596%2580&#038;m=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2FGoogle%2520Apps%2520Script%25E5%25AE%258C%25E5%2585%25A8%25E5%2585%25A5%25E9%2596%2580\" class=\"product-card__btn\" rel=\"nofollow noopener sponsored\" target=\"_blank\"><span>\u697d\u5929\u5e02\u5834<\/span><\/a>\n\t\t<\/div>\n\t\t\t\t<div class=\"product-card__btnwrap -amazon\">\n\t\t\t\t\t\t<a href=\"https:\/\/www.amazon.co.jp\/dp\/4798064742?tag=cgm-google-22&#038;linkCode=ogi&#038;th=1&#038;psc=1\" class=\"product-card__btn\" rel=\"nofollow noopener sponsored\" target=\"_blank\"><span>Amazon<\/span><\/a>\n\t\t<\/div>\n\t\t\t\t<div class=\"product-card__btnwrap -yahoo\">\n\t\t\t\t\t\t<a href=\"https:\/\/shopping.yahoo.co.jp\/search?p=Google%20Apps%20Script%E5%AE%8C%E5%85%A8%E5%85%A5%E9%96%80\" class=\"product-card__btn\" rel=\"nofollow noopener sponsored\" target=\"_blank\"><span>Yahoo\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0<\/span><\/a>\n\t\t<\/div>\n\t\t\t<\/div>\n\t<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>\u6307\u5b9a\u3057\u305fDrive\u30d5\u30a9\u30eb\u30c0\u304b\u3089\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u30fb\u95b2\u89a7URL\u30fb\u30d5\u30a1\u30a4\u30ebID\u3092\u4e00\u89a7\u306b\u3057\u307e\u3059\u3002 \u8d70\u67fb\u304c\u7d42\u308f\u3063\u3066\u304b\u3089\u65b0\u3057\u3044\u7d50\u679c\u30b7\u30fc\u30c8\u3092\u4f5c\u308b\u305f\u3081\u3001\u65e2\u5b58\u306e\u4e00\u89a7\u3078\u8ffd\u8a18\u30fb\u4e0a\u66f8\u304d\u3057\u307e\u305b\u3093\u3002 \u6700\u7d42\u78ba\u8a8d\u306f2026\u5e7410\u67082\u65e5\u3067\u3059\u3002 \u30ed\u30fc\u30ab\u30eb\u306e\u6a21\u64ec [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":355,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","book_review_data":"","footnotes":"","ssp_meta_title":"Google\u30c9\u30e9\u30a4\u30d6 URL\u3092\u4e00\u62ec\u53d6\u5f97\u3057\u4e00\u89a7\u51fa\u529b\u3059\u308bGAS\u624b\u9806","ssp_meta_description":"Google\u30c9\u30e9\u30a4\u30d6\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u540d\u3068URL\u3092\u4e00\u62ec\u53d6\u5f97\u3057\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3078\u51fa\u529b\u3059\u308bGAS\u30b3\u30fc\u30c9\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3092\u542b\u3081\u305f\u518d\u5e30\u53d6\u5f97\u306b\u5bfe\u5fdc\u3057\u3001\u7a2e\u5225\u30fb\u540d\u79f0\u30fbURL\u306e3\u5217\u3067\u4e00\u89a7\u5316\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3082\u63b2\u8f09\u3057\u3066\u3044\u307e\u3059\u3002"},"categories":[19],"tags":[18,9],"class_list":["post-353","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-drive","tag-gas","tag-free"],"_links":{"self":[{"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/posts\/353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/comments?post=353"}],"version-history":[{"count":11,"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/posts\/353\/revisions"}],"predecessor-version":[{"id":23510,"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/posts\/353\/revisions\/23510"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/media\/355"}],"wp:attachment":[{"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/media?parent=353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/categories?post=353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cg-method.com\/google\/wp-json\/wp\/v2\/tags?post=353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}