{"id":7587,"date":"2022-06-29T11:53:30","date_gmt":"2022-06-29T02:53:30","guid":{"rendered":"https:\/\/blog.synnex.co.jp\/?p=7587"},"modified":"2022-06-29T11:53:33","modified_gmt":"2022-06-29T02:53:33","slug":"gas-for-google-drive","status":"publish","type":"post","link":"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/","title":{"rendered":"Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGAS"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGoogleAppsScript\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u6982\u8981\">\u6982\u8981<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/gas-filelist.html#%E6%A6%82%E8%A6%81\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f93\u696d\u54e1\u306e\u4ea4\u901a\u8cbb\u7cbe\u7b97\u306a\u3069\u3001\u6bce\u6708\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3067\u5f93\u696d\u54e1\u5168\u54e1\u304b\u3089\u96c6\u3081\u3066\u3044\u308b\u4f01\u696d\u3082\u591a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\uff1f<br>Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u3044\u304f\u3064\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u304b\u306a\u3069\u30c1\u30a7\u30c3\u30af\u3057\u305f\u3044\u30b1\u30fc\u30b9\u3082\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3046\u3044\u3063\u305f\u3068\u304d\u306bGAS\u3092\u5229\u7528\u3059\u308b\u3068\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"1-\u6e96\u5099\">\u6e96\u5099<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/gas-filelist.html#1-%E6%BA%96%E5%82%99\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3067\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u3082\u30d5\u30a9\u30eb\u30c0\u3082\u306a\u3044\u72b6\u614b\u304b\u3089\u624b\u9806\u3092\u59cb\u3081\u307e\u3059\u3002<br>\u65e2\u306b\u53d6\u5f97\u3057\u305f\u3044\u30d5\u30a1\u30a4\u30eb\u3001\u53d6\u5f97\u3057\u305f\u3044\u30d5\u30a9\u30eb\u30c0\u304c\u3042\u308b\u5834\u5408\u306f\u3001(1)\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u7528\u610f\u3057\u307e\u3059 \u306e\u624b\u9806\u306e\u3042\u3068\u306f 2.\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u304b\u3089\u306e\u5b9f\u884c \u307e\u3067\u30b9\u30ad\u30c3\u30d7\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"1\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u7528\u610f\u3057\u307e\u3059\">(1)\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u7528\u610f\u3057\u307e\u3059<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/gas-filelist.html#1%E3%82%B9%E3%83%97%E3%83%AC%E3%83%83%E3%83%89%E3%82%B7%E3%83%BC%E3%83%88%E3%82%92%E7%94%A8%E6%84%8F%E3%81%97%E3%81%BE%E3%81%99\"><\/a><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u8a18\u4e8b\u3067\u306f\u3001C1\u306b\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u30d5\u30a9\u30eb\u30c0\u306eID\u3001C4\u4ee5\u4e0b\u306eC\u5217\u306b\u53d6\u5f97\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u8868\u793a\u3059\u308b\u5f62\u306e\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u60f3\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"272\" src=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/001_gas_filelist-1024x272.png\" alt=\"\" class=\"wp-image-7588\" srcset=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/001_gas_filelist-1024x272.png 1024w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/001_gas_filelist-300x80.png 300w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/001_gas_filelist-768x204.png 768w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/001_gas_filelist.png 1296w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u7279\u306b\u3001\u30bb\u30eb\u306e\u4f4d\u7f6e\u3092GAS\u3067\u6307\u5b9a\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u4e0b\u8a18\u306e\u624b\u9806\u3067\u8aac\u660e\u3059\u308b\u30b3\u30fc\u30c9\u3092\u305d\u306e\u307e\u307e\u30b3\u30d4\u30da\u3057\u3066\u5229\u7528\u3059\u308b\u5834\u5408\u306b\u306f\u3001\u30bb\u30eb\u4f4d\u7f6e\u3092\u5909\u3048\u306a\u3044\u3088\u3046\u306b\uff08\u30bb\u30eb\u4f4d\u7f6e\u3092\u5909\u3048\u308b\u5834\u5408\u306f\u30b3\u30fc\u30c9\u3092\u4fee\u6b63\uff09\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"2-\u7ba1\u7406\u5bfe\u8c61\u306e\u30d5\u30a9\u30eb\u30c0\u3092\u6c7a\u3081\u307e\u3059\">(2) \u7ba1\u7406\u5bfe\u8c61\u306e\u30d5\u30a9\u30eb\u30c0\u3092\u6c7a\u3081\u307e\u3059<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/gas-filelist.html#2-%E7%AE%A1%E7%90%86%E5%AF%BE%E8%B1%A1%E3%81%AE%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%82%92%E6%B1%BA%E3%82%81%E3%81%BE%E3%81%99\"><\/a><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGoogle Drive\u4e0a\u306e\u30d5\u30a9\u30eb\u30c0\u3092\u6c7a\u3081\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Google Drive\u306e\u30d5\u30a9\u30eb\u30c0\u306f\u3001\u3053\u3061\u3089\u306e\u69d8\u306aURL\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002 URL\u306e<code>folders<\/code>\u306e\u5f8c\u308d\u306e\u6587\u5b57\u5217\u304c<code>\u30d5\u30a9\u30eb\u30c0ID<\/code>\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;drive.google.com\/drive\/folders\/1ssxxxxxxxxxxxxxxxxxxxxTYf\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u3067\u306f\u3001<code>1ssxxxxxxxxxxxxxxxxxxxxTYf<\/code>&nbsp;\u304c\u30d5\u30a9\u30eb\u30c0ID\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u6587\u5b57\u5217\u3092\u5148\u7a0b\u7528\u610f\u3057\u305f\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u5165\u529b\u3057\u307e\u3059\u3002<br>\u203b \u30cf\u30fc\u30c9\u30b3\u30d4\u30fc\u306f\u3001\u65e2\u306b\u5165\u529b\u6e08\u307f\u306e\u72b6\u614b\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"3-\u7ba1\u7406\u5bfe\u8c61\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\">(3) \u7ba1\u7406\u5bfe\u8c61\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/gas-filelist.html#3-%E7%AE%A1%E7%90%86%E5%AF%BE%E8%B1%A1%E3%81%AE%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%81%AB%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E4%BD%9C%E6%88%90%E3%81%97%E3%81%BE%E3%81%99\"><\/a><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3061\u3089\u306e\u3088\u3046\u306a\u3001\u4ea4\u901a\u8cbb\u7cbe\u7b97\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u3064\u306e\u30d5\u30a9\u30eb\u30c0\u3067\u7ba1\u7406\u3059\u308b\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"311\" src=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/002_gas_filelist-1024x311.png\" alt=\"\" class=\"wp-image-7589\" srcset=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/002_gas_filelist-1024x311.png 1024w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/002_gas_filelist-300x91.png 300w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/002_gas_filelist-768x233.png 768w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/002_gas_filelist-1536x467.png 1536w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/002_gas_filelist.png 1692w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2-\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u304b\u3089\u306e\u5b9f\u884c\">\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u304b\u3089\u306e\u5b9f\u884c<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/gas-filelist.html#2-%E3%82%B9%E3%83%97%E3%83%AC%E3%83%83%E3%83%89%E3%82%B7%E3%83%BC%E3%83%88%E3%81%8B%E3%82%89%E3%81%AE%E5%AE%9F%E8%A1%8C\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u969b\u306e\u30b3\u30fc\u30c9\u306b\u5165\u308b\u524d\u306b\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u4ed5\u7d44\u307f\u3092\u4f5c\u308b\u3068\u5b9f\u884c\u3057\u3084\u3059\u304f\u306a\u308a\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u304b\u3089GAS\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u8d77\u52d5\u3059\u308b\u65b9\u6cd5\u306f\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u304c\u3001\u4eca\u56de\u306f\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30e1\u30cb\u30e5\u30fc\u306b\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3061\u3089\u306e\u3088\u3046\u306b\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"111\" src=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/003_gas_filelist-1024x111.png\" alt=\"\" class=\"wp-image-7590\" srcset=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/003_gas_filelist-1024x111.png 1024w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/003_gas_filelist-300x33.png 300w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/003_gas_filelist-768x83.png 768w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/003_gas_filelist-1536x167.png 1536w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/003_gas_filelist.png 1770w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b3\u30fc\u30c9\u306f\u3053\u3061\u3089\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-js\" data-lang=\"JavaScript\"><code>\/**\n * \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u95a2\u6570\u3092\u5b9f\u884c\u51fa\u6765\u308b\u3088\u3046\u306b\u3001\u30e1\u30cb\u30e5\u30fc\u3092\u8ffd\u52a0\u3002\n *\/\nfunction onOpen() {\n  var sheet = SpreadsheetApp.getActiveSpreadsheet();\n  var entries = [\n    { name: &quot;\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u53d6\u5f97\u5b9f\u884c&quot;, functionName: &quot;main&quot; }\n  ];\n  sheet.addMenu(&quot;\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u53d6\u5f97&quot;, entries);\n}<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><code>onOpen()<\/code>&nbsp;\u3068\u3044\u3046\u95a2\u6570\u306f\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u958b\u3044\u305f\u969b\u306b\u81ea\u52d5\u3067\u547c\u3073\u51fa\u3057\u3066\u304f\u308c\u308b\u95a2\u6570\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30e1\u30cb\u30e5\u30fc\u306e\u8ffd\u52a0\u306f\u3001\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<br><a href=\"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-run-gas-on-google-spreadsheet\/\">Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u4e0a\u3067\u306eGAS\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u65b9\u6cd5<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u88c5\u5f8c\u306b\u306f\u3001\u4e00\u5ea6\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u30ea\u30ed\u30fc\u30c9\u3057\u3066\u3001\u30e1\u30cb\u30e5\u30fc\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308c\u3070\u6210\u529f\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"3-\u5bfe\u8c61\u30d5\u30a9\u30eb\u30c0\u306e\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u53cd\u6620\u3059\u308bgas\u3092\u4f5c\u6210\">\u5bfe\u8c61\u30d5\u30a9\u30eb\u30c0\u306e\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u53cd\u6620\u3059\u308bGAS\u3092\u4f5c\u6210<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/gas-filelist.html#3-%E5%AF%BE%E8%B1%A1%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E4%B8%80%E8%A6%A7%E3%82%92%E5%8F%96%E5%BE%97%E3%81%97%E3%82%B9%E3%83%97%E3%83%AC%E3%83%83%E3%83%89%E3%82%B7%E3%83%BC%E3%83%88%E3%81%AB%E5%8F%8D%E6%98%A0%E3%81%99%E3%82%8Bgas%E3%82%92%E4%BD%9C%E6%88%90\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u304b\u3089\u3001GAS\u306e\u8aac\u660e\u306b\u5165\u308a\u307e\u3059\u3002<br>GAS\u3092\u4f5c\u308b\u969b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30ed\u30b8\u30c3\u30af\u306e\u6d41\u308c\u3092\u30a4\u30e1\u30fc\u30b8\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(1) \u5404\u7a2e\u5909\u6570\u306e\u5b9a\u7fa9<br>(2) \u64cd\u4f5c\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3001\u30b7\u30fc\u30c8\u306e\u53d6\u5f97<br>(3) \u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u4f5c\u6210\u3059\u308b\u30d5\u30a9\u30eb\u30c0\u306e\u53d6\u5f97<br>(4) \u53d6\u5f97\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u30ea\u30b9\u30c8\u53d6\u5f97<br>(5) \u53d6\u5f97\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u66f8\u304d\u8fbc\u307f<br>(6) \u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5206\u5272<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"1-\u5404\u7a2e\u5909\u6570\u306e\u5b9a\u7fa9\">(1) \u5404\u7a2e\u5909\u6570\u306e\u5b9a\u7fa9<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/gas-filelist.html#1-%E5%90%84%E7%A8%AE%E5%A4%89%E6%95%B0%E3%81%AE%E5%AE%9A%E7%BE%A9\"><\/a><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5909\u6570\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-js\" data-lang=\"JavaScript\"><code>  \/\/ \u5909\u6570\u8a2d\u5b9a\n  \/\/ \u30d5\u30a9\u30eb\u30c0ID\u8a18\u8f09\u4f4d\u7f6e\u8a2d\u5b9a\n  var folderIdRow = 1;\n  var folderIdCol = 3;\n\n  \/\/ \u30d5\u30a1\u30a4\u30eb\u66f8\u304d\u8fbc\u307f\u4f4d\u7f6e\u8a2d\u5b9a\n  var fileWriteStartRow = 5;\n  var fileWriteStartCol = 2;\n\n  \/\/ \u65e2\u5b58\u30d5\u30a1\u30a4\u30eb\u53cd\u6620\u30bb\u30eb\u30af\u30ea\u30a2\u7bc4\u56f2\u8a2d\u5b9a\n  var fileWriteEndRow = 1000;<\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"2-\u64cd\u4f5c\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u30b7\u30fc\u30c8\u306e\u53d6\u5f97\">(2) \u64cd\u4f5c\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3001\u30b7\u30fc\u30c8\u306e\u53d6\u5f97<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/gas-filelist.html#2-%E6%93%8D%E4%BD%9C%E3%81%99%E3%82%8B%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%B7%E3%83%BC%E3%83%88%E3%81%AE%E5%8F%96%E5%BE%97\"><\/a><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3061\u3089\u306e\u3088\u3046\u306a\u30bd\u30fc\u30b9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-js\" data-lang=\"JavaScript\"><code>  \/\/ \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u53d6\u5f97\n  var ss = SpreadsheetApp.getActiveSpreadsheet();\n  var activeSheet = <\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><code>SpreadsheetApp.getActiveSpreadsheet()<\/code>&nbsp;\u3067\u73fe\u5728\u958b\u3044\u3066\u3044\u308b\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>ss.getSheetByName('\u30b7\u30fc\u30c81')<\/code>&nbsp;\u3067\u3001\u53d6\u5f97\u3057\u305f\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30b7\u30fc\u30c8\u540d&nbsp;<code>\u30b7\u30fc\u30c81<\/code>\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"3-\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u4f5c\u6210\u3059\u308b\u30d5\u30a9\u30eb\u30c0\u306e\u53d6\u5f97\">(3) \u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u4f5c\u6210\u3059\u308b\u30d5\u30a9\u30eb\u30c0\u306e\u53d6\u5f97<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/gas-filelist.html#3-%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E4%B8%80%E8%A6%A7%E3%82%92%E4%BD%9C%E6%88%90%E3%81%99%E3%82%8B%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%81%AE%E5%8F%96%E5%BE%97\"><\/a><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u53d6\u5f97\u3057\u305f\u30b7\u30fc\u30c8\u306e\u304b\u3089\u3001\u30d5\u30a9\u30eb\u30c0ID\u306e\u30bb\u30eb\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-js\" data-lang=\"JavaScript\"><code>  \/\/ \u30d5\u30a9\u30eb\u30c0ID\u53d6\u5f97\n  var folderId = activeSheet.getRange(folderIdRow, folderIdCol).getValues()[0][0];<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><code>getRange()<\/code>\u3067\u30bb\u30eb\u3092\u6307\u5b9a\u3057\u3066\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<br>\u3053\u3053\u3067\u3001\u4e8b\u524d\u5b9a\u7fa9\u3057\u305f\u5909\u6570\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u30bb\u30eb\u306e\u4f4d\u7f6e\u3092\u5909\u66f4\u3057\u305f\u5834\u5408\u306a\u3069\u306b\u3001\u3053\u306e\u90e8\u5206\u3092\u63a2\u3057\u3066\u5909\u66f4\u3059\u308b\u3088\u308a\u3082\u3001\u30bd\u30fc\u30b9\u306e\u6700\u521d\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u5909\u6570\u306e\u5024\u3092\u5909\u66f4\u3059\u308b\u307b\u3046\u304c\u9593\u9055\u3044\u304c\u5c11\u306a\u304f\u3001\u697d\u306b\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f8c\u304b\u3089\u898b\u3066\u3082\u7406\u89e3\u3057\u3084\u3059\u3044\u3088\u3046\u306b\u3001\u5909\u6570\u540d\u3001\u304a\u3088\u3073\u3001\u30b3\u30e1\u30f3\u30c8\u3082\u91cd\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"4-\u53d6\u5f97\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u30ea\u30b9\u30c8\u53d6\u5f97\">(4) \u53d6\u5f97\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u30ea\u30b9\u30c8\u53d6\u5f97<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/gas-filelist.html#4-%E5%8F%96%E5%BE%97%E3%81%97%E3%81%9F%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E5%86%85%E3%81%AB%E3%81%82%E3%82%8B%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E5%90%8D%E3%81%AE%E3%83%AA%E3%82%B9%E3%83%88%E5%8F%96%E5%BE%97\"><\/a><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u53d6\u5f97\u3057\u305f\u30d5\u30a9\u30eb\u30c0ID\u3092\u5229\u7528\u3057\u3066\u3001\u305d\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-js\" data-lang=\"JavaScript\"><code> \/\/ \u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u53d6\u5f97\n  var folder = DriveApp.getFolderById(folderId);\n  var files = folder.getFiles();\n\n  var fileNames = []\n  while (files.hasNext()) {\n    var file = files.next();\n    fileNames.push([file.getName()]);\n  }<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d5\u30a9\u30eb\u30c0\u306e\u53d6\u5f97\u306f\u3001&nbsp;<code>DriveApp.getFolderById(folderId)<\/code>&nbsp;\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u53d6\u5f97\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306e\u30d5\u30a1\u30a4\u30eb\u30ea\u30b9\u30c8\u306f\u3001<code>folder.getFiles()<\/code>&nbsp;\u3067\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u30ea\u30b9\u30c8\u306f\u3001&nbsp;<code>Iterator<\/code>&nbsp;\u3068\u3044\u3046\u578b\u306b\u306a\u3063\u3066\u304a\u308a\u3001\u901a\u5e38\u306e\u30ea\u30b9\u30c8\u3068\u306f\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>while (files.hasNext())<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u306e&nbsp;<code>files.hasNext()<\/code>&nbsp;\u3067\u6b21\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u6709\u308b\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3001<code>files.next()<\/code>\u3067\u3001\u6b21\u306efile\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u53d6\u5f97\u3057\u305ffile\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u53d6\u5f97\u3057\u3066\u3001\u914d\u5217\u306b\u3057\u3066&nbsp;<code>fileNames.push([file.getName()])<\/code>&nbsp;\u30b7\u30fc\u30c8\u3078\u66f8\u304d\u8fbc\u307f\u7528\u306e\u914d\u5217\u306b\u8ffd\u52a0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u5f8c\u30b7\u30fc\u30c8\u306b\u66f8\u304d\u8fbc\u3080\u969b\u306b2\u6b21\u5143\u914d\u5217\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081\u3001\u914d\u5217\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0b\u306e\u69d8\u306a\u5f62\u5f0f\u306e2\u6b21\u5143\u914d\u5217\u3092\u4f5c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-js\" data-lang=\"JavaScript\"><code>[\n  [&quot;\u30d5\u30a1\u30a4\u30eb\u540d1&quot;],\n  [&quot;\u30d5\u30a1\u30a4\u30eb\u540d2&quot;],\n  [&quot;\u30d5\u30a1\u30a4\u30eb\u540d3&quot;]\n]<\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"5-\u53d6\u5f97\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u66f8\u304d\u8fbc\u307f\">(5) \u53d6\u5f97\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u66f8\u304d\u8fbc\u307f<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/gas-filelist.html#5-%E5%8F%96%E5%BE%97%E3%81%97%E3%81%9F%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E4%B8%80%E8%A6%A7%E3%82%92%E3%82%B9%E3%83%97%E3%83%AC%E3%83%83%E3%83%89%E3%82%B7%E3%83%BC%E3%83%88%E3%81%AB%E6%9B%B8%E3%81%8D%E8%BE%BC%E3%81%BF\"><\/a><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f5c\u6210\u3057\u305f2\u6b21\u5143\u914d\u5217\u3092\u3001\u305d\u306e\u307e\u307e\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30bb\u30eb\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-js\" data-lang=\"JavaScript\"><code>  \/\/ \u66f8\u304d\u8fbc\u3080\u524d\u306b\u30bb\u30eb\u3092\u30af\u30ea\u30a2\n  activeSheet.getRange(fileWriteStartRow, fileWriteStartCol, fileWriteEndRow, fileNames[0].length).clear();\n  \/\/ \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u53cd\u6620\n  activeSheet.getRange(fileWriteStartRow, fileWriteStartCol, fileNames.length, fileNames[0].length).setValues(fileNames);<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u66f8\u304d\u8fbc\u3080\u524d\u306b\u3001\u65e2\u306b\u66f8\u304d\u8fbc\u307e\u308c\u3066\u3044\u305f\u5185\u5bb9\u304c\u3042\u3063\u305f\u5834\u5408\u3092\u8003\u616e\u3057\u3066\u3001\u5bfe\u8c61\u306e\u30bb\u30eb\u3092\u30af\u30ea\u30a2\u3057\u307e\u3059\u3002<br>\u6700\u521d\u306e\u5909\u6570\u5b9a\u7fa9\u3067\u3001<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-js\" data-lang=\"JavaScript\"><code>var fileWriteEndRow = 1000;<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3068\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u306e\u3067\u30011000\u884c\u307e\u3067\u306e\u7bc4\u56f2\u3092\u30af\u30ea\u30a2\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u65b9\u6cd5\u3067\u306f\u30011000\u884c\u3092\u8d85\u3048\u308b\u3068\u53e4\u3044\u30c7\u30fc\u30bf\u304c\u6b8b\u308b\u53ef\u80fd\u6027\u304c\u51fa\u3066\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u8a18\u4e8b\u3067\u306f\u3001\u7d39\u4ecb\u3057\u3066\u3044\u307e\u305b\u3093\u304c\u3001\u30c7\u30fc\u30bf\u306e\u5b58\u5728\u3059\u308b\u7bc4\u56f2\u3092\u53d6\u5f97\u3057\u3066\u524a\u9664\u3059\u308b\u69d8\u306b\u3057\u305f\u308a\u30011000\u884c\u4ee5\u4e0a\u306b\u306a\u308b\u5834\u5408\u306b\u306f\u3001\u30a8\u30e9\u30fc\u3092\u51fa\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u307e\u3067\u306e\u5185\u5bb9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"442\" src=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/004_gas_filelist-1024x442.png\" alt=\"\" class=\"wp-image-7591\" srcset=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/004_gas_filelist-1024x442.png 1024w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/004_gas_filelist-300x129.png 300w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/004_gas_filelist-768x332.png 768w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/004_gas_filelist.png 1112w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"6-\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5206\u5272\">(6) \u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5206\u5272<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/gas-filelist.html#6-%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E5%90%8D%E3%82%92%E5%88%86%E5%89%B2\"><\/a><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30eb\u30fc\u30eb\u3067\u4f5c\u6210\u3059\u308b\u60f3\u5b9a\u3068\u3057\u3066\u3044\u307e\u3059\u3002<br><code>\u4ea4\u901a\u8cbb\u7cbe\u7b97_\u5e74\u6708_\u6c0f\u540d<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30eb\u30fc\u30eb\u304c\u6c7a\u307e\u3063\u3066\u3044\u308c\u3070\u3001\u3053\u306e\u69d8\u306a\u5f62\u5f0f\u3067\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u53cd\u6620\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"361\" src=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/005_gas_filelist-1024x361.png\" alt=\"\" class=\"wp-image-7592\" srcset=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/005_gas_filelist-1024x361.png 1024w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/005_gas_filelist-300x106.png 300w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/005_gas_filelist-768x271.png 768w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/005_gas_filelist.png 1100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u5f62\u5f0f\u306b\u3067\u304d\u308b\u3068\u3001\u63d0\u51fa\u3057\u3066\u3044\u306a\u3044\u4eba\u306e\u30c1\u30a7\u30c3\u30af\u306a\u3069\u4f5c\u696d\u304c\u3057\u3084\u3059\u304f\u306a\u308b\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5148\u306b\u3001\u5b8c\u6210\u30bd\u30fc\u30b9\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-js\" data-lang=\"JavaScript\"><code>  \/\/ \u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u53d6\u5f97\n  var folder = DriveApp.getFolderById(folderId);\n  var files = folder.getFiles();\n\n  var fileNames = []\n  while (files.hasNext()) {\n    var file = files.next();\n    var fileNameSprit = file.getName().split(&#39;_&#39;);\n    if ( fileNameSprit.length !== 3){\n      Browser.msgBox(&#39;\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u5f62\u5f0f\u304c\u9055\u3044\u307e\u3059: &#39; + file.getName());\n      return\n    }\n    fileNames.push(fileNameSprit);\n  }<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u8ffd\u52a0\u3057\u3066\u3044\u308b\u90e8\u5206\u3092\u89e3\u8aac\u3057\u3066\u884c\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">8\u884c\u76ee\u306e&nbsp;<code>file.getName().split('_');<\/code>&nbsp;\u3053\u308c\u306f\u3001JavaScript\u306e\u30b3\u30fc\u30c9\u3067&nbsp;<code>_<\/code>&nbsp;\u3067\u5206\u5272\u3057\u3066\u914d\u5217\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u3092\u8ffd\u52a0\u3059\u308b\u3060\u3051\u3067\u3082\u3001\u5206\u5272\u304c\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u3001\u30eb\u30fc\u30eb\u306b\u5408\u3063\u3066\u3044\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u304c\u6df7\u5728\u3057\u305f\u5834\u5408\u306a\u3069\u306b\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<br>\u3053\u308c\u306b\u5bfe\u5fdc\u3059\u308b\u305f\u3081\u30019\u884c\u76ee\u3067\u4f5c\u6210\u3055\u308c\u305f\u914d\u5217\u306e\u9577\u3055\u304c3\u3067\u3042\u308b\u3053\u3068\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u4e0a\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u306e<code>3<\/code>\u3082\u5909\u6570\u5316\u3057\u3066\u304a\u304f\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u30eb\u30fc\u30eb\u304c\u5909\u308f\u3063\u305f\u5834\u5408\u306a\u3069\u306b\u5bfe\u5fdc\u3057\u3084\u3059\u304f\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u3002<br>\u307e\u305f\u3001\u3053\u308c\u3067\u6700\u4f4e\u9650\u306e\u30c1\u30a7\u30c3\u30af\u306f\u3067\u304d\u307e\u3059\u304c\u3001\u65e5\u4ed8\u304c\u5165\u3063\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u306a\u3069\u3001\u53b3\u5bc6\u306a\u30c1\u30a7\u30c3\u30af\u304c\u5fc5\u8981\u306b\u306a\u308b\u30b1\u30fc\u30b9\u3082\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br>\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u30c1\u30a7\u30c3\u30af\u3092\u8ffd\u52a0\u3057\u3066\u307f\u3066\u4e0b\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u898b\u843d\u3068\u3057\u304c\u3061\u3067\u3059\u304c\u300113\u884c\u76ee\u306e&nbsp;<code>fileNames.push(fileNameSprit);<\/code>&nbsp;\u3082\u5909\u66f4\u304c\u5165\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5909\u66f4\u524d\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u6587\u5b57\u5217\u3092\u5165\u308c\u3066\u3044\u305f\u305f\u3081&nbsp;<code>[]<\/code>&nbsp;\u3067\u56f2\u3063\u3066\u914d\u5217\u306b\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001&nbsp;<code>fileNameSprit<\/code>&nbsp;\u306f\u3001\u914d\u5217\u3068\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u4e0d\u8981\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u69d8\u306a\u914d\u5217\u304c\u51fa\u6765\u4e0a\u304c\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-js\" data-lang=\"JavaScript\"><code>[\n  [&quot;\u30d5\u30a1\u30a4\u30eb\u540d1&quot;, &quot;\u5e74\u67081&quot;, &quot;\u540d\u524d1&quot;],\n  [&quot;\u30d5\u30a1\u30a4\u30eb\u540d2&quot;, &quot;\u5e74\u67082&quot;, &quot;\u540d\u524d2&quot;],\n  [&quot;\u30d5\u30a1\u30a4\u30eb\u540d3&quot;, &quot;\u5e74\u67083&quot;, &quot;\u540d\u524d3&quot;]\n]<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u5909\u66f4\u3067\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u5168\u4f53\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\">\u5168\u4f53\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/gas-filelist.html#%E5%85%A8%E4%BD%93%E3%81%AE%E3%82%BD%E3%83%BC%E3%82%B9%E3%82%B3%E3%83%BC%E3%83%89\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u5f8c\u306b\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u5168\u4f53\u3092\u7d39\u4ecb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-js\" data-lang=\"JavaScript\"><code>\/**\n * \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u95a2\u6570\u3092\u5b9f\u884c\u51fa\u6765\u308b\u3088\u3046\u306b\u3001\u30e1\u30cb\u30e5\u30fc\u3092\u8ffd\u52a0\u3002\n *\/\nfunction onOpen() {\n  var sheet = SpreadsheetApp.getActiveSpreadsheet();\n  var entries = [\n    { name: &quot;\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u53d6\u5f97\u5b9f\u884c&quot;, functionName: &quot;main&quot; }\n  ];\n  sheet.addMenu(&quot;\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u53d6\u5f97&quot;, entries);\n}\n\n\/**\n * \u30d5\u30a9\u30eb\u30c0\u4e00\u89a7\u53d6\u5f97\n *\/\nfunction main() {\n\n  \/\/ \u5909\u6570\u8a2d\u5b9a\n  \/\/ \u30d5\u30a9\u30eb\u30c0ID\u8a18\u8f09\u4f4d\u7f6e\u8a2d\u5b9a\n  var folderIdRow = 1;\n  var folderIdCol = 3;\n\n  \/\/ \u30d5\u30a1\u30a4\u30eb\u66f8\u304d\u8fbc\u307f\u4f4d\u7f6e\u8a2d\u5b9a\n  var fileWriteStartRow = 5;\n  var fileWriteStartCol = 2;\n\n  \/\/ \u65e2\u5b58\u30d5\u30a1\u30a4\u30eb\u53cd\u6620\u30bb\u30eb\u30af\u30ea\u30a2\u7bc4\u56f2\u8a2d\u5b9a\n  var fileWriteEndRow = 1000;\n\n  \/\/ \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u53d6\u5f97\n  \/\/ var folderId = &#39;1BVfWtld3aYdA80oOW2GJaiJAydXoDWMh&#39;\n  var ss = SpreadsheetApp.getActiveSpreadsheet();\n  var activeSheet = ss.getSheetByName(&#39;\u30b7\u30fc\u30c81&#39;);\n\n  \/\/ \u30d5\u30a9\u30eb\u30c0ID\u53d6\u5f97\n  var folderId = activeSheet.getRange(folderIdRow, folderIdCol).getValues()[0][0];\n  \/\/ var folderId = rootFolder.getId();\n\n  \/\/ \u30d5\u30a9\u30eb\u30c0\u4e00\u89a7\u53d6\u5f97\n  \/\/ Log the name of every folder in the user&#39;s Drive.\n  var folder = DriveApp.getFolderById(folderId);\n  Logger.log(folder.getName());\n  var files = folder.getFiles();\n\n  var fileNames = []\n  while (files.hasNext()) {\n    var file = files.next();\n    var fileNameSprit = file.getName().split(&#39;_&#39;);\n    if ( fileNameSprit.length !== 3){\n      Browser.msgBox(&#39;\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u5f62\u5f0f\u304c\u9055\u3044\u307e\u3059: &#39; + file.getName());\n      return\n    }\n    fileNames.push(fileNameSprit);\n  }\n\n  \/\/ \u66f8\u304d\u8fbc\u3080\u524d\u306b\u30bb\u30eb\u3092\u30af\u30ea\u30a2\n  activeSheet.getRange(fileWriteStartRow, fileWriteStartCol, fileWriteEndRow, fileNames[0].length).clear();\n  \/\/ \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u53cd\u6620\n  activeSheet.getRange(fileWriteStartRow, fileWriteStartCol, fileNames.length, fileNames[0].length).setValues(fileNames);\n\n}\n<\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"\u6ce8\u610f\u70b9\">\u6ce8\u610f\u70b9<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/gas-filelist.html#%E6%B3%A8%E6%84%8F%E7%82%B9\"><\/a><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u3054\u7d39\u4ecb\u3057\u305f\u65b9\u6cd5\u3067\u306f\u3001\u30de\u30a4\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<br><code>DriveApp.getRootFolder()<\/code>&nbsp;\u3068\u3044\u3046\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u307e\u3068\u3081\">\u307e\u3068\u3081<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/gas-filelist.html#%E3%81%BE%E3%81%A8%E3%82%81\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">GAS\u3092\u4f7f\u3046\u3068\u7c21\u5358\u306bGoogle Drive\u5185\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306a\u3069\u306b\u51fa\u529b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u306f\u3001\u4ea4\u901a\u8cbb\u7cbe\u7b97\u3092\u984c\u6750\u306b\u8aac\u660e\u3057\u307e\u3057\u305f\u304c\u3001\u753b\u50cf\u30d5\u30a9\u30eb\u30c0\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u9023\u756a\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3046\u306a\u3069\u3001\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u5927\u91cf\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u30c1\u30a7\u30c3\u30af\u3057\u305f\u3044\u30b1\u30fc\u30b9\u306f\u591a\u304f\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002<br>\u307e\u305f\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5206\u5272\u3057\u3066\u756a\u53f7\u9806\u3084\u65e5\u4ed8\u9806\u306b\u4e26\u3079\u308b\u306a\u3069\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u4e0a\u3067\u3067\u304d\u308b\u3053\u3068\u306fGAS\u3067\u81ea\u52d5\u5316\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">GSS\u3068JavaScript\u306e\u77e5\u8b58\u3092\u5897\u3084\u3057\u3066\u3044\u304f\u3053\u3068\u3067\u3001\u53d6\u5f97\u3057\u305f\u60c5\u5831\u3092\u52a0\u5de5\u3057\u3088\u308a\u4fbf\u5229\u306b\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u65e5\u5e38\u306e\u696d\u52d9\u3092\u5c11\u3057\u305a\u3064\u52b9\u7387\u5316\u3057\u3066\u3001GAS\u3092\u89e6\u308b\u6a5f\u4f1a\u3092\u5897\u3084\u3057\u3066\u3044\u304f\u304d\u3063\u304b\u3051\u306b\u306a\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGoogleAppsScript\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u6982\u8981 \u5f93\u696d\u54e1\u306e\u4ea4\u901a\u8cbb\u7cbe\u7b97\u306a\u3069\u3001\u6bce\u6708\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3067\u5f93\u696d\u54e1\u5168\u54e1\u304b\u3089\u96c6\u3081\u3066\u3044\u308b\u4f01\u696d\u3082\u591a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057&#8230;<\/p>\n","protected":false},"author":3,"featured_media":7681,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[169],"tags":[161],"class_list":["post-7587","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google","tag-gas"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGAS &#8211; TD SYNNEX BLOG<\/title>\n<meta name=\"description\" content=\"Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGoogleAppsScript\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u6982\u8981\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGAS &#8211; TD SYNNEX BLOG\" \/>\n<meta property=\"og:description\" content=\"Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGoogleAppsScript\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u6982\u8981\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/\" \/>\n<meta property=\"og:site_name\" content=\"TD SYNNEX BLOG\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-29T02:53:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-29T02:53:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/folder.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TD SYNNEX K.K.\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"TD SYNNEX K.K.\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"18\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/google\\\/gas-for-google-drive\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/google\\\/gas-for-google-drive\\\/\"},\"author\":{\"name\":\"TD SYNNEX K.K.\",\"@id\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/#\\\/schema\\\/person\\\/27a28c43d8bfc7e8087223b26535d233\"},\"headline\":\"Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGAS\",\"datePublished\":\"2022-06-29T02:53:30+00:00\",\"dateModified\":\"2022-06-29T02:53:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/google\\\/gas-for-google-drive\\\/\"},\"wordCount\":64,\"image\":{\"@id\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/google\\\/gas-for-google-drive\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/folder.jpg\",\"keywords\":[\"GAS\"],\"articleSection\":[\"Google\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/google\\\/gas-for-google-drive\\\/\",\"url\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/google\\\/gas-for-google-drive\\\/\",\"name\":\"Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGAS &#8211; TD SYNNEX BLOG\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/google\\\/gas-for-google-drive\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/google\\\/gas-for-google-drive\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/folder.jpg\",\"datePublished\":\"2022-06-29T02:53:30+00:00\",\"dateModified\":\"2022-06-29T02:53:33+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/#\\\/schema\\\/person\\\/27a28c43d8bfc7e8087223b26535d233\"},\"description\":\"Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGoogleAppsScript\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u6982\u8981\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/google\\\/gas-for-google-drive\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/google\\\/gas-for-google-drive\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/google\\\/gas-for-google-drive\\\/#primaryimage\",\"url\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/folder.jpg\",\"contentUrl\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/folder.jpg\",\"width\":1920,\"height\":1280},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/google\\\/gas-for-google-drive\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Google\",\"item\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/category\\\/google\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGAS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/\",\"name\":\"TD SYNNEX BLOG\",\"description\":\"IT\u5c02\u9580\u5546\u793e\u304c\u5c4a\u3051\u308b\u60c5\u5831\u30e1\u30c7\u30a3\u30a2\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/jp.tdsynnex.com\\\/blog\\\/#\\\/schema\\\/person\\\/27a28c43d8bfc7e8087223b26535d233\",\"name\":\"TD SYNNEX K.K.\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8c78c73b44737d0e9ea65e8b304502f5d063717571c4be4b0904e52c0d3c3229?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8c78c73b44737d0e9ea65e8b304502f5d063717571c4be4b0904e52c0d3c3229?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8c78c73b44737d0e9ea65e8b304502f5d063717571c4be4b0904e52c0d3c3229?s=96&d=mm&r=g\",\"caption\":\"TD SYNNEX K.K.\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGAS &#8211; TD SYNNEX BLOG","description":"Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGoogleAppsScript\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u6982\u8981","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/","og_locale":"ja_JP","og_type":"article","og_title":"Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGAS &#8211; TD SYNNEX BLOG","og_description":"Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGoogleAppsScript\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u6982\u8981","og_url":"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/","og_site_name":"TD SYNNEX BLOG","article_published_time":"2022-06-29T02:53:30+00:00","article_modified_time":"2022-06-29T02:53:33+00:00","og_image":[{"width":1920,"height":1280,"url":"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/folder.jpg","type":"image\/jpeg"}],"author":"TD SYNNEX K.K.","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"TD SYNNEX K.K.","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"18\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/#article","isPartOf":{"@id":"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/"},"author":{"name":"TD SYNNEX K.K.","@id":"https:\/\/jp.tdsynnex.com\/blog\/#\/schema\/person\/27a28c43d8bfc7e8087223b26535d233"},"headline":"Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGAS","datePublished":"2022-06-29T02:53:30+00:00","dateModified":"2022-06-29T02:53:33+00:00","mainEntityOfPage":{"@id":"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/"},"wordCount":64,"image":{"@id":"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/#primaryimage"},"thumbnailUrl":"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/folder.jpg","keywords":["GAS"],"articleSection":["Google"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/","url":"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/","name":"Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGAS &#8211; TD SYNNEX BLOG","isPartOf":{"@id":"https:\/\/jp.tdsynnex.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/#primaryimage"},"image":{"@id":"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/#primaryimage"},"thumbnailUrl":"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/folder.jpg","datePublished":"2022-06-29T02:53:30+00:00","dateModified":"2022-06-29T02:53:33+00:00","author":{"@id":"https:\/\/jp.tdsynnex.com\/blog\/#\/schema\/person\/27a28c43d8bfc7e8087223b26535d233"},"description":"Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGoogleAppsScript\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u6982\u8981","breadcrumb":{"@id":"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/#primaryimage","url":"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/folder.jpg","contentUrl":"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2022\/06\/folder.jpg","width":1920,"height":1280},{"@type":"BreadcrumbList","@id":"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-for-google-drive\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/jp.tdsynnex.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Google","item":"https:\/\/jp.tdsynnex.com\/blog\/category\/google\/"},{"@type":"ListItem","position":3,"name":"Google Drive\u306e\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308bGAS"}]},{"@type":"WebSite","@id":"https:\/\/jp.tdsynnex.com\/blog\/#website","url":"https:\/\/jp.tdsynnex.com\/blog\/","name":"TD SYNNEX BLOG","description":"IT\u5c02\u9580\u5546\u793e\u304c\u5c4a\u3051\u308b\u60c5\u5831\u30e1\u30c7\u30a3\u30a2","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jp.tdsynnex.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/jp.tdsynnex.com\/blog\/#\/schema\/person\/27a28c43d8bfc7e8087223b26535d233","name":"TD SYNNEX K.K.","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/8c78c73b44737d0e9ea65e8b304502f5d063717571c4be4b0904e52c0d3c3229?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/8c78c73b44737d0e9ea65e8b304502f5d063717571c4be4b0904e52c0d3c3229?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8c78c73b44737d0e9ea65e8b304502f5d063717571c4be4b0904e52c0d3c3229?s=96&d=mm&r=g","caption":"TD SYNNEX K.K."}}]}},"_links":{"self":[{"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/posts\/7587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/comments?post=7587"}],"version-history":[{"count":7,"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/posts\/7587\/revisions"}],"predecessor-version":[{"id":7687,"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/posts\/7587\/revisions\/7687"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/media\/7681"}],"wp:attachment":[{"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/media?parent=7587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/categories?post=7587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/tags?post=7587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}