google-api-client 0.42.2 → 0.45.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (959) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +535 -0
  3. data/api_names.yaml +1 -0
  4. data/docs/oauth-server.md +4 -6
  5. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  6. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  7. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  8. data/generated/google/apis/accessapproval_v1.rb +1 -1
  9. data/generated/google/apis/accessapproval_v1/classes.rb +59 -83
  10. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  11. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  12. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  13. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  14. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  15. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  16. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  17. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  18. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  21. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  22. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  23. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  24. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  25. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  26. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  27. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  28. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  29. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  30. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  31. data/generated/google/apis/admin_directory_v1.rb +6 -8
  32. data/generated/google/apis/admin_directory_v1/classes.rb +209 -242
  33. data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
  34. data/generated/google/apis/admin_directory_v1/service.rb +535 -998
  35. data/generated/google/apis/admin_reports_v1.rb +6 -5
  36. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  37. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  38. data/generated/google/apis/admob_v1.rb +4 -1
  39. data/generated/google/apis/admob_v1/classes.rb +139 -270
  40. data/generated/google/apis/admob_v1/service.rb +11 -13
  41. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  42. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  43. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  44. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  45. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
  46. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
  47. data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
  48. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  49. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  50. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  51. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  52. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  53. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  54. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  55. data/generated/google/apis/androidenterprise_v1/service.rb +183 -242
  56. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  57. data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
  58. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  59. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  60. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  61. data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
  62. data/generated/google/apis/apigateway_v1alpha1.rb +34 -0
  63. data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
  64. data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
  65. data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
  66. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  67. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  68. data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
  69. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  70. data/generated/google/apis/apigee_v1.rb +6 -8
  71. data/generated/google/apis/apigee_v1/classes.rb +1123 -1214
  72. data/generated/google/apis/apigee_v1/representations.rb +139 -0
  73. data/generated/google/apis/apigee_v1/service.rb +1018 -1151
  74. data/generated/google/apis/appengine_v1.rb +1 -1
  75. data/generated/google/apis/appengine_v1/classes.rb +96 -59
  76. data/generated/google/apis/appengine_v1/representations.rb +17 -0
  77. data/generated/google/apis/appengine_v1/service.rb +38 -47
  78. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  80. data/generated/google/apis/appengine_v1beta.rb +1 -1
  81. data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
  82. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  83. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  84. data/generated/google/apis/appsmarket_v2.rb +1 -1
  85. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  86. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  87. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +242 -337
  88. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  89. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  90. data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
  91. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
  92. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
  93. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  94. data/generated/google/apis/bigquery_v2.rb +1 -1
  95. data/generated/google/apis/bigquery_v2/classes.rb +381 -553
  96. data/generated/google/apis/bigquery_v2/representations.rb +16 -0
  97. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  98. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  99. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  100. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  101. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  102. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  103. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  104. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  105. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  106. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  107. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  108. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  109. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  110. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  111. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  112. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  113. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  114. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  115. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  116. data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
  117. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  118. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  119. data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
  120. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  121. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  122. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  123. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +107 -118
  124. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  125. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  126. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  127. data/generated/google/apis/binaryauthorization_v1/classes.rb +246 -354
  128. data/generated/google/apis/binaryauthorization_v1/representations.rb +1 -0
  129. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  130. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  131. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +246 -354
  132. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  134. data/generated/google/apis/blogger_v2.rb +2 -3
  135. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  136. data/generated/google/apis/blogger_v2/service.rb +1 -2
  137. data/generated/google/apis/blogger_v3.rb +2 -3
  138. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  139. data/generated/google/apis/blogger_v3/service.rb +1 -2
  140. data/generated/google/apis/calendar_v3.rb +1 -1
  141. data/generated/google/apis/calendar_v3/classes.rb +11 -9
  142. data/generated/google/apis/chat_v1.rb +1 -1
  143. data/generated/google/apis/chat_v1/classes.rb +91 -116
  144. data/generated/google/apis/chat_v1/service.rb +30 -42
  145. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  146. data/generated/google/apis/chromeuxreport_v1/classes.rb +55 -66
  147. data/generated/google/apis/civicinfo_v2.rb +1 -1
  148. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  149. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  150. data/generated/google/apis/classroom_v1.rb +7 -1
  151. data/generated/google/apis/classroom_v1/classes.rb +382 -365
  152. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  153. data/generated/google/apis/classroom_v1/service.rb +883 -902
  154. data/generated/google/apis/cloudasset_v1.rb +1 -1
  155. data/generated/google/apis/cloudasset_v1/classes.rb +765 -1036
  156. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  157. data/generated/google/apis/cloudasset_v1/service.rb +131 -156
  158. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  159. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
  160. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  161. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  162. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  163. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  164. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  165. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
  166. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  167. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  168. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -718
  169. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  170. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  171. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  172. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  173. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  174. data/generated/google/apis/cloudbuild_v1/classes.rb +371 -343
  175. data/generated/google/apis/cloudbuild_v1/representations.rb +23 -0
  176. data/generated/google/apis/cloudbuild_v1/service.rb +265 -66
  177. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  178. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
  179. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  180. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  181. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  182. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
  183. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  184. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  185. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  186. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  187. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  188. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  189. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
  190. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  191. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  192. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  193. data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
  194. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  195. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  196. data/generated/google/apis/cloudidentity_v1/classes.rb +977 -75
  197. data/generated/google/apis/cloudidentity_v1/representations.rb +388 -0
  198. data/generated/google/apis/cloudidentity_v1/service.rb +841 -62
  199. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  200. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1059 -318
  201. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
  202. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  203. data/generated/google/apis/cloudiot_v1.rb +1 -1
  204. data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
  205. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  206. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  207. data/generated/google/apis/cloudkms_v1.rb +1 -1
  208. data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
  209. data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
  210. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  211. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  212. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  213. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  214. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  215. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  216. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  217. data/generated/google/apis/cloudresourcemanager_v1/service.rb +60 -58
  218. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  219. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  220. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  221. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +24 -23
  222. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  223. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  224. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  225. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  226. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  227. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  228. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  229. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  230. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  231. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  232. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  233. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  234. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  235. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
  236. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  237. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  238. data/generated/google/apis/cloudshell_v1.rb +1 -1
  239. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  240. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  241. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  242. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  243. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  244. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  245. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  246. data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
  247. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  248. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  249. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  250. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
  251. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  252. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  253. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  254. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
  255. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  256. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  257. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  258. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  259. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  260. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  261. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  262. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  263. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  264. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  265. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  266. data/generated/google/apis/composer_v1.rb +1 -1
  267. data/generated/google/apis/composer_v1/classes.rb +190 -242
  268. data/generated/google/apis/composer_v1/service.rb +79 -150
  269. data/generated/google/apis/composer_v1beta1.rb +1 -1
  270. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  271. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  272. data/generated/google/apis/compute_alpha.rb +1 -1
  273. data/generated/google/apis/compute_alpha/classes.rb +1021 -137
  274. data/generated/google/apis/compute_alpha/representations.rb +208 -4
  275. data/generated/google/apis/compute_alpha/service.rb +710 -699
  276. data/generated/google/apis/compute_beta.rb +1 -1
  277. data/generated/google/apis/compute_beta/classes.rb +607 -82
  278. data/generated/google/apis/compute_beta/representations.rb +114 -1
  279. data/generated/google/apis/compute_beta/service.rb +623 -612
  280. data/generated/google/apis/compute_v1.rb +1 -1
  281. data/generated/google/apis/compute_v1/classes.rb +1014 -99
  282. data/generated/google/apis/compute_v1/representations.rb +390 -15
  283. data/generated/google/apis/compute_v1/service.rb +809 -33
  284. data/generated/google/apis/container_v1.rb +1 -1
  285. data/generated/google/apis/container_v1/classes.rb +996 -965
  286. data/generated/google/apis/container_v1/representations.rb +75 -0
  287. data/generated/google/apis/container_v1/service.rb +435 -502
  288. data/generated/google/apis/container_v1beta1.rb +1 -1
  289. data/generated/google/apis/container_v1beta1/classes.rb +1094 -1044
  290. data/generated/google/apis/container_v1beta1/representations.rb +91 -0
  291. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  292. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  293. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
  294. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  295. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  296. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  297. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
  298. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  299. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  300. data/generated/google/apis/content_v2.rb +1 -1
  301. data/generated/google/apis/content_v2/classes.rb +14 -2
  302. data/generated/google/apis/content_v2_1.rb +1 -1
  303. data/generated/google/apis/content_v2_1/classes.rb +116 -5
  304. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  305. data/generated/google/apis/content_v2_1/service.rb +53 -2
  306. data/generated/google/apis/customsearch_v1.rb +1 -1
  307. data/generated/google/apis/customsearch_v1/classes.rb +303 -492
  308. data/generated/google/apis/customsearch_v1/service.rb +186 -343
  309. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  310. data/generated/google/apis/datacatalog_v1beta1/classes.rb +9 -1
  311. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  312. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  313. data/generated/google/apis/dataflow_v1b3/classes.rb +1150 -973
  314. data/generated/google/apis/dataflow_v1b3/representations.rb +145 -0
  315. data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
  316. data/generated/google/apis/datafusion_v1.rb +40 -0
  317. data/generated/google/apis/datafusion_v1/classes.rb +1040 -0
  318. data/generated/google/apis/datafusion_v1/representations.rb +395 -0
  319. data/generated/google/apis/datafusion_v1/service.rb +667 -0
  320. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  321. data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
  322. data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
  323. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  324. data/generated/google/apis/dataproc_v1.rb +1 -1
  325. data/generated/google/apis/dataproc_v1/classes.rb +250 -328
  326. data/generated/google/apis/dataproc_v1/representations.rb +18 -0
  327. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  328. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  329. data/generated/google/apis/dataproc_v1beta2/classes.rb +274 -323
  330. data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
  331. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  332. data/generated/google/apis/datastore_v1.rb +1 -1
  333. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  334. data/generated/google/apis/datastore_v1/service.rb +52 -63
  335. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  336. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  337. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  338. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  339. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  340. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  341. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  342. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  343. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  344. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  345. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  346. data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
  347. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  348. data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
  349. data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
  350. data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
  351. data/generated/google/apis/dialogflow_v2.rb +1 -1
  352. data/generated/google/apis/dialogflow_v2/classes.rb +1318 -1613
  353. data/generated/google/apis/dialogflow_v2/representations.rb +53 -15
  354. data/generated/google/apis/dialogflow_v2/service.rb +324 -448
  355. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  356. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1396 -1705
  357. data/generated/google/apis/dialogflow_v2beta1/representations.rb +53 -15
  358. data/generated/google/apis/dialogflow_v2beta1/service.rb +915 -996
  359. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  360. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8210 -0
  361. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3461 -0
  362. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  363. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  364. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  365. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  366. data/generated/google/apis/displayvideo_v1.rb +1 -1
  367. data/generated/google/apis/displayvideo_v1/classes.rb +158 -7
  368. data/generated/google/apis/displayvideo_v1/representations.rb +41 -0
  369. data/generated/google/apis/displayvideo_v1/service.rb +147 -31
  370. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  371. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  372. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  373. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  374. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  375. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  376. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  377. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  378. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  379. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  380. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  381. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  382. data/generated/google/apis/dlp_v2.rb +1 -1
  383. data/generated/google/apis/dlp_v2/classes.rb +1076 -1301
  384. data/generated/google/apis/dlp_v2/service.rb +962 -905
  385. data/generated/google/apis/dns_v1.rb +1 -1
  386. data/generated/google/apis/dns_v1/classes.rb +175 -198
  387. data/generated/google/apis/dns_v1/service.rb +82 -97
  388. data/generated/google/apis/dns_v1beta2.rb +1 -1
  389. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  390. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  391. data/generated/google/apis/docs_v1.rb +1 -1
  392. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  393. data/generated/google/apis/docs_v1/service.rb +17 -22
  394. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  395. data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
  396. data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
  397. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  398. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  399. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  400. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  401. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  402. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +8 -15
  403. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
  404. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  405. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +202 -15
  406. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  407. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
  408. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  409. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  410. data/generated/google/apis/drive_v2.rb +1 -1
  411. data/generated/google/apis/drive_v2/classes.rb +17 -7
  412. data/generated/google/apis/drive_v2/representations.rb +1 -0
  413. data/generated/google/apis/drive_v2/service.rb +79 -15
  414. data/generated/google/apis/drive_v3.rb +1 -1
  415. data/generated/google/apis/drive_v3/classes.rb +23 -7
  416. data/generated/google/apis/drive_v3/representations.rb +2 -0
  417. data/generated/google/apis/drive_v3/service.rb +59 -11
  418. data/generated/google/apis/driveactivity_v2.rb +1 -1
  419. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  420. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  421. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  422. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  423. data/generated/google/apis/file_v1.rb +1 -1
  424. data/generated/google/apis/file_v1/classes.rb +154 -173
  425. data/generated/google/apis/file_v1/service.rb +43 -52
  426. data/generated/google/apis/file_v1beta1.rb +1 -1
  427. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  428. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  429. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  430. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  431. data/generated/google/apis/firebase_v1beta1/classes.rb +325 -375
  432. data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
  433. data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
  434. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  435. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  436. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  437. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  438. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  439. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  440. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  441. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +334 -177
  442. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
  443. data/generated/google/apis/firebasehosting_v1beta1/service.rb +530 -149
  444. data/generated/google/apis/firebaseml_v1.rb +1 -1
  445. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  446. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  447. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  448. data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -77
  449. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
  450. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  451. data/generated/google/apis/firebaserules_v1.rb +1 -1
  452. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  453. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  454. data/generated/google/apis/firestore_v1.rb +1 -1
  455. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  456. data/generated/google/apis/firestore_v1/service.rb +165 -201
  457. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  458. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  459. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  460. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  461. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  462. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  463. data/generated/google/apis/fitness_v1.rb +3 -3
  464. data/generated/google/apis/fitness_v1/classes.rb +172 -210
  465. data/generated/google/apis/fitness_v1/service.rb +125 -146
  466. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  467. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  468. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  469. data/generated/google/apis/games_management_v1management.rb +2 -3
  470. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  471. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  472. data/generated/google/apis/games_v1.rb +2 -3
  473. data/generated/google/apis/games_v1/classes.rb +76 -83
  474. data/generated/google/apis/games_v1/representations.rb +2 -0
  475. data/generated/google/apis/games_v1/service.rb +84 -90
  476. data/generated/google/apis/gameservices_v1.rb +1 -1
  477. data/generated/google/apis/gameservices_v1/classes.rb +351 -523
  478. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  479. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  480. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  481. data/generated/google/apis/gameservices_v1beta/classes.rb +351 -523
  482. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  483. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  484. data/generated/google/apis/genomics_v1.rb +1 -1
  485. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  486. data/generated/google/apis/genomics_v1/service.rb +28 -43
  487. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  488. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  489. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  490. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  491. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
  492. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
  493. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
  494. data/generated/google/apis/gmail_v1.rb +3 -3
  495. data/generated/google/apis/gmail_v1/classes.rb +207 -266
  496. data/generated/google/apis/gmail_v1/service.rb +260 -288
  497. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  498. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  499. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
  500. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  501. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  502. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  503. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  504. data/generated/google/apis/healthcare_v1.rb +1 -1
  505. data/generated/google/apis/healthcare_v1/classes.rb +635 -826
  506. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  507. data/generated/google/apis/healthcare_v1/service.rb +842 -844
  508. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  509. data/generated/google/apis/healthcare_v1beta1/classes.rb +887 -1086
  510. data/generated/google/apis/healthcare_v1beta1/representations.rb +60 -0
  511. data/generated/google/apis/healthcare_v1beta1/service.rb +1149 -1109
  512. data/generated/google/apis/homegraph_v1.rb +4 -1
  513. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  514. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  515. data/generated/google/apis/iam_v1.rb +5 -2
  516. data/generated/google/apis/iam_v1/classes.rb +395 -592
  517. data/generated/google/apis/iam_v1/representations.rb +1 -0
  518. data/generated/google/apis/iam_v1/service.rb +431 -556
  519. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  520. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  521. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  522. data/generated/google/apis/iap_v1.rb +1 -1
  523. data/generated/google/apis/iap_v1/classes.rb +253 -355
  524. data/generated/google/apis/iap_v1/representations.rb +1 -0
  525. data/generated/google/apis/iap_v1/service.rb +61 -71
  526. data/generated/google/apis/iap_v1beta1.rb +1 -1
  527. data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
  528. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  529. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  530. data/generated/google/apis/indexing_v3.rb +1 -1
  531. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  532. data/generated/google/apis/jobs_v2.rb +1 -1
  533. data/generated/google/apis/jobs_v2/classes.rb +786 -1086
  534. data/generated/google/apis/jobs_v2/service.rb +85 -126
  535. data/generated/google/apis/jobs_v3.rb +1 -1
  536. data/generated/google/apis/jobs_v3/classes.rb +637 -856
  537. data/generated/google/apis/jobs_v3/service.rb +101 -139
  538. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  539. data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
  540. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  541. data/generated/google/apis/kgsearch_v1.rb +1 -1
  542. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  543. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  544. data/generated/google/apis/language_v1.rb +1 -1
  545. data/generated/google/apis/language_v1/classes.rb +93 -111
  546. data/generated/google/apis/language_v1/service.rb +4 -4
  547. data/generated/google/apis/language_v1beta1.rb +1 -1
  548. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  549. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  550. data/generated/google/apis/language_v1beta2.rb +1 -1
  551. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  552. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  553. data/generated/google/apis/libraryagent_v1.rb +1 -1
  554. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  555. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  556. data/generated/google/apis/licensing_v1.rb +4 -3
  557. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  558. data/generated/google/apis/licensing_v1/service.rb +55 -85
  559. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  560. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  561. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  562. data/generated/google/apis/localservices_v1.rb +31 -0
  563. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  564. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  565. data/generated/google/apis/localservices_v1/service.rb +199 -0
  566. data/generated/google/apis/logging_v2.rb +1 -1
  567. data/generated/google/apis/logging_v2/classes.rb +174 -214
  568. data/generated/google/apis/logging_v2/representations.rb +15 -0
  569. data/generated/google/apis/logging_v2/service.rb +1017 -584
  570. data/generated/google/apis/managedidentities_v1.rb +1 -1
  571. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  572. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  573. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  574. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +344 -457
  575. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
  576. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  577. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  578. data/generated/google/apis/managedidentities_v1beta1/classes.rb +340 -456
  579. data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
  580. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  581. data/generated/google/apis/manufacturers_v1.rb +1 -1
  582. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  583. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  584. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  585. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
  586. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
  587. data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
  588. data/generated/google/apis/ml_v1.rb +1 -1
  589. data/generated/google/apis/ml_v1/classes.rb +956 -1144
  590. data/generated/google/apis/ml_v1/representations.rb +65 -0
  591. data/generated/google/apis/ml_v1/service.rb +194 -253
  592. data/generated/google/apis/monitoring_v1.rb +1 -1
  593. data/generated/google/apis/monitoring_v1/classes.rb +119 -37
  594. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  595. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  596. data/generated/google/apis/monitoring_v3.rb +1 -1
  597. data/generated/google/apis/monitoring_v3/classes.rb +260 -339
  598. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  599. data/generated/google/apis/monitoring_v3/service.rb +121 -140
  600. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  601. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  602. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  603. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  604. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
  605. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
  606. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  607. data/generated/google/apis/osconfig_v1.rb +1 -1
  608. data/generated/google/apis/osconfig_v1/classes.rb +154 -181
  609. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  610. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  611. data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
  612. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  613. data/generated/google/apis/oslogin_v1.rb +1 -1
  614. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  615. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  616. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  617. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  618. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  619. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  620. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  621. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  622. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  623. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  624. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  625. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  626. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  627. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  628. data/generated/google/apis/people_v1.rb +1 -1
  629. data/generated/google/apis/people_v1/classes.rb +258 -14
  630. data/generated/google/apis/people_v1/representations.rb +98 -0
  631. data/generated/google/apis/people_v1/service.rb +59 -47
  632. data/generated/google/apis/playablelocations_v3.rb +1 -1
  633. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  634. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  635. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  636. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  637. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  638. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  639. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  640. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  641. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  642. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  643. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  644. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  645. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +148 -146
  646. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  647. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +517 -49
  648. data/generated/google/apis/pubsub_v1.rb +1 -1
  649. data/generated/google/apis/pubsub_v1/classes.rb +399 -518
  650. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  651. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  652. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  653. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  654. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  655. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  656. data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
  657. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  658. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  659. data/generated/google/apis/pubsublite_v1.rb +34 -0
  660. data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
  661. data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
  662. data/generated/google/apis/pubsublite_v1/service.rb +558 -0
  663. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  664. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  665. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  666. data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
  667. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +337 -456
  668. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  669. data/generated/google/apis/recommendationengine_v1beta1/service.rb +141 -207
  670. data/generated/google/apis/recommender_v1.rb +1 -1
  671. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  672. data/generated/google/apis/recommender_v1/service.rb +43 -58
  673. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  674. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  675. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  676. data/generated/google/apis/redis_v1.rb +1 -1
  677. data/generated/google/apis/redis_v1/classes.rb +91 -513
  678. data/generated/google/apis/redis_v1/representations.rb +0 -139
  679. data/generated/google/apis/redis_v1/service.rb +93 -110
  680. data/generated/google/apis/redis_v1beta1.rb +1 -1
  681. data/generated/google/apis/redis_v1beta1/classes.rb +95 -517
  682. data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
  683. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  684. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  685. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  686. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  687. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  688. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  689. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  690. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  691. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  692. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  693. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  694. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  695. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  696. data/generated/google/apis/reseller_v1.rb +2 -2
  697. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  698. data/generated/google/apis/reseller_v1/service.rb +122 -173
  699. data/generated/google/apis/run_v1.rb +1 -1
  700. data/generated/google/apis/run_v1/classes.rb +14 -13
  701. data/generated/google/apis/run_v1/representations.rb +1 -1
  702. data/generated/google/apis/run_v1/service.rb +38 -2
  703. data/generated/google/apis/run_v1alpha1.rb +1 -1
  704. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  705. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  706. data/generated/google/apis/run_v1beta1.rb +1 -1
  707. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  708. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  709. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  710. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  711. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  712. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -412
  713. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  714. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  715. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  716. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  717. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  718. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  719. data/generated/google/apis/sasportal_v1alpha1/classes.rb +148 -146
  720. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  721. data/generated/google/apis/sasportal_v1alpha1/service.rb +517 -49
  722. data/generated/google/apis/script_v1.rb +1 -1
  723. data/generated/google/apis/script_v1/classes.rb +88 -111
  724. data/generated/google/apis/script_v1/service.rb +63 -69
  725. data/generated/google/apis/searchconsole_v1.rb +1 -1
  726. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  727. data/generated/google/apis/secretmanager_v1.rb +1 -1
  728. data/generated/google/apis/secretmanager_v1/classes.rb +379 -365
  729. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  730. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  731. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  732. data/generated/google/apis/secretmanager_v1beta1/classes.rb +218 -363
  733. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  734. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  735. data/generated/google/apis/securitycenter_v1.rb +1 -1
  736. data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
  737. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  738. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  739. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  740. data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
  741. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  742. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  743. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  744. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
  745. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  746. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  747. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  748. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1124 -1788
  749. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +116 -141
  750. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  751. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
  752. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  753. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  754. data/generated/google/apis/servicecontrol_v1/classes.rb +526 -641
  755. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  756. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  757. data/generated/google/apis/servicecontrol_v2/classes.rb +1078 -0
  758. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  759. data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
  760. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  761. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
  762. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  763. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  764. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  765. data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
  766. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  767. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  768. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  769. data/generated/google/apis/servicenetworking_v1/classes.rb +1160 -1763
  770. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
  771. data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
  772. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  773. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
  774. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  775. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  776. data/generated/google/apis/serviceusage_v1.rb +1 -1
  777. data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
  778. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  779. data/generated/google/apis/serviceusage_v1/service.rb +67 -80
  780. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  781. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
  782. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  783. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  784. data/generated/google/apis/sheets_v4.rb +1 -1
  785. data/generated/google/apis/sheets_v4/classes.rb +3933 -5008
  786. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  787. data/generated/google/apis/sheets_v4/service.rb +113 -149
  788. data/generated/google/apis/site_verification_v1.rb +1 -1
  789. data/generated/google/apis/slides_v1.rb +1 -1
  790. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  791. data/generated/google/apis/slides_v1/service.rb +23 -30
  792. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  793. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  794. data/generated/google/apis/spanner_v1.rb +1 -1
  795. data/generated/google/apis/spanner_v1/classes.rb +1553 -2156
  796. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  797. data/generated/google/apis/spanner_v1/service.rb +443 -618
  798. data/generated/google/apis/speech_v1.rb +1 -1
  799. data/generated/google/apis/speech_v1/classes.rb +174 -220
  800. data/generated/google/apis/speech_v1/service.rb +27 -32
  801. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  802. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  803. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  804. data/generated/google/apis/speech_v2beta1.rb +1 -1
  805. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  806. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  807. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  808. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +438 -452
  809. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +106 -87
  810. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
  811. data/generated/google/apis/storage_v1.rb +1 -1
  812. data/generated/google/apis/storage_v1/classes.rb +8 -7
  813. data/generated/google/apis/storage_v1/representations.rb +2 -2
  814. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  815. data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
  816. data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
  817. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  818. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  819. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  820. data/generated/google/apis/sts_v1.rb +32 -0
  821. data/generated/google/apis/sts_v1/classes.rb +120 -0
  822. data/generated/google/apis/sts_v1/representations.rb +59 -0
  823. data/generated/google/apis/sts_v1/service.rb +90 -0
  824. data/generated/google/apis/sts_v1beta.rb +32 -0
  825. data/generated/google/apis/sts_v1beta/classes.rb +191 -0
  826. data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
  827. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  828. data/generated/google/apis/tagmanager_v1.rb +2 -3
  829. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  830. data/generated/google/apis/tagmanager_v1/service.rb +22 -23
  831. data/generated/google/apis/tagmanager_v2.rb +2 -3
  832. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  833. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  834. data/generated/google/apis/tagmanager_v2/service.rb +189 -285
  835. data/generated/google/apis/tasks_v1.rb +1 -1
  836. data/generated/google/apis/tasks_v1/classes.rb +21 -22
  837. data/generated/google/apis/tasks_v1/service.rb +19 -19
  838. data/generated/google/apis/testing_v1.rb +1 -1
  839. data/generated/google/apis/testing_v1/classes.rb +317 -382
  840. data/generated/google/apis/testing_v1/representations.rb +2 -0
  841. data/generated/google/apis/testing_v1/service.rb +22 -28
  842. data/generated/google/apis/texttospeech_v1.rb +1 -1
  843. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  844. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  845. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  846. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  847. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  848. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  849. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  850. data/generated/google/apis/toolresults_v1beta3/classes.rb +672 -931
  851. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  852. data/generated/google/apis/toolresults_v1beta3/service.rb +231 -349
  853. data/generated/google/apis/tpu_v1.rb +1 -1
  854. data/generated/google/apis/tpu_v1/classes.rb +122 -78
  855. data/generated/google/apis/tpu_v1/representations.rb +19 -0
  856. data/generated/google/apis/tpu_v1/service.rb +21 -25
  857. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  858. data/generated/google/apis/tpu_v1alpha1/classes.rb +122 -78
  859. data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
  860. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  861. data/generated/google/apis/trafficdirector_v2.rb +34 -0
  862. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  863. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  864. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  865. data/generated/google/apis/translate_v3.rb +1 -1
  866. data/generated/google/apis/translate_v3/classes.rb +148 -175
  867. data/generated/google/apis/translate_v3/service.rb +122 -138
  868. data/generated/google/apis/translate_v3beta1.rb +1 -1
  869. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  870. data/generated/google/apis/translate_v3beta1/service.rb +122 -138
  871. data/generated/google/apis/vault_v1.rb +1 -1
  872. data/generated/google/apis/vault_v1/classes.rb +80 -103
  873. data/generated/google/apis/vault_v1/service.rb +31 -37
  874. data/generated/google/apis/vectortile_v1.rb +1 -1
  875. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  876. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  877. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  878. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  879. data/generated/google/apis/videointelligence_v1.rb +1 -1
  880. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  881. data/generated/google/apis/videointelligence_v1/service.rb +71 -48
  882. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  883. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  884. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  885. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  886. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  887. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  888. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  889. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  890. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  891. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  892. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  893. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  894. data/generated/google/apis/vision_v1.rb +1 -1
  895. data/generated/google/apis/vision_v1/classes.rb +1304 -1870
  896. data/generated/google/apis/vision_v1/service.rb +254 -340
  897. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  898. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
  899. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  900. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  901. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
  902. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  903. data/generated/google/apis/webfonts_v1.rb +2 -3
  904. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  905. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  906. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  907. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  908. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  909. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  910. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  911. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  912. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  913. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  914. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  915. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → workflowexecutions_v1beta.rb} +9 -10
  916. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  917. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  918. data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -73
  919. data/generated/google/apis/workflows_v1beta.rb +34 -0
  920. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  921. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  922. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  923. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  924. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  925. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  926. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  927. data/generated/google/apis/youtube_partner_v1/service.rb +19 -19
  928. data/generated/google/apis/youtube_v3.rb +1 -1
  929. data/generated/google/apis/youtube_v3/classes.rb +904 -1594
  930. data/generated/google/apis/youtube_v3/representations.rb +0 -214
  931. data/generated/google/apis/youtube_v3/service.rb +971 -1397
  932. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  933. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  934. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  935. data/google-api-client.gemspec +2 -1
  936. data/lib/google/apis/core/base_service.rb +7 -1
  937. data/lib/google/apis/version.rb +1 -1
  938. metadata +98 -36
  939. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  940. data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
  941. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  942. data/generated/google/apis/dns_v2beta1.rb +0 -43
  943. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  944. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  945. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  946. data/generated/google/apis/oauth2_v2.rb +0 -40
  947. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  948. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  949. data/generated/google/apis/plus_v1.rb +0 -43
  950. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  951. data/generated/google/apis/plus_v1/representations.rb +0 -907
  952. data/generated/google/apis/plus_v1/service.rb +0 -451
  953. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
  954. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  955. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
  956. data/generated/google/apis/storage_v1beta2.rb +0 -40
  957. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  958. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  959. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class CourseWorkMaterial
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class Date
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -184,6 +190,12 @@ module Google
184
190
  include Google::Apis::Core::JsonObjectSupport
