選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

343 行
13 KiB

  1. {
  2. "auth": {
  3. "oauth2": {
  4. "scopes": {
  5. "https://www.googleapis.com/auth/apps.groups.settings": {
  6. "description": "View and manage the settings of a G Suite group"
  7. }
  8. }
  9. }
  10. },
  11. "basePath": "/groups/v1/groups/",
  12. "baseUrl": "https://www.googleapis.com/groups/v1/groups/",
  13. "batchPath": "batch/groupssettings/v1",
  14. "description": "Lets you manage permission levels and related settings of a group.",
  15. "discoveryVersion": "v1",
  16. "documentationLink": "https://developers.google.com/google-apps/groups-settings/get_started",
  17. "etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/EPhjvZDrZYF2OpavwIs_l0lsmo0\"",
  18. "icons": {
  19. "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
  20. "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
  21. },
  22. "id": "groupssettings:v1",
  23. "kind": "discovery#restDescription",
  24. "name": "groupssettings",
  25. "ownerDomain": "google.com",
  26. "ownerName": "Google",
  27. "parameters": {
  28. "alt": {
  29. "default": "atom",
  30. "description": "Data format for the response.",
  31. "enum": [
  32. "atom",
  33. "json"
  34. ],
  35. "enumDescriptions": [
  36. "Responses with Content-Type of application/atom+xml",
  37. "Responses with Content-Type of application/json"
  38. ],
  39. "location": "query",
  40. "type": "string"
  41. },
  42. "fields": {
  43. "description": "Selector specifying which fields to include in a partial response.",
  44. "location": "query",
  45. "type": "string"
  46. },
  47. "key": {
  48. "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
  49. "location": "query",
  50. "type": "string"
  51. },
  52. "oauth_token": {
  53. "description": "OAuth 2.0 token for the current user.",
  54. "location": "query",
  55. "type": "string"
  56. },
  57. "prettyPrint": {
  58. "default": "true",
  59. "description": "Returns response with indentations and line breaks.",
  60. "location": "query",
  61. "type": "boolean"
  62. },
  63. "quotaUser": {
  64. "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
  65. "location": "query",
  66. "type": "string"
  67. },
  68. "userIp": {
  69. "description": "Deprecated. Please use quotaUser instead.",
  70. "location": "query",
  71. "type": "string"
  72. }
  73. },
  74. "protocol": "rest",
  75. "resources": {
  76. "groups": {
  77. "methods": {
  78. "get": {
  79. "description": "Gets one resource by id.",
  80. "httpMethod": "GET",
  81. "id": "groupsSettings.groups.get",
  82. "parameterOrder": [
  83. "groupUniqueId"
  84. ],
  85. "parameters": {
  86. "groupUniqueId": {
  87. "description": "The resource ID",
  88. "location": "path",
  89. "required": true,
  90. "type": "string"
  91. }
  92. },
  93. "path": "{groupUniqueId}",
  94. "response": {
  95. "$ref": "Groups"
  96. },
  97. "scopes": [
  98. "https://www.googleapis.com/auth/apps.groups.settings"
  99. ]
  100. },
  101. "patch": {
  102. "description": "Updates an existing resource. This method supports patch semantics.",
  103. "httpMethod": "PATCH",
  104. "id": "groupsSettings.groups.patch",
  105. "parameterOrder": [
  106. "groupUniqueId"
  107. ],
  108. "parameters": {
  109. "groupUniqueId": {
  110. "description": "The resource ID",
  111. "location": "path",
  112. "required": true,
  113. "type": "string"
  114. }
  115. },
  116. "path": "{groupUniqueId}",
  117. "request": {
  118. "$ref": "Groups"
  119. },
  120. "response": {
  121. "$ref": "Groups"
  122. },
  123. "scopes": [
  124. "https://www.googleapis.com/auth/apps.groups.settings"
  125. ]
  126. },
  127. "update": {
  128. "description": "Updates an existing resource.",
  129. "httpMethod": "PUT",
  130. "id": "groupsSettings.groups.update",
  131. "parameterOrder": [
  132. "groupUniqueId"
  133. ],
  134. "parameters": {
  135. "groupUniqueId": {
  136. "description": "The resource ID",
  137. "location": "path",
  138. "required": true,
  139. "type": "string"
  140. }
  141. },
  142. "path": "{groupUniqueId}",
  143. "request": {
  144. "$ref": "Groups"
  145. },
  146. "response": {
  147. "$ref": "Groups"
  148. },
  149. "scopes": [
  150. "https://www.googleapis.com/auth/apps.groups.settings"
  151. ]
  152. }
  153. }
  154. }
  155. },
  156. "rootUrl": "https://www.googleapis.com/",
  157. "schemas": {
  158. "Groups": {
  159. "description": "JSON template for Group resource",
  160. "id": "Groups",
  161. "properties": {
  162. "allowExternalMembers": {
  163. "description": "Are external members allowed to join the group.",
  164. "type": "string"
  165. },
  166. "allowGoogleCommunication": {
  167. "description": "Is google allowed to contact admins.",
  168. "type": "string"
  169. },
  170. "allowWebPosting": {
  171. "description": "If posting from web is allowed.",
  172. "type": "string"
  173. },
  174. "archiveOnly": {
  175. "description": "If the group is archive only",
  176. "type": "string"
  177. },
  178. "customFooterText": {
  179. "description": "Custom footer text.",
  180. "type": "string"
  181. },
  182. "customReplyTo": {
  183. "description": "Default email to which reply to any message should go.",
  184. "type": "string"
  185. },
  186. "defaultMessageDenyNotificationText": {
  187. "description": "Default message deny notification message",
  188. "type": "string"
  189. },
  190. "description": {
  191. "description": "Description of the group",
  192. "type": "string"
  193. },
  194. "email": {
  195. "description": "Email id of the group",
  196. "type": "string"
  197. },
  198. "favoriteRepliesOnTop": {
  199. "description": "If favorite replies should be displayed above other replies.",
  200. "type": "string"
  201. },
  202. "includeCustomFooter": {
  203. "description": "Whether to include custom footer.",
  204. "type": "string"
  205. },
  206. "includeInGlobalAddressList": {
  207. "description": "If this groups should be included in global address list or not.",
  208. "type": "string"
  209. },
  210. "isArchived": {
  211. "description": "If the contents of the group are archived.",
  212. "type": "string"
  213. },
  214. "kind": {
  215. "default": "groupsSettings#groups",
  216. "description": "The type of the resource.",
  217. "type": "string"
  218. },
  219. "maxMessageBytes": {
  220. "description": "Maximum message size allowed.",
  221. "format": "int32",
  222. "type": "integer"
  223. },
  224. "membersCanPostAsTheGroup": {
  225. "description": "Can members post using the group email address.",
  226. "type": "string"
  227. },
  228. "messageDisplayFont": {
  229. "description": "Default message display font. Possible values are: DEFAULT_FONT FIXED_WIDTH_FONT",
  230. "type": "string"
  231. },
  232. "messageModerationLevel": {
  233. "description": "Moderation level for messages. Possible values are: MODERATE_ALL_MESSAGES MODERATE_NON_MEMBERS MODERATE_NEW_MEMBERS MODERATE_NONE",
  234. "type": "string"
  235. },
  236. "name": {
  237. "description": "Name of the Group",
  238. "type": "string"
  239. },
  240. "primaryLanguage": {
  241. "description": "Primary language for the group.",
  242. "type": "string"
  243. },
  244. "replyTo": {
  245. "description": "Whome should the default reply to a message go to. Possible values are: REPLY_TO_CUSTOM REPLY_TO_SENDER REPLY_TO_LIST REPLY_TO_OWNER REPLY_TO_IGNORE REPLY_TO_MANAGERS",
  246. "type": "string"
  247. },
  248. "sendMessageDenyNotification": {
  249. "description": "Should the member be notified if his message is denied by owner.",
  250. "type": "string"
  251. },
  252. "showInGroupDirectory": {
  253. "description": "Is the group listed in groups directory",
  254. "type": "string"
  255. },
  256. "spamModerationLevel": {
  257. "description": "Moderation level for messages detected as spam. Possible values are: ALLOW MODERATE SILENTLY_MODERATE REJECT",
  258. "type": "string"
  259. },
  260. "whoCanAdd": {
  261. "description": "Permissions to add members. Possible values are: ALL_MANAGERS_CAN_ADD ALL_OWNERS_CAN_ADD ALL_MEMBERS_CAN_ADD NONE_CAN_ADD",
  262. "type": "string"
  263. },
  264. "whoCanAddReferences": {
  265. "description": "Permission to add references to a topic. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS",
  266. "type": "string"
  267. },
  268. "whoCanAssignTopics": {
  269. "description": "Permission to assign topics in a forum to another user. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS",
  270. "type": "string"
  271. },
  272. "whoCanContactOwner": {
  273. "description": "Permission to contact owner of the group via web UI. Possible values are: ANYONE_CAN_CONTACT ALL_IN_DOMAIN_CAN_CONTACT ALL_MEMBERS_CAN_CONTACT ALL_MANAGERS_CAN_CONTACT",
  274. "type": "string"
  275. },
  276. "whoCanEnterFreeFormTags": {
  277. "description": "Permission to enter free form tags for topics in a forum. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS",
  278. "type": "string"
  279. },
  280. "whoCanInvite": {
  281. "description": "Permissions to invite members. Possible values are: ALL_MEMBERS_CAN_INVITE ALL_MANAGERS_CAN_INVITE ALL_OWNERS_CAN_INVITE NONE_CAN_INVITE",
  282. "type": "string"
  283. },
  284. "whoCanJoin": {
  285. "description": "Permissions to join the group. Possible values are: ANYONE_CAN_JOIN ALL_IN_DOMAIN_CAN_JOIN INVITED_CAN_JOIN CAN_REQUEST_TO_JOIN",
  286. "type": "string"
  287. },
  288. "whoCanLeaveGroup": {
  289. "description": "Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE ALL_OWNERS_CAN_LEAVE ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE",
  290. "type": "string"
  291. },
  292. "whoCanMarkDuplicate": {
  293. "description": "Permission to mark a topic as a duplicate of another topic. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS",
  294. "type": "string"
  295. },
  296. "whoCanMarkFavoriteReplyOnAnyTopic": {
  297. "description": "Permission to mark any other user's post as a favorite reply. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS",
  298. "type": "string"
  299. },
  300. "whoCanMarkFavoriteReplyOnOwnTopic": {
  301. "description": "Permission to mark a post for a topic they started as a favorite reply. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS",
  302. "type": "string"
  303. },
  304. "whoCanMarkNoResponseNeeded": {
  305. "description": "Permission to mark a topic as not needing a response. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS",
  306. "type": "string"
  307. },
  308. "whoCanModifyTagsAndCategories": {
  309. "description": "Permission to change tags and categories. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS",
  310. "type": "string"
  311. },
  312. "whoCanPostMessage": {
  313. "description": "Permissions to post messages to the group. Possible values are: NONE_CAN_POST ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST ALL_OWNERS_CAN_POST ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST",
  314. "type": "string"
  315. },
  316. "whoCanTakeTopics": {
  317. "description": "Permission to take topics in a forum. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS",
  318. "type": "string"
  319. },
  320. "whoCanUnassignTopic": {
  321. "description": "Permission to unassign any topic in a forum. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS",
  322. "type": "string"
  323. },
  324. "whoCanUnmarkFavoriteReplyOnAnyTopic": {
  325. "description": "Permission to unmark any post from a favorite reply. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS",
  326. "type": "string"
  327. },
  328. "whoCanViewGroup": {
  329. "description": "Permissions to view group. Possible values are: ANYONE_CAN_VIEW ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW ALL_OWNERS_CAN_VIEW",
  330. "type": "string"
  331. },
  332. "whoCanViewMembership": {
  333. "description": "Permissions to view membership. Possible values are: ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW",
  334. "type": "string"
  335. }
  336. },
  337. "type": "object"
  338. }
  339. },
  340. "servicePath": "groups/v1/groups/",
  341. "title": "Groups Settings API",
  342. "version": "v1"
  343. }