{"id":3938,"date":"2026-08-17T10:11:40","date_gmt":"2026-08-17T01:11:40","guid":{"rendered":"https:\/\/akita-csmedia.com\/?p=3938"},"modified":"2026-08-17T10:11:42","modified_gmt":"2026-08-17T01:11:42","slug":"google%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0xgas%e3%81%a7%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e6%b7%bb%e4%bb%98%e3%82%a8%e3%83%a9%e3%83%bc%e3%82%92%e9%98%b2%e3%81%90%e5%ae%89%e5%85%a8%e3%81%aa","status":"publish","type":"post","link":"https:\/\/akita-csmedia.com\/?p=3938","title":{"rendered":"Google\u30d5\u30a9\u30fc\u30e0\u00d7GAS\u3067\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u30a8\u30e9\u30fc\u3092\u9632\u3050\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u8a2d\u8a08"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Google\u30d5\u30a9\u30fc\u30e0\u3068Google Apps Script\uff08GAS\uff09\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001\u30d5\u30a9\u30fc\u30e0\u306e\u9001\u4fe1\u5185\u5bb9\u3092\u81ea\u52d5\u3067\u30e1\u30fc\u30eb\u901a\u77e5\u3057\u305f\u308a\u3001\u4ed6\u306e\u30b7\u30b9\u30c6\u30e0\u3078\u9023\u643a\u3057\u305f\u308a\u3059\u308b\u4ed5\u7d44\u307f\u306f\u3001\u696d\u52d9\u52b9\u7387\u5316\u306e\u5b9a\u756a\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u904b\u7528\u3092\u59cb\u3081\u3066\u304b\u3089\u6b21\u306e\u3088\u3046\u306a\u30c8\u30e9\u30d6\u30eb\u306b\u76f4\u9762\u3057\u305f\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u300c\u30d5\u30a9\u30fc\u30e0\u3067\u30d5\u30a1\u30a4\u30eb\u304c\u6dfb\u4ed8\u3055\u308c\u305a\u306b\u9001\u4fe1\u3055\u308c\u305f\u3089\u3001GAS\u304c\u30a8\u30e9\u30fc\u3067\u6b62\u307e\u3063\u3066\u3057\u307e\u3063\u305f\u2026\u300d<\/strong><\/li>\n\n\n\n<li><strong>\u300cDriveApp.getFileById() \u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3001\u5f8c\u7d9a\u306e\u30e1\u30fc\u30eb\u9001\u4fe1\u51e6\u7406\u304c\u884c\u308f\u308c\u306a\u3044\u2026\u300d<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u304c\u4efb\u610f\u9805\u76ee\u306e\u5834\u5408\u3084\u3001\u53d6\u5f97\u30bf\u30a4\u30df\u30f3\u30b0\u306e\u30ba\u30ec\u306a\u3069\u306b\u3088\u308a\u3001\u30d5\u30a1\u30a4\u30ebID\u304c\u4e88\u671f\u305b\u306c\u5f62\u5f0f\u3067\u6e21\u3055\u308c\u308b\u3068\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u5168\u4f53\u304c\u505c\u6b62\u3057\u3066\u3057\u307e\u3046\u30ea\u30b9\u30af\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u8a18\u4e8b\u3067\u306f\u3001<strong>\u30d5\u30a1\u30a4\u30eb\u672a\u6dfb\u4ed8\u3084\u53d6\u5f97\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3082\u6b62\u307e\u3089\u306a\u3044\u3001\u30a8\u30e9\u30fc\u306b\u5f37\u3044GAS\u306e\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u8a2d\u8a08<\/strong>\u3092\u5177\u4f53\u7684\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u5b9f\u969b\u306e\u904b\u7528\u30b3\u30fc\u30c9\u3068\u89e3\u8aac\u3092\u307e\u3068\u3081\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u306e\u307e\u307e\u5b9f\u696d\u52d9\u306b\u53d6\u308a\u5165\u308c\u3066\u30a8\u30e9\u30fc\u306b\u5f37\u3044\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3057\u307e\u3057\u3087\u3046\uff01<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u306f\u3058\u3081\u306b\uff1a\u30d5\u30a9\u30fc\u30e0\u9001\u4fe1\u6642\u306b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u53d6\u5f97\u3067\u5931\u6557\u3059\u308b\u539f\u56e0\u3068\u306f\uff1f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Google\u30d5\u30a9\u30fc\u30e0\u306e\u56de\u7b54\u9001\u4fe1\u3092\u30c8\u30ea\u30ac\u30fc\u306b\u3057\u3066GAS\u3092\u5b9f\u884c\u3059\u308b\u969b\u3001\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u9805\u76ee\u306e\u51e6\u7406\u306b\u306f\u3044\u304f\u3064\u304b\u843d\u3068\u3057\u7a74\u304c\u5b58\u5728\u3057\u307e\u3059\u3002\u4e3b\u306a\u5931\u6557\u306e\u539f\u56e0\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u672a\u9001\u4fe1\u6642\u306e\u6319\u52d5\u306e\u4e0d\u5b89\u5b9a\u3055<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d5\u30a9\u30fc\u30e0\u3067\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u300c\u4efb\u610f\u300d\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u30d5\u30a1\u30a4\u30eb\u3092\u6dfb\u4ed8\u305b\u305a\u306b\u9001\u4fe1\u3059\u308b\u3068\u3001\u30d5\u30a9\u30fc\u30e0\u306e\u5fdc\u7b54\u5024\uff08<code>getResponse()<\/code>\uff09\u306b\u306f<strong>\u7a7a\u6587\u5b57\u5217\uff08<code>\"\"<\/code>\uff09\u3084\u914d\u5217\u30fb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong>\u306a\u3069\u3001\u60f3\u5b9a\u3068\u7570\u306a\u308b\u578b\u306e\u30c7\u30fc\u30bf\u304c\u5165\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><code>DriveApp.getFileById()<\/code> \u306b\u3088\u308b\u4f8b\u5916\u767a\u751f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">GAS\u3067\u30d5\u30a1\u30a4\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3059\u308b\u969b\u306b\u3088\u304f\u4f7f\u308f\u308c\u308b <code>DriveApp.getFileById(id)<\/code> \u306f\u3001\u5f15\u6570\u306b\u7121\u52b9\u306a\u6587\u5b57\u5217\u3084\u7a7a\u306eID\u304c\u6e21\u3055\u308c\u308b\u3068<strong>\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c\u30a8\u30e9\u30fc\uff08Exception\uff09\u3092\u6295\u3052\u3066\u51e6\u7406\u3092\u5373\u5ea7\u306b\u505c\u6b62<\/strong>\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color has-regular-font-size wp-elements-1\"><code>\nError: Exception: No item with the given ID could be found, or you do not have permission to access it.\n<\/code><\/pre>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u4f8b\u5916\u51e6\u7406\uff08\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff09\u304c\u884c\u308f\u308c\u3066\u3044\u306a\u3044\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u6dfb\u4ed8\u3057\u306a\u304b\u3063\u305f\u3060\u3051\u3067\u300c\u30e1\u30fc\u30eb\u304c\u9001\u4fe1\u3055\u308c\u306a\u3044\u300d\u300c\u5f8c\u7d9a\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u66f4\u65b0\u304c\u884c\u308f\u308c\u306a\u3044\u300d\u3068\u3044\u3063\u305f\u6df1\u523b\u306a\u696d\u52d9\u30c8\u30e9\u30d6\u30eb\u306b\u7e4b\u304c\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u672c\u8a18\u4e8b\u3067\u89e3\u6c7a\u3067\u304d\u308b\u3053\u3068<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u8a18\u4e8b\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u7d44\u307f\u8fbc\u3093\u3060\u300c\u30a8\u30e9\u30fc\u306b\u5f37\u3044\u30b3\u30fc\u30c9\u8a2d\u8a08\u300d\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5f37\u5236\u7684\u306a\u578b\u5909\u63db\u3068\u30c8\u30ea\u30e0\u51e6\u7406<\/strong>\u306b\u3088\u308b\u5165\u529b\u5024\u306e\u6b63\u898f\u5316<\/li>\n\n\n\n<li><strong><code>try...catch<\/code> \u69cb\u6587<\/strong>\u3068<strong>\u6b63\u898f\u8868\u73fe\u306b\u3088\u308bID\u30c1\u30a7\u30c3\u30af<\/strong>\u3092\u7528\u3044\u305f\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u51e6\u7406<\/li>\n\n\n\n<li>\u4e00\u6642\u7684\u306a\u53d6\u5f97\u9045\u5ef6\u3092\u56de\u907f\u3059\u308b<strong>\u30c7\u30d0\u30c3\u30b0\u5bfe\u7b56\uff08\u5f85\u6a5f\u51e6\u7406\uff09<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">2. \u5b9f\u8df5\uff01\u30a8\u30e9\u30fc\u306b\u5f37\u3044Google\u30d5\u30a9\u30fc\u30e0\u9023\u643aGAS\u306e\u5168\u4f53\u30b3\u30fc\u30c9<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305a\u306f\u3001\u30a8\u30e9\u30fc\u5bfe\u7b56\u3092\u3059\u3079\u3066\u76db\u308a\u8fbc\u3093\u3060\u5b8c\u5168\u306a\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001\u30d5\u30a9\u30fc\u30e0\u306e\u56de\u7b54\u3092\u53d7\u3051\u53d6\u308a\u3001\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u306e\u6709\u7121\u3092\u5b89\u5168\u306b\u5224\u5b9a\u3057\u305f\u3046\u3048\u3067\u30e1\u30fc\u30eb\u901a\u77e5\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color has-regular-font-size wp-elements-2\"><code>\n\/**\n * ====================================================================\n * Utility Module for GAS \/ Civic Tech Akita\n * Copyright (c) Civic Tech Akita (https:\/\/akita-csmedia.com\/)\n * \n * \u672c\u30e2\u30b8\u30e5\u30fc\u30eb\u306f Civic Tech Akita \u306e\u7559\u4fdd\u77e5\u7684\u8ca1\u7523\u6a29\uff08\u81ea\u793e\u8cc7\u7523\uff09\u3067\u3059\u3002\n * \u30e9\u30a4\u30bb\u30f3\u30b9\u30fb\u5b9f\u88c5\u306b\u95a2\u3059\u308b\u304a\u554f\u3044\u5408\u308f\u305b: https:\/\/akita-csmedia.com\/?page_id=1476\n * ====================================================================\n *\/\n\n\/**\n * \u30d5\u30a9\u30fc\u30e0\u9001\u4fe1\u6642\u306b\u5b9f\u884c\u3055\u308c\u308b\u30e1\u30a4\u30f3\u95a2\u6570\n *\/\nfunction onFormSubmit(e) {\n  var formResponses = e.response.getItemResponses();\n  let sendEmailConfirmation = '';\n  \n  if (formResponses&#91;0]) {\n    sendEmailConfirmation = formResponses&#91;0].getResponse();\n  }\n  \n  \/\/ 1\u756a\u76ee\u306e\u8cea\u554f\u306e\u56de\u7b54\u304c\u300c\u306f\u3044\u300d\u306e\u5834\u5408\u306e\u307f\u30e1\u30fc\u30eb\u9001\u4fe1\u51e6\u7406\u3092\u5b9f\u884c\n  if (sendEmailConfirmation === '\u306f\u3044') {\n    sendEmailContent(e);\n  } else {\n    Logger.log('\u30e1\u30fc\u30eb\u9001\u4fe1\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3057\u3066\u3044\u307e\u305b\u3093\u30021\u756a\u76ee\u306e\u8cea\u554f\u306e\u56de\u7b54: ' + sendEmailConfirmation);\n  }\n}\n\n\/**\n * \u30e1\u30fc\u30eb\u9001\u4fe1\u304a\u3088\u3073\u30d5\u30a1\u30a4\u30eb\u53d6\u5f97\u51e6\u7406\u3092\u884c\u3046\u95a2\u6570\n *\/\nfunction sendEmailContent(e) {\n  var recipientEmail = 'app-demo@akita-csmedia.com'; \n  var appUrl = 'https:\/\/kairan-demo02.glide.page'; \n  var formResponses = e.response.getItemResponses();\n\n  var title = '';\n  var bodyContent = '';\n  var rawUploadedFileId = ''; \n\n  if (formResponses&#91;1]) {\n    title = formResponses&#91;1].getResponse();\n  }\n  if (formResponses&#91;2]) {\n    bodyContent = formResponses&#91;2].getResponse();\n  }\n  if (formResponses&#91;3]) {\n    \/\/ \u2605\u2605\u2605 \u5bfe\u7b56\u2460: rawUploadedFileId\u306e\u53d6\u5f97\u3068\u5f37\u5236\u7684\u306a\u6587\u5b57\u5217\u5316\u30fb\u30c8\u30ea\u30e0 \u2605\u2605\u2605\n    var responseValue = formResponses&#91;3].getResponse();\n    if (typeof responseValue === 'string') {\n        rawUploadedFileId = responseValue.trim();\n    } else if (responseValue !== null &amp;&amp; typeof responseValue !== 'undefined') {\n        Logger.log('Warning: rawUploadedFileId is not a string, type: ' + typeof responseValue);\n        rawUploadedFileId = String(responseValue).trim(); \/\/ \u5f37\u5236\u7684\u306b\u6587\u5b57\u5217\u5316\n    }\n  }\n\n  var attachmentLink = ''; \n\n  Logger.log('Attempting to get attachment link for ID: ' + rawUploadedFileId); \n\n  \/\/ \u2605\u2605\u2605 \u5bfe\u7b56\u2462: \u9045\u5ef6\u51e6\u7406\u306b\u3088\u308b\u975e\u540c\u671f\u30bf\u30a4\u30df\u30f3\u30b0\u554f\u984c\u306e\u5207\u308a\u5206\u3051 \u2605\u2605\u2605\n  Utilities.sleep(100); \/\/ 100\u30df\u30ea\u79d2 (0.1\u79d2) \u5f85\u6a5f\n\n\n  \/\/ \u30d5\u30a1\u30a4\u30ebID\u304c\u5b58\u5728\u3059\u308b\u5834\u5408\u306e\u307f\u51e6\u7406\u3092\u8a66\u884c\n  if (rawUploadedFileId &amp;&amp; typeof rawUploadedFileId === 'string' &amp;&amp; rawUploadedFileId.length > 0) {\n    try {\n      \/\/ \u2605\u2605\u2605 \u5bfe\u7b56\u2461: try...catch\u306b\u3088\u308bDriveAPI\u547c\u3073\u51fa\u3057 \u2605\u2605\u2605\n      var file = DriveApp.getFileById(rawUploadedFileId);\n      \n      if (file) {\n        Logger.log('File object successfully obtained for ID: ' + rawUploadedFileId);\n        attachmentLink = file.getUrl();\n      } else {\n        Logger.log('File object is null\/undefined after getFileById for ID: ' + rawUploadedFileId);\n      }\n    } catch (error) {\n      Logger.log('Error getting file or URL using DriveApp (catch block): ' + error.message);\n      Logger.log('rawUploadedFileId that caused error in catch: ' + rawUploadedFileId);\n      \n      \/\/ DriveApp\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u3001\u6b63\u898f\u8868\u73fe\u3067ID\u3092\u691c\u8a3c\u3057\u3066\u76f4\u30ea\u30f3\u30af\u3092\u76f4\u63a5\u751f\u6210\uff08\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\uff09\n      const validFileIdPattern = \/^&#91;a-zA-Z0-9_-]{28,40}$\/; \n      if (validFileIdPattern.test(rawUploadedFileId)) {\n          attachmentLink = 'https:\/\/drive.google.com\/file\/d\/' + rawUploadedFileId + '\/view?usp=sharing';\n          Logger.log('Fallback: Generated URL directly from ID: ' + attachmentLink);\n      } else {\n          Logger.log('Fallback: rawUploadedFileId does not match valid file ID pattern: ' + rawUploadedFileId);\n      }\n    }\n  } else {\n      Logger.log('rawUploadedFileId is empty or not a string. No attachment link generated.');\n  }\n\n  var attachmentText = attachmentLink ? attachmentLink : '\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306a\u3057'; \n\n  Logger.log('Final attachmentLink: ' + attachmentLink); \n  Logger.log('Final attachmentText: ' + attachmentText);\n\n  \/\/ \u30e1\u30fc\u30eb\u672c\u6587\u306e\u7d44\u307f\u7acb\u3066\n  var subject = '\u3010\u30b5\u30f3\u30d7\u30eb\u30d5\u30a9\u30fc\u30e0\u3011\u304b\u3089\u306e\u304a\u77e5\u3089\u305b';\n  var messageBody = '\u4fdd\u8b77\u8005\u306e\u7686\u69d8\\n\\n' +\n                    '\u3044\u3064\u3082\u304a\u4e16\u8a71\u306b\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u3002\u3010\u30b5\u30f3\u30d7\u30eb\u30d5\u30a9\u30fc\u30e0\u3011\u3067\u3059\u3002\\n' +\n                    '\u65b0\u3057\u3044\u304a\u77e5\u3089\u305b\u304c\u3054\u3056\u3044\u307e\u3059\u306e\u3067\u3001\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002\\n\\n' +\n                    '----------------------------------------\\n' +\n                    '\u3010\u30bf\u30a4\u30c8\u30eb\u3011 ' + title + '\\n\\n' +\n                    '\u3010\u672c\u6587\u3011\\n' + bodyContent + '\\n\\n' +\n                    '\u3010\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306eURL\u3011 ' + attachmentText + '\\n' + \n                    '----------------------------------------\\n\\n' +\n                    '\u4ee5\u4e0b\u306e\u30a2\u30d7\u30ea\u304b\u3089\u3082\u5185\u5bb9\u3092\u3054\u78ba\u8a8d\u3044\u305f\u3060\u3051\u307e\u3059\u3002\\n' +\n                    '\u30a2\u30d7\u30eaURL: ' + appUrl + '\\n\\n' + \n                    '\u3054\u4e0d\u660e\u306a\u70b9\u304c\u3054\u3056\u3044\u307e\u3057\u305f\u3089\u3001\u304a\u6c17\u8efd\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002\\n' +\n                    '\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3044\u305f\u3057\u307e\u3059\u3002\\n\\n' +\n                    '--- \u3010\u30b5\u30f3\u30d7\u30eb\u30d5\u30a9\u30fc\u30e0\u3011 ---';\n\n  \/\/ \u9001\u4fe1\u51e6\u7406\u306e\u4f8b\u5916\u4fdd\u8b77\n  try {\n    MailApp.sendEmail(recipientEmail, subject, messageBody);\n    Logger.log('\u30e1\u30fc\u30eb\u304c\u6b63\u5e38\u306b\u9001\u4fe1\u3055\u308c\u307e\u3057\u305f\u3002\u5b9b\u5148: ' + recipientEmail + ', \u4ef6\u540d: ' + subject);\n  } catch (error) {\n    Logger.log('\u30e1\u30fc\u30eb\u9001\u4fe1\u4e2d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f: ' + error.message);\n  }\n}\n<\/code><\/pre>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">3. \u3053\u3053\u304c\u30dd\u30a4\u30f3\u30c8\uff01\u30a8\u30e9\u30fc\u3092\u9632\u30503\u3064\u306e\u5b9f\u88c5\u30c6\u30af\u30cb\u30c3\u30af<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u306b\u306f\u3001Google\u30d5\u30a9\u30fc\u30e0\u9023\u643a\u3067\u767a\u751f\u3057\u3084\u3059\u3044\u30a8\u30e9\u30fc\u3092\u672a\u7136\u306b\u9632\u3050<strong>3\u3064\u306e\u91cd\u8981\u30c6\u30af\u30cb\u30c3\u30af<\/strong>\u304c\u76db\u308a\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u2460 \u5fdc\u7b54\u5024\u306e\u578b\u30c1\u30a7\u30c3\u30af\u3068\u30c8\u30ea\u30e0\u51e6\u7406\uff08<code>typeof<\/code> &amp; <code>trim()<\/code>\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d5\u30a9\u30fc\u30e0\u304b\u3089\u6e21\u3055\u308c\u308b\u56de\u7b54\u30c7\u30fc\u30bf\u306f\u3001\u4e00\u898b\u6587\u5b57\u5217\u306e\u3088\u3046\u306b\u898b\u3048\u3066\u3082\u914d\u5217\u3084\u7570\u306a\u308b\u578b\u3068\u3057\u3066\u6271\u308f\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u6587\u5b57\u5217\u306e\u524d\u5f8c\u306b\u610f\u56f3\u3057\u306a\u3044\u30b9\u30da\u30fc\u30b9\u304c\u5165\u3063\u3066\u3044\u308b\u3068\u3001\u6b63\u3057\u3044\u30d5\u30a1\u30a4\u30ebID\u3068\u3057\u3066\u8a8d\u8b58\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u305d\u3053\u3067\u3001\u53d6\u5f97\u6642\u306b\u4ee5\u4e0b\u306e\u5b89\u5168\u7b56\u3092\u8b1b\u3058\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color has-regular-font-size wp-elements-3\"><code>\nvar responseValue = formResponses&#91;3].getResponse();\nif (typeof responseValue === 'string') {\n    rawUploadedFileId = responseValue.trim();\n} else if (responseValue !== null &amp;&amp; typeof responseValue !== 'undefined') {\n    \/\/ \u6587\u5b57\u5217\u3067\u306a\u3044\u5834\u5408\u306f\u30ed\u30b0\u3092\u6b8b\u3057\u3064\u3064\u5f37\u5236\u7684\u306b\u6587\u5b57\u5217\u5316\n    Logger.log('Warning: rawUploadedFileId is not a string, type: ' + typeof responseValue);\n    rawUploadedFileId = String(responseValue).trim();\n}\n<\/code><\/pre>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>typeof<\/code> \u306b\u3088\u308b\u578b\u691c\u8a3c<\/strong>: \u30c7\u30fc\u30bf\u304c\u6587\u5b57\u5217\u578b\uff08<code>string<\/code>\uff09\u3067\u3042\u308b\u304b\u3092\u307e\u305a\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong><code>String()<\/code> \u306b\u3088\u308b\u5f37\u5236\u5909\u63db<\/strong>: \u4e07\u304c\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3084\u6570\u5024\u306a\u3069\u3067\u6e21\u3055\u308c\u305f\u5834\u5408\u3067\u3082 <code>String()<\/code> \u3067\u6587\u5b57\u5217\u306b\u5909\u63db\u3057\u3001\u30a8\u30e9\u30fc\u306e\u767a\u751f\u3092\u963b\u6b62\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong><code>trim()<\/code> \u306b\u3088\u308b\u7a7a\u767d\u9664\u53bb<\/strong>: \u524d\u5f8c\u306e\u4f59\u5206\u306a\u30b9\u30da\u30fc\u30b9\u3092\u524a\u9664\u3057\u3001ID\u306e\u6b63\u78ba\u6027\u3092\u5411\u4e0a\u3055\u305b\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u2461 <code>try...catch<\/code> \u306b\u3088\u308b\u5b89\u5168\u306a\u30d5\u30a1\u30a4\u30eb\u53d6\u5f97\u3068\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u51e6\u7406<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>DriveApp.getFileById()<\/code> \u306f\u3001ID\u304c\u7121\u52b9\u306a\u5834\u5408\u306b\u4f8b\u5916\u30a8\u30e9\u30fc\u3092\u51fa\u3057\u3066\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u505c\u6b62\u3055\u305b\u307e\u3059\u3002\u3053\u308c\u3092\u9632\u3050\u305f\u3081\u306b <code>try...catch<\/code> \u69cb\u6587\u3067\u56f2\u307f\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u969b\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u51e6\u7406\uff08\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\uff09\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color has-regular-font-size wp-elements-4\"><code>\ntry {\n  var file = DriveApp.getFileById(rawUploadedFileId);\n  if (file) {\n    attachmentLink = file.getUrl();\n  }\n} catch (error) {\n  Logger.log('Error getting file or URL using DriveApp: ' + error.message);\n  \n  \/\/ DriveApp\u3067\u53d6\u5f97\u5931\u6557\u6642\u3001\u6b63\u898f\u8868\u73fe\u3067ID\u3092\u691c\u8a3c\u3057\u3066\u624b\u52d5\u3067\u5171\u6709URL\u3092\u4f5c\u6210\n  const validFileIdPattern = \/^&#91;a-zA-Z0-9_-]{28,40}$\/; \n  if (validFileIdPattern.test(rawUploadedFileId)) {\n      attachmentLink = 'https:\/\/drive.google.com\/file\/d\/' + rawUploadedFileId + '\/view?usp=sharing';\n      Logger.log('Fallback: Generated URL directly from ID: ' + attachmentLink);\n  }\n}\n<\/code><\/pre>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u51e6\u7406\u306e\u30dd\u30a4\u30f3\u30c8\u306f\u4ee5\u4e0b\u306e2\u70b9\u3067\u3059\u3002<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u505c\u6b62\u3092\u9632\u6b62<\/strong>: <code>DriveApp.getFileById()<\/code> \u304c\u5931\u6557\u3057\u3066\u3082 <code>catch<\/code> \u30d6\u30ed\u30c3\u30af\u306b\u5165\u308a\u3001\u51e6\u7406\u3092\u6700\u5f8c\u307e\u3067\u7d99\u7d9a\u3055\u305b\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>URL\u306e\u624b\u52d5\u751f\u6210<\/strong>: \u30d5\u30a1\u30a4\u30ebID\u306e\u5f62\u5f0f\uff0828\u301c40\u6841\u306e\u82f1\u6570\u5b57\u30fb\u8a18\u53f7\uff09\u3092\u6b63\u898f\u8868\u73fe\uff08<code>validFileIdPattern<\/code>\uff09\u3067\u5224\u5b9a\u3057\u3001\u6761\u4ef6\u3092\u6e80\u305f\u3057\u3066\u3044\u308c\u3070Google\u30c9\u30e9\u30a4\u30d6\u306e\u6a19\u6e96\u7684\u306a\u5171\u6709URL\u69cb\u9020\uff08<code>[https:\/\/drive.google.com\/file\/d\/](https:\/\/drive.google.com\/file\/d\/)[ID]\/view<\/code>\uff09\u3092\u76f4\u63a5\u7d44\u307f\u7acb\u3066\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u306b\u3088\u308a\u3001\u6a29\u9650\u30a8\u30e9\u30fc\u7b49\u3067 <code>DriveApp<\/code> \u304c\u30d5\u30a1\u30a4\u30eb\u60c5\u5831\u3092\u53d6\u5f97\u3067\u304d\u306a\u304f\u3066\u3082\u3001\u30e1\u30fc\u30eb\u672c\u6587\u306b\u306f\u6709\u52b9\u306a\u30d5\u30a1\u30a4\u30eb\u30ea\u30f3\u30af\u3092\u8a18\u8f09\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u2462 \u975e\u540c\u671f\u30bf\u30a4\u30df\u30f3\u30b0\u554f\u984c\u3078\u306e\u30c7\u30d0\u30c3\u30b0\u5bfe\u7b56\uff08<code>Utilities.sleep<\/code>\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d5\u30a9\u30fc\u30e0\u9001\u4fe1\u76f4\u5f8c\u306f\u3001Google\u30c9\u30e9\u30a4\u30d6\u5074\u3067\u30d5\u30a1\u30a4\u30eb\u51e6\u7406\u3084\u6a29\u9650\u306e\u5272\u308a\u5f53\u3066\u304c\u5b8c\u4e86\u3057\u3066\u304a\u3089\u305a\u3001GAS\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u304c\u4e00\u77ac\u9045\u308c\u308b\u30b1\u30fc\u30b9\u304c\u3054\u304f\u7a00\u306b\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color has-regular-font-size wp-elements-5\"><code>\n\/\/ \u4e00\u6642\u7684\u306a\u53d6\u5f97\u9045\u5ef6\u3092\u5207\u308a\u5206\u3051\u308b\u305f\u3081\u306e\u77ed\u6642\u9593\u306e\u5f85\u6a5f\nUtilities.sleep(100); \/\/ 100\u30df\u30ea\u79d2 (0.1\u79d2) \u5f85\u6a5f\n<\/code><\/pre>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u51e6\u7406\u306e\u9014\u4e2d\u306b <code>Utilities.sleep(100)<\/code> \u3092\u631f\u3080\u3053\u3068\u3067\u3001\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0\u306e\u305a\u308c\u306b\u3088\u308b\u5931\u6557\u3092\u6291\u6b62\u3057\u3001\u30c7\u30d0\u30c3\u30b0\u6642\u306e\u52d5\u4f5c\u306e\u5b89\u5b9a\u5316\u3092\u56f3\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4. \u653e\u8ab2\u5f8c\u5150\u7ae5\u30af\u30e9\u30d6\u30fb\u5730\u57df\u3067\u306e\u6d3b\u7528\u4f8b\uff1aGlide\u30a2\u30d7\u30ea\u3068\u306e\u9023\u643a<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u3054\u7d39\u4ecb\u3057\u305f\u5b89\u5168\u306a\u30d5\u30a9\u30fc\u30e0\u51e6\u7406\u306f\u3001<strong>\u5730\u57dfDX\u3084\u6559\u80b2\u73fe\u5834\u306b\u304a\u3051\u308b\u60c5\u5831\u767a\u4fe1\u306e\u81ea\u52d5\u5316<\/strong>\u306b\u975e\u5e38\u306b\u6709\u52b9\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f8b\u3048\u3070\u3001\u300c\u653e\u8ab2\u5f8c\u5150\u7ae5\u30af\u30e9\u30d6\u300d\u3084\u300c\u753a\u5185\u4f1a\u300d\u306e\u904b\u55b6\u306b\u304a\u3044\u3066\u3001\u6b21\u306e\u3088\u3046\u306a\u4ed5\u7d44\u307f\u3092\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color has-regular-font-size wp-elements-6\"><code>\n&#91;\u7ba1\u7406\u8005 \/ \u8077\u54e1]\n  \u2502\n  \u25bc Google\u30d5\u30a9\u30fc\u30e0\u304b\u3089\u304a\u77e5\u3089\u305b\uff06\u304a\u305f\u3088\u308a\uff08PDF\u30fb\u753b\u50cf\uff09\u3092\u6295\u7a3f\n&#91;Google\u30d5\u30a9\u30fc\u30e0]\n  \u2502\n  \u25bc GAS\uff08\u5b89\u5168\u306a\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u51e6\u7406\uff06\u30e1\u30fc\u30eb\u81ea\u52d5\u9001\u4fe1\uff09\n  \u251c\u2500\u25ba \u4fdd\u8b77\u8005\u5b9b\u3078\u4e00\u6589\u30e1\u30fc\u30eb\u901a\u77e5\uff08\u6dfb\u4ed8\u30ea\u30f3\u30af\u4ed8\u304d\uff09\n  \u2502\n  \u25bc \u30c7\u30fc\u30bf\u3092\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u84c4\u7a4d\n&#91;Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8]\n  \u2502\n  \u25bc \u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u540c\u671f\n&#91;\u4fdd\u8b77\u8005\u5411\u3051Glide\u30a2\u30d7\u30ea] \uff08\u4f8b: https:\/\/kairan-demo02.glide.page\uff09\n<\/code><\/pre>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u5730\u57dfDX\u306b\u304a\u3051\u308b\u30e1\u30ea\u30c3\u30c8<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30e1\u30fc\u30eb\u9001\u4fe1\u5931\u6557\u306e\u30ea\u30b9\u30af\u30bc\u30ed\u5316<\/strong>: \u30d5\u30a1\u30a4\u30eb\u304c\u6dfb\u4ed8\u3055\u308c\u3066\u3044\u306a\u304f\u3066\u3082\u3001\u4fdd\u8b77\u8005\u3078\u306e\u7dca\u6025\u9023\u7d61\u30e1\u30fc\u30eb\u304c\u6b62\u307e\u3089\u305a\u78ba\u5b9f\u306b\u5c4a\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30a2\u30d7\u30ea\u3068\u30e1\u30fc\u30eb\u306e\u4e8c\u91cd\u30d5\u30a9\u30ed\u30fc<\/strong>: \u30e1\u30fc\u30eb\u901a\u77e5\u3092\u53d7\u3051\u53d6\u3063\u305f\u4fdd\u8b77\u8005\u306f\u3001\u30e1\u30fc\u30eb\u5185\u306e\u30ea\u30f3\u30af\u304b\u3089\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u78ba\u8a8d\u3067\u304d\u308b\u307b\u304b\u3001\u5f8c\u304b\u3089\u30ce\u30fc\u30b3\u30fc\u30c9\u30a2\u30d7\u30ea\uff08Glide\uff09\u3092\u958b\u3044\u3066\u904e\u53bb\u306e\u304a\u77e5\u3089\u305b\u4e00\u89a7\u3092\u307e\u3068\u3081\u3066\u95b2\u89a7\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u73fe\u5834\u306e\u904b\u7528\u8ca0\u62c5\u3092\u8efd\u6e1b<\/strong>: \u8077\u54e1\u306fGoogle\u30d5\u30a9\u30fc\u30e0\u306b\u4e00\u5ea6\u5165\u529b\u3059\u308b\u3060\u3051\u3067\u3001\u30e1\u30fc\u30eb\u914d\u4fe1\u30fb\u30a2\u30d7\u30ea\u66f4\u65b0\u30fb\u30d5\u30a1\u30a4\u30eb\u5171\u6709\u306e\u3059\u3079\u3066\u304c\u5b8c\u7d50\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">5. \u307e\u3068\u3081<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u5805\u7262\u306aGAS\u30b3\u30fc\u30c9\u3067\u904b\u7528\u306e\u505c\u6ede\u3092\u9632\u3054\u3046\uff01<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Google\u30d5\u30a9\u30fc\u30e0\u3068GAS\u3092\u4f7f\u3063\u305f\u81ea\u52d5\u5316\u30b7\u30b9\u30c6\u30e0\u306f\u5927\u5909\u4fbf\u5229\u3067\u3059\u304c\u3001\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u304c\u4e0d\u5341\u5206\u3060\u3068\u300c\u30d5\u30a1\u30a4\u30eb\u304c\u6dfb\u4ed8\u3055\u308c\u3066\u3044\u306a\u3044\u3060\u3051\u3067\u5168\u4f53\u304c\u6b62\u307e\u308b\u300d\u3068\u3044\u3063\u305f\u904b\u7528\u4e0a\u306e\u30c8\u30e9\u30d6\u30eb\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u89e3\u8aac\u3057\u305f3\u3064\u306e\u30dd\u30a4\u30f3\u30c8\u3092\u610f\u8b58\u3057\u3066\u30b3\u30fc\u30c9\u3092\u8a2d\u8a08\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-regular has-regular-font-size\"><table><thead><tr><th class=\"has-text-align-left\" data-align=\"left\"><strong>\u5bfe\u7b56\u30dd\u30a4\u30f3\u30c8<\/strong><\/th><th class=\"has-text-align-left\" data-align=\"left\">\u5b9f\u88c5\u5185\u5bb9<\/th><th class=\"has-text-align-left\" data-align=\"left\">\u52b9\u679c<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\">\u2460 \u578b\u30c1\u30a7\u30c3\u30af &amp; \u30c8\u30ea\u30e0<\/td><td class=\"has-text-align-left\" data-align=\"left\"><code>typeof<\/code> \/ <code>String()<\/code> \/ <code>trim()<\/code><\/td><td class=\"has-text-align-left\" data-align=\"left\">\u672a\u5b9a\u7fa9\u5024\u3084\u7a7a\u6587\u5b57\u306b\u3088\u308b\u30a8\u30e9\u30fc\u3092\u56de\u907f<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">\u2461 \u4f8b\u5916\u51e6\u7406 &amp; \u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af<\/td><td class=\"has-text-align-left\" data-align=\"left\"><code>try...catch<\/code> + \u6b63\u898f\u8868\u73feURL\u751f\u6210<\/td><td class=\"has-text-align-left\" data-align=\"left\">API\u30a8\u30e9\u30fc\u6642\u3082\u51e6\u7406\u3092\u6b62\u3081\u305a\u30ea\u30f3\u30af\u3092\u88dc\u5b8c<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">\u2462 \u30bf\u30a4\u30df\u30f3\u30b0\u8abf\u6574<\/td><td class=\"has-text-align-left\" data-align=\"left\">Utilities.sleep(100)<\/td><td class=\"has-text-align-left\" data-align=\"left\">\u30a2\u30af\u30bb\u30b9\u9045\u5ef6\u306b\u3088\u308b\u4e00\u6642\u7684\u306a\u4e0d\u5177\u5408\u3092\u9632\u6b62<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u73fe\u5834\u3067\u9577\u304f\u4f7f\u308f\u308c\u308b\u30b7\u30b9\u30c6\u30e0\u3092\u4f5c\u308b\u305f\u3081\u306b\u306f\u3001<strong>\u300c\u4e88\u671f\u305b\u306c\u5165\u529b\u304c\u3042\u3063\u3066\u3082\u6b62\u3081\u306a\u3044\u300d\u5805\u7262\u306a\u8a2d\u8a08<\/strong>\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002\u305c\u3072\u3054\u81ea\u8eab\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3082\u6d3b\u7528\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\ud83d\udca1 \u3053\u306e\u6a5f\u80fd\u304c\u6700\u521d\u304b\u3089\u5165\u3063\u305f\u5b8c\u6210\u54c1\u30b5\u30fc\u30d3\u30b9\u3092\u304a\u63a2\u3057\u306e\u65b9\u3078<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c\u8a2d\u5b9a\u4f5c\u696d\u3092\u30d7\u30ed\u306b\u4efb\u305b\u305f\u3044\u300d\u300c\u73fe\u5834\u3067\u3059\u3050\u4f7f\u3048\u308b\u30a2\u30d7\u30ea\u3068\u3057\u3066\u5c0e\u5165\u3057\u305f\u3044\u300d\u65b9\u5411\u3051\u306b\u3001\u4eca\u56de\u3054\u7d39\u4ecb\u3057\u305f\u6a5f\u80fd\u304c\u6a19\u6e96\u642d\u8f09\u3055\u308c\u305f\u5b8c\u6210\u54c1\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udc49 <strong><a href=\"https:\/\/akita-csmedia.com\/?page_id=3404\" title=\"\">\u3010\u304a\u305f\u3088\u308a\u30a2\u30d7\u30ea\u3011\u306e\u8a73\u7d30\u3092\u898b\u308b<\/a><\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\ud83c\udfe2 \u30a4\u30f3\u30d5\u30e9\u69cb\u7bc9\u3084\u7d44\u7e54\u5168\u4f53\u306eDX\u304b\u3089\u3054\u76f8\u8ac7\u3055\u308c\u305f\u3044\u65b9\u3078<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Google Workspace\u306e\u5c0e\u5165\u3001\u72ec\u81ea\u30c9\u30e1\u30a4\u30f3\u306e\u6574\u5099\u304b\u3089\u30a2\u30d7\u30ea\u30fbLINE\u9023\u643a\u307e\u3067\u3001\u4e88\u7b97\u6700\u5c0f\u9650\u3067\u9032\u3081\u308b\u5168\u4f53\u8a2d\u8a08\u306f\u300c\u5730\u57dfDX\u5b8c\u5168\u30ed\u30fc\u30c9\u30de\u30c3\u30d7\u300d\u306b\u3066\u8a73\u3057\u304f\u516c\u958b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udc49 <a href=\"https:\/\/akita-csmedia.com\/?page_id=3738\"><strong>\u3010\u5b8c\u5168\u30de\u30cb\u30e5\u30a2\u30eb\u3011\u5730\u57dfDX\u30ed\u30fc\u30c9\u30de\u30c3\u30d7\u306f\u3053\u3061\u3089<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google\u30d5\u30a9\u30fc\u30e0\u3068Google Apps Script\uff08GAS\uff09\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001\u30d5\u30a9\u30fc\u30e0\u306e\u9001\u4fe1\u5185\u5bb9\u3092\u81ea\u52d5\u3067\u30e1\u30fc\u30eb\u901a\u77e5\u3057\u305f\u308a\u3001\u4ed6\u306e\u30b7\u30b9\u30c6\u30e0\u3078\u9023\u643a\u3057\u305f\u308a\u3059\u308b\u4ed5\u7d44\u307f\u306f\u3001\u696d\u52d9\u52b9\u7387\u5316\u306e\u5b9a\u756a\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u904b\u7528\u3092\u59cb\u3081\u3066\u304b\u3089\u6b21\u306e\u3088\u3046 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3946,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","_lightning_design_setting":[],"footnotes":""},"categories":[316],"tags":[239,341,320,321,343,342,292],"class_list":["post-3938","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-blog","tag-gas","tag-glide","tag-googleappsscript","tag-google","tag-343","tag-dx","tag-292"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Google\u30d5\u30a9\u30fc\u30e0\u3068GAS\u306e\u9023\u643a\u6642\u306b\u767a\u751f\u3059\u308b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u53d6\u5f97\u30a8\u30e9\u30fc\u306e\u56de\u907f\u6cd5\u3092\u89e3\u8aac\uff01DriveApp.getFileById()\u306e\u4f8b\u5916\u51e6\u7406\u3084\u578b\u30c1\u30a7\u30c3\u30af\u3001\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30afURL\u751f\u6210\u306a\u3069\u3001\u51e6\u7406\u3092\u6b62\u3081\u306a\u3044\u5805\u7262\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u8a2d\u8a08\u8853\u3068Glide\u30a2\u30d7\u30ea\u6d3b\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Sakurada\"\/>\n\t<meta name=\"google-site-verification\" content=\"69i6jAog1eDVDoZ7HnGU1TgxIlf0vE5hS-7MLpR0G7s\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/akita-csmedia.com\/?p=3938\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Civic Tech Akita | \u30a2\u30a4\u30c7\u30a2\u3092\u30ab\u30bf\u30c1\u306b\u3001\u8ab2\u984c\u3092\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u3002 \u79cb\u7530\u767a\u3001\u30ce\u30fc\u30b3\u30fc\u30c9\u3067\u53f6\u3048\u308bDX\u4f01\u753b\u30fb\u5236\u4f5c\u5c02\u9580\u30c1\u30fc\u30e0\u3002\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Google\u30d5\u30a9\u30fc\u30e0\u00d7GAS\u3067\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u30a8\u30e9\u30fc\u3092\u9632\u3050\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u8a2d\u8a08Civic Tech Akita\" \/>\n\t\t<meta property=\"og:description\" content=\"Google\u30d5\u30a9\u30fc\u30e0\u3068GAS\u306e\u9023\u643a\u6642\u306b\u767a\u751f\u3059\u308b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u53d6\u5f97\u30a8\u30e9\u30fc\u306e\u56de\u907f\u6cd5\u3092\u89e3\u8aac\uff01DriveApp.getFileById()\u306e\u4f8b\u5916\u51e6\u7406\u3084\u578b\u30c1\u30a7\u30c3\u30af\u3001\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30afURL\u751f\u6210\u306a\u3069\u3001\u51e6\u7406\u3092\u6b62\u3081\u306a\u3044\u5805\u7262\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u8a2d\u8a08\u8853\u3068Glide\u30a2\u30d7\u30ea\u6d3b\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/akita-csmedia.com\/?p=3938\" \/>\n\t\t<meta property=\"fb:app_id\" content=\"1346617742989207\" \/>\n\t\t<meta property=\"fb:admins\" content=\"113316290413702\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/akita-csmedia.com\/wp-content\/uploads\/2026\/08\/20260815_Thumb.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/akita-csmedia.com\/wp-content\/uploads\/2026\/08\/20260815_Thumb.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t\t<meta property=\"og:image:height\" content=\"633\" \/>\n\t\t<meta property=\"article:tag\" content=\"tech blog\" \/>\n\t\t<meta property=\"article:tag\" content=\"gas\" \/>\n\t\t<meta property=\"article:tag\" content=\"glide\" \/>\n\t\t<meta property=\"article:tag\" content=\"googleappsscript\" \/>\n\t\t<meta property=\"article:tag\" content=\"google\u30d5\u30a9\u30fc\u30e0\" \/>\n\t\t<meta property=\"article:tag\" content=\"\u30b7\u30d3\u30c3\u30af\u30c6\u30c3\u30af\" \/>\n\t\t<meta property=\"article:tag\" content=\"\u5730\u57dfdx\" \/>\n\t\t<meta property=\"article:tag\" content=\"\u696d\u52d9\u52b9\u7387\u5316\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-08-17T01:11:40+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-17T01:11:42+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/AKITA.CS.Media\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/AKITA.CS.Media\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@gyRhXpjmhpnObE3\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Google\u30d5\u30a9\u30fc\u30e0\u00d7GAS\u3067\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u30a8\u30e9\u30fc\u3092\u9632\u3050\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u8a2d\u8a08Civic Tech Akita\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Google\u30d5\u30a9\u30fc\u30e0\u3068GAS\u306e\u9023\u643a\u6642\u306b\u767a\u751f\u3059\u308b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u53d6\u5f97\u30a8\u30e9\u30fc\u306e\u56de\u907f\u6cd5\u3092\u89e3\u8aac\uff01DriveApp.getFileById()\u306e\u4f8b\u5916\u51e6\u7406\u3084\u578b\u30c1\u30a7\u30c3\u30af\u3001\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30afURL\u751f\u6210\u306a\u3069\u3001\u51e6\u7406\u3092\u6b62\u3081\u306a\u3044\u5805\u7262\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u8a2d\u8a08\u8853\u3068Glide\u30a2\u30d7\u30ea\u6d3b\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@gyRhXpjmhpnObE3\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/akita-csmedia.com\/wp-content\/uploads\/2026\/08\/20260815_Thumb.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?p=3938#article\",\"name\":\"Google\\u30d5\\u30a9\\u30fc\\u30e0\\u00d7GAS\\u3067\\u30d5\\u30a1\\u30a4\\u30eb\\u6dfb\\u4ed8\\u30a8\\u30e9\\u30fc\\u3092\\u9632\\u3050\\u5b89\\u5168\\u306a\\u30b3\\u30fc\\u30c9\\u8a2d\\u8a08Civic Tech Akita\",\"headline\":\"Google\\u30d5\\u30a9\\u30fc\\u30e0\\u00d7GAS\\u3067\\u30d5\\u30a1\\u30a4\\u30eb\\u6dfb\\u4ed8\\u30a8\\u30e9\\u30fc\\u3092\\u9632\\u3050\\u5b89\\u5168\\u306a\\u30b3\\u30fc\\u30c9\\u8a2d\\u8a08\",\"author\":{\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/akita-csmedia.com\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/20260815_Thumb.jpg\",\"width\":1200,\"height\":633,\"caption\":\"Google\\u30d5\\u30a9\\u30fc\\u30e0\\u3068GAS\\u306e\\u9023\\u643a\\u306b\\u3088\\u308b\\u30d5\\u30a1\\u30a4\\u30eb\\u6dfb\\u4ed8\\u30a8\\u30e9\\u30fc\\u9632\\u6b62\\u3068Glide\\u30a2\\u30d7\\u30ea\\u9023\\u643a\\u3092\\u89e3\\u8aac\\u3057\\u305f\\u30b5\\u30e0\\u30cd\\u30a4\\u30eb\\u753b\\u50cf\\uff08akita-csmedia.com\\uff09\"},\"datePublished\":\"2026-08-17T10:11:40+09:00\",\"dateModified\":\"2026-08-17T10:11:42+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?p=3938#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?p=3938#webpage\"},\"articleSection\":\"Tech Blog, GAS, Glide, GoogleAppsScript, Google\\u30d5\\u30a9\\u30fc\\u30e0, \\u30b7\\u30d3\\u30c3\\u30af\\u30c6\\u30c3\\u30af, \\u5730\\u57dfDX, \\u696d\\u52d9\\u52b9\\u7387\\u5316\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?p=3938#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/akita-csmedia.com\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?cat=316#listItem\",\"name\":\"Tech Blog\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?cat=316#listItem\",\"position\":2,\"name\":\"Tech Blog\",\"item\":\"https:\\\/\\\/akita-csmedia.com\\\/?cat=316\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?p=3938#listItem\",\"name\":\"Google\\u30d5\\u30a9\\u30fc\\u30e0\\u00d7GAS\\u3067\\u30d5\\u30a1\\u30a4\\u30eb\\u6dfb\\u4ed8\\u30a8\\u30e9\\u30fc\\u3092\\u9632\\u3050\\u5b89\\u5168\\u306a\\u30b3\\u30fc\\u30c9\\u8a2d\\u8a08\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?p=3938#listItem\",\"position\":3,\"name\":\"Google\\u30d5\\u30a9\\u30fc\\u30e0\\u00d7GAS\\u3067\\u30d5\\u30a1\\u30a4\\u30eb\\u6dfb\\u4ed8\\u30a8\\u30e9\\u30fc\\u3092\\u9632\\u3050\\u5b89\\u5168\\u306a\\u30b3\\u30fc\\u30c9\\u8a2d\\u8a08\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?cat=316#listItem\",\"name\":\"Tech Blog\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/#organization\",\"name\":\"Civic Tech Akita\",\"description\":\"\\u30a2\\u30a4\\u30c7\\u30a2\\u3092\\u30ab\\u30bf\\u30c1\\u306b\\u3001\\u8ab2\\u984c\\u3092\\u30bd\\u30ea\\u30e5\\u30fc\\u30b7\\u30e7\\u30f3\\u306b\\u3002 \\u79cb\\u7530\\u767a\\u3001\\u30ce\\u30fc\\u30b3\\u30fc\\u30c9\\u3067\\u53f6\\u3048\\u308bDX\\u4f01\\u753b\\u30fb\\u5236\\u4f5c\\u5c02\\u9580\\u30c1\\u30fc\\u30e0\\u3002\",\"url\":\"https:\\\/\\\/akita-csmedia.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/akita-csmedia.com\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/CTA\\u30ed\\u30b4.jpg\",\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?p=3938\\\/#organizationLogo\",\"width\":500,\"height\":500,\"caption\":\"\\u30d5\\u30a1\\u30d3\\u30b3\\u30f3\"},\"image\":{\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?p=3938\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/AKITA.CS.Media\",\"https:\\\/\\\/x.com\\\/gyRhXpjmhpnObE3\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?author=1#author\",\"url\":\"https:\\\/\\\/akita-csmedia.com\\\/?author=1\",\"name\":\"Sakurada\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?p=3938#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0a492213eac3d2b4d1d04bd54f06083b3ccfaa471f6f477e4c7ba4aae3ab2245?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Sakurada\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?p=3938#webpage\",\"url\":\"https:\\\/\\\/akita-csmedia.com\\\/?p=3938\",\"name\":\"Google\\u30d5\\u30a9\\u30fc\\u30e0\\u00d7GAS\\u3067\\u30d5\\u30a1\\u30a4\\u30eb\\u6dfb\\u4ed8\\u30a8\\u30e9\\u30fc\\u3092\\u9632\\u3050\\u5b89\\u5168\\u306a\\u30b3\\u30fc\\u30c9\\u8a2d\\u8a08Civic Tech Akita\",\"description\":\"Google\\u30d5\\u30a9\\u30fc\\u30e0\\u3068GAS\\u306e\\u9023\\u643a\\u6642\\u306b\\u767a\\u751f\\u3059\\u308b\\u6dfb\\u4ed8\\u30d5\\u30a1\\u30a4\\u30eb\\u53d6\\u5f97\\u30a8\\u30e9\\u30fc\\u306e\\u56de\\u907f\\u6cd5\\u3092\\u89e3\\u8aac\\uff01DriveApp.getFileById()\\u306e\\u4f8b\\u5916\\u51e6\\u7406\\u3084\\u578b\\u30c1\\u30a7\\u30c3\\u30af\\u3001\\u30d5\\u30a9\\u30fc\\u30eb\\u30d0\\u30c3\\u30afURL\\u751f\\u6210\\u306a\\u3069\\u3001\\u51e6\\u7406\\u3092\\u6b62\\u3081\\u306a\\u3044\\u5805\\u7262\\u306a\\u30b9\\u30af\\u30ea\\u30d7\\u30c8\\u8a2d\\u8a08\\u8853\\u3068Glide\\u30a2\\u30d7\\u30ea\\u6d3b\\u7528\\u4f8b\\u3092\\u7d39\\u4ecb\\u3057\\u307e\\u3059\\u3002\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?p=3938#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/akita-csmedia.com\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/20260815_Thumb.jpg\",\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?p=3938\\\/#mainImage\",\"width\":1200,\"height\":633,\"caption\":\"Google\\u30d5\\u30a9\\u30fc\\u30e0\\u3068GAS\\u306e\\u9023\\u643a\\u306b\\u3088\\u308b\\u30d5\\u30a1\\u30a4\\u30eb\\u6dfb\\u4ed8\\u30a8\\u30e9\\u30fc\\u9632\\u6b62\\u3068Glide\\u30a2\\u30d7\\u30ea\\u9023\\u643a\\u3092\\u89e3\\u8aac\\u3057\\u305f\\u30b5\\u30e0\\u30cd\\u30a4\\u30eb\\u753b\\u50cf\\uff08akita-csmedia.com\\uff09\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/?p=3938#mainImage\"},\"datePublished\":\"2026-08-17T10:11:40+09:00\",\"dateModified\":\"2026-08-17T10:11:42+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/#website\",\"url\":\"https:\\\/\\\/akita-csmedia.com\\\/\",\"name\":\"Civic Tech Akita\",\"description\":\"\\u30a2\\u30a4\\u30c7\\u30a2\\u3092\\u30ab\\u30bf\\u30c1\\u306b\\u3001\\u8ab2\\u984c\\u3092\\u30bd\\u30ea\\u30e5\\u30fc\\u30b7\\u30e7\\u30f3\\u306b\\u3002 \\u79cb\\u7530\\u767a\\u3001\\u30ce\\u30fc\\u30b3\\u30fc\\u30c9\\u3067\\u53f6\\u3048\\u308bDX\\u4f01\\u753b\\u30fb\\u5236\\u4f5c\\u5c02\\u9580\\u30c1\\u30fc\\u30e0\\u3002\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/akita-csmedia.com\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Google\u30d5\u30a9\u30fc\u30e0\u00d7GAS\u3067\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u30a8\u30e9\u30fc\u3092\u9632\u3050\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u8a2d\u8a08Civic Tech Akita","description":"Google\u30d5\u30a9\u30fc\u30e0\u3068GAS\u306e\u9023\u643a\u6642\u306b\u767a\u751f\u3059\u308b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u53d6\u5f97\u30a8\u30e9\u30fc\u306e\u56de\u907f\u6cd5\u3092\u89e3\u8aac\uff01DriveApp.getFileById()\u306e\u4f8b\u5916\u51e6\u7406\u3084\u578b\u30c1\u30a7\u30c3\u30af\u3001\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30afURL\u751f\u6210\u306a\u3069\u3001\u51e6\u7406\u3092\u6b62\u3081\u306a\u3044\u5805\u7262\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u8a2d\u8a08\u8853\u3068Glide\u30a2\u30d7\u30ea\u6d3b\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","canonical_url":"https:\/\/akita-csmedia.com\/?p=3938","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"69i6jAog1eDVDoZ7HnGU1TgxIlf0vE5hS-7MLpR0G7s","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/akita-csmedia.com\/?p=3938#article","name":"Google\u30d5\u30a9\u30fc\u30e0\u00d7GAS\u3067\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u30a8\u30e9\u30fc\u3092\u9632\u3050\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u8a2d\u8a08Civic Tech Akita","headline":"Google\u30d5\u30a9\u30fc\u30e0\u00d7GAS\u3067\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u30a8\u30e9\u30fc\u3092\u9632\u3050\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u8a2d\u8a08","author":{"@id":"https:\/\/akita-csmedia.com\/?author=1#author"},"publisher":{"@id":"https:\/\/akita-csmedia.com\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/akita-csmedia.com\/wp-content\/uploads\/2026\/08\/20260815_Thumb.jpg","width":1200,"height":633,"caption":"Google\u30d5\u30a9\u30fc\u30e0\u3068GAS\u306e\u9023\u643a\u306b\u3088\u308b\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u30a8\u30e9\u30fc\u9632\u6b62\u3068Glide\u30a2\u30d7\u30ea\u9023\u643a\u3092\u89e3\u8aac\u3057\u305f\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\uff08akita-csmedia.com\uff09"},"datePublished":"2026-08-17T10:11:40+09:00","dateModified":"2026-08-17T10:11:42+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/akita-csmedia.com\/?p=3938#webpage"},"isPartOf":{"@id":"https:\/\/akita-csmedia.com\/?p=3938#webpage"},"articleSection":"Tech Blog, GAS, Glide, GoogleAppsScript, Google\u30d5\u30a9\u30fc\u30e0, \u30b7\u30d3\u30c3\u30af\u30c6\u30c3\u30af, \u5730\u57dfDX, \u696d\u52d9\u52b9\u7387\u5316"},{"@type":"BreadcrumbList","@id":"https:\/\/akita-csmedia.com\/?p=3938#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/akita-csmedia.com\/#listItem","position":1,"name":"Home","item":"https:\/\/akita-csmedia.com\/","nextItem":{"@type":"ListItem","@id":"https:\/\/akita-csmedia.com\/?cat=316#listItem","name":"Tech Blog"}},{"@type":"ListItem","@id":"https:\/\/akita-csmedia.com\/?cat=316#listItem","position":2,"name":"Tech Blog","item":"https:\/\/akita-csmedia.com\/?cat=316","nextItem":{"@type":"ListItem","@id":"https:\/\/akita-csmedia.com\/?p=3938#listItem","name":"Google\u30d5\u30a9\u30fc\u30e0\u00d7GAS\u3067\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u30a8\u30e9\u30fc\u3092\u9632\u3050\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u8a2d\u8a08"},"previousItem":{"@type":"ListItem","@id":"https:\/\/akita-csmedia.com\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/akita-csmedia.com\/?p=3938#listItem","position":3,"name":"Google\u30d5\u30a9\u30fc\u30e0\u00d7GAS\u3067\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u30a8\u30e9\u30fc\u3092\u9632\u3050\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u8a2d\u8a08","previousItem":{"@type":"ListItem","@id":"https:\/\/akita-csmedia.com\/?cat=316#listItem","name":"Tech Blog"}}]},{"@type":"Organization","@id":"https:\/\/akita-csmedia.com\/#organization","name":"Civic Tech Akita","description":"\u30a2\u30a4\u30c7\u30a2\u3092\u30ab\u30bf\u30c1\u306b\u3001\u8ab2\u984c\u3092\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u3002 \u79cb\u7530\u767a\u3001\u30ce\u30fc\u30b3\u30fc\u30c9\u3067\u53f6\u3048\u308bDX\u4f01\u753b\u30fb\u5236\u4f5c\u5c02\u9580\u30c1\u30fc\u30e0\u3002","url":"https:\/\/akita-csmedia.com\/","logo":{"@type":"ImageObject","url":"https:\/\/akita-csmedia.com\/wp-content\/uploads\/2025\/12\/CTA\u30ed\u30b4.jpg","@id":"https:\/\/akita-csmedia.com\/?p=3938\/#organizationLogo","width":500,"height":500,"caption":"\u30d5\u30a1\u30d3\u30b3\u30f3"},"image":{"@id":"https:\/\/akita-csmedia.com\/?p=3938\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/AKITA.CS.Media","https:\/\/x.com\/gyRhXpjmhpnObE3"]},{"@type":"Person","@id":"https:\/\/akita-csmedia.com\/?author=1#author","url":"https:\/\/akita-csmedia.com\/?author=1","name":"Sakurada","image":{"@type":"ImageObject","@id":"https:\/\/akita-csmedia.com\/?p=3938#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/0a492213eac3d2b4d1d04bd54f06083b3ccfaa471f6f477e4c7ba4aae3ab2245?s=96&d=mm&r=g","width":96,"height":96,"caption":"Sakurada"}},{"@type":"WebPage","@id":"https:\/\/akita-csmedia.com\/?p=3938#webpage","url":"https:\/\/akita-csmedia.com\/?p=3938","name":"Google\u30d5\u30a9\u30fc\u30e0\u00d7GAS\u3067\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u30a8\u30e9\u30fc\u3092\u9632\u3050\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u8a2d\u8a08Civic Tech Akita","description":"Google\u30d5\u30a9\u30fc\u30e0\u3068GAS\u306e\u9023\u643a\u6642\u306b\u767a\u751f\u3059\u308b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u53d6\u5f97\u30a8\u30e9\u30fc\u306e\u56de\u907f\u6cd5\u3092\u89e3\u8aac\uff01DriveApp.getFileById()\u306e\u4f8b\u5916\u51e6\u7406\u3084\u578b\u30c1\u30a7\u30c3\u30af\u3001\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30afURL\u751f\u6210\u306a\u3069\u3001\u51e6\u7406\u3092\u6b62\u3081\u306a\u3044\u5805\u7262\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u8a2d\u8a08\u8853\u3068Glide\u30a2\u30d7\u30ea\u6d3b\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","inLanguage":"ja","isPartOf":{"@id":"https:\/\/akita-csmedia.com\/#website"},"breadcrumb":{"@id":"https:\/\/akita-csmedia.com\/?p=3938#breadcrumblist"},"author":{"@id":"https:\/\/akita-csmedia.com\/?author=1#author"},"creator":{"@id":"https:\/\/akita-csmedia.com\/?author=1#author"},"image":{"@type":"ImageObject","url":"https:\/\/akita-csmedia.com\/wp-content\/uploads\/2026\/08\/20260815_Thumb.jpg","@id":"https:\/\/akita-csmedia.com\/?p=3938\/#mainImage","width":1200,"height":633,"caption":"Google\u30d5\u30a9\u30fc\u30e0\u3068GAS\u306e\u9023\u643a\u306b\u3088\u308b\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u30a8\u30e9\u30fc\u9632\u6b62\u3068Glide\u30a2\u30d7\u30ea\u9023\u643a\u3092\u89e3\u8aac\u3057\u305f\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\uff08akita-csmedia.com\uff09"},"primaryImageOfPage":{"@id":"https:\/\/akita-csmedia.com\/?p=3938#mainImage"},"datePublished":"2026-08-17T10:11:40+09:00","dateModified":"2026-08-17T10:11:42+09:00"},{"@type":"WebSite","@id":"https:\/\/akita-csmedia.com\/#website","url":"https:\/\/akita-csmedia.com\/","name":"Civic Tech Akita","description":"\u30a2\u30a4\u30c7\u30a2\u3092\u30ab\u30bf\u30c1\u306b\u3001\u8ab2\u984c\u3092\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u3002 \u79cb\u7530\u767a\u3001\u30ce\u30fc\u30b3\u30fc\u30c9\u3067\u53f6\u3048\u308bDX\u4f01\u753b\u30fb\u5236\u4f5c\u5c02\u9580\u30c1\u30fc\u30e0\u3002","inLanguage":"ja","publisher":{"@id":"https:\/\/akita-csmedia.com\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"Civic Tech Akita | \u30a2\u30a4\u30c7\u30a2\u3092\u30ab\u30bf\u30c1\u306b\u3001\u8ab2\u984c\u3092\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u3002 \u79cb\u7530\u767a\u3001\u30ce\u30fc\u30b3\u30fc\u30c9\u3067\u53f6\u3048\u308bDX\u4f01\u753b\u30fb\u5236\u4f5c\u5c02\u9580\u30c1\u30fc\u30e0\u3002","og:type":"article","og:title":"Google\u30d5\u30a9\u30fc\u30e0\u00d7GAS\u3067\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u30a8\u30e9\u30fc\u3092\u9632\u3050\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u8a2d\u8a08Civic Tech Akita","og:description":"Google\u30d5\u30a9\u30fc\u30e0\u3068GAS\u306e\u9023\u643a\u6642\u306b\u767a\u751f\u3059\u308b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u53d6\u5f97\u30a8\u30e9\u30fc\u306e\u56de\u907f\u6cd5\u3092\u89e3\u8aac\uff01DriveApp.getFileById()\u306e\u4f8b\u5916\u51e6\u7406\u3084\u578b\u30c1\u30a7\u30c3\u30af\u3001\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30afURL\u751f\u6210\u306a\u3069\u3001\u51e6\u7406\u3092\u6b62\u3081\u306a\u3044\u5805\u7262\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u8a2d\u8a08\u8853\u3068Glide\u30a2\u30d7\u30ea\u6d3b\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","og:url":"https:\/\/akita-csmedia.com\/?p=3938","fb:app_id":"1346617742989207","fb:admins":"113316290413702","og:image":"https:\/\/akita-csmedia.com\/wp-content\/uploads\/2026\/08\/20260815_Thumb.jpg","og:image:secure_url":"https:\/\/akita-csmedia.com\/wp-content\/uploads\/2026\/08\/20260815_Thumb.jpg","og:image:width":1200,"og:image:height":633,"article:tag":["tech blog","gas","glide","googleappsscript","google\u30d5\u30a9\u30fc\u30e0","\u30b7\u30d3\u30c3\u30af\u30c6\u30c3\u30af","\u5730\u57dfdx","\u696d\u52d9\u52b9\u7387\u5316"],"article:published_time":"2026-08-17T01:11:40+00:00","article:modified_time":"2026-08-17T01:11:42+00:00","article:publisher":"https:\/\/www.facebook.com\/AKITA.CS.Media","article:author":"https:\/\/www.facebook.com\/AKITA.CS.Media","twitter:card":"summary","twitter:site":"@gyRhXpjmhpnObE3","twitter:title":"Google\u30d5\u30a9\u30fc\u30e0\u00d7GAS\u3067\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u30a8\u30e9\u30fc\u3092\u9632\u3050\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u8a2d\u8a08Civic Tech Akita","twitter:description":"Google\u30d5\u30a9\u30fc\u30e0\u3068GAS\u306e\u9023\u643a\u6642\u306b\u767a\u751f\u3059\u308b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u53d6\u5f97\u30a8\u30e9\u30fc\u306e\u56de\u907f\u6cd5\u3092\u89e3\u8aac\uff01DriveApp.getFileById()\u306e\u4f8b\u5916\u51e6\u7406\u3084\u578b\u30c1\u30a7\u30c3\u30af\u3001\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30afURL\u751f\u6210\u306a\u3069\u3001\u51e6\u7406\u3092\u6b62\u3081\u306a\u3044\u5805\u7262\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u8a2d\u8a08\u8853\u3068Glide\u30a2\u30d7\u30ea\u6d3b\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","twitter:creator":"@gyRhXpjmhpnObE3","twitter:image":"https:\/\/akita-csmedia.com\/wp-content\/uploads\/2026\/08\/20260815_Thumb.jpg"},"aioseo_meta_data":{"post_id":"3938","title":"#post_title#site_title","description":"Google\u30d5\u30a9\u30fc\u30e0\u3068GAS\u306e\u9023\u643a\u6642\u306b\u767a\u751f\u3059\u308b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u53d6\u5f97\u30a8\u30e9\u30fc\u306e\u56de\u907f\u6cd5\u3092\u89e3\u8aac\uff01DriveApp.getFileById()\u306e\u4f8b\u5916\u51e6\u7406\u3084\u578b\u30c1\u30a7\u30c3\u30af\u3001\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30afURL\u751f\u6210\u306a\u3069\u3001\u51e6\u7406\u3092\u6b62\u3081\u306a\u3044\u5805\u7262\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u8a2d\u8a08\u8853\u3068Glide\u30a2\u30d7\u30ea\u6d3b\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-08-14 07:54:09","updated":"2026-08-17 01:11:42","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/akita-csmedia.com\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/akita-csmedia.com\/?cat=316\" title=\"Tech Blog\">Tech Blog<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tGoogle\u30d5\u30a9\u30fc\u30e0\u00d7GAS\u3067\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u30a8\u30e9\u30fc\u3092\u9632\u3050\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u8a2d\u8a08\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/akita-csmedia.com\/"},{"label":"Tech Blog","link":"https:\/\/akita-csmedia.com\/?cat=316"},{"label":"Google\u30d5\u30a9\u30fc\u30e0\u00d7GAS\u3067\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u30a8\u30e9\u30fc\u3092\u9632\u3050\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u8a2d\u8a08","link":"https:\/\/akita-csmedia.com\/?p=3938"}],"_links":{"self":[{"href":"https:\/\/akita-csmedia.com\/index.php?rest_route=\/wp\/v2\/posts\/3938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/akita-csmedia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/akita-csmedia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/akita-csmedia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/akita-csmedia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3938"}],"version-history":[{"count":4,"href":"https:\/\/akita-csmedia.com\/index.php?rest_route=\/wp\/v2\/posts\/3938\/revisions"}],"predecessor-version":[{"id":3944,"href":"https:\/\/akita-csmedia.com\/index.php?rest_route=\/wp\/v2\/posts\/3938\/revisions\/3944"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/akita-csmedia.com\/index.php?rest_route=\/wp\/v2\/media\/3946"}],"wp:attachment":[{"href":"https:\/\/akita-csmedia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/akita-csmedia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/akita-csmedia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}