185
191
  end
186
192
 
193
+ class ListCourseWorkMaterialResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
187
199
  class ListCourseWorkResponse
188
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
201
 
@@ -537,6 +549,28 @@ module Google
537
549
  end
538
550
  end
539
551
 
552
+ class CourseWorkMaterial
553
+ # @private
554
+ class Representation < Google::Apis::Core::JsonRepresentation
555
+ property :alternate_link, as: 'alternateLink'
556
+ property :assignee_mode, as: 'assigneeMode'
557
+ property :course_id, as: 'courseId'
558
+ property :creation_time, as: 'creationTime'
559
+ property :creator_user_id, as: 'creatorUserId'
560
+ property :description, as: 'description'
561
+ property :id, as: 'id'
562
+ property :individual_students_options, as: 'individualStudentsOptions', class: Google::Apis::ClassroomV1::IndividualStudentsOptions, decorator: Google::Apis::ClassroomV1::IndividualStudentsOptions::Representation
563
+
564
+ collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::Material, decorator: Google::Apis::ClassroomV1::Material::Representation
565
+
566
+ property :scheduled_time, as: 'scheduledTime'
567
+ property :state, as: 'state'
568
+ property :title, as: 'title'
569
+ property :topic_id, as: 'topicId'
570
+ property :update_time, as: 'updateTime'
571
+ end
572
+ end
573
+
540
574
  class Date
541
575
  # @private
542
576
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -676,6 +710,15 @@ module Google
676
710
  end
677
711
  end
678
712
 
713
+ class ListCourseWorkMaterialResponse
714
+ # @private
715
+ class Representation < Google::Apis::Core::JsonRepresentation
716
+ collection :course_work_material, as: 'courseWorkMaterial', class: Google::Apis::ClassroomV1::CourseWorkMaterial, decorator: Google::Apis::ClassroomV1::CourseWorkMaterial::Representation
717
+
718
+ property :next_page_token, as: 'nextPageToken'
719
+ end
720
+ end
721
+
679
722
  class ListCourseWorkResponse
680
723
  # @private
681
724
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -47,18 +47,13 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
- # Creates a course.
51
- # The user specified in `ownerId` is the owner of the created course
52
- # and added as a teacher.
53
- # This method returns the following error codes:
54
- # * `PERMISSION_DENIED` if the requesting user is not permitted to create
55
- # courses or for access errors.
56
- # * `NOT_FOUND` if the primary teacher is not a valid user.
57
- # * `FAILED_PRECONDITION` if the course owner's account is disabled or for
58
- # the following request errors:
59
- # * UserGroupsMembershipLimitReached
60
- # * `ALREADY_EXISTS` if an alias was specified in the `id` and
61
- # already exists.
50
+ # Creates a course. The user specified in `ownerId` is the owner of the created
51
+ # course and added as a teacher. This method returns the following error codes: *
52
+ # `PERMISSION_DENIED` if the requesting user is not permitted to create courses
53
+ # or for access errors. * `NOT_FOUND` if the primary teacher is not a valid user.
54
+ # * `FAILED_PRECONDITION` if the course owner's account is disabled or for the
55
+ # following request errors: * UserGroupsMembershipLimitReached * `ALREADY_EXISTS`
56
+ # if an alias was specified in the `id` and already exists.
62
57
  # @param [Google::Apis::ClassroomV1::Course] course_object
63
58
  # @param [String] fields
64
59
  # Selector specifying which fields to include in a partial response.
@@ -88,15 +83,13 @@ module Google
88
83
  execute_or_queue_command(command, &block)
89
84
  end
90
85
 
91
- # Deletes a course.
92
- # This method returns the following error codes:
93
- # * `PERMISSION_DENIED` if the requesting user is not permitted to delete the
94
- # requested course or for access errors.
95
- # * `NOT_FOUND` if no course exists with the requested ID.
86
+ # Deletes a course. This method returns the following error codes: * `
87
+ # PERMISSION_DENIED` if the requesting user is not permitted to delete the
88
+ # requested course or for access errors. * `NOT_FOUND` if no course exists with
89
+ # the requested ID.
96
90
  # @param [String] id
97
- # Identifier of the course to delete.
98
- # This identifier can be either the Classroom-assigned identifier or an
99
- # alias.
91
+ # Identifier of the course to delete. This identifier can be either the
92
+ # Classroom-assigned identifier or an alias.
100
93
  # @param [String] fields
101
94
  # Selector specifying which fields to include in a partial response.
102
95
  # @param [String] quota_user
@@ -124,15 +117,13 @@ module Google
124
117
  execute_or_queue_command(command, &block)
125
118
  end
126
119
 
127
- # Returns a course.
128
- # This method returns the following error codes:
129
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
130
- # requested course or for access errors.
131
- # * `NOT_FOUND` if no course exists with the requested ID.
120
+ # Returns a course. This method returns the following error codes: * `
121
+ # PERMISSION_DENIED` if the requesting user is not permitted to access the
122
+ # requested course or for access errors. * `NOT_FOUND` if no course exists with
123
+ # the requested ID.
132
124
  # @param [String] id
133
- # Identifier of the course to return.
134
- # This identifier can be either the Classroom-assigned identifier or an
135
- # alias.
125
+ # Identifier of the course to return. This identifier can be either the
126
+ # Classroom-assigned identifier or an alias.
136
127
  # @param [String] fields
137
128
  # Selector specifying which fields to include in a partial response.
138
129
  # @param [String] quota_user
@@ -162,37 +153,31 @@ module Google
162
153
 
163
154
  # Returns a list of courses that the requesting user is permitted to view,
164
155
  # restricted to those that match the request. Returned courses are ordered by
165
- # creation time, with the most recently created coming first.
166
- # This method returns the following error codes:
167
- # * `PERMISSION_DENIED` for access errors.
168
- # * `INVALID_ARGUMENT` if the query argument is malformed.
169
- # * `NOT_FOUND` if any users specified in the query arguments do not exist.
156
+ # creation time, with the most recently created coming first. This method
157
+ # returns the following error codes: * `PERMISSION_DENIED` for access errors. * `
158
+ # INVALID_ARGUMENT` if the query argument is malformed. * `NOT_FOUND` if any
159
+ # users specified in the query arguments do not exist.
170
160
  # @param [Array<String>, String] course_states
171
- # Restricts returned courses to those in one of the specified states
172
- # The default value is ACTIVE, ARCHIVED, PROVISIONED, DECLINED.
161
+ # Restricts returned courses to those in one of the specified states The default
162
+ # value is ACTIVE, ARCHIVED, PROVISIONED, DECLINED.
173
163
  # @param [Fixnum] page_size
174
164
  # Maximum number of items to return. Zero or unspecified indicates that the
175
- # server may assign a maximum.
176
- # The server may return fewer than the specified number of results.
165
+ # server may assign a maximum. The server may return fewer than the specified
166
+ # number of results.
177
167
  # @param [String] page_token
178
- # nextPageToken
179
- # value returned from a previous
180
- # list call,
181
- # indicating that the subsequent page of results should be returned.
182
- # The list request must be
168
+ # nextPageToken value returned from a previous list call, indicating that the
169
+ # subsequent page of results should be returned. The list request must be
183
170
  # otherwise identical to the one that resulted in this token.
184
171
  # @param [String] student_id
185
172
  # Restricts returned courses to those having a student with the specified
