{"id":5900,"date":"2021-09-02T07:21:40","date_gmt":"2021-09-02T07:21:40","guid":{"rendered":"https:\/\/synnexblog.kinsta.cloud\/?p=5900"},"modified":"2021-12-20T16:40:33","modified_gmt":"2021-12-20T07:40:33","slug":"how-to-use-gasgoogle-classroom-api","status":"publish","type":"post","link":"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/","title":{"rendered":"GAS\u3067Google Classroom API\u3092\u4f7f\u7528\u3059\u308b"},"content":{"rendered":"\n<p><a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/classroom-setting.html#%E6%A6%82%E8%A6%81\"><\/a>Google Classroom\u306e\u7c21\u5358\u306a\u8aac\u660e\u3068Google Classroom\u306e\u5404\u7a2eAPI\u3092GoogleAppsScript\u3067\u7528\u3044\u308b\u969b\u306e\u624b\u9806\u304a\u3088\u3073\u4f7f\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Google Classroom\u3068\u306f<\/h2>\n\n\n\n<p><a href=\"https:\/\/classroom.google.com\/\">Google Classroom<\/a>\u3068\u306f\u3001Google\u306e\u63d0\u4f9b\u3057\u3066\u3044\u308b\u6559\u80b2\u30b5\u30dd\u30fc\u30c8\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"\u5f79\u5272\">\u5f79\u5272<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/classroom-setting.html#%E5%BD%B9%E5%89%B2\"><\/a><\/h3>\n\n\n\n<p>Google Classroom\u3067\u306f\u300c\u6559\u5e2b\u300d\u3068\u300c\u751f\u5f92\u300d\u306e\u5f79\u5272\u304c\u3042\u308a\u3001\u3067\u304d\u308b\u3053\u3068\u304c\u7570\u306a\u308a\u307e\u3059\u3002<br>\u300c\u6559\u5e2b\u300d\u3068\u300c\u751f\u5f92\u300d\u306f\u30a2\u30ab\u30a6\u30f3\u30c8\u5358\u4f4d\u3067\u6a29\u9650\u304c\u7570\u306a\u308a\u3001\u300c\u751f\u5f92\u300d\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u306f\u300c\u30af\u30e9\u30b9\u300d\u306e\u4f5c\u6210\u304c\u3067\u304d\u306a\u3044\u306a\u3069\u306e\u5236\u9650\u304c\u3042\u308a\u307e\u3059\u3002<br>\u203b\u300c\u30af\u30e9\u30b9\u300d\u306b\u3064\u3044\u3066\u306f\u5f8c\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u5358\u4f4d\u306e\u6a29\u9650\u306f\u3001\u306f\u3058\u3081\u3066Classroom\u3092\u5229\u7528\u3059\u308b\u969b\u306b\u305d\u308c\u305e\u308c\u9078\u629e\u3057\u3001\u4ee5\u964d\u81ea\u5206\u3067\u81ea\u5206\u306e\u5f79\u5272\u3092\u5909\u3048\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<br>\u3082\u3057\u3082\u9593\u9055\u3063\u305f\u5f79\u5272\u3092\u9078\u3093\u3067\u3057\u307e\u3063\u305f\u5834\u5408\u306fGoogle Workspace\u7ba1\u7406\u8005\u306b\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u3066\u3082\u3089\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u8a2d\u5b9a\u306e\u5909\u66f4\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\uff1a<a href=\"https:\/\/support.google.com\/edu\/classroom\/answer\/7498257?hl=ja\">Google Classroom\u306e\u5f79\u5272\u5909\u66f4<\/a><\/p>\n\n\n\n<p>\u203b\u5f8c\u8ff0\u306eGAS\u4f5c\u6210\u3067\u306f\u300c\u6559\u5e2b\u300d\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u5fc5\u8981\u3068\u306a\u308b\u306e\u3067\u3001\u300c\u6559\u5e2b\u300d\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u3054\u7528\u610f\u3044\u305f\u3060\u304d\u307e\u3059\u3088\u3046\u304a\u9858\u3044\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"table\"><thead><tr><th>\u5f79\u5272<\/th><th>\u6a5f\u80fd<\/th><\/tr><\/thead><tbody><tr><td>\u6559\u5e2b\u30a2\u30ab\u30a6\u30f3\u30c8<\/td><td>\u3007\u3000\u30af\u30e9\u30b9\u306e\u4f5c\u6210\u30fb\u7ba1\u7406<br>\u3007\u3000\u30af\u30e9\u30b9\u3078\u526f\u62c5\u4efb\u3068\u3057\u3066\u53c2\u52a0<br>\u3007\u3000\u30af\u30e9\u30b9\u3078\u751f\u5f92\u3068\u3057\u3066\u53c2\u52a0<\/td><\/tr><tr><td>\u751f\u5f92\u30a2\u30ab\u30a6\u30f3\u30c8<\/td><td>\u2716\u3000\u30af\u30e9\u30b9\u306e\u4f5c\u6210\u30fb\u7ba1\u7406<br>\u2716\u3000\u30af\u30e9\u30b9\u3078\u526f\u62c5\u4efb\u3068\u3057\u3066\u53c2\u52a0<br>\u3007\u3000\u30af\u30e9\u30b9\u3078\u751f\u5f92\u3068\u3057\u3066\u53c2\u52a0<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u203b\u526f\u62c5\u4efb\u306b\u3064\u3044\u3066\u306f\u5f8c\u8ff0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u30af\u30e9\u30b9\">\u30af\u30e9\u30b9<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/classroom-setting.html#%E3%82%AF%E3%83%A9%E3%82%B9\"><\/a><\/h2>\n\n\n\n<p>\u300c\u30af\u30e9\u30b9\u300d\u3068\u306f\u300c\u6559\u5e2b\u300d\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u4f5c\u6210\u3067\u304d\u308b\u6559\u5ba4\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3001\u8ab2\u984c\u306e\u3084\u308a\u53d6\u308a\u3084\u304a\u77e5\u3089\u305b\u306e\u5171\u6709\u304c\u3067\u304d\u307e\u3059\u3002<br>\u4f5c\u6210\u3057\u305f\u300c\u30af\u30e9\u30b9\u300d\u306b\u300c\u751f\u5f92\u300d\u3092\u62db\u5f85\u3057\u3001\u300c\u751f\u5f92\u300d\u304c\u30af\u30e9\u30b9\u306b\u53c2\u52a0\u3059\u308b\u3053\u3068\u3067\u300c\u30af\u30e9\u30b9\u300d\u306e\u5185\u5bb9\u304c\u5171\u6709\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e0b\u56f3\u306f\u300c\u6559\u5e2b\u300d\u3068\u300c\u751f\u5f92\u300d\u305d\u308c\u305e\u308c\u304b\u3089\u898b\u305f\u30af\u30e9\u30b9\u306e\u6a5f\u80fd\u306e\u4f8b\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"960\" height=\"540\" src=\"https:\/\/synnexblog.kinsta.cloud\/wp-content\/uploads\/2021\/08\/002_classroom.png\" alt=\"\" class=\"wp-image-5886\" srcset=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/002_classroom.png 960w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/002_classroom-300x169.png 300w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/002_classroom-768x432.png 768w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/figure>\n\n\n\n<p>\u307e\u305f\u3001\u524d\u9805\u306e\u8868\u306e\u901a\u308a\u300c\u6559\u5e2b\u300d\u6a29\u9650\u3092\u6301\u3064\u30a2\u30ab\u30a6\u30f3\u30c8\u3082\u4ed6\u300c\u30af\u30e9\u30b9\u300d\u3078\u300c\u751f\u5f92\u300d\u3068\u3057\u3066\u53c2\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u3057\u3066\u300c\u30af\u30e9\u30b9\u300d\u5185\u306b\u304a\u3051\u308b\u300c\u6559\u5e2b\u300d\u306e\u5f79\u5272\u306b\u306f\u3001\u62c5\u4efb\u3068\u526f\u62c5\u4efb\u3068\u3044\u3046\u5206\u985e\u304c\u3042\u308a\u307e\u3059\u3002<br>\u3053\u308c\u306f\u3069\u3061\u3089\u3082\u300c\u6559\u5e2b\u300d\u306e\u6a29\u9650\u3092\u6301\u3064\u30a2\u30ab\u30a6\u30f3\u30c8\u3060\u3051\u304c\u306a\u308c\u308b\u3082\u306e\u3067\u3001\u62c5\u4efb\u306f\u305d\u306e\u30af\u30e9\u30b9\u306e\u4f5c\u6210\u8005\u3001\u526f\u62c5\u4efb\u306f\u30af\u30e9\u30b9\u306b\u6559\u5e2b\u3068\u3057\u3066\u62db\u5f85\u3055\u308c\u305f\u5834\u5408\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30af\u30e9\u30b9\u5185\u3067\u306e\u5f79\u5272\u5225\u306e\u6a5f\u80fd\u306f\u4e3b\u306b\u3053\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"table\"><thead><tr><th>\u30af\u30e9\u30b9\u5185\u3067\u306e\u5f79\u5272<\/th><th>\u6a5f\u80fd<\/th><\/tr><\/thead><tbody><tr><td>\u62c5\u4efb\uff08\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u305f\u6559\u5e2b\uff09<\/td><td>\u3007\u3000\u30af\u30e9\u30b9\u524a\u9664<br>\u3007\u3000\u751f\u5f92\u3084\u6559\u5e2b\u306e\u62db\u5f85\u30fb\u524a\u9664<br>\u3007\u3000\u8ab2\u984c\u3084\u30c6\u30b9\u30c8\u306a\u3069\u306e\u4f5c\u6210\u30fb\u7ba1\u7406<br>\u3007\u3000\u304a\u77e5\u3089\u305b\u306e\u6295\u7a3f\u3001\u8cea\u554f\u3084\u30b3\u30e1\u30f3\u30c8\u306e\u7ba1\u7406<\/td><\/tr><tr><td>\u526f\u62c5\u4efb\uff08\u6559\u5e2b\u3068\u3057\u3066\u62db\u5f85\u3055\u308c\u305f\u6559\u5e2b\uff09<\/td><td>\u2716\u3000\u30af\u30e9\u30b9\u524a\u9664<br>\u3007\u3000\u751f\u5f92\u3084\u6559\u5e2b\u306e\u62db\u5f85\u30fb\u524a\u9664<br>\u3007\u3000\u8ab2\u984c\u3084\u30c6\u30b9\u30c8\u306a\u3069\u306e\u4f5c\u6210\u30fb\u7ba1\u7406<br>\u3007\u3000\u304a\u77e5\u3089\u305b\u306e\u6295\u7a3f\u3001\u8cea\u554f\u3084\u30b3\u30e1\u30f3\u30c8\u306e\u7ba1\u7406<\/td><\/tr><tr><td>\u751f\u5f92<\/td><td>\u3007\u3000\u30af\u30e9\u30b9\u3078\u306e\u53c2\u52a0<br>\u3007\u3000\u8ab2\u984c\u306e\u63d0\u51fa\u30fb\u56de\u7b54<br>\u3007\u3000\u304a\u77e5\u3089\u305b\u306e\u95b2\u89a7\u3001\u8cea\u554f\u3084\u30b3\u30e1\u30f3\u30c8\u306e\u6295\u7a3f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2-gas\u3078\u306egoogle-classroom-api\u306e\u5c0e\u5165\u65b9\u6cd5\">2. GAS\u3078\u306eGoogle Classroom API\u306e\u5c0e\u5165\u65b9\u6cd5<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/classroom-setting.html#2-gas%E3%81%B8%E3%81%AEgoogle-classroom-api%E3%81%AE%E5%B0%8E%E5%85%A5%E6%96%B9%E6%B3%95\"><\/a><\/h2>\n\n\n\n<p>Google Classroom\u306fAPI\u304c\u516c\u958b\u3055\u308c\u3066\u304a\u308a\u3001GAS\u3067\u3082\u7c21\u5358\u306b\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br><a href=\"https:\/\/developers.google.com\/classroom\">Google Classroom API\u516c\u5f0f<\/a><\/p>\n\n\n\n<p>API\u3068\u306f\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote blockquote is-layout-flow wp-block-quote-is-layout-flow\"><p>API(Application Programming Interface)\u3068\u306f\u3001\u3042\u308b\u30b5\u30fc\u30d3\u30b9\u306e\u6a5f\u80fd\u306a\u3069\u3092\u5916\u90e8\u304b\u3089\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u7a93\u53e3\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3059\u3002<br>\u300cAPI\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u300d\u3068\u3044\u3046\u306e\u306f\u3001\u305d\u306e\u30b5\u30fc\u30d3\u30b9\u306e\u6a5f\u80fd\u3092\u4ed6\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u7b49\u304b\u3089\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<br>\u4eca\u56de\u306e\u5834\u5408\u306fGoogle Classroom\u3068\u3044\u3046\u30b5\u30fc\u30d3\u30b9\u306e\u6a5f\u80fd\uff08\u4f8b\u3048\u3070\u300c\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3059\u308b\u300d\u3068\u3044\u3046\u6a5f\u80fd\uff09\u3092GAS\u3068\u3044\u3046\u5916\u90e8\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304b\u3089\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u7a93\u53e3\uff08API\uff09\u304c\u3042\u308b\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<br>\u203bClassroom\u3082GAS\u3082\u540c\u3058\u304fGoogle\u306e\u63d0\u4f9b\u3057\u3066\u3044\u308b\u3082\u306e\u3067\u3059\u304c\u3001\u30b5\u30fc\u30d3\u30b9\u30fb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u306f\u5225\u500b\u306e\u72ec\u7acb\u3057\u305f\u3082\u306e\u306a\u306e\u3067\u3001API\u3068\u3044\u3046\u7a93\u53e3\u304c\u5fc5\u8981\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p><\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-gas\u306e\u7528\u610f\">(1) GAS\u306e\u7528\u610f<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/classroom-setting.html#1-gas%E3%81%AE%E7%94%A8%E6%84%8F\"><\/a><\/h3>\n\n\n\n<p>\u307e\u305a\u306fGAS\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u307e\u3059\u3002<br>\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306a\u3069\u306b\u7d10\u3065\u3044\u305fGAS\u3067\u3082\u3001\u72ec\u7acb\u3057\u305fGAS\u3067\u3082\u69cb\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u3072\u3068\u307e\u305a\u4eca\u56de\u306f\u3001\u6b21\u56de\u4ee5\u964d\u3067\u306e\u5fdc\u7528\u3092\u898b\u8d8a\u3057\u3066\u300c\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u7d10\u3065\u3044\u305fGAS\u300d\u3092\u7528\u610f\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<br>GAS\u306e\u6e96\u5099\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/jp.tdsynnex.com\/blog\/google\/gas-trigger\/#1_GoogleGAS\">\u4ee5\u524d\u306e\u8a18\u4e8b<\/a>\u306e\u300c\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u7d10\u3065\u3044\u305fGAS\u306e\u4f5c\u6210\u65b9\u6cd5\u300d\u306e\u9805\u76ee\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-google-classroom-api\u306e\u5c0e\u5165\">(2) Google Classroom API\u306e\u5c0e\u5165<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/classroom-setting.html#2-google-classroom-api%E3%81%AE%E5%B0%8E%E5%85%A5\"><\/a><\/h3>\n\n\n\n<p>GAS\u3067Google Classroom API\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066Google Classroom API\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b5\u30fc\u30d3\u30b9\u306e\u8ffd\u52a0\u65b9\u6cd5\u306f\u7c21\u5358\u306a\u65b9\u6cd5\u3068\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u3044\u308b\u65b9\u6cd5\u306e2\u3064\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<br>\u3057\u304b\u3057\u3001\u7c21\u5358\u306a\u65b9\u6cd5\u306f\u304a\u4f7f\u3044\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u72b6\u614b\u306b\u3088\u3063\u3066\u4f7f\u3048\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u305f\u3081\u3001\u305d\u306e\u5834\u5408\u306f\u5c11\u3057\u624b\u9593\u306b\u306a\u308a\u307e\u3059\u304c\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u3044\u308b\u65b9\u6cd5\u3092\u3054\u5229\u7528\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u306f\u7c21\u5358\u306a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"2-a-\u7c21\u5358\u306a\u30b5\u30fc\u30d3\u30b9\u8ffd\u52a0\u306e\u65b9\u6cd5\">(2-A) \u7c21\u5358\u306a\u30b5\u30fc\u30d3\u30b9\u8ffd\u52a0\u306e\u65b9\u6cd5<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/classroom-setting.html#2-a-%E7%B0%A1%E5%8D%98%E3%81%AA%E3%82%B5%E3%83%BC%E3%83%93%E3%82%B9%E8%BF%BD%E5%8A%A0%E3%81%AE%E6%96%B9%E6%B3%95\"><\/a><\/h4>\n\n\n\n<ol class=\"wp-block-list\"><li>GAS\u306e\u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u958b\u3044\u305f\u72b6\u614b\u3067\u300c\u30b5\u30fc\u30d3\u30b9\u300d\u306e\u30d7\u30e9\u30b9\u30de\u30fc\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"793\" height=\"309\" src=\"https:\/\/synnexblog.kinsta.cloud\/wp-content\/uploads\/2021\/08\/003_classroom.png\" alt=\"\" class=\"wp-image-5887\" srcset=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/003_classroom.png 793w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/003_classroom-300x117.png 300w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/003_classroom-768x299.png 768w\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" \/><\/figure>\n\n\n\n<p>\u30b5\u30fc\u30d3\u30b9\u306e\u5019\u88dc\u304b\u3089\u300cGoogle Classroom API\u300d\u3092\u9078\u629e\u3057\u3001\u8ffd\u52a0\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br>\u203b\u3082\u3057\u3082\u5019\u88dc\u306b\u300cGoogle Classroom API\u300d\u304c\u306a\u304b\u3063\u305f\u5834\u5408\u306f\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u3044\u308b\u65b9\u6cd5\u3092\u3054\u5229\u7528\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"547\" height=\"707\" src=\"https:\/\/synnexblog.kinsta.cloud\/wp-content\/uploads\/2021\/08\/004_classroom.png\" alt=\"\" class=\"wp-image-5888\" srcset=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/004_classroom.png 547w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/004_classroom-232x300.png 232w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><\/figure>\n\n\n\n<p>\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u300c\u30b5\u30fc\u30d3\u30b9\u300d\u306bClassroom\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u305f\u3089\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"809\" height=\"299\" src=\"https:\/\/synnexblog.kinsta.cloud\/wp-content\/uploads\/2021\/08\/005_classroom.png\" alt=\"\" class=\"wp-image-5889\" srcset=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/005_classroom.png 809w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/005_classroom-300x111.png 300w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/005_classroom-768x284.png 768w\" sizes=\"auto, (max-width: 809px) 100vw, 809px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"2-b-\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u3044\u308b\u30b5\u30fc\u30d3\u30b9\u8ffd\u52a0\u306e\u65b9\u6cd5\">(2-B) \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u3044\u308b\u30b5\u30fc\u30d3\u30b9\u8ffd\u52a0\u306e\u65b9\u6cd5<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/classroom-setting.html#2-b-%E8%A8%AD%E5%AE%9A%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E7%94%A8%E3%81%84%E3%82%8B%E3%82%B5%E3%83%BC%E3%83%93%E3%82%B9%E8%BF%BD%E5%8A%A0%E3%81%AE%E6%96%B9%E6%B3%95\"><\/a><\/h4>\n\n\n\n<p>\u3082\u3057\u3082\u7c21\u5358\u306a\u65b9\u6cd5\u3067\u8ffd\u52a0\u30b5\u30fc\u30d3\u30b9\u306e\u5019\u88dc\u306bGoogle Classroom API\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u5834\u5408\u306f\u3001\u3053\u3061\u3089\u3092\u53c2\u8003\u306b\u30b5\u30fc\u30d3\u30b9\u8ffd\u52a0\u3092\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>GAS\u306e\u5de6\u5074\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8a2d\u5b9a\u300d\u3092\u958b\u304d\u307e\u3059\u3002<\/li><li><code>\u300cappsscript.json\u300d\u30de\u30cb\u30d5\u30a7\u30b9\u30c8 \u30d5\u30a1\u30a4\u30eb\u3092\u30a8\u30c7\u30a3\u30bf\u3067\u8868\u793a\u3059\u308b<\/code>\u306b\u30c1\u30a7\u30c3\u30af\u3092\u3044\u308c\u307e\u3059\u3002<\/li><li>\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u623b\u308b\u3068\u300cappsscript.json\u300d\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u30af\u30ea\u30c3\u30af\u3057\u3066\u958b\u304d\u307e\u3059\u3002<\/li><li>\u300cappsscript.json\u300d\u3092\u4e0b\u8a18\u306e\u3088\u3046\u306b\u7de8\u96c6\u3057\u3001\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/li><li>\u4fdd\u5b58\u3059\u308b\u3068\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u300c\u30b5\u30fc\u30d3\u30b9\u300d\u306bClassroom\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/li><li>\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8a2d\u5b9a\u300d\u3092\u958b\u304d<code>\u300cappsscript.json\u300d\u30de\u30cb\u30d5\u30a7\u30b9\u30c8 \u30d5\u30a1\u30a4\u30eb\u3092\u30a8\u30c7\u30a3\u30bf\u3067\u8868\u793a\u3059\u308b<\/code>\u306e\u30c1\u30a7\u30c3\u30af\u3092\u306f\u305a\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br>\u203b\u4e0d\u7528\u610f\u306a\u7de8\u96c6\u306e\u4e88\u9632\u306e\u305f\u3081\u306a\u306e\u3067\u3001\u5fc5\u9808\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/li><\/ol>\n\n\n\n<p>GAS\u3078\u306eGoogle Classroom API\u306e\u5c0e\u5165\u306f\u3053\u308c\u3067\u5b8c\u4e86\u3067\u3059\u3002<br>\u6b21\u306f\u3001\u3053\u306e\u8ffd\u52a0\u3057\u305fGoogle Classroom API\u306e\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-\u8ffd\u52a0\u3057\u305f\u30b5\u30fc\u30d3\u30b9\u306e\u4f7f\u3044\u65b9\">(3) \u8ffd\u52a0\u3057\u305f\u30b5\u30fc\u30d3\u30b9\u306e\u4f7f\u3044\u65b9<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/classroom-setting.html#3-%E8%BF%BD%E5%8A%A0%E3%81%97%E3%81%9F%E3%82%B5%E3%83%BC%E3%83%93%E3%82%B9%E3%81%AE%E4%BD%BF%E3%81%84%E6%96%B9\"><\/a><\/h3>\n\n\n\n<p>\u8ffd\u52a0\u3057\u305fGoogle Classroom API\u306e\u4f7f\u3044\u65b9\u306f\u3068\u3066\u3082\u7c21\u5358\u3067\u3059\u3002<\/p>\n\n\n\n<p>GAS\u3067\u306f<code>Classroom<\/code>\u304b\u3089\u59cb\u307e\u308b\u5404\u7a2e\u95a2\u6570\u3092\u3067API\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br>\u5404\u7a2e\u95a2\u6570\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/developers.google.com\/classroom\/reference\/rest\">Google Classroom API\u516c\u5f0f-\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9<\/a>\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>API\u306e\u7c21\u5358\u306a\u4f7f\u7528\u4f8b\u306b\u3064\u3044\u3066\u6b21\u9805\u3067\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"3-google-classroom-api\u306e\u4f7f\u7528\u4f8b\">3. Google Classroom API\u306e\u4f7f\u7528\u4f8b<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/classroom-setting.html#3-google-classroom-api%E3%81%AE%E4%BD%BF%E7%94%A8%E4%BE%8B\"><\/a><\/h2>\n\n\n\n<p>\u5b9f\u969b\u306bGAS\u3067Google Classroom API\u3092\u4f7f\u3063\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br>\u4eca\u56de\u306f\u7c21\u5358\u306a\u4f8b\u3068\u3057\u3066\u300c\u30af\u30e9\u30b9\u306e\u4f5c\u6210\u300d\u3092\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u306f\u300c\u6559\u5e2b\u300d\u306e\u6a29\u9650\u3092\u6301\u3063\u305f\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u3054\u7528\u610f\u3092\u304a\u9858\u3044\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"gas\u306e\u30b3\u30fc\u30c9\">GAS\u306e\u30b3\u30fc\u30c9<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/classroom-setting.html#gas%E3%81%AE%E3%82%B3%E3%83%BC%E3%83%89\"><\/a><\/h3>\n\n\n\n<p><a href=\"https:\/\/developers.google.com\/classroom\/guides\/manage-courses#apps-script\">\u516c\u5f0f\u306e\u30b5\u30f3\u30d7\u30eb<\/a>\u3092\u30d9\u30fc\u30b9\u306b\u4f5c\u6210\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br>\u4e0b\u8a18\u306f\u516c\u5f0f\u306e\u300c\u30af\u30e9\u30b9\u4f5c\u6210\u300d\u30b5\u30f3\u30d7\u30eb\u305d\u306e\u307e\u307e\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-js\" data-lang=\"JavaScript\"><code>function createCourse() {\n  var course = {\n    name: &#39;10th Grade Biology&#39;,\n    section: &#39;Period 2&#39;,\n    descriptionHeading: &#39;Welcome to 10th Grade Biology&#39;,\n    description: &quot;We&#39;ll be learning about about the structure of living creatures from a combination of textbooks, guest lectures, and lab work. Expect to be excited!&quot;,\n    room: &#39;301&#39;,\n    ownerId: &#39;me&#39;,\n    courseState: &#39;PROVISIONED&#39;\n  };\n  var course = Classroom.Courses.create(course);\n  Logger.log(&#39;Course created: %s (%s)&#39;, course.name, course.id)\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u306e\u307e\u307e\u3067\u3082\u5b9f\u884c\u306f\u53ef\u80fd\u3067\u3059\u304c\u3001\u308f\u304b\u308a\u3084\u3059\u304f\u65e5\u672c\u8a9e\u3067\u6574\u3048\u3066\u307f\u305f\u3082\u306e\u304c\u4e0b\u8a18\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>function createCourse() {\n  var course = {\n    name: &#39;\u3010\u30af\u30e9\u30b9\u306e\u540d\u524d\u3011&#39;,\n    section: &#39;\u3010\u30bb\u30af\u30b7\u30e7\u30f3\u540d\u3011&#39;,\n    descriptionHeading: &#39;\u3010\u30af\u30e9\u30b9\u306e\u8aac\u660e\u306e\u30bf\u30a4\u30c8\u30eb\u3011&#39;,\n    description: &quot;\u3010\u30af\u30e9\u30b9\u306e\u8aac\u660e\u6587\u3011&quot;,\n    room: &#39;\u3010\u90e8\u5c4b\u306e\u540d\u524d\u3011&#39;,\n    ownerId: &#39;me&#39;,\n    courseState: &#39;PROVISIONED&#39;\n  };\n  var course = Classroom.Courses.create(course);\n  Logger.log(&#39;Course created: %s (%s)&#39;, course.name, course.id)\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u305d\u308c\u305e\u308c\u306e\u9805\u76ee\u304c\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u3082\u306e\u306b\u3064\u3044\u3066\u306f\u3001\u5f8c\u7a0b\u4f5c\u6210\u3055\u308c\u305f\u30af\u30e9\u30b9\u306e\u5185\u5bb9\u3068\u7167\u3089\u3057\u5408\u308f\u305b\u3066\u307f\u308b\u306e\u304c\u308f\u304b\u308a\u3084\u3059\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br><code>ownerId<\/code>\u306f\u81ea\u5206\u3092\u6307\u5b9a\u3059\u308b\u610f\u5473\u306e<code>me<\/code>\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br><code>courseState<\/code>\u306f\u30af\u30e9\u30b9\u306e\u72b6\u614b\u306e\u8a2d\u5b9a\u3067\u3001\u30af\u30e9\u30b9\u4f5c\u6210\u306e\u969b\u306b\u306f\u627f\u8afe\u5f85\u3061\u3092\u610f\u5473\u3059\u308b<code>PROVISIONED<\/code>\u3057\u304b\u6307\u5b9a\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"\u5b9f\u884c\u7d50\u679c\">\u5b9f\u884c\u7d50\u679c<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/classroom-setting.html#%E5%AE%9F%E8%A1%8C%E7%B5%90%E6%9E%9C\"><\/a><\/h3>\n\n\n\n<p>\u5b9f\u884c\u7d50\u679c\u3068\u3057\u3066\u3001GAS\u306e\u5b9f\u884c\u30ed\u30b0\u306b\u306f\u300c\u4f5c\u6210\u3055\u308c\u305f\u30af\u30e9\u30b9\u306e\u540d\u524d\u300d\u3068\u300c\u30af\u30e9\u30b9ID\u300d\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"\u4f5c\u6210\u3055\u308c\u305f\u30af\u30e9\u30b9\">\u4f5c\u6210\u3055\u308c\u305f\u30af\u30e9\u30b9<a href=\"https:\/\/fg-syn-blog.appspot.com\/development\/1_gas\/classroom-setting.html#%E4%BD%9C%E6%88%90%E3%81%95%E3%82%8C%E3%81%9F%E3%82%AF%E3%83%A9%E3%82%B9\"><\/a><\/h3>\n\n\n\n<p>\u5b9f\u969b\u306b<a href=\"https:\/\/classroom.google.com\/\">Google Classroom<\/a>\u306b\u4f5c\u6210\u3055\u308c\u305f\u30af\u30e9\u30b9\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br>\u5148\u307b\u3069\u306eGAS\u3067\u4f5c\u6210\u3057\u305f\u3010\u30af\u30e9\u30b9\u306e\u540d\u524d\u3011\u3068\u3044\u3046\u30af\u30e9\u30b9\u304c\u3067\u304d\u3066\u3044\u307e\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057GAS\u304b\u3089\u4f5c\u6210\u3055\u308c\u305f\u30af\u30e9\u30b9\u306f\u3001\u3053\u306e\u6642\u70b9\u3067\u306f\u307e\u3060\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u72b6\u614b\u3067\u306f\u306a\u304f\u3001\u62c5\u4efb\uff08\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u305f\u4eba\uff09\u306e\u627f\u8afe\u304c\u5fc5\u8981\u306a\u72b6\u614b\u3067\u3059\u3002<br>Google Classroom\u306e\u753b\u9762\u4e0a\u304b\u3089\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3059\u308b\u6642\u306f\u3053\u306e\u30d5\u30a7\u30fc\u30ba\u304c\u306a\u3044\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<br><code>\u627f\u8afe<\/code>\u3092\u62bc\u3057\u3001\u30af\u30e9\u30b9\u3092\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u72b6\u614b\u306b\u3057\u3066\u3042\u3052\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"491\" height=\"473\" src=\"https:\/\/synnexblog.kinsta.cloud\/wp-content\/uploads\/2021\/08\/012_classroom.png\" alt=\"\" class=\"wp-image-5895\" srcset=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/012_classroom.png 491w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/012_classroom-300x289.png 300w\" sizes=\"auto, (max-width: 491px) 100vw, 491px\" \/><\/figure>\n\n\n\n<p>\u30a2\u30af\u30c6\u30a3\u30d6\u5316\u3057\u305f\u30af\u30e9\u30b9\u3092\u958b\u304f\u3068\u3053\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br>\u53f3\u4e0a\u306e\u6b6f\u8eca\u30de\u30fc\u30af\u304b\u3089\u30af\u30e9\u30b9\u306e\u8a2d\u5b9a\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"621\" src=\"https:\/\/synnexblog.kinsta.cloud\/wp-content\/uploads\/2021\/08\/013_classroom-1024x621.png\" alt=\"\" class=\"wp-image-5896\" srcset=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/013_classroom-1024x621.png 1024w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/013_classroom-300x182.png 300w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/013_classroom-768x466.png 768w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/013_classroom.png 1047w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u5148\u307b\u3069\u306eGAS\u30b3\u30fc\u30c9\u3067\u8a2d\u5b9a\u3057\u305f\u9805\u76ee\u304c\u53cd\u6620\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><code>descriptionHeading<\/code>\u3010\u30af\u30e9\u30b9\u306e\u8aac\u660e\u306e\u30bf\u30a4\u30c8\u30eb\u3011\u306b\u3064\u3044\u3066\u306f\u3001\u3069\u3053\u306b\u53cd\u6620\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u73fe\u72b6\u3067\u306f\u308f\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<br>\u3082\u3057\u53cd\u6620\u5834\u6240\u304c\u308f\u304b\u3063\u305f\u3089\u6539\u3081\u3066\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u300c\u79d1\u76ee\u300d\u306b\u3064\u3044\u3066\u306f\u73fe\u6642\u70b9\u3067\u306fGAS\uff08Google Classroom API\uff09\u3067\u306f\u8a2d\u5b9a\u3067\u304d\u306a\u3044\u3088\u3046\u3067\u3057\u305f\u3002<br>\u306a\u306e\u3067\u4eca\u306fGoogle Classroom\u306e\u753b\u9762\u4e0a\u304b\u3089\u8a2d\u5b9a\u3059\u308b\u3057\u304b\u306a\u3044\u3088\u3046\u3067\u3059\u3002<br>\u3082\u3057\u4eca\u5f8c\u8ffd\u52a0\u3055\u308c\u305f\u3089\u6539\u3081\u3066\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"715\" height=\"475\" src=\"https:\/\/synnexblog.kinsta.cloud\/wp-content\/uploads\/2021\/08\/014_classroom.png\" alt=\"\" class=\"wp-image-5897\" srcset=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/014_classroom.png 715w, https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/014_classroom-300x199.png 300w\" sizes=\"auto, (max-width: 715px) 100vw, 715px\" \/><\/figure>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-js\" data-lang=\"JavaScript\"><code>function createCourse() {\n  var course = {\n    name: &#39;\u3010\u30af\u30e9\u30b9\u306e\u540d\u524d\u3011&#39;,\n    section: &#39;\u3010\u30bb\u30af\u30b7\u30e7\u30f3\u540d\u3011&#39;,\n    descriptionHeading: &#39;\u3010\u30af\u30e9\u30b9\u306e\u8aac\u660e\u306e\u30bf\u30a4\u30c8\u30eb\u3011&#39;,\n    description: &quot;\u3010\u30af\u30e9\u30b9\u306e\u8aac\u660e\u6587\u3011&quot;,\n    room: &#39;\u3010\u90e8\u5c4b\u306e\u540d\u524d\u3011&#39;,\n    ownerId: &#39;me&#39;,\n    courseState: &#39;PROVISIONED&#39;\n  };\n  var course = Classroom.Courses.create(course);\n  Logger.log(&#39;Course created: %s (%s)&#39;, course.name, course.id)\n}<\/code><\/pre><\/div>\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\/classroom-setting.html#%E3%81%BE%E3%81%A8%E3%82%81\"><\/a><\/h2>\n\n\n\n<p>\u4eca\u56de\u306fGoogle Classroom\u306e\u6982\u8981\u3068GAS\u3078\u306eGoogle Classroom API\u306e\u5c0e\u5165\u65b9\u6cd5\u3001GAS\u3067\u306e\u5b9f\u969b\u306e\u4f7f\u7528\u4f8b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<br>Google Classroom API\u306f\u591a\u304f\u306e\u6a5f\u80fd\u304c\u5b9f\u88c5\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>\u4eca\u56de\u7d39\u4ecb\u3057\u305f\u30af\u30e9\u30b9\u306e\u4f5c\u6210\u306f\u3082\u3061\u308d\u3093\u3001\u30af\u30e9\u30b9\u3078\u306e\u526f\u62c5\u4efb\u30fb\u751f\u5f92\u306e\u62db\u5f85\u3001\u8ab2\u984c\u306e\u4f5c\u6210\u3001\u304a\u77e5\u3089\u305b\u306e\u6295\u7a3f\u306a\u3069\u3082GAS\u3067\u81ea\u52d5\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u305d\u308c\u3089\u306b\u3064\u3044\u3066\u3082\u4eca\u5f8c\u7d39\u4ecb\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"p-3 mb-4 bg-light rounded-3\">    <div class=\"container-fluid\">\n      <h4 class=\"display-6 fw-bold\"><span id=\"Google_workspace\">Google Cloud\u306e\u5c0e\u5165\u306f\u5f53\u793e\u306b\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044<\/span><\/h4>\n      <p class=\"col-md-12\">IT\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30bf\u30fc\u3067\u3042\u308bTD SYNNEX\u306fGoogle Cloud\u2122 Partner Award \u3092\u53d7\u8cde\u3059\u308b\u306a\u3069\u3001\u9577\u5e74\u306b\u308f\u305f\u308aGoogle\u2122\u306e\u30b0\u30ed\u30fc\u30d0\u30eb\u8a8d\u5b9a\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30bf\u30fc\u3068\u3057\u3066\u3001\u7dcf\u5408\u7684\u306a Google\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u304a\u5ba2\u69d8\u306b\u3068\u3063\u3066\u6700\u9069\u306a\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u63d0\u6848\u3084\u5c0e\u5165\u3001\u6d3b\u7528\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n      <a href=\"https:\/\/www.synnex.co.jp\/vender\/google\/inquiry\/\"><button class=\"btn btn-primary btn-lg\" type=\"button\">\u304a\u554f\u3044\u5408\u308f\u305b<\/button><\/a>\n    <\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Google Classroom\u306e\u7c21\u5358\u306a\u8aac\u660e\u3068Google Classroom\u306e\u5404\u7a2eAPI\u3092GoogleAppsScript\u3067\u7528\u3044\u308b\u969b\u306e\u624b\u9806\u304a\u3088\u3073\u4f7f\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002 Google Classroom\u3068\u306f Google &#8230;<\/p>\n","protected":false},"author":1,"featured_media":5902,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[169],"tags":[161,162],"class_list":["post-5900","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google","tag-gas","tag-google-classroom"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>GAS\u3067Google Classroom API\u3092\u4f7f\u7528\u3059\u308b &#8211; TD SYNNEX BLOG<\/title>\n<meta name=\"description\" content=\"GoogleAppsScript\u3067Google Classroom API\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3068\u7c21\u5358\u306a\u4f7f\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\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\/how-to-use-gasgoogle-classroom-api\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GAS\u3067Google Classroom API\u3092\u4f7f\u7528\u3059\u308b &#8211; TD SYNNEX BLOG\" \/>\n<meta property=\"og:description\" content=\"GoogleAppsScript\u3067Google Classroom API\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3068\u7c21\u5358\u306a\u4f7f\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/\" \/>\n<meta property=\"og:site_name\" content=\"TD SYNNEX BLOG\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-02T07:21:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-20T07:40:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/classroom.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=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/\",\"url\":\"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/\",\"name\":\"GAS\u3067Google Classroom API\u3092\u4f7f\u7528\u3059\u308b &#8211; TD SYNNEX BLOG\",\"isPartOf\":{\"@id\":\"https:\/\/jp.tdsynnex.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/classroom.jpg\",\"datePublished\":\"2021-09-02T07:21:40+00:00\",\"dateModified\":\"2021-12-20T07:40:33+00:00\",\"author\":{\"@id\":\"https:\/\/jp.tdsynnex.com\/blog\/#\/schema\/person\/001c8dcd84e98df520975ae4cfe82053\"},\"description\":\"GoogleAppsScript\u3067Google Classroom API\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3068\u7c21\u5358\u306a\u4f7f\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/#primaryimage\",\"url\":\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/classroom.jpg\",\"contentUrl\":\"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/classroom.jpg\",\"width\":1920,\"height\":1280},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/#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\":\"GAS\u3067Google Classroom API\u3092\u4f7f\u7528\u3059\u308b\"}]},{\"@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\/001c8dcd84e98df520975ae4cfe82053\",\"name\":\"TD SYNNEX K.K.\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/jp.tdsynnex.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a8f5827738602e2a74ad1b31e261ecc21785df535840a4363d1eb974fc63b3a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a8f5827738602e2a74ad1b31e261ecc21785df535840a4363d1eb974fc63b3a6?s=96&d=mm&r=g\",\"caption\":\"TD SYNNEX K.K.\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"GAS\u3067Google Classroom API\u3092\u4f7f\u7528\u3059\u308b &#8211; TD SYNNEX BLOG","description":"GoogleAppsScript\u3067Google Classroom API\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3068\u7c21\u5358\u306a\u4f7f\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","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\/how-to-use-gasgoogle-classroom-api\/","og_locale":"ja_JP","og_type":"article","og_title":"GAS\u3067Google Classroom API\u3092\u4f7f\u7528\u3059\u308b &#8211; TD SYNNEX BLOG","og_description":"GoogleAppsScript\u3067Google Classroom API\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3068\u7c21\u5358\u306a\u4f7f\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","og_url":"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/","og_site_name":"TD SYNNEX BLOG","article_published_time":"2021-09-02T07:21:40+00:00","article_modified_time":"2021-12-20T07:40:33+00:00","og_image":[{"width":1920,"height":1280,"url":"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/classroom.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":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/","url":"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/","name":"GAS\u3067Google Classroom API\u3092\u4f7f\u7528\u3059\u308b &#8211; TD SYNNEX BLOG","isPartOf":{"@id":"https:\/\/jp.tdsynnex.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/#primaryimage"},"image":{"@id":"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/#primaryimage"},"thumbnailUrl":"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/classroom.jpg","datePublished":"2021-09-02T07:21:40+00:00","dateModified":"2021-12-20T07:40:33+00:00","author":{"@id":"https:\/\/jp.tdsynnex.com\/blog\/#\/schema\/person\/001c8dcd84e98df520975ae4cfe82053"},"description":"GoogleAppsScript\u3067Google Classroom API\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3068\u7c21\u5358\u306a\u4f7f\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/#primaryimage","url":"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/classroom.jpg","contentUrl":"https:\/\/jp.tdsynnex.com\/blog\/wp-content\/uploads\/2021\/08\/classroom.jpg","width":1920,"height":1280},{"@type":"BreadcrumbList","@id":"https:\/\/jp.tdsynnex.com\/blog\/google\/how-to-use-gasgoogle-classroom-api\/#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":"GAS\u3067Google Classroom API\u3092\u4f7f\u7528\u3059\u308b"}]},{"@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\/001c8dcd84e98df520975ae4cfe82053","name":"TD SYNNEX K.K.","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/jp.tdsynnex.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a8f5827738602e2a74ad1b31e261ecc21785df535840a4363d1eb974fc63b3a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a8f5827738602e2a74ad1b31e261ecc21785df535840a4363d1eb974fc63b3a6?s=96&d=mm&r=g","caption":"TD SYNNEX K.K."}}]}},"_links":{"self":[{"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/posts\/5900","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/comments?post=5900"}],"version-history":[{"count":5,"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/posts\/5900\/revisions"}],"predecessor-version":[{"id":6787,"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/posts\/5900\/revisions\/6787"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/media\/5902"}],"wp:attachment":[{"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/media?parent=5900"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/categories?post=5900"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jp.tdsynnex.com\/blog\/wp-json\/wp\/v2\/tags?post=5900"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}