186
- # identifier. The identifier can be one of the following:
187
- # * the numeric identifier for the user
188
- # * the email address of the user
189
- # * the string literal `"me"`, indicating the requesting user
173
+ # identifier. The identifier can be one of the following: * the numeric
174
+ # identifier for the user * the email address of the user * the string literal `"
175
+ # me"`, indicating the requesting user
190
176
  # @param [String] teacher_id
191
177
  # Restricts returned courses to those having a teacher with the specified
192
- # identifier. The identifier can be one of the following:
193
- # * the numeric identifier for the user
194
- # * the email address of the user
195
- # * the string literal `"me"`, indicating the requesting user
178
+ # identifier. The identifier can be one of the following: * the numeric
179
+ # identifier for the user * the email address of the user * the string literal `"
180
+ # me"`, indicating the requesting user
196
181
  # @param [String] fields
197
182
  # Selector specifying which fields to include in a partial response.
198
183
  # @param [String] quota_user
@@ -224,36 +209,24 @@ module Google
224
209
  execute_or_queue_command(command, &block)
225
210
  end
226
211
 
227
- # Updates one or more fields in a course.
228
- # This method returns the following error codes:
229
- # * `PERMISSION_DENIED` if the requesting user is not permitted to modify the
230
- # requested course or for access errors.
231
- # * `NOT_FOUND` if no course exists with the requested ID.
232
- # * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or
233
- # if no update mask is supplied.
234
- # * `FAILED_PRECONDITION` for the following request errors:
235
- # * CourseNotModifiable
212
+ # Updates one or more fields in a course. This method returns the following
213
+ # error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
214
+ # modify the requested course or for access errors. * `NOT_FOUND` if no course
215
+ # exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields are
216
+ # specified in the update mask or if no update mask is supplied. * `
217
+ # FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable
236
218
  # @param [String] id
237
- # Identifier of the course to update.
238
- # This identifier can be either the Classroom-assigned identifier or an
239
- # alias.
219
+ # Identifier of the course to update. This identifier can be either the
220
+ # Classroom-assigned identifier or an alias.
240
221
  # @param [Google::Apis::ClassroomV1::Course] course_object
241
222
  # @param [String] update_mask
242
- # Mask that identifies which fields on the course to update.
243
- # This field is required to do an update. The update will fail if invalid
244
- # fields are specified. The following fields are valid:
245
- # * `name`
246
- # * `section`
247
- # * `descriptionHeading`
248
- # * `description`
249
- # * `room`
250
- # * `courseState`
251
- # * `ownerId`
252
- # Note: patches to ownerId are treated as being effective immediately, but in
253
- # practice it may take some time for the ownership transfer of all affected
254
- # resources to complete.
255
- # When set in a query parameter, this field should be specified as
256
- # `updateMask=<field1>,<field2>,...`
223
+ # Mask that identifies which fields on the course to update. This field is
224
+ # required to do an update. The update will fail if invalid fields are specified.
225
+ # The following fields are valid: * `name` * `section` * `descriptionHeading` *
226
+ # `description` * `room` * `courseState` * `ownerId` Note: patches to ownerId
227
+ # are treated as being effective immediately, but in practice it may take some
228
+ # time for the ownership transfer of all affected resources to complete. When
229
+ # set in a query parameter, this field should be specified as `updateMask=,,...`
257
230
  # @param [String] fields
258
231
  # Selector specifying which fields to include in a partial response.
259
232
  # @param [String] quota_user
@@ -284,17 +257,14 @@ module Google
284
257
  execute_or_queue_command(command, &block)
285
258
  end
286
259
 
287
- # Updates a course.
288
- # This method returns the following error codes:
289
- # * `PERMISSION_DENIED` if the requesting user is not permitted to modify the
290
- # requested course or for access errors.
291
- # * `NOT_FOUND` if no course exists with the requested ID.
292
- # * `FAILED_PRECONDITION` for the following request errors:
293
- # * CourseNotModifiable
260
+ # Updates a course. This method returns the following error codes: * `
261
+ # PERMISSION_DENIED` if the requesting user is not permitted to modify the
262
+ # requested course or for access errors. * `NOT_FOUND` if no course exists with
263
+ # the requested ID. * `FAILED_PRECONDITION` for the following request errors: *
264
+ # CourseNotModifiable
294
265
  # @param [String] id
295
- # Identifier of the course to update.
296
- # This identifier can be either the Classroom-assigned identifier or an
297
- # alias.
266
+ # Identifier of the course to update. This identifier can be either the
267
+ # Classroom-assigned identifier or an alias.
298
268
  # @param [Google::Apis::ClassroomV1::Course] course_object
299
269
  # @param [String] fields
300
270
  # Selector specifying which fields to include in a partial response.
@@ -325,19 +295,15 @@ module Google
325
295
  execute_or_queue_command(command, &block)
326
296
  end
327
297
 
328
- # Creates an alias for a course.
329
- # This method returns the following error codes:
330
- # * `PERMISSION_DENIED` if the requesting user is not permitted to create the
331
- # alias or for access errors.
332
- # * `NOT_FOUND` if the course does not exist.
333
- # * `ALREADY_EXISTS` if the alias already exists.
334
- # * `FAILED_PRECONDITION` if the alias requested does not make sense for the
335
- # requesting user or course (for example, if a user not in a domain
336
- # attempts to access a domain-scoped alias).
298
+ # Creates an alias for a course. This method returns the following error codes: *
299
+ # `PERMISSION_DENIED` if the requesting user is not permitted to create the
300
+ # alias or for access errors. * `NOT_FOUND` if the course does not exist. * `
301
+ # ALREADY_EXISTS` if the alias already exists. * `FAILED_PRECONDITION` if the
302
+ # alias requested does not make sense for the requesting user or course (for
303
+ # example, if a user not in a domain attempts to access a domain-scoped alias).
337
304
  # @param [String] course_id
338
- # Identifier of the course to alias.
339
- # This identifier can be either the Classroom-assigned identifier or an
340
- # alias.
305
+ # Identifier of the course to alias. This identifier can be either the Classroom-
306
+ # assigned identifier or an alias.
341
307
  # @param [Google::Apis::ClassroomV1::CourseAlias] course_alias_object
342
308
  # @param [String] fields
343
309
  # Selector specifying which fields to include in a partial response.
@@ -368,21 +334,17 @@ module Google
368
334
  execute_or_queue_command(command, &block)
369
335
  end
370
336
 
371
- # Deletes an alias of a course.
372
- # This method returns the following error codes:
373
- # * `PERMISSION_DENIED` if the requesting user is not permitted to remove the
374
- # alias or for access errors.
375
- # * `NOT_FOUND` if the alias does not exist.
376
- # * `FAILED_PRECONDITION` if the alias requested does not make sense for the
377
- # requesting user or course (for example, if a user not in a domain
378
- # attempts to delete a domain-scoped alias).
337
+ # Deletes an alias of a course. This method returns the following error codes: *
338
+ # `PERMISSION_DENIED` if the requesting user is not permitted to remove the
339
+ # alias or for access errors. * `NOT_FOUND` if the alias does not exist. * `
340
+ # FAILED_PRECONDITION` if the alias requested does not make sense for the
341
+ # requesting user or course (for example, if a user not in a domain attempts to
342
+ # delete a domain-scoped alias).
379
343
  # @param [String] course_id
380
- # Identifier of the course whose alias should be deleted.
381
- # This identifier can be either the Classroom-assigned identifier or an
382
- # alias.
344
+ # Identifier of the course whose alias should be deleted. This identifier can be
345
+ # either the Classroom-assigned identifier or an alias.
383
346
  # @param [String] alias_
384
- # Alias to delete.
385
- # This may not be the Classroom-assigned identifier.
347
+ # Alias to delete. This may not be the Classroom-assigned identifier.
386
348
  # @param [String] fields
387
349
  # Selector specifying which fields to include in a partial response.
388
350
  # @param [String] quota_user
@@ -411,26 +373,21 @@ module Google
411
373
  execute_or_queue_command(command, &block)
412
374
  end
413
375
 
414
- # Returns a list of aliases for a course.
415
- # This method returns the following error codes:
416
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
417
- # course or for access errors.
418
- # * `NOT_FOUND` if the course does not exist.
376
+ # Returns a list of aliases for a course. This method returns the following
377
+ # error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
378
+ # access the course or for access errors. * `NOT_FOUND` if the course does not
379
+ # exist.
419
380
  # @param [String] course_id
420
- # The identifier of the course.
421
- # This identifier can be either the Classroom-assigned identifier or an
422
- # alias.
381
+ # The identifier of the course. This identifier can be either the Classroom-
382
+ # assigned identifier or an alias.
423
383
  # @param [Fixnum] page_size
424
384
  # Maximum number of items to return. Zero or unspecified indicates that the
425
- # server may assign a maximum.
426
- # The server may return fewer than the specified number of results.
385
+ # server may assign a maximum. The server may return fewer than the specified
386
+ # number of results.
427
387
  # @param [String] page_token
428
- # nextPageToken
429
- # value returned from a previous
430
- # list call,
431
- # indicating that the subsequent page of results should be returned.
432
- # The list request
433
- # must be otherwise identical to the one that resulted in this token.
388
+ # nextPageToken value returned from a previous list call, indicating that the
389
+ # subsequent page of results should be returned. The list request must be
390
+ # otherwise identical to the one that resulted in this token.
434
391
  # @param [String] fields
435
392
  # Selector specifying which fields to include in a partial response.
436
393
  # @param [String] quota_user
@@ -460,19 +417,15 @@ module Google
460
417
  execute_or_queue_command(command, &block)
461
418
  end
462
419
 
463
- # Creates an announcement.
464
- # This method returns the following error codes:
465
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
466
- # requested course, create announcements in the requested course, share a
467
- # Drive attachment, or for access errors.
468
- # * `INVALID_ARGUMENT` if the request is malformed.
469
- # * `NOT_FOUND` if the requested course does not exist.
470
- # * `FAILED_PRECONDITION` for the following request error:
471
- # * AttachmentNotVisible
420
+ # Creates an announcement. This method returns the following error codes: * `
421
+ # PERMISSION_DENIED` if the requesting user is not permitted to access the
422
+ # requested course, create announcements in the requested course, share a Drive
423
+ # attachment, or for access errors. * `INVALID_ARGUMENT` if the request is
424
+ # malformed. * `NOT_FOUND` if the requested course does not exist. * `
425
+ # FAILED_PRECONDITION` for the following request error: * AttachmentNotVisible
472
426
  # @param [String] course_id
473
- # Identifier of the course.
474
- # This identifier can be either the Classroom-assigned identifier or an
475
- # alias.
427
+ # Identifier of the course. This identifier can be either the Classroom-assigned
428
+ # identifier or an alias.
476
429
  # @param [Google::Apis::ClassroomV1::Announcement] announcement_object
477
430
  # @param [String] fields
478
431
  # Selector specifying which fields to include in a partial response.
@@ -503,24 +456,20 @@ module Google
503
456
  execute_or_queue_command(command, &block)
504
457
  end
505
458
 
506
- # Deletes an announcement.
507
- # This request must be made by the Developer Console project of the
508
- # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
509
- # create the corresponding announcement item.
510
- # This method returns the following error codes:
511
- # * `PERMISSION_DENIED` if the requesting developer project did not create
512
- # the corresponding announcement, if the requesting user is not permitted
513
- # to delete the requested course or for access errors.
514
- # * `FAILED_PRECONDITION` if the requested announcement has already been
515
- # deleted.
516
- # * `NOT_FOUND` if no course exists with the requested ID.
459
+ # Deletes an announcement. This request must be made by the Developer Console
460
+ # project of the [OAuth client ID](https://support.google.com/cloud/answer/
461
+ # 6158849) used to create the corresponding announcement item. This method
462
+ # returns the following error codes: * `PERMISSION_DENIED` if the requesting
463
+ # developer project did not create the corresponding announcement, if the
464
+ # requesting user is not permitted to delete the requested course or for access
465
+ # errors. * `FAILED_PRECONDITION` if the requested announcement has already been
466
+ # deleted. * `NOT_FOUND` if no course exists with the requested ID.
517
467
  # @param [String] course_id
518
- # Identifier of the course.
519
- # This identifier can be either the Classroom-assigned identifier or an
520
- # alias.
468
+ # Identifier of the course. This identifier can be either the Classroom-assigned
469
+ # identifier or an alias.
521
470
  # @param [String] id
522
- # Identifier of the announcement to delete.
523
- # This identifier is a Classroom-assigned identifier.
471
+ # Identifier of the announcement to delete. This identifier is a Classroom-
472
+ # assigned identifier.
524
473
  # @param [String] fields
525
474
  # Selector specifying which fields to include in a partial response.
526
475
  # @param [String] quota_user
@@ -549,16 +498,14 @@ module Google
549
498
  execute_or_queue_command(command, &block)
550
499
  end
551
500
 
552
- # Returns an announcement.
553
- # This method returns the following error codes:
554
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
555
- # requested course or announcement, or for access errors.
556
- # * `INVALID_ARGUMENT` if the request is malformed.
557
- # * `NOT_FOUND` if the requested course or announcement does not exist.
501
+ # Returns an announcement. This method returns the following error codes: * `
502
+ # PERMISSION_DENIED` if the requesting user is not permitted to access the
503
+ # requested course or announcement, or for access errors. * `INVALID_ARGUMENT`
504
+ # if the request is malformed. * `NOT_FOUND` if the requested course or
505
+ # announcement does not exist.
558
506
  # @param [String] course_id
559
- # Identifier of the course.
560
- # This identifier can be either the Classroom-assigned identifier or an
561
- # alias.
507
+ # Identifier of the course. This identifier can be either the Classroom-assigned
508
+ # identifier or an alias.
562
509
  # @param [String] id
563
510
  # Identifier of the announcement.
564
511
  # @param [String] fields
@@ -590,37 +537,31 @@ module Google
590
537
  end
591
538
 
592
539
  # Returns a list of announcements that the requester is permitted to view.
593
- # Course students may only view `PUBLISHED` announcements. Course teachers
594
- # and domain administrators may view all announcements.
595
- # This method returns the following error codes:
596
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access
597
- # the requested course or for access errors.
598
- # * `INVALID_ARGUMENT` if the request is malformed.
599
- # * `NOT_FOUND` if the requested course does not exist.
540
+ # Course students may only view `PUBLISHED` announcements. Course teachers and
541
+ # domain administrators may view all announcements. This method returns the
542
+ # following error codes: * `PERMISSION_DENIED` if the requesting user is not
543
+ # permitted to access the requested course or for access errors. * `
544
+ # INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested
545
+ # course does not exist.
600
546
  # @param [String] course_id
601
- # Identifier of the course.
602
- # This identifier can be either the Classroom-assigned identifier or an
603
- # alias.
547
+ # Identifier of the course. This identifier can be either the Classroom-assigned
548
+ # identifier or an alias.
604
549
  # @param [Array<String>, String] announcement_states
605
- # Restriction on the `state` of announcements returned.
606
- # If this argument is left unspecified, the default value is `PUBLISHED`.
550
+ # Restriction on the `state` of announcements returned. If this argument is left
551
+ # unspecified, the default value is `PUBLISHED`.
607
552
  # @param [String] order_by
608
- # Optional sort ordering for results. A comma-separated list of fields with
609
- # an optional sort direction keyword. Supported field is `updateTime`.
610
- # Supported direction keywords are `asc` and `desc`.
611
- # If not specified, `updateTime desc` is the default behavior.
612
- # Examples: `updateTime asc`, `updateTime`
553
+ # Optional sort ordering for results. A comma-separated list of fields with an
554
+ # optional sort direction keyword. Supported field is `updateTime`. Supported
555
+ # direction keywords are `asc` and `desc`. If not specified, `updateTime desc`
556
+ # is the default behavior. Examples: `updateTime asc`, `updateTime`
613
557
  # @param [Fixnum] page_size
614
558
  # Maximum number of items to return. Zero or unspecified indicates that the
615
- # server may assign a maximum.
616
- # The server may return fewer than the specified number of results.
559
+ # server may assign a maximum. The server may return fewer than the specified
560
+ # number of results.
617
561
  # @param [String] page_token
618
- # nextPageToken
619
- # value returned from a previous
620
- # list call,
621
- # indicating that the subsequent page of results should be returned.
622
- # The list request
623
- # must be otherwise identical to the one that resulted in this token.
562
+ # nextPageToken value returned from a previous list call, indicating that the
563
+ # subsequent page of results should be returned. The list request must be
564
+ # otherwise identical to the one that resulted in this token.
624
565
  # @param [String] fields
625
566
  # Selector specifying which fields to include in a partial response.
626
567
  # @param [String] quota_user
@@ -652,18 +593,15 @@ module Google
652
593
  execute_or_queue_command(command, &block)
653
594
  end
654
595
 
655
- # Modifies assignee mode and options of an announcement.
656
- # Only a teacher of the course that contains the announcement may
657
- # call this method.
658
- # This method returns the following error codes:
659
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
660
- # requested course or course work or for access errors.
661
- # * `INVALID_ARGUMENT` if the request is malformed.
662
- # * `NOT_FOUND` if the requested course or course work does not exist.
596
+ # Modifies assignee mode and options of an announcement. Only a teacher of the
597
+ # course that contains the announcement may call this method. This method
598
+ # returns the following error codes: * `PERMISSION_DENIED` if the requesting
599
+ # user is not permitted to access the requested course or course work or for
600
+ # access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND`
601
+ # if the requested course or course work does not exist.
663
602
  # @param [String] course_id
664
- # Identifier of the course.
665
- # This identifier can be either the Classroom-assigned identifier or an
666
- # alias.
603
+ # Identifier of the course. This identifier can be either the Classroom-assigned
604
+ # identifier or an alias.
667
605
  # @param [String] id
668
606
  # Identifier of the announcement.
669
607
  # @param [Google::Apis::ClassroomV1::ModifyAnnouncementAssigneesRequest] modify_announcement_assignees_request_object
@@ -697,33 +635,26 @@ module Google
697
635
  execute_or_queue_command(command, &block)
698
636
  end
699
637
 
700
- # Updates one or more fields of an announcement.
701
- # This method returns the following error codes:
702
- # * `PERMISSION_DENIED` if the requesting developer project did not create
703
- # the corresponding announcement or for access errors.
704
- # * `INVALID_ARGUMENT` if the request is malformed.
705
- # * `FAILED_PRECONDITION` if the requested announcement has already been
706
- # deleted.
707
- # * `NOT_FOUND` if the requested course or announcement does not exist
638
+ # Updates one or more fields of an announcement. This method returns the
639
+ # following error codes: * `PERMISSION_DENIED` if the requesting developer
640
+ # project did not create the corresponding announcement or for access errors. * `
641
+ # INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if the
642
+ # requested announcement has already been deleted. * `NOT_FOUND` if the
643
+ # requested course or announcement does not exist
708
644
  # @param [String] course_id
709
- # Identifier of the course.
710
- # This identifier can be either the Classroom-assigned identifier or an
711
- # alias.
645
+ # Identifier of the course. This identifier can be either the Classroom-assigned
646
+ # identifier or an alias.
712
647
  # @param [String] id
713
648
  # Identifier of the announcement.
714
649
  # @param [Google::Apis::ClassroomV1::Announcement] announcement_object
715
650
  # @param [String] update_mask
716
- # Mask that identifies which fields on the announcement to update.
717
- # This field is required to do an update. The update fails if invalid
718
- # fields are specified. If a field supports empty values, it can be cleared
719
- # by specifying it in the update mask and not in the Announcement object. If
720
- # a field that does not support empty values is included in the update mask
721
- # and not set in the Announcement object, an `INVALID_ARGUMENT` error is
722
- # returned.
723
- # The following fields may be specified by teachers:
724
- # * `text`
725
- # * `state`
726
- # * `scheduled_time`
651
+ # Mask that identifies which fields on the announcement to update. This field is
652
+ # required to do an update. The update fails if invalid fields are specified. If
653
+ # a field supports empty values, it can be cleared by specifying it in the
654
+ # update mask and not in the Announcement object. If a field that does not
655
+ # support empty values is included in the update mask and not set in the
656
+ # Announcement object, an `INVALID_ARGUMENT` error is returned. The following
657
+ # fields may be specified by teachers: * `text` * `state` * `scheduled_time`
727
658
  # @param [String] fields
728
659
  # Selector specifying which fields to include in a partial response.
729
660
  # @param [String] quota_user
@@ -755,25 +686,20 @@ module Google
755
686
  execute_or_queue_command(command, &block)
756
687
  end
757
688
 
758
- # Creates course work.
759
- # The resulting course work (and corresponding student submissions) are
760
- # associated with the Developer Console project of the
761
- # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
762
- # make the request. Classroom API requests to modify course work and student
763
- # submissions must be made with an OAuth client ID from the associated
764
- # Developer Console project.
765
- # This method returns the following error codes:
766
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
767
- # requested course, create course work in the requested course, share a
768
- # Drive attachment, or for access errors.
769
- # * `INVALID_ARGUMENT` if the request is malformed.
770
- # * `NOT_FOUND` if the requested course does not exist.
771
- # * `FAILED_PRECONDITION` for the following request error:
772
- # * AttachmentNotVisible
689
+ # Creates course work. The resulting course work (and corresponding student
690
+ # submissions) are associated with the Developer Console project of the [OAuth
691
+ # client ID](https://support.google.com/cloud/answer/6158849) used to make the
692
+ # request. Classroom API requests to modify course work and student submissions
693
+ # must be made with an OAuth client ID from the associated Developer Console
694
+ # project. This method returns the following error codes: * `PERMISSION_DENIED`
695
+ # if the requesting user is not permitted to access the requested course, create
696
+ # course work in the requested course, share a Drive attachment, or for access
697
+ # errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the
698
+ # requested course does not exist. * `FAILED_PRECONDITION` for the following
699
+ # request error: * AttachmentNotVisible
773
700
  # @param [String] course_id
774
- # Identifier of the course.
775
- # This identifier can be either the Classroom-assigned identifier or an
776
- # alias.
701
+ # Identifier of the course. This identifier can be either the Classroom-assigned
702
+ # identifier or an alias.
777
703
  # @param [Google::Apis::ClassroomV1::CourseWork] course_work_object
778
704
  # @param [String] fields
779
705
  # Selector specifying which fields to include in a partial response.
@@ -804,24 +730,20 @@ module Google
804
730
  execute_or_queue_command(command, &block)
805
731
  end
806
732
 
807
- # Deletes a course work.
808
- # This request must be made by the Developer Console project of the
809
- # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
810
- # create the corresponding course work item.
811
- # This method returns the following error codes:
812
- # * `PERMISSION_DENIED` if the requesting developer project did not create
813
- # the corresponding course work, if the requesting user is not permitted
814
- # to delete the requested course or for access errors.
815
- # * `FAILED_PRECONDITION` if the requested course work has already been
816
- # deleted.
817
- # * `NOT_FOUND` if no course exists with the requested ID.
733
+ # Deletes a course work. This request must be made by the Developer Console
734
+ # project of the [OAuth client ID](https://support.google.com/cloud/answer/
735
+ # 6158849) used to create the corresponding course work item. This method
736
+ # returns the following error codes: * `PERMISSION_DENIED` if the requesting
737
+ # developer project did not create the corresponding course work, if the
738
+ # requesting user is not permitted to delete the requested course or for access
739
+ # errors. * `FAILED_PRECONDITION` if the requested course work has already been
740
+ # deleted. * `NOT_FOUND` if no course exists with the requested ID.
818
741
  # @param [String] course_id
819
- # Identifier of the course.
820
- # This identifier can be either the Classroom-assigned identifier or an
821
- # alias.
742
+ # Identifier of the course. This identifier can be either the Classroom-assigned
743
+ # identifier or an alias.
822
744
  # @param [String] id
823
- # Identifier of the course work to delete.
824
- # This identifier is a Classroom-assigned identifier.
745
+ # Identifier of the course work to delete. This identifier is a Classroom-
746
+ # assigned identifier.
825
747
  # @param [String] fields
826
748
  # Selector specifying which fields to include in a partial response.
827
749
  # @param [String] quota_user
@@ -850,16 +772,14 @@ module Google
850
772
  execute_or_queue_command(command, &block)
851
773
  end
852
774
 
853
- # Returns course work.
854
- # This method returns the following error codes:
855
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
856
- # requested course or course work, or for access errors.
857
- # * `INVALID_ARGUMENT` if the request is malformed.
858
- # * `NOT_FOUND` if the requested course or course work does not exist.
775
+ # Returns course work. This method returns the following error codes: * `
776
+ # PERMISSION_DENIED` if the requesting user is not permitted to access the
777
+ # requested course or course work, or for access errors. * `INVALID_ARGUMENT` if
778
+ # the request is malformed. * `NOT_FOUND` if the requested course or course work
779
+ # does not exist.
859
780
  # @param [String] course_id
860
- # Identifier of the course.
861
- # This identifier can be either the Classroom-assigned identifier or an
862
- # alias.
781
+ # Identifier of the course. This identifier can be either the Classroom-assigned
782
+ # identifier or an alias.
863
783
  # @param [String] id
864
784
  # Identifier of the course work.
865
785
  # @param [String] fields
@@ -890,39 +810,32 @@ module Google
890
810
  execute_or_queue_command(command, &block)
891
811
  end
892
812
 
893
- # Returns a list of course work that the requester is permitted to view.
894
- # Course students may only view `PUBLISHED` course work. Course teachers
895
- # and domain administrators may view all course work.
896
- # This method returns the following error codes:
897
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access
898
- # the requested course or for access errors.
899
- # * `INVALID_ARGUMENT` if the request is malformed.
900
- # * `NOT_FOUND` if the requested course does not exist.
813
+ # Returns a list of course work that the requester is permitted to view. Course
814
+ # students may only view `PUBLISHED` course work. Course teachers and domain
815
+ # administrators may view all course work. This method returns the following
816
+ # error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
817
+ # access the requested course or for access errors. * `INVALID_ARGUMENT` if the
818
+ # request is malformed. * `NOT_FOUND` if the requested course does not exist.
901
819
  # @param [String] course_id
902
- # Identifier of the course.
903
- # This identifier can be either the Classroom-assigned identifier or an
904
- # alias.
820
+ # Identifier of the course. This identifier can be either the Classroom-assigned
821
+ # identifier or an alias.
905
822
  # @param [Array<String>, String] course_work_states
906
- # Restriction on the work status to return. Only courseWork that matches
907
- # is returned. If unspecified, items with a work status of `PUBLISHED`
908
- # is returned.
823
+ # Restriction on the work status to return. Only courseWork that matches is
824
+ # returned. If unspecified, items with a work status of `PUBLISHED` is returned.
909
825
  # @param [String] order_by
910
- # Optional sort ordering for results. A comma-separated list of fields with
911
- # an optional sort direction keyword. Supported fields are `updateTime`
912
- # and `dueDate`. Supported direction keywords are `asc` and `desc`.
913
- # If not specified, `updateTime desc` is the default behavior.
914
- # Examples: `dueDate asc,updateTime desc`, `updateTime,dueDate desc`
826
+ # Optional sort ordering for results. A comma-separated list of fields with an
827
+ # optional sort direction keyword. Supported fields are `updateTime` and `
828
+ # dueDate`. Supported direction keywords are `asc` and `desc`. If not specified,
829
+ # `updateTime desc` is the default behavior. Examples: `dueDate asc,updateTime
830
+ # desc`, `updateTime,dueDate desc`
915
831
  # @param [Fixnum] page_size
916
832
  # Maximum number of items to return. Zero or unspecified indicates that the
917
- # server may assign a maximum.
918
- # The server may return fewer than the specified number of results.
833
+ # server may assign a maximum. The server may return fewer than the specified
834
+ # number of results.
919
835
  # @param [String] page_token
920
- # nextPageToken
921
- # value returned from a previous
922
- # list call,
923
- # indicating that the subsequent page of results should be returned.
924
- # The list request
925
- # must be otherwise identical to the one that resulted in this token.
836
+ # nextPageToken value returned from a previous list call, indicating that the
837
+ # subsequent page of results should be returned. The list request must be
838
+ # otherwise identical to the one that resulted in this token.
926
839
  # @param [String] fields
927
840
  # Selector specifying which fields to include in a partial response.
928
841
  # @param [String] quota_user
@@ -954,18 +867,15 @@ module Google
954
867
  execute_or_queue_command(command, &block)
955
868
  end
956
869
 
957
- # Modifies assignee mode and options of a coursework.
958
- # Only a teacher of the course that contains the coursework may
959
- # call this method.
960
- # This method returns the following error codes:
961
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
962
- # requested course or course work or for access errors.
963
- # * `INVALID_ARGUMENT` if the request is malformed.
964
- # * `NOT_FOUND` if the requested course or course work does not exist.
870
+ # Modifies assignee mode and options of a coursework. Only a teacher of the
871
+ # course that contains the coursework may call this method. This method returns
872
+ # the following error codes: * `PERMISSION_DENIED` if the requesting user is not
873
+ # permitted to access the requested course or course work or for access errors. *
874
+ # `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the
875
+ # requested course or course work does not exist.
965
876
  # @param [String] course_id
966
- # Identifier of the course.
967
- # This identifier can be either the Classroom-assigned identifier or an
968
- # alias.
877
+ # Identifier of the course. This identifier can be either the Classroom-assigned
878
+ # identifier or an alias.
969
879
  # @param [String] id
970
880
  # Identifier of the coursework.
971
881
  # @param [Google::Apis::ClassroomV1::ModifyCourseWorkAssigneesRequest] modify_course_work_assignees_request_object
@@ -999,47 +909,33 @@ module Google
999
909
  execute_or_queue_command(command, &block)
1000
910
  end
1001
911
 
1002
- # Updates one or more fields of a course work.
1003
- # See google.classroom.v1.CourseWork for details
1004
- # of which fields may be updated and who may change them.
1005
- # This request must be made by the Developer Console project of the
1006
- # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
1007
- # create the corresponding course work item.
1008
- # This method returns the following error codes:
1009
- # * `PERMISSION_DENIED` if the requesting developer project did not create
1010
- # the corresponding course work, if the user is not permitted to make the
1011
- # requested modification to the student submission, or for
1012
- # access errors.
1013
- # * `INVALID_ARGUMENT` if the request is malformed.
1014
- # * `FAILED_PRECONDITION` if the requested course work has already been
1015
- # deleted.
1016
- # * `NOT_FOUND` if the requested course, course work, or student submission
1017
- # does not exist.
912
+ # Updates one or more fields of a course work. See google.classroom.v1.
913
+ # CourseWork for details of which fields may be updated and who may change them.
914
+ # This request must be made by the Developer Console project of the [OAuth
915
+ # client ID](https://support.google.com/cloud/answer/6158849) used to create the
916
+ # corresponding course work item. This method returns the following error codes:
917
+ # * `PERMISSION_DENIED` if the requesting developer project did not create the
918
+ # corresponding course work, if the user is not permitted to make the requested
919
+ # modification to the student submission, or for access errors. * `
920
+ # INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if the
921
+ # requested course work has already been deleted. * `NOT_FOUND` if the requested
922
+ # course, course work, or student submission does not exist.
1018
923
  # @param [String] course_id
1019
- # Identifier of the course.
1020
- # This identifier can be either the Classroom-assigned identifier or an
1021
- # alias.
924
+ # Identifier of the course. This identifier can be either the Classroom-assigned
925
+ # identifier or an alias.
1022
926
  # @param [String] id
1023
927
  # Identifier of the course work.
1024
928
  # @param [Google::Apis::ClassroomV1::CourseWork] course_work_object
1025
929
  # @param [String] update_mask
1026
- # Mask that identifies which fields on the course work to update.
1027
- # This field is required to do an update. The update fails if invalid
1028
- # fields are specified. If a field supports empty values, it can be cleared
1029
- # by specifying it in the update mask and not in the CourseWork object. If a
1030
- # field that does not support empty values is included in the update mask and
1031
- # not set in the CourseWork object, an `INVALID_ARGUMENT` error is
1032
- # returned.
1033
- # The following fields may be specified by teachers:
1034
- # * `title`
1035
- # * `description`
1036
- # * `state`
1037
- # * `due_date`
1038
- # * `due_time`
1039
- # * `max_points`
1040
- # * `scheduled_time`
1041
- # * `submission_modification_mode`
1042
- # * `topic_id`
930
+ # Mask that identifies which fields on the course work to update. This field is
931
+ # required to do an update. The update fails if invalid fields are specified. If
932
+ # a field supports empty values, it can be cleared by specifying it in the
933
+ # update mask and not in the CourseWork object. If a field that does not support
934
+ # empty values is included in the update mask and not set in the CourseWork
935
+ # object, an `INVALID_ARGUMENT` error is returned. The following fields may be
936
+ # specified by teachers: * `title` * `description` * `state` * `due_date` * `
937
+ # due_time` * `max_points` * `scheduled_time` * `submission_modification_mode` *
938
+ # `topic_id`
1043
939
  # @param [String] fields
1044
940
  # Selector specifying which fields to include in a partial response.
1045
941
  # @param [String] quota_user
@@ -1071,17 +967,14 @@ module Google
1071
967
  execute_or_queue_command(command, &block)
1072
968
  end
1073
969
 
1074
- # Returns a student submission.
1075
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
1076
- # requested course, course work, or student submission or for
1077
- # access errors.
1078
- # * `INVALID_ARGUMENT` if the request is malformed.
1079
- # * `NOT_FOUND` if the requested course, course work, or student submission
1080
- # does not exist.
970
+ # Returns a student submission. * `PERMISSION_DENIED` if the requesting user is
971
+ # not permitted to access the requested course, course work, or student
972
+ # submission or for access errors. * `INVALID_ARGUMENT` if the request is
973
+ # malformed. * `NOT_FOUND` if the requested course, course work, or student
974
+ # submission does not exist.
1081
975
  # @param [String] course_id
1082
- # Identifier of the course.
1083
- # This identifier can be either the Classroom-assigned identifier or an
1084
- # alias.
976
+ # Identifier of the course. This identifier can be either the Classroom-assigned
977
+ # identifier or an alias.
1085
978
  # @param [String] course_work_id
1086
979
  # Identifier of the course work.
1087
980
  # @param [String] id
@@ -1115,50 +1008,42 @@ module Google
1115
1008
  execute_or_queue_command(command, &block)
1116
1009
  end
1117
1010
 
1118
- # Returns a list of student submissions that the requester is permitted to
1119
- # view, factoring in the OAuth scopes of the request.
1120
- # `-` may be specified as the `course_work_id` to include student
1121
- # submissions for multiple course work items.
1122
- # Course students may only view their own work. Course teachers
1123
- # and domain administrators may view all student submissions.
1124
- # This method returns the following error codes:
1125
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
1126
- # requested course or course work, or for access errors.
1127
- # * `INVALID_ARGUMENT` if the request is malformed.
1128
- # * `NOT_FOUND` if the requested course does not exist.
1011
+ # Returns a list of student submissions that the requester is permitted to view,
1012
+ # factoring in the OAuth scopes of the request. `-` may be specified as the `
1013
+ # course_work_id` to include student submissions for multiple course work items.
1014
+ # Course students may only view their own work. Course teachers and domain
1015
+ # administrators may view all student submissions. This method returns the
1016
+ # following error codes: * `PERMISSION_DENIED` if the requesting user is not
1017
+ # permitted to access the requested course or course work, or for access errors.
1018
+ # * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the
1019
+ # requested course does not exist.
1129
1020
  # @param [String] course_id
1130
- # Identifier of the course.
1131
- # This identifier can be either the Classroom-assigned identifier or an
1132
- # alias.
1021
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1022
+ # identifier or an alias.
1133
1023
  # @param [String] course_work_id
1134
- # Identifier of the student work to request.
1135
- # This may be set to the string literal `"-"` to request student work for
1136
- # all course work in the specified course.
1024
+ # Identifier of the student work to request. This may be set to the string
1025
+ # literal `"-"` to request student work for all course work in the specified
1026
+ # course.
1137
1027
  # @param [String] late
1138
1028
  # Requested lateness value. If specified, returned student submissions are
1139
- # restricted by the requested value.
1140
- # If unspecified, submissions are returned regardless of `late` value.
1029
+ # restricted by the requested value. If unspecified, submissions are returned
1030
+ # regardless of `late` value.
1141
1031
  # @param [Fixnum] page_size
1142
1032
  # Maximum number of items to return. Zero or unspecified indicates that the
1143
- # server may assign a maximum.
1144
- # The server may return fewer than the specified number of results.
1033
+ # server may assign a maximum. The server may return fewer than the specified
1034
+ # number of results.
1145
1035
  # @param [String] page_token
1146
- # nextPageToken
1147
- # value returned from a previous
1148
- # list call,
1149
- # indicating that the subsequent page of results should be returned.
1150
- # The list request
1151
- # must be otherwise identical to the one that resulted in this token.
1036
+ # nextPageToken value returned from a previous list call, indicating that the
1037
+ # subsequent page of results should be returned. The list request must be
1038
+ # otherwise identical to the one that resulted in this token.
1152
1039
  # @param [Array<String>, String] states
1153
- # Requested submission states. If specified, returned student submissions
1154
- # match one of the specified submission states.
1040
+ # Requested submission states. If specified, returned student submissions match
1041
+ # one of the specified submission states.
1155
1042
  # @param [String] user_id
1156
1043
  # Optional argument to restrict returned student work to those owned by the
1157
1044
  # student with the specified identifier. The identifier can be one of the
1158
- # following:
1159
- # * the numeric identifier for the user
1160
- # * the email address of the user
1161
- # * the string literal `"me"`, indicating the requesting user
1045
+ # following: * the numeric identifier for the user * the email address of the
1046
+ # user * the string literal `"me"`, indicating the requesting user
1162
1047
  # @param [String] fields
1163
1048
  # Selector specifying which fields to include in a partial response.
1164
1049
  # @param [String] quota_user
@@ -1192,24 +1077,19 @@ module Google
1192
1077
  execute_or_queue_command(command, &block)
1193
1078
  end
1194
1079
 
1195
- # Modifies attachments of student submission.
1196
- # Attachments may only be added to student submissions belonging to course
1197
- # work objects with a `workType` of `ASSIGNMENT`.
1198
- # This request must be made by the Developer Console project of the
1080
+ # Modifies attachments of student submission. Attachments may only be added to
1081
+ # student submissions belonging to course work objects with a `workType` of `
1082
+ # ASSIGNMENT`. This request must be made by the Developer Console project of the
1199
1083
  # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
1200
- # create the corresponding course work item.
1201
- # This method returns the following error codes:
1202
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
1203
- # requested course or course work, if the user is not permitted to modify
1204
- # attachments on the requested student submission, or for
1205
- # access errors.
1206
- # * `INVALID_ARGUMENT` if the request is malformed.
1207
- # * `NOT_FOUND` if the requested course, course work, or student submission
1208
- # does not exist.
1084
+ # create the corresponding course work item. This method returns the following
1085
+ # error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
1086
+ # access the requested course or course work, if the user is not permitted to
1087
+ # modify attachments on the requested student submission, or for access errors. *
1088
+ # `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the
1089
+ # requested course, course work, or student submission does not exist.
1209
1090
  # @param [String] course_id
1210
- # Identifier of the course.
1211
- # This identifier can be either the Classroom-assigned identifier or an
1212
- # alias.
1091
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1092
+ # identifier or an alias.
1213
1093
  # @param [String] course_work_id
1214
1094
  # Identifier of the course work.
1215
1095
  # @param [String] id
@@ -1246,36 +1126,29 @@ module Google
1246
1126
  execute_or_queue_command(command, &block)
1247
1127
  end
1248
1128
 
1249
- # Updates one or more fields of a student submission.
1250
- # See google.classroom.v1.StudentSubmission for details
1251
- # of which fields may be updated and who may change them.
1252
- # This request must be made by the Developer Console project of the
1129
+ # Updates one or more fields of a student submission. See google.classroom.v1.
1130
+ # StudentSubmission for details of which fields may be updated and who may
1131
+ # change them. This request must be made by the Developer Console project of the
1253
1132
  # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
1254
- # create the corresponding course work item.
1255
- # This method returns the following error codes:
1256
- # * `PERMISSION_DENIED` if the requesting developer project did not create
1257
- # the corresponding course work, if the user is not permitted to make the
1258
- # requested modification to the student submission, or for
1259
- # access errors.
1260
- # * `INVALID_ARGUMENT` if the request is malformed.
1261
- # * `NOT_FOUND` if the requested course, course work, or student submission
1262
- # does not exist.
1133
+ # create the corresponding course work item. This method returns the following
1134
+ # error codes: * `PERMISSION_DENIED` if the requesting developer project did not
1135
+ # create the corresponding course work, if the user is not permitted to make the
1136
+ # requested modification to the student submission, or for access errors. * `
1137
+ # INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested
1138
+ # course, course work, or student submission does not exist.
1263
1139
  # @param [String] course_id
1264
- # Identifier of the course.
1265
- # This identifier can be either the Classroom-assigned identifier or an
1266
- # alias.
1140
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1141
+ # identifier or an alias.
1267
1142
  # @param [String] course_work_id
1268
1143
  # Identifier of the course work.
1269
1144
  # @param [String] id
1270
1145
  # Identifier of the student submission.
1271
1146
  # @param [Google::Apis::ClassroomV1::StudentSubmission] student_submission_object
1272
1147
  # @param [String] update_mask
1273
- # Mask that identifies which fields on the student submission to update.
1274
- # This field is required to do an update. The update fails if invalid
1275
- # fields are specified.
1276
- # The following fields may be specified by teachers:
1277
- # * `draft_grade`
1278
- # * `assigned_grade`
1148
+ # Mask that identifies which fields on the student submission to update. This
1149
+ # field is required to do an update. The update fails if invalid fields are
1150
+ # specified. The following fields may be specified by teachers: * `draft_grade` *
1151
+ # `assigned_grade`
1279
1152
  # @param [String] fields
1280
1153
  # Selector specifying which fields to include in a partial response.
1281
1154
  # @param [String] quota_user
@@ -1309,25 +1182,21 @@ module Google
1309
1182
  end
1310
1183
 
1311
1184
  # Reclaims a student submission on behalf of the student that owns it.
1312
- # Reclaiming a student submission transfers ownership of attached Drive
1313
- # files to the student and updates the submission state.
1314
- # Only the student that owns the requested student submission may call this
1315
- # method, and only for a student submission that has been turned in.
1316
- # This request must be made by the Developer Console project of the
1317
- # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
1318
- # create the corresponding course work item.
1319
- # This method returns the following error codes:
1320
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
1321
- # requested course or course work, unsubmit the requested student submission,
1322
- # or for access errors.
1323
- # * `FAILED_PRECONDITION` if the student submission has not been turned in.
1324
- # * `INVALID_ARGUMENT` if the request is malformed.
1325
- # * `NOT_FOUND` if the requested course, course work, or student submission
1326
- # does not exist.
1185
+ # Reclaiming a student submission transfers ownership of attached Drive files to
1186
+ # the student and updates the submission state. Only the student that owns the
1187
+ # requested student submission may call this method, and only for a student
1188
+ # submission that has been turned in. This request must be made by the Developer
1189
+ # Console project of the [OAuth client ID](https://support.google.com/cloud/
1190
+ # answer/6158849) used to create the corresponding course work item. This method
1191
+ # returns the following error codes: * `PERMISSION_DENIED` if the requesting
1192
+ # user is not permitted to access the requested course or course work, unsubmit
1193
+ # the requested student submission, or for access errors. * `FAILED_PRECONDITION`
1194
+ # if the student submission has not been turned in. * `INVALID_ARGUMENT` if the
1195
+ # request is malformed. * `NOT_FOUND` if the requested course, course work, or
1196
+ # student submission does not exist.
1327
1197
  # @param [String] course_id
1328
- # Identifier of the course.
1329
- # This identifier can be either the Classroom-assigned identifier or an
1330
- # alias.
1198
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1199
+ # identifier or an alias.
1331
1200
  # @param [String] course_work_id
1332
1201
  # Identifier of the course work.
1333
1202
  # @param [String] id
@@ -1364,27 +1233,22 @@ module Google
1364
1233
  execute_or_queue_command(command, &block)
1365
1234
  end
1366
1235
 
1367
- # Returns a student submission.
1368
- # Returning a student submission transfers ownership of attached Drive
1369
- # files to the student and may also update the submission state.
1370
- # Unlike the Classroom application, returning a student submission does not
1371
- # set assignedGrade to the draftGrade value.
1372
- # Only a teacher of the course that contains the requested student submission
1373
- # may call this method.
1374
- # This request must be made by the Developer Console project of the
1375
- # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
1376
- # create the corresponding course work item.
1377
- # This method returns the following error codes:
1378
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
1379
- # requested course or course work, return the requested student submission,
1380
- # or for access errors.
1381
- # * `INVALID_ARGUMENT` if the request is malformed.
1382
- # * `NOT_FOUND` if the requested course, course work, or student submission
1383
- # does not exist.
1236
+ # Returns a student submission. Returning a student submission transfers
1237
+ # ownership of attached Drive files to the student and may also update the
1238
+ # submission state. Unlike the Classroom application, returning a student
1239
+ # submission does not set assignedGrade to the draftGrade value. Only a teacher
1240
+ # of the course that contains the requested student submission may call this
1241
+ # method. This request must be made by the Developer Console project of the [
1242
+ # OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
1243
+ # create the corresponding course work item. This method returns the following
1244
+ # error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
1245
+ # access the requested course or course work, return the requested student
1246
+ # submission, or for access errors. * `INVALID_ARGUMENT` if the request is
1247
+ # malformed. * `NOT_FOUND` if the requested course, course work, or student
1248
+ # submission does not exist.
1384
1249
  # @param [String] course_id
1385
- # Identifier of the course.
1386
- # This identifier can be either the Classroom-assigned identifier or an
1387
- # alias.
1250
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1251
+ # identifier or an alias.
1388
1252
  # @param [String] course_work_id
1389
1253
  # Identifier of the course work.
1390
1254
  # @param [String] id
@@ -1421,25 +1285,20 @@ module Google
1421
1285
  execute_or_queue_command(command, &block)
1422
1286
  end
1423
1287
 
1424
- # Turns in a student submission.
1425
- # Turning in a student submission transfers ownership of attached Drive
1426
- # files to the teacher and may also update the submission state.
1427
- # This may only be called by the student that owns the specified student
1428
- # submission.
1429
- # This request must be made by the Developer Console project of the
1430
- # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
1431
- # create the corresponding course work item.
1432
- # This method returns the following error codes:
1433
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
1434
- # requested course or course work, turn in the requested student submission,
1435
- # or for access errors.
1436
- # * `INVALID_ARGUMENT` if the request is malformed.
1437
- # * `NOT_FOUND` if the requested course, course work, or student submission
1438
- # does not exist.
1288
+ # Turns in a student submission. Turning in a student submission transfers
1289
+ # ownership of attached Drive files to the teacher and may also update the
1290
+ # submission state. This may only be called by the student that owns the
1291
+ # specified student submission. This request must be made by the Developer
1292
+ # Console project of the [OAuth client ID](https://support.google.com/cloud/
1293
+ # answer/6158849) used to create the corresponding course work item. This method
1294
+ # returns the following error codes: * `PERMISSION_DENIED` if the requesting
1295
+ # user is not permitted to access the requested course or course work, turn in
1296
+ # the requested student submission, or for access errors. * `INVALID_ARGUMENT`
1297
+ # if the request is malformed. * `NOT_FOUND` if the requested course, course
1298
+ # work, or student submission does not exist.
1439
1299
  # @param [String] course_id
1440
- # Identifier of the course.
1441
- # This identifier can be either the Classroom-assigned identifier or an
1442
- # alias.
1300
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1301
+ # identifier or an alias.
1443
1302
  # @param [String] course_work_id
1444
1303
  # Identifier of the course work.
1445
1304
  # @param [String] id
@@ -1476,28 +1335,262 @@ module Google
1476
1335
  execute_or_queue_command(command, &block)
1477
1336
  end
1478
1337
 
1479
- # Adds a user as a student of a course.
1480
- # This method returns the following error codes:
1481
- # * `PERMISSION_DENIED` if the requesting user is not permitted to create
1482
- # students in this course or for access errors.
1483
- # * `NOT_FOUND` if the requested course ID does not exist.
1484
- # * `FAILED_PRECONDITION` if the requested user's account is disabled,
1485
- # for the following request errors:
1486
- # * CourseMemberLimitReached
1487
- # * CourseNotModifiable
1488
- # * UserGroupsMembershipLimitReached
1489
- # * `ALREADY_EXISTS` if the user is already a student or teacher in the
1490
- # course.
1338
+ # Creates a course work material. This method returns the following error codes:
1339
+ # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
1340
+ # requested course, create course work material in the requested course, share a
1341
+ # Drive attachment, or for access errors. * `INVALID_ARGUMENT` if the request is
1342
+ # malformed or if more than 20 * materials are provided. * `NOT_FOUND` if the
1343
+ # requested course does not exist. * `FAILED_PRECONDITION` for the following
1344
+ # request error: * AttachmentNotVisible
1345
+ # @param [String] course_id
1346
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1347
+ # identifier or an alias.
1348
+ # @param [Google::Apis::ClassroomV1::CourseWorkMaterial] course_work_material_object
1349
+ # @param [String] fields
1350
+ # Selector specifying which fields to include in a partial response.
1351
+ # @param [String] quota_user
1352
+ # Available to use for quota purposes for server-side applications. Can be any
1353
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1354
+ # @param [Google::Apis::RequestOptions] options
1355
+ # Request-specific options
1356
+ #
1357
+ # @yield [result, err] Result & error if block supplied
1358
+ # @yieldparam result [Google::Apis::ClassroomV1::CourseWorkMaterial] parsed result object
1359
+ # @yieldparam err [StandardError] error object if request failed
1360
+ #
1361
+ # @return [Google::Apis::ClassroomV1::CourseWorkMaterial]
1362
+ #
1363
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1364
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1365
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1366
+ def create_course_course_work_material(course_id, course_work_material_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1367
+ command = make_simple_command(:post, 'v1/courses/{courseId}/courseWorkMaterials', options)
1368
+ command.request_representation = Google::Apis::ClassroomV1::CourseWorkMaterial::Representation
1369
+ command.request_object = course_work_material_object
1370
+ command.response_representation = Google::Apis::ClassroomV1::CourseWorkMaterial::Representation
1371
+ command.response_class = Google::Apis::ClassroomV1::CourseWorkMaterial
1372
+ command.params['courseId'] = course_id unless course_id.nil?
1373
+ command.query['fields'] = fields unless fields.nil?
1374
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1375
+ execute_or_queue_command(command, &block)
1376
+ end
1377
+
1378
+ # Deletes a course work material. This request must be made by the Developer
1379
+ # Console project of the [OAuth client ID](https://support.google.com/cloud/
1380
+ # answer/6158849) used to create the corresponding course work material item.
1381
+ # This method returns the following error codes: * `PERMISSION_DENIED` if the
1382
+ # requesting developer project did not create the corresponding course work
1383
+ # material, if the requesting user is not permitted to delete the requested
1384
+ # course or for access errors. * `FAILED_PRECONDITION` if the requested course
1385
+ # work material has already been deleted. * `NOT_FOUND` if no course exists with
1386
+ # the requested ID.
1387
+ # @param [String] course_id
1388
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1389
+ # identifier or an alias.
1390
+ # @param [String] id
1391
+ # Identifier of the course work material to delete. This identifier is a
1392
+ # Classroom-assigned identifier.
1393
+ # @param [String] fields
1394
+ # Selector specifying which fields to include in a partial response.
1395
+ # @param [String] quota_user
1396
+ # Available to use for quota purposes for server-side applications. Can be any
1397
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1398
+ # @param [Google::Apis::RequestOptions] options
1399
+ # Request-specific options
1400
+ #
1401
+ # @yield [result, err] Result & error if block supplied
1402
+ # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object
1403
+ # @yieldparam err [StandardError] error object if request failed
1404
+ #
1405
+ # @return [Google::Apis::ClassroomV1::Empty]
1406
+ #
1407
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1408
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1409
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1410
+ def delete_course_course_work_material(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
1411
+ command = make_simple_command(:delete, 'v1/courses/{courseId}/courseWorkMaterials/{id}', options)
1412
+ command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
1413
+ command.response_class = Google::Apis::ClassroomV1::Empty
1414
+ command.params['courseId'] = course_id unless course_id.nil?
1415
+ command.params['id'] = id unless id.nil?
1416
+ command.query['fields'] = fields unless fields.nil?
1417
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1418
+ execute_or_queue_command(command, &block)
1419
+ end
1420
+
1421
+ # Returns a course work material. This method returns the following error codes:
1422
+ # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
1423
+ # requested course or course work material, or for access errors. * `
1424
+ # INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested
1425
+ # course or course work material does not exist.
1426
+ # @param [String] course_id
1427
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1428
+ # identifier or an alias.
1429
+ # @param [String] id
1430
+ # Identifier of the course work material.
1431
+ # @param [String] fields
1432
+ # Selector specifying which fields to include in a partial response.
1433
+ # @param [String] quota_user
1434
+ # Available to use for quota purposes for server-side applications. Can be any
1435
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1436
+ # @param [Google::Apis::RequestOptions] options
1437
+ # Request-specific options
1438
+ #
1439
+ # @yield [result, err] Result & error if block supplied
1440
+ # @yieldparam result [Google::Apis::ClassroomV1::CourseWorkMaterial] parsed result object
1441
+ # @yieldparam err [StandardError] error object if request failed
1442
+ #
1443
+ # @return [Google::Apis::ClassroomV1::CourseWorkMaterial]
1444
+ #
1445
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1446
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1447
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1448
+ def get_course_course_work_material(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
1449
+ command = make_simple_command(:get, 'v1/courses/{courseId}/courseWorkMaterials/{id}', options)
1450
+ command.response_representation = Google::Apis::ClassroomV1::CourseWorkMaterial::Representation
1451
+ command.response_class = Google::Apis::ClassroomV1::CourseWorkMaterial
1452
+ command.params['courseId'] = course_id unless course_id.nil?
1453
+ command.params['id'] = id unless id.nil?
1454
+ command.query['fields'] = fields unless fields.nil?
1455
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1456
+ execute_or_queue_command(command, &block)
1457
+ end
1458
+
1459
+ # Returns a list of course work material that the requester is permitted to view.
1460
+ # Course students may only view `PUBLISHED` course work material. Course
1461
+ # teachers and domain administrators may view all course work material. This
1462
+ # method returns the following error codes: * `PERMISSION_DENIED` if the
1463
+ # requesting user is not permitted to access the requested course or for access
1464
+ # errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the
1465
+ # requested course does not exist.
1466
+ # @param [String] course_id
1467
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1468
+ # identifier or an alias.
1469
+ # @param [Array<String>, String] course_work_material_states
1470
+ # Restriction on the work status to return. Only course work material that
1471
+ # matches is returned. If unspecified, items with a work status of `PUBLISHED`
1472
+ # is returned.
1473
+ # @param [String] material_drive_id
1474
+ # Optional filtering for course work material with at least one Drive material
1475
+ # whose ID matches the provided string. If `material_link` is also specified,
1476
+ # course work material must have materials matching both filters.
1477
+ # @param [String] material_link
1478
+ # Optional filtering for course work material with at least one link material
1479
+ # whose URL partially matches the provided string.
1480
+ # @param [String] order_by
1481
+ # Optional sort ordering for results. A comma-separated list of fields with an
1482
+ # optional sort direction keyword. Supported field is `updateTime`. Supported
1483
+ # direction keywords are `asc` and `desc`. If not specified, `updateTime desc`
1484
+ # is the default behavior. Examples: `updateTime asc`, `updateTime`
1485
+ # @param [Fixnum] page_size
1486
+ # Maximum number of items to return. Zero or unspecified indicates that the
1487
+ # server may assign a maximum. The server may return fewer than the specified
1488
+ # number of results.
1489
+ # @param [String] page_token
1490
+ # nextPageToken value returned from a previous list call, indicating that the
1491
+ # subsequent page of results should be returned. The list request must be
1492
+ # otherwise identical to the one that resulted in this token.
1493
+ # @param [String] fields
1494
+ # Selector specifying which fields to include in a partial response.
1495
+ # @param [String] quota_user
1496
+ # Available to use for quota purposes for server-side applications. Can be any
1497
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1498
+ # @param [Google::Apis::RequestOptions] options
1499
+ # Request-specific options
1500
+ #
1501
+ # @yield [result, err] Result & error if block supplied
1502
+ # @yieldparam result [Google::Apis::ClassroomV1::ListCourseWorkMaterialResponse] parsed result object
1503
+ # @yieldparam err [StandardError] error object if request failed
1504
+ #
1505
+ # @return [Google::Apis::ClassroomV1::ListCourseWorkMaterialResponse]
1506
+ #
1507
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1508
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1509
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1510
+ def list_course_course_work_materials(course_id, course_work_material_states: nil, material_drive_id: nil, material_link: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1511
+ command = make_simple_command(:get, 'v1/courses/{courseId}/courseWorkMaterials', options)
1512
+ command.response_representation = Google::Apis::ClassroomV1::ListCourseWorkMaterialResponse::Representation
1513
+ command.response_class = Google::Apis::ClassroomV1::ListCourseWorkMaterialResponse
1514
+ command.params['courseId'] = course_id unless course_id.nil?
1515
+ command.query['courseWorkMaterialStates'] = course_work_material_states unless course_work_material_states.nil?
1516
+ command.query['materialDriveId'] = material_drive_id unless material_drive_id.nil?
1517
+ command.query['materialLink'] = material_link unless material_link.nil?
1518
+ command.query['orderBy'] = order_by unless order_by.nil?
1519
+ command.query['pageSize'] = page_size unless page_size.nil?
1520
+ command.query['pageToken'] = page_token unless page_token.nil?
1521
+ command.query['fields'] = fields unless fields.nil?
1522
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1523
+ execute_or_queue_command(command, &block)
1524
+ end
1525
+
1526
+ # Updates one or more fields of a course work material. This method returns the
1527
+ # following error codes: * `PERMISSION_DENIED` if the requesting developer
1528
+ # project for access errors. * `INVALID_ARGUMENT` if the request is malformed. *
1529
+ # `FAILED_PRECONDITION` if the requested course work material has already been
1530
+ # deleted. * `NOT_FOUND` if the requested course or course work material does
1531
+ # not exist
1532
+ # @param [String] course_id
1533
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1534
+ # identifier or an alias.
1535
+ # @param [String] id
1536
+ # Identifier of the course work material.
1537
+ # @param [Google::Apis::ClassroomV1::CourseWorkMaterial] course_work_material_object
1538
+ # @param [String] update_mask
1539
+ # Mask that identifies which fields on the course work material to update. This
1540
+ # field is required to do an update. The update fails if invalid fields are
1541
+ # specified. If a field supports empty values, it can be cleared by specifying
1542
+ # it in the update mask and not in the course work material object. If a field
1543
+ # that does not support empty values is included in the update mask and not set
1544
+ # in the course work material object, an `INVALID_ARGUMENT` error is returned.
1545
+ # The following fields may be specified by teachers: * `title` * `description` *
1546
+ # `state` * `scheduled_time` * `topic_id`
1547
+ # @param [String] fields
1548
+ # Selector specifying which fields to include in a partial response.
1549
+ # @param [String] quota_user
1550
+ # Available to use for quota purposes for server-side applications. Can be any
1551
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1552
+ # @param [Google::Apis::RequestOptions] options
1553
+ # Request-specific options
1554
+ #
1555
+ # @yield [result, err] Result & error if block supplied
1556
+ # @yieldparam result [Google::Apis::ClassroomV1::CourseWorkMaterial] parsed result object
1557
+ # @yieldparam err [StandardError] error object if request failed
1558
+ #
1559
+ # @return [Google::Apis::ClassroomV1::CourseWorkMaterial]
1560
+ #
1561
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1562
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1563
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1564
+ def patch_course_course_work_material(course_id, id, course_work_material_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1565
+ command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWorkMaterials/{id}', options)
1566
+ command.request_representation = Google::Apis::ClassroomV1::CourseWorkMaterial::Representation
1567
+ command.request_object = course_work_material_object
1568
+ command.response_representation = Google::Apis::ClassroomV1::CourseWorkMaterial::Representation
1569
+ command.response_class = Google::Apis::ClassroomV1::CourseWorkMaterial
1570
+ command.params['courseId'] = course_id unless course_id.nil?
1571
+ command.params['id'] = id unless id.nil?
1572
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1573
+ command.query['fields'] = fields unless fields.nil?
1574
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1575
+ execute_or_queue_command(command, &block)
1576
+ end
1577
+
1578
+ # Adds a user as a student of a course. This method returns the following error
1579
+ # codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create
1580
+ # students in this course or for access errors. * `NOT_FOUND` if the requested
1581
+ # course ID does not exist. * `FAILED_PRECONDITION` if the requested user's
1582
+ # account is disabled, for the following request errors: *
1583
+ # CourseMemberLimitReached * CourseNotModifiable *
1584
+ # UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if the user is already a
1585
+ # student or teacher in the course.
1491
1586
  # @param [String] course_id
1492
- # Identifier of the course to create the student in.
1493
- # This identifier can be either the Classroom-assigned identifier or an
1494
- # alias.
1587
+ # Identifier of the course to create the student in. This identifier can be
1588
+ # either the Classroom-assigned identifier or an alias.
1495
1589
  # @param [Google::Apis::ClassroomV1::Student] student_object
1496
1590
  # @param [String] enrollment_code
1497
- # Enrollment code of the course to create the student in.
1498
- # This code is required if userId
1499
- # corresponds to the requesting user; it may be omitted if the requesting
1500
- # user has administrative permissions to create students for any user.
1591
+ # Enrollment code of the course to create the student in. This code is required
1592
+ # if userId corresponds to the requesting user; it may be omitted if the
1593
+ # requesting user has administrative permissions to create students for any user.
1501
1594
  # @param [String] fields
1502
1595
  # Selector specifying which fields to include in a partial response.
1503
1596
  # @param [String] quota_user
@@ -1528,22 +1621,17 @@ module Google
1528
1621
  execute_or_queue_command(command, &block)
1529
1622
  end
1530
1623
 
1531
- # Deletes a student of a course.
1532
- # This method returns the following error codes:
1533
- # * `PERMISSION_DENIED` if the requesting user is not permitted to delete
1534
- # students of this course or for access errors.
1535
- # * `NOT_FOUND` if no student of this course has the requested ID or if the
1536
- # course does not exist.
1624
+ # Deletes a student of a course. This method returns the following error codes: *
1625
+ # `PERMISSION_DENIED` if the requesting user is not permitted to delete
1626
+ # students of this course or for access errors. * `NOT_FOUND` if no student of
1627
+ # this course has the requested ID or if the course does not exist.
1537
1628
  # @param [String] course_id
1538
- # Identifier of the course.
1539
- # This identifier can be either the Classroom-assigned identifier or an
1540
- # alias.
1629
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1630
+ # identifier or an alias.
1541
1631
  # @param [String] user_id
1542
1632
  # Identifier of the student to delete. The identifier can be one of the
1543
- # following:
1544
- # * the numeric identifier for the user
1545
- # * the email address of the user
1546
- # * the string literal `"me"`, indicating the requesting user
1633
+ # following: * the numeric identifier for the user * the email address of the
1634
+ # user * the string literal `"me"`, indicating the requesting user
1547
1635
  # @param [String] fields
1548
1636
  # Selector specifying which fields to include in a partial response.
1549
1637
  # @param [String] quota_user
@@ -1572,22 +1660,17 @@ module Google
1572
1660
  execute_or_queue_command(command, &block)
1573
1661
  end
1574
1662
 
1575
- # Returns a student of a course.
1576
- # This method returns the following error codes:
1577
- # * `PERMISSION_DENIED` if the requesting user is not permitted to view
1578
- # students of this course or for access errors.
1579
- # * `NOT_FOUND` if no student of this course has the requested ID or if the
1580
- # course does not exist.
1663
+ # Returns a student of a course. This method returns the following error codes: *
1664
+ # `PERMISSION_DENIED` if the requesting user is not permitted to view students
1665
+ # of this course or for access errors. * `NOT_FOUND` if no student of this
1666
+ # course has the requested ID or if the course does not exist.
1581
1667
  # @param [String] course_id
1582
- # Identifier of the course.
1583
- # This identifier can be either the Classroom-assigned identifier or an
1584
- # alias.
1668
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1669
+ # identifier or an alias.
1585
1670
  # @param [String] user_id
1586
1671
  # Identifier of the student to return. The identifier can be one of the
1587
- # following:
1588
- # * the numeric identifier for the user
1589
- # * the email address of the user
1590
- # * the string literal `"me"`, indicating the requesting user
1672
+ # following: * the numeric identifier for the user * the email address of the
1673
+ # user * the string literal `"me"`, indicating the requesting user
1591
1674
  # @param [String] fields
1592
1675
  # Selector specifying which fields to include in a partial response.
1593
1676
  # @param [String] quota_user
@@ -1616,24 +1699,18 @@ module Google
1616
1699
  execute_or_queue_command(command, &block)
1617
1700
  end
1618
1701
 
1619
- # Returns a list of students of this course that the requester
1620
- # is permitted to view.
1621
- # This method returns the following error codes:
1622
- # * `NOT_FOUND` if the course does not exist.
1623
- # * `PERMISSION_DENIED` for access errors.
1702
+ # Returns a list of students of this course that the requester is permitted to
1703
+ # view. This method returns the following error codes: * `NOT_FOUND` if the
1704
+ # course does not exist. * `PERMISSION_DENIED` for access errors.
1624
1705
  # @param [String] course_id
1625
- # Identifier of the course.
1626
- # This identifier can be either the Classroom-assigned identifier or an
1627
- # alias.
1706
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1707
+ # identifier or an alias.
1628
1708
  # @param [Fixnum] page_size
1629
1709
  # Maximum number of items to return. The default is 30 if unspecified or `0`.
1630
1710
  # The server may return fewer than the specified number of results.
1631
1711
  # @param [String] page_token
1632
- # nextPageToken
1633
- # value returned from a previous
1634
- # list call, indicating that
1635
- # the subsequent page of results should be returned.
1636
- # The list request must be
1712
+ # nextPageToken value returned from a previous list call, indicating that the
1713
+ # subsequent page of results should be returned. The list request must be
1637
1714
  # otherwise identical to the one that resulted in this token.
1638
1715
  # @param [String] fields
1639
1716
  # Selector specifying which fields to include in a partial response.
@@ -1664,23 +1741,17 @@ module Google
1664
1741
  execute_or_queue_command(command, &block)
1665
1742
  end
1666
1743
 
1667
- # Creates a teacher of a course.
1668
- # This method returns the following error codes:
1669
- # * `PERMISSION_DENIED` if the requesting user is not permitted to create
1670
- # teachers in this course or for access errors.
1671
- # * `NOT_FOUND` if the requested course ID does not exist.
1672
- # * `FAILED_PRECONDITION` if the requested user's account is disabled,
1673
- # for the following request errors:
1674
- # * CourseMemberLimitReached
1675
- # * CourseNotModifiable
1676
- # * CourseTeacherLimitReached
1677
- # * UserGroupsMembershipLimitReached
1678
- # * `ALREADY_EXISTS` if the user is already a teacher or student in the
1679
- # course.
1744
+ # Creates a teacher of a course. This method returns the following error codes: *
1745
+ # `PERMISSION_DENIED` if the requesting user is not permitted to create
1746
+ # teachers in this course or for access errors. * `NOT_FOUND` if the requested
1747
+ # course ID does not exist. * `FAILED_PRECONDITION` if the requested user's
1748
+ # account is disabled, for the following request errors: *
1749
+ # CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached *
1750
+ # UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if the user is already a
1751
+ # teacher or student in the course.
1680
1752
  # @param [String] course_id
1681
- # Identifier of the course.
1682
- # This identifier can be either the Classroom-assigned identifier or an
1683
- # alias.
1753
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1754
+ # identifier or an alias.
1684
1755
  # @param [Google::Apis::ClassroomV1::Teacher] teacher_object
1685
1756
  # @param [String] fields
1686
1757
  # Selector specifying which fields to include in a partial response.
@@ -1711,24 +1782,19 @@ module Google
1711
1782
  execute_or_queue_command(command, &block)
1712
1783
  end
1713
1784
 
1714
- # Deletes a teacher of a course.
1715
- # This method returns the following error codes:
1716
- # * `PERMISSION_DENIED` if the requesting user is not permitted to delete
1717
- # teachers of this course or for access errors.
1718
- # * `NOT_FOUND` if no teacher of this course has the requested ID or if the
1719
- # course does not exist.
1720
- # * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher
1721
- # of this course.
1785
+ # Deletes a teacher of a course. This method returns the following error codes: *
1786
+ # `PERMISSION_DENIED` if the requesting user is not permitted to delete
1787
+ # teachers of this course or for access errors. * `NOT_FOUND` if no teacher of
1788
+ # this course has the requested ID or if the course does not exist. * `
1789
+ # FAILED_PRECONDITION` if the requested ID belongs to the primary teacher of
1790
+ # this course.
1722
1791
  # @param [String] course_id
1723
- # Identifier of the course.
1724
- # This identifier can be either the Classroom-assigned identifier or an
1725
- # alias.
1792
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1793
+ # identifier or an alias.
1726
1794
  # @param [String] user_id
1727
1795
  # Identifier of the teacher to delete. The identifier can be one of the
1728
- # following:
1729
- # * the numeric identifier for the user
1730
- # * the email address of the user
1731
- # * the string literal `"me"`, indicating the requesting user
1796
+ # following: * the numeric identifier for the user * the email address of the
1797
+ # user * the string literal `"me"`, indicating the requesting user
1732
1798
  # @param [String] fields
1733
1799
  # Selector specifying which fields to include in a partial response.
1734
1800
  # @param [String] quota_user
@@ -1757,22 +1823,17 @@ module Google
1757
1823
  execute_or_queue_command(command, &block)
1758
1824
  end
1759
1825
 
1760
- # Returns a teacher of a course.
1761
- # This method returns the following error codes:
1762
- # * `PERMISSION_DENIED` if the requesting user is not permitted to view
1763
- # teachers of this course or for access errors.
1764
- # * `NOT_FOUND` if no teacher of this course has the requested ID or if the
1765
- # course does not exist.
1826
+ # Returns a teacher of a course. This method returns the following error codes: *
1827
+ # `PERMISSION_DENIED` if the requesting user is not permitted to view teachers
1828
+ # of this course or for access errors. * `NOT_FOUND` if no teacher of this
1829
+ # course has the requested ID or if the course does not exist.
1766
1830
  # @param [String] course_id
1767
- # Identifier of the course.
1768
- # This identifier can be either the Classroom-assigned identifier or an
1769
- # alias.
1831
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1832
+ # identifier or an alias.
1770
1833
  # @param [String] user_id
1771
1834
  # Identifier of the teacher to return. The identifier can be one of the
1772
- # following:
1773
- # * the numeric identifier for the user
1774
- # * the email address of the user
1775
- # * the string literal `"me"`, indicating the requesting user
1835
+ # following: * the numeric identifier for the user * the email address of the
1836
+ # user * the string literal `"me"`, indicating the requesting user
1776
1837
  # @param [String] fields
1777
1838
  # Selector specifying which fields to include in a partial response.
1778
1839
  # @param [String] quota_user
@@ -1801,24 +1862,18 @@ module Google
1801
1862
  execute_or_queue_command(command, &block)
1802
1863
  end
1803
1864
 
1804
- # Returns a list of teachers of this course that the requester
1805
- # is permitted to view.
1806
- # This method returns the following error codes:
1807
- # * `NOT_FOUND` if the course does not exist.
1808
- # * `PERMISSION_DENIED` for access errors.
1865
+ # Returns a list of teachers of this course that the requester is permitted to
1866
+ # view. This method returns the following error codes: * `NOT_FOUND` if the
1867
+ # course does not exist. * `PERMISSION_DENIED` for access errors.
1809
1868
  # @param [String] course_id
1810
- # Identifier of the course.
1811
- # This identifier can be either the Classroom-assigned identifier or an
1812
- # alias.
1869
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1870
+ # identifier or an alias.
1813
1871
  # @param [Fixnum] page_size
1814
1872
  # Maximum number of items to return. The default is 30 if unspecified or `0`.
1815
1873
  # The server may return fewer than the specified number of results.
1816
1874
  # @param [String] page_token
1817
- # nextPageToken
1818
- # value returned from a previous
1819
- # list call, indicating that
1820
- # the subsequent page of results should be returned.
1821
- # The list request must be
1875
+ # nextPageToken value returned from a previous list call, indicating that the
1876
+ # subsequent page of results should be returned. The list request must be
1822
1877
  # otherwise identical to the one that resulted in this token.
1823
1878
  # @param [String] fields
1824
1879
  # Selector specifying which fields to include in a partial response.
@@ -1849,17 +1904,14 @@ module Google
1849
1904
  execute_or_queue_command(command, &block)
1850
1905
  end
1851
1906
 
1852
- # Creates a topic.
1853
- # This method returns the following error codes:
1854
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
1855
- # requested course, create a topic in the requested course,
1856
- # or for access errors.
1857
- # * `INVALID_ARGUMENT` if the request is malformed.
1858
- # * `NOT_FOUND` if the requested course does not exist.
1907
+ # Creates a topic. This method returns the following error codes: * `
1908
+ # PERMISSION_DENIED` if the requesting user is not permitted to access the
1909
+ # requested course, create a topic in the requested course, or for access errors.
1910
+ # * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the
1911
+ # requested course does not exist.
1859
1912
  # @param [String] course_id
1860
- # Identifier of the course.
1861
- # This identifier can be either the Classroom-assigned identifier or an
1862
- # alias.
1913
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1914
+ # identifier or an alias.
1863
1915
  # @param [Google::Apis::ClassroomV1::Topic] topic_object
1864
1916
  # @param [String] fields
1865
1917
  # Selector specifying which fields to include in a partial response.
@@ -1890,17 +1942,14 @@ module Google
1890
1942
  execute_or_queue_command(command, &block)
1891
1943
  end
1892
1944
 
1893
- # Deletes a topic.
1894
- # This method returns the following error codes:
1895
- # * `PERMISSION_DENIED` if the requesting user is not allowed to delete the
1896
- # requested topic or for access errors.
1897
- # * `FAILED_PRECONDITION` if the requested topic has already been
1898
- # deleted.
1899
- # * `NOT_FOUND` if no course or topic exists with the requested ID.
1945
+ # Deletes a topic. This method returns the following error codes: * `
1946
+ # PERMISSION_DENIED` if the requesting user is not allowed to delete the
1947
+ # requested topic or for access errors. * `FAILED_PRECONDITION` if the requested
1948
+ # topic has already been deleted. * `NOT_FOUND` if no course or topic exists
1949
+ # with the requested ID.
1900
1950
  # @param [String] course_id
1901
- # Identifier of the course.
1902
- # This identifier can be either the Classroom-assigned identifier or an
1903
- # alias.
1951
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1952
+ # identifier or an alias.
1904
1953
  # @param [String] id
1905
1954
  # Identifier of the topic to delete.
1906
1955
  # @param [String] fields
@@ -1931,12 +1980,11 @@ module Google
1931
1980
  execute_or_queue_command(command, &block)
1932
1981
  end
1933
1982
 
1934
- # Returns a topic.
1935
- # This method returns the following error codes:
1936
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
1937
- # requested course or topic, or for access errors.
1938
- # * `INVALID_ARGUMENT` if the request is malformed.
1939
- # * `NOT_FOUND` if the requested course or topic does not exist.
1983
+ # Returns a topic. This method returns the following error codes: * `
1984
+ # PERMISSION_DENIED` if the requesting user is not permitted to access the
1985
+ # requested course or topic, or for access errors. * `INVALID_ARGUMENT` if the
1986
+ # request is malformed. * `NOT_FOUND` if the requested course or topic does not
1987
+ # exist.
1940
1988
  # @param [String] course_id
1941
1989
  # Identifier of the course.
1942
1990
  # @param [String] id
@@ -1969,27 +2017,22 @@ module Google
1969
2017
  execute_or_queue_command(command, &block)
1970
2018
  end
1971
2019
 
1972
- # Returns the list of topics that the requester is permitted to view.
1973
- # This method returns the following error codes:
1974
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access
1975
- # the requested course or for access errors.
1976
- # * `INVALID_ARGUMENT` if the request is malformed.
1977
- # * `NOT_FOUND` if the requested course does not exist.
2020
+ # Returns the list of topics that the requester is permitted to view. This
2021
+ # method returns the following error codes: * `PERMISSION_DENIED` if the
2022
+ # requesting user is not permitted to access the requested course or for access
2023
+ # errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the
2024
+ # requested course does not exist.
1978
2025
  # @param [String] course_id
1979
- # Identifier of the course.
1980
- # This identifier can be either the Classroom-assigned identifier or an
1981
- # alias.
2026
+ # Identifier of the course. This identifier can be either the Classroom-assigned
2027
+ # identifier or an alias.
1982
2028
  # @param [Fixnum] page_size
1983
2029
  # Maximum number of items to return. Zero or unspecified indicates that the
1984
- # server may assign a maximum.
1985
- # The server may return fewer than the specified number of results.
2030
+ # server may assign a maximum. The server may return fewer than the specified
2031
+ # number of results.
1986
2032
  # @param [String] page_token
1987
- # nextPageToken
1988
- # value returned from a previous
1989
- # list call,
1990
- # indicating that the subsequent page of results should be returned.
1991
- # The list request
1992
- # must be otherwise identical to the one that resulted in this token.
2033
+ # nextPageToken value returned from a previous list call, indicating that the
2034
+ # subsequent page of results should be returned. The list request must be
2035
+ # otherwise identical to the one that resulted in this token.
1993
2036
  # @param [String] fields
1994
2037
  # Selector specifying which fields to include in a partial response.
1995
2038
  # @param [String] quota_user
@@ -2019,28 +2062,24 @@ module Google
2019
2062
  execute_or_queue_command(command, &block)
2020
2063
  end
2021
2064
 
2022
- # Updates one or more fields of a topic.
2023
- # This method returns the following error codes:
2024
- # * `PERMISSION_DENIED` if the requesting developer project did not create
2025
- # the corresponding topic or for access errors.
2026
- # * `INVALID_ARGUMENT` if the request is malformed.
2027
- # * `NOT_FOUND` if the requested course or topic does not exist
2065
+ # Updates one or more fields of a topic. This method returns the following error
2066
+ # codes: * `PERMISSION_DENIED` if the requesting developer project did not
2067
+ # create the corresponding topic or for access errors. * `INVALID_ARGUMENT` if
2068
+ # the request is malformed. * `NOT_FOUND` if the requested course or topic does
2069
+ # not exist
2028
2070
  # @param [String] course_id
2029
- # Identifier of the course.
2030
- # This identifier can be either the Classroom-assigned identifier or an
2031
- # alias.
2071
+ # Identifier of the course. This identifier can be either the Classroom-assigned
2072
+ # identifier or an alias.
2032
2073
  # @param [String] id
2033
2074
  # Identifier of the topic.
2034
2075
  # @param [Google::Apis::ClassroomV1::Topic] topic_object
2035
2076
  # @param [String] update_mask
2036
- # Mask that identifies which fields on the topic to update.
2037
- # This field is required to do an update. The update fails if invalid
2038
- # fields are specified. If a field supports empty values, it can be cleared
2039
- # by specifying it in the update mask and not in the Topic object. If a
2040
- # field that does not support empty values is included in the update mask and
2041
- # not set in the Topic object, an `INVALID_ARGUMENT` error is
2042
- # returned.
2043
- # The following fields may be specified:
2077
+ # Mask that identifies which fields on the topic to update. This field is
2078
+ # required to do an update. The update fails if invalid fields are specified. If
2079
+ # a field supports empty values, it can be cleared by specifying it in the
2080
+ # update mask and not in the Topic object. If a field that does not support
2081
+ # empty values is included in the update mask and not set in the Topic object,
2082
+ # an `INVALID_ARGUMENT` error is returned. The following fields may be specified:
2044
2083
  # * `name`
2045
2084
  # @param [String] fields
2046
2085
  # Selector specifying which fields to include in a partial response.
@@ -2073,18 +2112,14 @@ module Google
2073
2112
  execute_or_queue_command(command, &block)
2074
2113
  end
2075
2114
 
2076
- # Accepts an invitation, removing it and adding the invited user to the
2077
- # teachers or students (as appropriate) of the specified course. Only the
2078
- # invited user may accept an invitation.
2079
- # This method returns the following error codes:
2080
- # * `PERMISSION_DENIED` if the requesting user is not permitted to accept the
2081
- # requested invitation or for access errors.
2082
- # * `FAILED_PRECONDITION` for the following request errors:
2083
- # * CourseMemberLimitReached
2084
- # * CourseNotModifiable
2085
- # * CourseTeacherLimitReached
2086
- # * UserGroupsMembershipLimitReached
2087
- # * `NOT_FOUND` if no invitation exists with the requested ID.
2115
+ # Accepts an invitation, removing it and adding the invited user to the teachers
2116
+ # or students (as appropriate) of the specified course. Only the invited user
2117
+ # may accept an invitation. This method returns the following error codes: * `
2118
+ # PERMISSION_DENIED` if the requesting user is not permitted to accept the
2119
+ # requested invitation or for access errors. * `FAILED_PRECONDITION` for the
2120
+ # following request errors: * CourseMemberLimitReached * CourseNotModifiable *
2121
+ # CourseTeacherLimitReached * UserGroupsMembershipLimitReached * `NOT_FOUND` if
2122
+ # no invitation exists with the requested ID.
2088
2123
  # @param [String] id
2089
2124
  # Identifier of the invitation to accept.
2090
2125
  # @param [String] fields
@@ -2114,16 +2149,15 @@ module Google
2114
2149
  execute_or_queue_command(command, &block)
2115
2150
  end
2116
2151
 
2117
- # Creates an invitation. Only one invitation for a user and course may exist
2118
- # at a time. Delete and re-create an invitation to make changes.
2119
- # This method returns the following error codes:
2120
- # * `PERMISSION_DENIED` if the requesting user is not permitted to create
2121
- # invitations for this course or for access errors.
2122
- # * `NOT_FOUND` if the course or the user does not exist.
2123
- # * `FAILED_PRECONDITION` if the requested user's account is disabled or if
2124
- # the user already has this role or a role with greater permissions.
2125
- # * `ALREADY_EXISTS` if an invitation for the specified user and course
2126
- # already exists.
2152
+ # Creates an invitation. Only one invitation for a user and course may exist at
2153
+ # a time. Delete and re-create an invitation to make changes. This method
2154
+ # returns the following error codes: * `PERMISSION_DENIED` if the requesting
2155
+ # user is not permitted to create invitations for this course or for access
2156
+ # errors. * `NOT_FOUND` if the course or the user does not exist. * `
2157
+ # FAILED_PRECONDITION` if the requested user's account is disabled or if the
2158
+ # user already has this role or a role with greater permissions. * `
2159
+ # ALREADY_EXISTS` if an invitation for the specified user and course already
2160
+ # exists.
2127
2161
  # @param [Google::Apis::ClassroomV1::Invitation] invitation_object
2128
2162
  # @param [String] fields
2129
2163
  # Selector specifying which fields to include in a partial response.
@@ -2153,11 +2187,10 @@ module Google
2153
2187
  execute_or_queue_command(command, &block)
2154
2188
  end
2155
2189
 
2156
- # Deletes an invitation.
2157
- # This method returns the following error codes:
2158
- # * `PERMISSION_DENIED` if the requesting user is not permitted to delete the
2159
- # requested invitation or for access errors.
2160
- # * `NOT_FOUND` if no invitation exists with the requested ID.
2190
+ # Deletes an invitation. This method returns the following error codes: * `
2191
+ # PERMISSION_DENIED` if the requesting user is not permitted to delete the
2192
+ # requested invitation or for access errors. * `NOT_FOUND` if no invitation
2193
+ # exists with the requested ID.
2161
2194
  # @param [String] id
2162
2195
  # Identifier of the invitation to delete.
2163
2196
  # @param [String] fields
@@ -2187,11 +2220,10 @@ module Google
2187
2220
  execute_or_queue_command(command, &block)
2188
2221
  end
2189
2222
 
2190
- # Returns an invitation.
2191
- # This method returns the following error codes:
2192
- # * `PERMISSION_DENIED` if the requesting user is not permitted to view the
2193
- # requested invitation or for access errors.
2194
- # * `NOT_FOUND` if no invitation exists with the requested ID.
2223
+ # Returns an invitation. This method returns the following error codes: * `
2224
+ # PERMISSION_DENIED` if the requesting user is not permitted to view the
2225
+ # requested invitation or for access errors. * `NOT_FOUND` if no invitation
2226
+ # exists with the requested ID.
2195
2227
  # @param [String] id
2196
2228
  # Identifier of the invitation to return.
2197
2229
  # @param [String] fields
@@ -2221,32 +2253,26 @@ module Google
2221
2253
  execute_or_queue_command(command, &block)
2222
2254
  end
2223
2255
 
2224
- # Returns a list of invitations that the requesting user is permitted to
2225
- # view, restricted to those that match the list request.
2226
- # *Note:* At least one of `user_id` or `course_id` must be supplied. Both
2227
- # fields can be supplied.
2228
- # This method returns the following error codes:
2229
- # * `PERMISSION_DENIED` for access errors.
2256
+ # Returns a list of invitations that the requesting user is permitted to view,
2257
+ # restricted to those that match the list request. *Note:* At least one of `
2258
+ # user_id` or `course_id` must be supplied. Both fields can be supplied. This
2259
+ # method returns the following error codes: * `PERMISSION_DENIED` for access
2260
+ # errors.
2230
2261
  # @param [String] course_id
2231
2262
  # Restricts returned invitations to those for a course with the specified
2232
2263
  # identifier.
2233
2264
  # @param [Fixnum] page_size
2234
- # Maximum number of items to return. The default is 500 if unspecified or
2235
- # `0`.
2265
+ # Maximum number of items to return. The default is 500 if unspecified or `0`.
2236
2266
  # The server may return fewer than the specified number of results.
2237
2267
  # @param [String] page_token
2238
- # nextPageToken
2239
- # value returned from a previous
2240
- # list call, indicating
2241
- # that the subsequent page of results should be returned.
2242
- # The list request must be
2268
+ # nextPageToken value returned from a previous list call, indicating that the
2269
+ # subsequent page of results should be returned. The list request must be
2243
2270
  # otherwise identical to the one that resulted in this token.
2244
2271
  # @param [String] user_id
2245
2272
  # Restricts returned invitations to those for a specific user. The identifier
2246
- # can be one of the following:
2247
- # * the numeric identifier for the user
2248
- # * the email address of the user
2249
- # * the string literal `"me"`, indicating the requesting user
2273
+ # can be one of the following: * the numeric identifier for the user * the email
2274
+ # address of the user * the string literal `"me"`, indicating the requesting
2275
+ # user
2250
2276
  # @param [String] fields
2251
2277
  # Selector specifying which fields to include in a partial response.
2252
2278
  # @param [String] quota_user
@@ -2279,33 +2305,25 @@ module Google
2279
2305
 
2280
2306
  # Creates a `Registration`, causing Classroom to start sending notifications
2281
2307
  # from the provided `feed` to the destination provided in `cloudPubSubTopic`.
2282
- # Returns the created `Registration`. Currently, this will be the same as
2283
- # the argument, but with server-assigned fields such as `expiry_time` and
2284
- # `id` filled in.
2285
- # Note that any value specified for the `expiry_time` or `id` fields will be
2286
- # ignored.
2287
- # While Classroom may validate the `cloudPubSubTopic` and return errors on a
2288
- # best effort basis, it is the caller's responsibility to ensure that it
2289
- # exists and that Classroom has permission to publish to it.
2290
- # This method may return the following error codes:
2291
- # * `PERMISSION_DENIED` if:
2292
- # * the authenticated user does not have permission to receive
2293
- # notifications from the requested field; or
2294
- # * the current user has not granted access to the current Cloud project
2295
- # with the appropriate scope for the requested feed. Note that
2296
- # domain-wide delegation of authority is not currently supported for
2297
- # this purpose. If the request has the appropriate scope, but no grant
2298
- # exists, a Request Errors is returned.
2299
- # * another access error is encountered.
2300
- # * `INVALID_ARGUMENT` if:
2301
- # * no `cloudPubsubTopic` is specified, or the specified
2302
- # `cloudPubsubTopic` is not valid; or
2303
- # * no `feed` is specified, or the specified `feed` is not valid.
2304
- # * `NOT_FOUND` if:
2305
- # * the specified `feed` cannot be located, or the requesting user does
2306
- # not have permission to determine whether or not it exists; or
2307
- # * the specified `cloudPubsubTopic` cannot be located, or Classroom has
2308
- # not been granted permission to publish to it.
2308
+ # Returns the created `Registration`. Currently, this will be the same as the
2309
+ # argument, but with server-assigned fields such as `expiry_time` and `id`
2310
+ # filled in. Note that any value specified for the `expiry_time` or `id` fields
2311
+ # will be ignored. While Classroom may validate the `cloudPubSubTopic` and
2312
+ # return errors on a best effort basis, it is the caller's responsibility to
2313
+ # ensure that it exists and that Classroom has permission to publish to it. This
2314
+ # method may return the following error codes: * `PERMISSION_DENIED` if: * the
2315
+ # authenticated user does not have permission to receive notifications from the
2316
+ # requested field; or * the current user has not granted access to the current
2317
+ # Cloud project with the appropriate scope for the requested feed. Note that
2318
+ # domain-wide delegation of authority is not currently supported for this
2319
+ # purpose. If the request has the appropriate scope, but no grant exists, a
2320
+ # Request Errors is returned. * another access error is encountered. * `
2321
+ # INVALID_ARGUMENT` if: * no `cloudPubsubTopic` is specified, or the specified `
2322
+ # cloudPubsubTopic` is not valid; or * no `feed` is specified, or the specified `
2323
+ # feed` is not valid. * `NOT_FOUND` if: * the specified `feed` cannot be located,
2324
+ # or the requesting user does not have permission to determine whether or not
2325
+ # it exists; or * the specified `cloudPubsubTopic` cannot be located, or
2326
+ # Classroom has not been granted permission to publish to it.
2309
2327
  # @param [Google::Apis::ClassroomV1::Registration] registration_object
2310
2328
  # @param [String] fields
2311
2329
  # Selector specifying which fields to include in a partial response.
@@ -2335,8 +2353,8 @@ module Google
2335
2353
  execute_or_queue_command(command, &block)
2336
2354
  end
2337
2355
 
2338
- # Deletes a `Registration`, causing Classroom to stop sending notifications
2339
- # for that `Registration`.
2356
+ # Deletes a `Registration`, causing Classroom to stop sending notifications for
2357
+ # that `Registration`.
2340
2358
  # @param [String] registration_id
2341
2359
  # The `registration_id` of the `Registration` to be deleted.
2342
2360
  # @param [String] fields
@@ -2366,17 +2384,13 @@ module Google
2366
2384
  execute_or_queue_command(command, &block)
2367
2385
  end
2368
2386
 
2369
- # Returns a user profile.
2370
- # This method returns the following error codes:
2371
- # * `PERMISSION_DENIED` if the requesting user is not permitted to access
2372
- # this user profile, if no profile exists with the requested ID, or for
2373
- # access errors.
2387
+ # Returns a user profile. This method returns the following error codes: * `
2388
+ # PERMISSION_DENIED` if the requesting user is not permitted to access this user
2389
+ # profile, if no profile exists with the requested ID, or for access errors.
2374
2390
  # @param [String] user_id
2375
2391
  # Identifier of the profile to return. The identifier can be one of the
2376
- # following:
2377
- # * the numeric identifier for the user
2378
- # * the email address of the user
2379
- # * the string literal `"me"`, indicating the requesting user
2392
+ # following: * the numeric identifier for the user * the email address of the
2393
+ # user * the string literal `"me"`, indicating the requesting user
2380
2394
  # @param [String] fields
2381
2395
  # Selector specifying which fields to include in a partial response.
2382
2396
  # @param [String] quota_user
@@ -2404,32 +2418,28 @@ module Google
2404
2418
  execute_or_queue_command(command, &block)
2405
2419
  end
2406
2420
 
2407
- # Creates a guardian invitation, and sends an email to the guardian asking
2408
- # them to confirm that they are the student's guardian.
2409
- # Once the guardian accepts the invitation, their `state` will change to
2410
- # `COMPLETED` and they will start receiving guardian notifications. A
2411
- # `Guardian` resource will also be created to represent the active guardian.
2412
- # The request object must have the `student_id` and
2413
- # `invited_email_address` fields set. Failing to set these fields, or
2414
- # setting any other fields in the request, will result in an error.
2415
- # This method returns the following error codes:
2416
- # * `PERMISSION_DENIED` if the current user does not have permission to
2417
- # manage guardians, if the guardian in question has already rejected
2418
- # too many requests for that student, if guardians are not enabled for the
2419
- # domain in question, or for other access errors.
2420
- # * `RESOURCE_EXHAUSTED` if the student or guardian has exceeded the guardian
2421
- # link limit.
2422
- # * `INVALID_ARGUMENT` if the guardian email address is not valid (for
2421
+ # Creates a guardian invitation, and sends an email to the guardian asking them
2422
+ # to confirm that they are the student's guardian. Once the guardian accepts the
2423
+ # invitation, their `state` will change to `COMPLETED` and they will start
2424
+ # receiving guardian notifications. A `Guardian` resource will also be created
2425
+ # to represent the active guardian. The request object must have the `student_id`
2426
+ # and `invited_email_address` fields set. Failing to set these fields, or
2427
+ # setting any other fields in the request, will result in an error. This method
2428
+ # returns the following error codes: * `PERMISSION_DENIED` if the current user
2429
+ # does not have permission to manage guardians, if the guardian in question has
2430
+ # already rejected too many requests for that student, if guardians are not
2431
+ # enabled for the domain in question, or for other access errors. * `
2432
+ # RESOURCE_EXHAUSTED` if the student or guardian has exceeded the guardian link
2433
+ # limit. * `INVALID_ARGUMENT` if the guardian email address is not valid (for
2423
2434
  # example, if it is too long), or if the format of the student ID provided
2424
- # cannot be recognized (it is not an email address, nor a `user_id` from
2425
- # this API). This error will also be returned if read-only fields are set,
2426
- # or if the `state` field is set to to a value other than `PENDING`.
2427
- # * `NOT_FOUND` if the student ID provided is a valid student ID, but
2428
- # Classroom has no record of that student.
2429
- # * `ALREADY_EXISTS` if there is already a pending guardian invitation for
2430
- # the student and `invited_email_address` provided, or if the provided
2431
- # `invited_email_address` matches the Google account of an existing
2432
- # `Guardian` for this user.
2435
+ # cannot be recognized (it is not an email address, nor a `user_id` from this
2436
+ # API). This error will also be returned if read-only fields are set, or if the `
2437
+ # state` field is set to to a value other than `PENDING`. * `NOT_FOUND` if the
2438
+ # student ID provided is a valid student ID, but Classroom has no record of that
2439
+ # student. * `ALREADY_EXISTS` if there is already a pending guardian invitation
2440
+ # for the student and `invited_email_address` provided, or if the provided `
2441
+ # invited_email_address` matches the Google account of an existing `Guardian`
2442
+ # for this user.
2433
2443
  # @param [String] student_id
2434
2444
  # ID of the student (in standard format)
2435
2445
  # @param [Google::Apis::ClassroomV1::GuardianInvitation] guardian_invitation_object
@@ -2462,18 +2472,16 @@ module Google
2462
2472
  execute_or_queue_command(command, &block)
2463
2473
  end
2464
2474
 
2465
- # Returns a specific guardian invitation.
2466
- # This method returns the following error codes:
2467
- # * `PERMISSION_DENIED` if the requesting user is not permitted to view
2468
- # guardian invitations for the student identified by the `student_id`, if
2469
- # guardians are not enabled for the domain in question, or for other
2470
- # access errors.
2471
- # * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot
2472
- # be recognized (it is not an email address, nor a `student_id` from the
2473
- # API, nor the literal string `me`).
2474
- # * `NOT_FOUND` if Classroom cannot find any record of the given student or
2475
- # `invitation_id`. May also be returned if the student exists, but the
2476
- # requesting user does not have access to see that student.
2475
+ # Returns a specific guardian invitation. This method returns the following
2476
+ # error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
2477
+ # view guardian invitations for the student identified by the `student_id`, if
2478
+ # guardians are not enabled for the domain in question, or for other access
2479
+ # errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format
2480
+ # cannot be recognized (it is not an email address, nor a `student_id` from the
2481
+ # API, nor the literal string `me`). * `NOT_FOUND` if Classroom cannot find any
2482
+ # record of the given student or `invitation_id`. May also be returned if the
2483
+ # student exists, but the requesting user does not have access to see that
2484
+ # student.
2477
2485
  # @param [String] student_id
2478
2486
  # The ID of the student whose guardian invitation is being requested.
2479
2487
  # @param [String] invitation_id
@@ -2506,46 +2514,39 @@ module Google
2506
2514
  execute_or_queue_command(command, &block)
2507
2515
  end
2508
2516
 
2509
- # Returns a list of guardian invitations that the requesting user is
2510
- # permitted to view, filtered by the parameters provided.
2511
- # This method returns the following error codes:
2512
- # * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting
2513
- # user is not permitted to view guardian invitations for that student, if
2514
- # `"-"` is specified as the `student_id` and the user is not a domain
2515
- # administrator, if guardians are not enabled for the domain in question,
2516
- # or for other access errors.
2517
- # * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot
2518
- # be recognized (it is not an email address, nor a `student_id` from the
2519
- # API, nor the literal string `me`). May also be returned if an invalid
2520
- # `page_token` or `state` is provided.
2521
- # * `NOT_FOUND` if a `student_id` is specified, and its format can be
2522
- # recognized, but Classroom has no record of that student.
2517
+ # Returns a list of guardian invitations that the requesting user is permitted
2518
+ # to view, filtered by the parameters provided. This method returns the
2519
+ # following error codes: * `PERMISSION_DENIED` if a `student_id` is specified,
2520
+ # and the requesting user is not permitted to view guardian invitations for that
2521
+ # student, if `"-"` is specified as the `student_id` and the user is not a
2522
+ # domain administrator, if guardians are not enabled for the domain in question,
2523
+ # or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is
2524
+ # specified, but its format cannot be recognized (it is not an email address,
2525
+ # nor a `student_id` from the API, nor the literal string `me`). May also be
2526
+ # returned if an invalid `page_token` or `state` is provided. * `NOT_FOUND` if a
2527
+ # `student_id` is specified, and its format can be recognized, but Classroom has
2528
+ # no record of that student.
2523
2529
  # @param [String] student_id
2524
- # The ID of the student whose guardian invitations are to be returned.
2525
- # The identifier can be one of the following:
2526
- # * the numeric identifier for the user
2527
- # * the email address of the user
2528
- # * the string literal `"me"`, indicating the requesting user
2529
- # * the string literal `"-"`, indicating that results should be returned for
2530
- # all students that the requesting user is permitted to view guardian
2531
- # invitations.
2530
+ # The ID of the student whose guardian invitations are to be returned. The
2531
+ # identifier can be one of the following: * the numeric identifier for the user *
2532
+ # the email address of the user * the string literal `"me"`, indicating the
2533
+ # requesting user * the string literal `"-"`, indicating that results should be
2534
+ # returned for all students that the requesting user is permitted to view
2535
+ # guardian invitations.
2532
2536
  # @param [String] invited_email_address
2533
- # If specified, only results with the specified `invited_email_address`
2534
- # are returned.
2537
+ # If specified, only results with the specified `invited_email_address` are
2538
+ # returned.
2535
2539
  # @param [Fixnum] page_size
2536
2540
  # Maximum number of items to return. Zero or unspecified indicates that the
2537
- # server may assign a maximum.
2538
- # The server may return fewer than the specified number of results.
2541
+ # server may assign a maximum. The server may return fewer than the specified
2542
+ # number of results.
2539
2543
  # @param [String] page_token
2540
- # nextPageToken
2541
- # value returned from a previous
2542
- # list
2543
- # call, indicating that the subsequent page of results should be returned.
2544
- # The list
2545
- # request must be otherwise identical to the one that resulted in this token.
2544
+ # nextPageToken value returned from a previous list call, indicating that the
2545
+ # subsequent page of results should be returned. The list request must be
2546
+ # otherwise identical to the one that resulted in this token.
2546
2547
  # @param [Array<String>, String] states
2547
- # If specified, only results with the specified `state` values are
2548
- # returned. Otherwise, results with a `state` of `PENDING` are returned.
2548
+ # If specified, only results with the specified `state` values are returned.
2549
+ # Otherwise, results with a `state` of `PENDING` are returned.
2549
2550
  # @param [String] fields
2550
2551
  # Selector specifying which fields to include in a partial response.
2551
2552
  # @param [String] quota_user
@@ -2577,33 +2578,29 @@ module Google
2577
2578
  execute_or_queue_command(command, &block)
2578
2579
  end
2579
2580
 
2580
- # Modifies a guardian invitation.
2581
- # Currently, the only valid modification is to change the `state` from
2582
- # `PENDING` to `COMPLETE`. This has the effect of withdrawing the invitation.
2583
- # This method returns the following error codes:
2584
- # * `PERMISSION_DENIED` if the current user does not have permission to
2585
- # manage guardians, if guardians are not enabled for the domain in question
2586
- # or for other access errors.
2587
- # * `FAILED_PRECONDITION` if the guardian link is not in the `PENDING` state.
2588
- # * `INVALID_ARGUMENT` if the format of the student ID provided
2589
- # cannot be recognized (it is not an email address, nor a `user_id` from
2590
- # this API), or if the passed `GuardianInvitation` has a `state` other than
2591
- # `COMPLETE`, or if it modifies fields other than `state`.
2592
- # * `NOT_FOUND` if the student ID provided is a valid student ID, but
2593
- # Classroom has no record of that student, or if the `id` field does not
2594
- # refer to a guardian invitation known to Classroom.
2581
+ # Modifies a guardian invitation. Currently, the only valid modification is to
2582
+ # change the `state` from `PENDING` to `COMPLETE`. This has the effect of
2583
+ # withdrawing the invitation. This method returns the following error codes: * `
2584
+ # PERMISSION_DENIED` if the current user does not have permission to manage
2585
+ # guardians, if guardians are not enabled for the domain in question or for
2586
+ # other access errors. * `FAILED_PRECONDITION` if the guardian link is not in
2587
+ # the `PENDING` state. * `INVALID_ARGUMENT` if the format of the student ID
2588
+ # provided cannot be recognized (it is not an email address, nor a `user_id`
2589
+ # from this API), or if the passed `GuardianInvitation` has a `state` other than
2590
+ # `COMPLETE`, or if it modifies fields other than `state`. * `NOT_FOUND` if the
2591
+ # student ID provided is a valid student ID, but Classroom has no record of that
2592
+ # student, or if the `id` field does not refer to a guardian invitation known to
2593
+ # Classroom.
2595
2594
  # @param [String] student_id
2596
2595
  # The ID of the student whose guardian invitation is to be modified.
2597
2596
  # @param [String] invitation_id
2598
2597
  # The `id` field of the `GuardianInvitation` to be modified.
2599
2598
  # @param [Google::Apis::ClassroomV1::GuardianInvitation] guardian_invitation_object
2600
2599
  # @param [String] update_mask
2601
- # Mask that identifies which fields on the course to update.
2602
- # This field is required to do an update. The update fails if invalid
2603
- # fields are specified. The following fields are valid:
2604
- # * `state`
2605
- # When set in a query parameter, this field should be specified as
2606
- # `updateMask=<field1>,<field2>,...`
2600
+ # Mask that identifies which fields on the course to update. This field is
2601
+ # required to do an update. The update fails if invalid fields are specified.
2602
+ # The following fields are valid: * `state` When set in a query parameter, this
2603
+ # field should be specified as `updateMask=,,...`
2607
2604
  # @param [String] fields
2608
2605
  # Selector specifying which fields to include in a partial response.
2609
2606
  # @param [String] quota_user
@@ -2635,26 +2632,21 @@ module Google
2635
2632
  execute_or_queue_command(command, &block)
2636
2633
  end
2637
2634
 
2638
- # Deletes a guardian.
2639
- # The guardian will no longer receive guardian notifications and the guardian
2640
- # will no longer be accessible via the API.
2641
- # This method returns the following error codes:
2642
- # * `PERMISSION_DENIED` if no user that matches the provided `student_id`
2643
- # is visible to the requesting user, if the requesting user is not
2644
- # permitted to manage guardians for the student identified by the
2645
- # `student_id`, if guardians are not enabled for the domain in question,
2646
- # or for other access errors.
2647
- # * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot
2648
- # be recognized (it is not an email address, nor a `student_id` from the
2649
- # API).
2650
- # * `NOT_FOUND` if the requesting user is permitted to modify guardians for
2651
- # the requested `student_id`, but no `Guardian` record exists for that
2652
- # student with the provided `guardian_id`.
2635
+ # Deletes a guardian. The guardian will no longer receive guardian notifications
2636
+ # and the guardian will no longer be accessible via the API. This method returns
2637
+ # the following error codes: * `PERMISSION_DENIED` if no user that matches the
2638
+ # provided `student_id` is visible to the requesting user, if the requesting
2639
+ # user is not permitted to manage guardians for the student identified by the `
2640
+ # student_id`, if guardians are not enabled for the domain in question, or for
2641
+ # other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but
2642
+ # its format cannot be recognized (it is not an email address, nor a `student_id`
2643
+ # from the API). * `NOT_FOUND` if the requesting user is permitted to modify
2644
+ # guardians for the requested `student_id`, but no `Guardian` record exists for
2645
+ # that student with the provided `guardian_id`.
2653
2646
  # @param [String] student_id
2654
- # The student whose guardian is to be deleted. One of the following:
2655
- # * the numeric identifier for the user
2656
- # * the email address of the user
2657
- # * the string literal `"me"`, indicating the requesting user
2647
+ # The student whose guardian is to be deleted. One of the following: * the
2648
+ # numeric identifier for the user * the email address of the user * the string
2649
+ # literal `"me"`, indicating the requesting user
2658
2650
  # @param [String] guardian_id
2659
2651
  # The `id` field from a `Guardian`.
2660
2652
  # @param [String] fields
@@ -2685,24 +2677,20 @@ module Google
2685
2677
  execute_or_queue_command(command, &block)
2686
2678
  end
2687
2679
 
2688
- # Returns a specific guardian.
2689
- # This method returns the following error codes:
2690
- # * `PERMISSION_DENIED` if no user that matches the provided `student_id`
2691
- # is visible to the requesting user, if the requesting user is not
2692
- # permitted to view guardian information for the student identified by the
2693
- # `student_id`, if guardians are not enabled for the domain in question,
2694
- # or for other access errors.
2695
- # * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot
2696
- # be recognized (it is not an email address, nor a `student_id` from the
2697
- # API, nor the literal string `me`).
2698
- # * `NOT_FOUND` if the requesting user is permitted to view guardians for
2699
- # the requested `student_id`, but no `Guardian` record exists for that
2700
- # student that matches the provided `guardian_id`.
2680
+ # Returns a specific guardian. This method returns the following error codes: * `
2681
+ # PERMISSION_DENIED` if no user that matches the provided `student_id` is
2682
+ # visible to the requesting user, if the requesting user is not permitted to
2683
+ # view guardian information for the student identified by the `student_id`, if
2684
+ # guardians are not enabled for the domain in question, or for other access
2685
+ # errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format
2686
+ # cannot be recognized (it is not an email address, nor a `student_id` from the
2687
+ # API, nor the literal string `me`). * `NOT_FOUND` if the requesting user is
2688
+ # permitted to view guardians for the requested `student_id`, but no `Guardian`
2689
+ # record exists for that student that matches the provided `guardian_id`.
2701
2690
  # @param [String] student_id
2702
- # The student whose guardian is being requested. One of the following:
2703
- # * the numeric identifier for the user
2704
- # * the email address of the user
2705
- # * the string literal `"me"`, indicating the requesting user
2691
+ # The student whose guardian is being requested. One of the following: * the
2692
+ # numeric identifier for the user * the email address of the user * the string
2693
+ # literal `"me"`, indicating the requesting user
2706
2694
  # @param [String] guardian_id
2707
2695
  # The `id` field from a `Guardian`.
2708
2696
  # @param [String] fields
@@ -2733,46 +2721,39 @@ module Google
2733
2721
  execute_or_queue_command(command, &block)
2734
2722
  end
2735
2723
 
2736
- # Returns a list of guardians that the requesting user is permitted to
2737
- # view, restricted to those that match the request.
2738
- # To list guardians for any student that the requesting user may view
2739
- # guardians for, use the literal character `-` for the student ID.
2740
- # This method returns the following error codes:
2741
- # * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting
2742
- # user is not permitted to view guardian information for that student, if
2743
- # `"-"` is specified as the `student_id` and the user is not a domain
2744
- # administrator, if guardians are not enabled for the domain in question,
2745
- # if the `invited_email_address` filter is set by a user who is not a
2746
- # domain administrator, or for other access errors.
2747
- # * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot
2748
- # be recognized (it is not an email address, nor a `student_id` from the
2749
- # API, nor the literal string `me`). May also be returned if an invalid
2750
- # `page_token` is provided.
2751
- # * `NOT_FOUND` if a `student_id` is specified, and its format can be
2752
- # recognized, but Classroom has no record of that student.
2724
+ # Returns a list of guardians that the requesting user is permitted to view,
2725
+ # restricted to those that match the request. To list guardians for any student
2726
+ # that the requesting user may view guardians for, use the literal character `-`
2727
+ # for the student ID. This method returns the following error codes: * `
2728
+ # PERMISSION_DENIED` if a `student_id` is specified, and the requesting user is
2729
+ # not permitted to view guardian information for that student, if `"-"` is
2730
+ # specified as the `student_id` and the user is not a domain administrator, if
2731
+ # guardians are not enabled for the domain in question, if the `
2732
+ # invited_email_address` filter is set by a user who is not a domain
2733
+ # administrator, or for other access errors. * `INVALID_ARGUMENT` if a `
2734
+ # student_id` is specified, but its format cannot be recognized (it is not an
2735
+ # email address, nor a `student_id` from the API, nor the literal string `me`).
2736
+ # May also be returned if an invalid `page_token` is provided. * `NOT_FOUND` if
2737
+ # a `student_id` is specified, and its format can be recognized, but Classroom
2738
+ # has no record of that student.
2753
2739
  # @param [String] student_id
2754
- # Filter results by the student who the guardian is linked to.
2755
- # The identifier can be one of the following:
2756
- # * the numeric identifier for the user
2757
- # * the email address of the user
2758
- # * the string literal `"me"`, indicating the requesting user
2759
- # * the string literal `"-"`, indicating that results should be returned for
2760
- # all students that the requesting user has access to view.
2740
+ # Filter results by the student who the guardian is linked to. The identifier
2741
+ # can be one of the following: * the numeric identifier for the user * the email
2742
+ # address of the user * the string literal `"me"`, indicating the requesting
2743
+ # user * the string literal `"-"`, indicating that results should be returned
2744
+ # for all students that the requesting user has access to view.
2761
2745
  # @param [String] invited_email_address
2762
- # Filter results by the email address that the original invitation was sent
2763
- # to, resulting in this guardian link.
2764
- # This filter can only be used by domain administrators.
2746
+ # Filter results by the email address that the original invitation was sent to,
2747
+ # resulting in this guardian link. This filter can only be used by domain
2748
+ # administrators.
2765
2749
  # @param [Fixnum] page_size
2766
2750
  # Maximum number of items to return. Zero or unspecified indicates that the
2767
- # server may assign a maximum.
2768
- # The server may return fewer than the specified number of results.
2751
+ # server may assign a maximum. The server may return fewer than the specified
2752
+ # number of results.
2769
2753
  # @param [String] page_token
2770
- # nextPageToken
2771
- # value returned from a previous
2772
- # list call,
2773
- # indicating that the subsequent page of results should be returned.
2774
- # The list request
2775
- # must be otherwise identical to the one that resulted in this token.
2754
+ # nextPageToken value returned from a previous list call, indicating that the
2755
+ # subsequent page of results should be returned. The list request must be
2756
+ # otherwise identical to the one that resulted in this token.
2776
2757
  # @param [String] fields
2777
2758
  # Selector specifying which fields to include in a partial response.
2778
2759
  # @param [String] quota_user