google-api-client 0.29.1 → 0.29.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (472) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +102 -0
  3. data/README.md +1 -1
  4. data/bin/generate-api +4 -2
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
  9. data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
  10. data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
  21. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
  22. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
  23. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
  24. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
  25. data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
  26. data/generated/google/apis/admin_directory_v1/service.rb +113 -113
  27. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  28. data/generated/google/apis/adsense_v1_4/service.rb +39 -39
  29. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
  30. data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
  31. data/generated/google/apis/analytics_v2_4/service.rb +6 -6
  32. data/generated/google/apis/analytics_v3/service.rb +88 -88
  33. data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
  34. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  35. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
  36. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
  37. data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
  40. data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
  41. data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
  42. data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
  43. data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
  44. data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
  45. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  46. data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
  47. data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
  48. data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
  49. data/generated/google/apis/appengine_v1.rb +1 -1
  50. data/generated/google/apis/appengine_v1/classes.rb +2 -2
  51. data/generated/google/apis/appengine_v1/service.rb +38 -38
  52. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  53. data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
  54. data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
  55. data/generated/google/apis/appengine_v1beta.rb +1 -1
  56. data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
  57. data/generated/google/apis/appengine_v1beta/service.rb +38 -38
  58. data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
  59. data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
  60. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  61. data/generated/google/apis/appsmarket_v2/service.rb +3 -3
  62. data/generated/google/apis/appstate_v1/service.rb +5 -5
  63. data/generated/google/apis/bigquery_v2.rb +1 -1
  64. data/generated/google/apis/bigquery_v2/classes.rb +934 -0
  65. data/generated/google/apis/bigquery_v2/representations.rb +367 -0
  66. data/generated/google/apis/bigquery_v2/service.rb +184 -22
  67. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
  68. data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
  69. data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
  70. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  71. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
  72. data/generated/google/apis/blogger_v2/service.rb +9 -9
  73. data/generated/google/apis/blogger_v3/service.rb +33 -33
  74. data/generated/google/apis/books_v1/service.rb +51 -51
  75. data/generated/google/apis/calendar_v3/service.rb +37 -37
  76. data/generated/google/apis/chat_v1/service.rb +8 -8
  77. data/generated/google/apis/civicinfo_v2/service.rb +5 -5
  78. data/generated/google/apis/classroom_v1.rb +1 -1
  79. data/generated/google/apis/classroom_v1/service.rb +57 -56
  80. data/generated/google/apis/cloudasset_v1/service.rb +3 -3
  81. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  82. data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
  83. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  84. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  85. data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
  86. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
  87. data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
  88. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
  89. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  90. data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
  91. data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
  92. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  93. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
  95. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  96. data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
  98. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  99. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
  100. data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
  101. data/generated/google/apis/cloudiot_v1.rb +1 -1
  102. data/generated/google/apis/cloudiot_v1/service.rb +23 -330
  103. data/generated/google/apis/cloudkms_v1/service.rb +30 -30
  104. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
  105. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
  106. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
  107. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
  108. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
  109. data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
  110. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  111. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  112. data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
  113. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
  114. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
  116. data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
  117. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
  119. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
  120. data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
  121. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
  122. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  123. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
  124. data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
  125. data/generated/google/apis/cloudshell_v1.rb +1 -1
  126. data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
  127. data/generated/google/apis/cloudshell_v1/service.rb +4 -4
  128. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  129. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
  130. data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
  131. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  132. data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
  133. data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
  134. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  135. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
  136. data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
  137. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  138. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
  139. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
  140. data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
  141. data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
  142. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  143. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
  144. data/generated/google/apis/composer_v1/service.rb +9 -9
  145. data/generated/google/apis/composer_v1beta1/service.rb +9 -9
  146. data/generated/google/apis/compute_alpha.rb +1 -1
  147. data/generated/google/apis/compute_alpha/classes.rb +29 -0
  148. data/generated/google/apis/compute_alpha/representations.rb +15 -0
  149. data/generated/google/apis/compute_alpha/service.rb +625 -623
  150. data/generated/google/apis/compute_beta.rb +1 -1
  151. data/generated/google/apis/compute_beta/service.rb +504 -503
  152. data/generated/google/apis/compute_v1.rb +1 -1
  153. data/generated/google/apis/compute_v1/service.rb +411 -410
  154. data/generated/google/apis/container_v1.rb +1 -1
  155. data/generated/google/apis/container_v1/classes.rb +2 -1
  156. data/generated/google/apis/container_v1/service.rb +63 -63
  157. data/generated/google/apis/container_v1beta1.rb +1 -1
  158. data/generated/google/apis/container_v1beta1/classes.rb +52 -4
  159. data/generated/google/apis/container_v1beta1/representations.rb +20 -0
  160. data/generated/google/apis/container_v1beta1/service.rb +64 -64
  161. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  162. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
  163. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
  164. data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
  165. data/generated/google/apis/content_v2.rb +1 -1
  166. data/generated/google/apis/content_v2/classes.rb +9 -3
  167. data/generated/google/apis/content_v2/service.rb +101 -105
  168. data/generated/google/apis/content_v2_1.rb +1 -1
  169. data/generated/google/apis/content_v2_1/classes.rb +9 -3
  170. data/generated/google/apis/content_v2_1/service.rb +89 -93
  171. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  172. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  173. data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
  174. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  175. data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
  176. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  177. data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
  178. data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
  179. data/generated/google/apis/dataproc_v1.rb +1 -1
  180. data/generated/google/apis/dataproc_v1/classes.rb +2 -2
  181. data/generated/google/apis/dataproc_v1/service.rb +261 -45
  182. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  183. data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
  184. data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
  185. data/generated/google/apis/datastore_v1.rb +1 -1
  186. data/generated/google/apis/datastore_v1/service.rb +15 -15
  187. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  188. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  189. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  190. data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
  191. data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
  192. data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
  193. data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
  194. data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
  195. data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
  196. data/generated/google/apis/dialogflow_v2.rb +1 -1
  197. data/generated/google/apis/dialogflow_v2/classes.rb +5 -5
  198. data/generated/google/apis/dialogflow_v2/service.rb +36 -36
  199. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  200. data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
  201. data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
  202. data/generated/google/apis/digitalassetlinks_v1/service.rb +2 -2
  203. data/generated/google/apis/discovery_v1/service.rb +2 -2
  204. data/generated/google/apis/dlp_v2.rb +1 -1
  205. data/generated/google/apis/dlp_v2/classes.rb +8 -2
  206. data/generated/google/apis/dlp_v2/service.rb +51 -46
  207. data/generated/google/apis/dns_v1/service.rb +15 -15
  208. data/generated/google/apis/dns_v1beta2/service.rb +21 -21
  209. data/generated/google/apis/dns_v2beta1/service.rb +15 -15
  210. data/generated/google/apis/docs_v1.rb +1 -1
  211. data/generated/google/apis/docs_v1/classes.rb +137 -0
  212. data/generated/google/apis/docs_v1/representations.rb +57 -0
  213. data/generated/google/apis/docs_v1/service.rb +3 -3
  214. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
  215. data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
  216. data/generated/google/apis/drive_v2/service.rb +74 -74
  217. data/generated/google/apis/drive_v3/service.rb +46 -46
  218. data/generated/google/apis/driveactivity_v2/service.rb +1 -1
  219. data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
  220. data/generated/google/apis/fcm_v1.rb +35 -0
  221. data/generated/google/apis/fcm_v1/classes.rb +424 -0
  222. data/generated/google/apis/fcm_v1/representations.rb +167 -0
  223. data/generated/google/apis/fcm_v1/service.rb +97 -0
  224. data/generated/google/apis/file_v1.rb +1 -1
  225. data/generated/google/apis/file_v1/classes.rb +52 -1
  226. data/generated/google/apis/file_v1/representations.rb +16 -0
  227. data/generated/google/apis/file_v1/service.rb +11 -11
  228. data/generated/google/apis/file_v1beta1.rb +1 -1
  229. data/generated/google/apis/file_v1beta1/classes.rb +52 -1
  230. data/generated/google/apis/file_v1beta1/representations.rb +16 -0
  231. data/generated/google/apis/file_v1beta1/service.rb +11 -11
  232. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
  233. data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
  234. data/generated/google/apis/firebaserules_v1/service.rb +11 -11
  235. data/generated/google/apis/firestore_v1/service.rb +28 -28
  236. data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
  237. data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
  238. data/generated/google/apis/fitness_v1/service.rb +13 -13
  239. data/generated/google/apis/fusiontables_v1/service.rb +32 -32
  240. data/generated/google/apis/fusiontables_v2/service.rb +34 -34
  241. data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
  242. data/generated/google/apis/games_management_v1management/service.rb +27 -27
  243. data/generated/google/apis/games_v1/service.rb +53 -53
  244. data/generated/google/apis/genomics_v1.rb +1 -1
  245. data/generated/google/apis/genomics_v1/service.rb +3 -3
  246. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  247. data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
  248. data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
  249. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  250. data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
  251. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  252. data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
  253. data/generated/google/apis/gmail_v1/service.rb +68 -68
  254. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  255. data/generated/google/apis/groupssettings_v1/service.rb +3 -3
  256. data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
  257. data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
  258. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
  259. data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
  260. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  261. data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
  262. data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
  263. data/generated/google/apis/iam_v1/service.rb +36 -36
  264. data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
  265. data/generated/google/apis/iap_v1/service.rb +3 -3
  266. data/generated/google/apis/iap_v1beta1/service.rb +3 -3
  267. data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
  268. data/generated/google/apis/indexing_v3/service.rb +2 -2
  269. data/generated/google/apis/jobs_v2/service.rb +17 -17
  270. data/generated/google/apis/jobs_v3/service.rb +15 -15
  271. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  272. data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
  273. data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
  274. data/generated/google/apis/kgsearch_v1/service.rb +1 -1
  275. data/generated/google/apis/language_v1.rb +1 -1
  276. data/generated/google/apis/language_v1/service.rb +6 -6
  277. data/generated/google/apis/language_v1beta1/service.rb +4 -4
  278. data/generated/google/apis/language_v1beta2.rb +1 -1
  279. data/generated/google/apis/language_v1beta2/service.rb +6 -6
  280. data/generated/google/apis/libraryagent_v1/service.rb +6 -6
  281. data/generated/google/apis/licensing_v1/service.rb +7 -7
  282. data/generated/google/apis/logging_v2.rb +1 -1
  283. data/generated/google/apis/logging_v2/classes.rb +6 -0
  284. data/generated/google/apis/logging_v2/representations.rb +1 -0
  285. data/generated/google/apis/logging_v2/service.rb +72 -72
  286. data/generated/google/apis/manufacturers_v1/service.rb +4 -4
  287. data/generated/google/apis/mirror_v1/service.rb +24 -24
  288. data/generated/google/apis/ml_v1.rb +1 -1
  289. data/generated/google/apis/ml_v1/classes.rb +73 -55
  290. data/generated/google/apis/ml_v1/service.rb +31 -31
  291. data/generated/google/apis/monitoring_v3.rb +1 -1
  292. data/generated/google/apis/monitoring_v3/classes.rb +14 -1
  293. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  294. data/generated/google/apis/monitoring_v3/service.rb +36 -36
  295. data/generated/google/apis/oauth2_v1/service.rb +3 -3
  296. data/generated/google/apis/oauth2_v2/service.rb +4 -4
  297. data/generated/google/apis/oslogin_v1/service.rb +6 -6
  298. data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
  299. data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
  300. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  301. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  302. data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
  303. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  304. data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
  305. data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
  306. data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
  307. data/generated/google/apis/people_v1.rb +1 -1
  308. data/generated/google/apis/people_v1/service.rb +13 -13
  309. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  310. data/generated/google/apis/plus_domains_v1/service.rb +10 -10
  311. data/generated/google/apis/plus_v1/service.rb +9 -9
  312. data/generated/google/apis/poly_v1/service.rb +4 -4
  313. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
  314. data/generated/google/apis/pubsub_v1.rb +1 -1
  315. data/generated/google/apis/pubsub_v1/service.rb +32 -32
  316. data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
  317. data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
  318. data/generated/google/apis/redis_v1.rb +1 -1
  319. data/generated/google/apis/redis_v1/service.rb +19 -19
  320. data/generated/google/apis/redis_v1beta1.rb +1 -1
  321. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  322. data/generated/google/apis/redis_v1beta1/service.rb +15 -15
  323. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  324. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  325. data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
  326. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  327. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  328. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
  329. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  330. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  331. data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
  332. data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
  333. data/generated/google/apis/reseller_v1/service.rb +17 -17
  334. data/generated/google/apis/run_v1/service.rb +1 -1
  335. data/generated/google/apis/run_v1alpha1.rb +1 -1
  336. data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
  337. data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
  338. data/generated/google/apis/run_v1alpha1/service.rb +446 -38
  339. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  340. data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
  341. data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
  342. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  343. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
  344. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
  345. data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
  346. data/generated/google/apis/script_v1.rb +1 -1
  347. data/generated/google/apis/script_v1/classes.rb +167 -0
  348. data/generated/google/apis/script_v1/representations.rb +79 -0
  349. data/generated/google/apis/script_v1/service.rb +16 -16
  350. data/generated/google/apis/searchconsole_v1/service.rb +1 -1
  351. data/generated/google/apis/securitycenter_v1.rb +1 -1
  352. data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
  353. data/generated/google/apis/securitycenter_v1/service.rb +23 -23
  354. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  355. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
  356. data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
  357. data/generated/google/apis/servicebroker_v1/service.rb +3 -3
  358. data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
  359. data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
  360. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  361. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -60
  362. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -29
  363. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
  364. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  365. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
  366. data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
  367. data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
  368. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  369. data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
  370. data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
  371. data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
  372. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  373. data/generated/google/apis/servicenetworking_v1/classes.rb +8 -60
  374. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -29
  375. data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
  376. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  377. data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -60
  378. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -29
  379. data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
  380. data/generated/google/apis/serviceusage_v1.rb +1 -1
  381. data/generated/google/apis/serviceusage_v1/classes.rb +8 -60
  382. data/generated/google/apis/serviceusage_v1/representations.rb +1 -29
  383. data/generated/google/apis/serviceusage_v1/service.rb +17 -19
  384. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  385. data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -60
  386. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -29
  387. data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
  388. data/generated/google/apis/sheets_v4.rb +1 -1
  389. data/generated/google/apis/sheets_v4/service.rb +17 -17
  390. data/generated/google/apis/site_verification_v1/service.rb +7 -7
  391. data/generated/google/apis/slides_v1/service.rb +5 -5
  392. data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
  393. data/generated/google/apis/spanner_v1.rb +1 -1
  394. data/generated/google/apis/spanner_v1/classes.rb +3 -3
  395. data/generated/google/apis/spanner_v1/service.rb +41 -41
  396. data/generated/google/apis/speech_v1.rb +1 -1
  397. data/generated/google/apis/speech_v1/classes.rb +2 -2
  398. data/generated/google/apis/speech_v1/service.rb +7 -7
  399. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  400. data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
  401. data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
  402. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  403. data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
  404. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  405. data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
  406. data/generated/google/apis/storage_v1/service.rb +52 -52
  407. data/generated/google/apis/storage_v1beta1/service.rb +24 -24
  408. data/generated/google/apis/storage_v1beta2/service.rb +34 -34
  409. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  410. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
  411. data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
  412. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  413. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  414. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
  415. data/generated/google/apis/surveys_v2/service.rb +8 -8
  416. data/generated/google/apis/tagmanager_v1/service.rb +49 -49
  417. data/generated/google/apis/tagmanager_v2/service.rb +74 -74
  418. data/generated/google/apis/tasks_v1/service.rb +14 -14
  419. data/generated/google/apis/testing_v1.rb +1 -1
  420. data/generated/google/apis/testing_v1/classes.rb +25 -12
  421. data/generated/google/apis/testing_v1/representations.rb +2 -0
  422. data/generated/google/apis/testing_v1/service.rb +5 -5
  423. data/generated/google/apis/texttospeech_v1/service.rb +2 -2
  424. data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
  425. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  426. data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
  427. data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
  428. data/generated/google/apis/tpu_v1.rb +1 -1
  429. data/generated/google/apis/tpu_v1/classes.rb +1 -1
  430. data/generated/google/apis/tpu_v1/service.rb +17 -17
  431. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  432. data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
  433. data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
  434. data/generated/google/apis/translate_v2/service.rb +5 -5
  435. data/generated/google/apis/urlshortener_v1/service.rb +3 -3
  436. data/generated/google/apis/vault_v1/service.rb +28 -28
  437. data/generated/google/apis/videointelligence_v1/service.rb +5 -5
  438. data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
  439. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
  440. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
  441. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
  442. data/generated/google/apis/vision_v1.rb +1 -1
  443. data/generated/google/apis/vision_v1/classes.rb +2372 -73
  444. data/generated/google/apis/vision_v1/representations.rb +1643 -651
  445. data/generated/google/apis/vision_v1/service.rb +98 -35
  446. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  447. data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
  448. data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
  449. data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
  450. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  451. data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
  452. data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
  453. data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
  454. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  455. data/generated/google/apis/webmasters_v3/service.rb +9 -9
  456. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
  457. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  458. data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
  459. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  460. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
  461. data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
  462. data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
  463. data/generated/google/apis/youtube_v3.rb +1 -1
  464. data/generated/google/apis/youtube_v3/service.rb +71 -71
  465. data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
  466. data/google-api-client.gemspec +1 -1
  467. data/lib/google/apis/core/json_representation.rb +4 -0
  468. data/lib/google/apis/core/upload.rb +3 -3
  469. data/lib/google/apis/generator/templates/_method.tmpl +3 -3
  470. data/lib/google/apis/version.rb +1 -1
  471. metadata +13 -6
  472. data/samples/web/.env +0 -2
@@ -78,7 +78,7 @@ module Google
78
78
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
79
  # @raise [Google::Apis::AuthorizationError] Authorization is required
80
80
  def delete_acl(calendar_id, rule_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
81
- command = make_simple_command(:delete, 'calendars/{calendarId}/acl/{ruleId}', options)
81
+ command = make_simple_command(:delete, 'calendars/{calendarId}/acl/{ruleId}', options)
82
82
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
83
83
  command.params['ruleId'] = rule_id unless rule_id.nil?
84
84
  command.query['fields'] = fields unless fields.nil?
@@ -114,7 +114,7 @@ module Google
114
114
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
115
115
  # @raise [Google::Apis::AuthorizationError] Authorization is required
116
116
  def get_acl(calendar_id, rule_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
117
- command = make_simple_command(:get, 'calendars/{calendarId}/acl/{ruleId}', options)
117
+ command = make_simple_command(:get, 'calendars/{calendarId}/acl/{ruleId}', options)
118
118
  command.response_representation = Google::Apis::CalendarV3::AclRule::Representation
119
119
  command.response_class = Google::Apis::CalendarV3::AclRule
120
120
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -154,7 +154,7 @@ module Google
154
154
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
155
155
  # @raise [Google::Apis::AuthorizationError] Authorization is required
156
156
  def insert_acl(calendar_id, acl_rule_object = nil, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
157
- command = make_simple_command(:post, 'calendars/{calendarId}/acl', options)
157
+ command = make_simple_command(:post, 'calendars/{calendarId}/acl', options)
158
158
  command.request_representation = Google::Apis::CalendarV3::AclRule::Representation
159
159
  command.request_object = acl_rule_object
160
160
  command.response_representation = Google::Apis::CalendarV3::AclRule::Representation
@@ -212,7 +212,7 @@ module Google
212
212
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
213
213
  # @raise [Google::Apis::AuthorizationError] Authorization is required
214
214
  def list_acls(calendar_id, max_results: nil, page_token: nil, show_deleted: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
215
- command = make_simple_command(:get, 'calendars/{calendarId}/acl', options)
215
+ command = make_simple_command(:get, 'calendars/{calendarId}/acl', options)
216
216
  command.response_representation = Google::Apis::CalendarV3::Acl::Representation
217
217
  command.response_class = Google::Apis::CalendarV3::Acl
218
218
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -257,7 +257,7 @@ module Google
257
257
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
258
258
  # @raise [Google::Apis::AuthorizationError] Authorization is required
259
259
  def patch_acl(calendar_id, rule_id, acl_rule_object = nil, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
260
- command = make_simple_command(:patch, 'calendars/{calendarId}/acl/{ruleId}', options)
260
+ command = make_simple_command(:patch, 'calendars/{calendarId}/acl/{ruleId}', options)
261
261
  command.request_representation = Google::Apis::CalendarV3::AclRule::Representation
262
262
  command.request_object = acl_rule_object
263
263
  command.response_representation = Google::Apis::CalendarV3::AclRule::Representation
@@ -302,7 +302,7 @@ module Google
302
302
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
303
303
  # @raise [Google::Apis::AuthorizationError] Authorization is required
304
304
  def update_acl(calendar_id, rule_id, acl_rule_object = nil, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
305
- command = make_simple_command(:put, 'calendars/{calendarId}/acl/{ruleId}', options)
305
+ command = make_simple_command(:put, 'calendars/{calendarId}/acl/{ruleId}', options)
306
306
  command.request_representation = Google::Apis::CalendarV3::AclRule::Representation
307
307
  command.request_object = acl_rule_object
308
308
  command.response_representation = Google::Apis::CalendarV3::AclRule::Representation
@@ -362,7 +362,7 @@ module Google
362
362
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
363
363
  # @raise [Google::Apis::AuthorizationError] Authorization is required
364
364
  def watch_acl(calendar_id, channel_object = nil, max_results: nil, page_token: nil, show_deleted: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
365
- command = make_simple_command(:post, 'calendars/{calendarId}/acl/watch', options)
365
+ command = make_simple_command(:post, 'calendars/{calendarId}/acl/watch', options)
366
366
  command.request_representation = Google::Apis::CalendarV3::Channel::Representation
367
367
  command.request_object = channel_object
368
368
  command.response_representation = Google::Apis::CalendarV3::Channel::Representation
@@ -403,7 +403,7 @@ module Google
403
403
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
404
404
  # @raise [Google::Apis::AuthorizationError] Authorization is required
405
405
  def delete_calendar_list(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
406
- command = make_simple_command(:delete, 'users/me/calendarList/{calendarId}', options)
406
+ command = make_simple_command(:delete, 'users/me/calendarList/{calendarId}', options)
407
407
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
408
408
  command.query['fields'] = fields unless fields.nil?
409
409
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -436,7 +436,7 @@ module Google
436
436
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
437
437
  # @raise [Google::Apis::AuthorizationError] Authorization is required
438
438
  def get_calendar_list(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
439
- command = make_simple_command(:get, 'users/me/calendarList/{calendarId}', options)
439
+ command = make_simple_command(:get, 'users/me/calendarList/{calendarId}', options)
440
440
  command.response_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
441
441
  command.response_class = Google::Apis::CalendarV3::CalendarListEntry
442
442
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -473,7 +473,7 @@ module Google
473
473
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
474
474
  # @raise [Google::Apis::AuthorizationError] Authorization is required
475
475
  def insert_calendar_list(calendar_list_entry_object = nil, color_rgb_format: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
476
- command = make_simple_command(:post, 'users/me/calendarList', options)
476
+ command = make_simple_command(:post, 'users/me/calendarList', options)
477
477
  command.request_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
478
478
  command.request_object = calendar_list_entry_object
479
479
  command.response_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
@@ -534,7 +534,7 @@ module Google
534
534
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
535
535
  # @raise [Google::Apis::AuthorizationError] Authorization is required
536
536
  def list_calendar_lists(max_results: nil, min_access_role: nil, page_token: nil, show_deleted: nil, show_hidden: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
537
- command = make_simple_command(:get, 'users/me/calendarList', options)
537
+ command = make_simple_command(:get, 'users/me/calendarList', options)
538
538
  command.response_representation = Google::Apis::CalendarV3::CalendarList::Representation
539
539
  command.response_class = Google::Apis::CalendarV3::CalendarList
540
540
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -581,7 +581,7 @@ module Google
581
581
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
582
582
  # @raise [Google::Apis::AuthorizationError] Authorization is required
583
583
  def patch_calendar_list(calendar_id, calendar_list_entry_object = nil, color_rgb_format: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
584
- command = make_simple_command(:patch, 'users/me/calendarList/{calendarId}', options)
584
+ command = make_simple_command(:patch, 'users/me/calendarList/{calendarId}', options)
585
585
  command.request_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
586
586
  command.request_object = calendar_list_entry_object
587
587
  command.response_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
@@ -625,7 +625,7 @@ module Google
625
625
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
626
626
  # @raise [Google::Apis::AuthorizationError] Authorization is required
627
627
  def update_calendar_list(calendar_id, calendar_list_entry_object = nil, color_rgb_format: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
628
- command = make_simple_command(:put, 'users/me/calendarList/{calendarId}', options)
628
+ command = make_simple_command(:put, 'users/me/calendarList/{calendarId}', options)
629
629
  command.request_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
630
630
  command.request_object = calendar_list_entry_object
631
631
  command.response_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
@@ -688,7 +688,7 @@ module Google
688
688
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
689
689
  # @raise [Google::Apis::AuthorizationError] Authorization is required
690
690
  def watch_calendar_list(channel_object = nil, max_results: nil, min_access_role: nil, page_token: nil, show_deleted: nil, show_hidden: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
691
- command = make_simple_command(:post, 'users/me/calendarList/watch', options)
691
+ command = make_simple_command(:post, 'users/me/calendarList/watch', options)
692
692
  command.request_representation = Google::Apis::CalendarV3::Channel::Representation
693
693
  command.request_object = channel_object
694
694
  command.response_representation = Google::Apis::CalendarV3::Channel::Representation
@@ -731,7 +731,7 @@ module Google
731
731
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
732
732
  # @raise [Google::Apis::AuthorizationError] Authorization is required
733
733
  def clear_calendar(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
734
- command = make_simple_command(:post, 'calendars/{calendarId}/clear', options)
734
+ command = make_simple_command(:post, 'calendars/{calendarId}/clear', options)
735
735
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
736
736
  command.query['fields'] = fields unless fields.nil?
737
737
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -765,7 +765,7 @@ module Google
765
765
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
766
766
  # @raise [Google::Apis::AuthorizationError] Authorization is required
767
767
  def delete_calendar(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
768
- command = make_simple_command(:delete, 'calendars/{calendarId}', options)
768
+ command = make_simple_command(:delete, 'calendars/{calendarId}', options)
769
769
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
770
770
  command.query['fields'] = fields unless fields.nil?
771
771
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -798,7 +798,7 @@ module Google
798
798
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
799
799
  # @raise [Google::Apis::AuthorizationError] Authorization is required
800
800
  def get_calendar(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
801
- command = make_simple_command(:get, 'calendars/{calendarId}', options)
801
+ command = make_simple_command(:get, 'calendars/{calendarId}', options)
802
802
  command.response_representation = Google::Apis::CalendarV3::Calendar::Representation
803
803
  command.response_class = Google::Apis::CalendarV3::Calendar
804
804
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -830,7 +830,7 @@ module Google
830
830
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
831
831
  # @raise [Google::Apis::AuthorizationError] Authorization is required
832
832
  def insert_calendar(calendar_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
833
- command = make_simple_command(:post, 'calendars', options)
833
+ command = make_simple_command(:post, 'calendars', options)
834
834
  command.request_representation = Google::Apis::CalendarV3::Calendar::Representation
835
835
  command.request_object = calendar_object
836
836
  command.response_representation = Google::Apis::CalendarV3::Calendar::Representation
@@ -867,7 +867,7 @@ module Google
867
867
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
868
868
  # @raise [Google::Apis::AuthorizationError] Authorization is required
869
869
  def patch_calendar(calendar_id, calendar_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
870
- command = make_simple_command(:patch, 'calendars/{calendarId}', options)
870
+ command = make_simple_command(:patch, 'calendars/{calendarId}', options)
871
871
  command.request_representation = Google::Apis::CalendarV3::Calendar::Representation
872
872
  command.request_object = calendar_object
873
873
  command.response_representation = Google::Apis::CalendarV3::Calendar::Representation
@@ -905,7 +905,7 @@ module Google
905
905
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
906
906
  # @raise [Google::Apis::AuthorizationError] Authorization is required
907
907
  def update_calendar(calendar_id, calendar_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
908
- command = make_simple_command(:put, 'calendars/{calendarId}', options)
908
+ command = make_simple_command(:put, 'calendars/{calendarId}', options)
909
909
  command.request_representation = Google::Apis::CalendarV3::Calendar::Representation
910
910
  command.request_object = calendar_object
911
911
  command.response_representation = Google::Apis::CalendarV3::Calendar::Representation
@@ -939,7 +939,7 @@ module Google
939
939
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
940
940
  # @raise [Google::Apis::AuthorizationError] Authorization is required
941
941
  def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
942
- command = make_simple_command(:post, 'channels/stop', options)
942
+ command = make_simple_command(:post, 'channels/stop', options)
943
943
  command.request_representation = Google::Apis::CalendarV3::Channel::Representation
944
944
  command.request_object = channel_object
945
945
  command.query['fields'] = fields unless fields.nil?
@@ -969,7 +969,7 @@ module Google
969
969
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
970
970
  # @raise [Google::Apis::AuthorizationError] Authorization is required
971
971
  def get_color(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
972
- command = make_simple_command(:get, 'colors', options)
972
+ command = make_simple_command(:get, 'colors', options)
973
973
  command.response_representation = Google::Apis::CalendarV3::Colors::Representation
974
974
  command.response_class = Google::Apis::CalendarV3::Colors
975
975
  command.query['fields'] = fields unless fields.nil?
@@ -1012,7 +1012,7 @@ module Google
1012
1012
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1013
1013
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1014
1014
  def delete_event(calendar_id, event_id, send_notifications: nil, send_updates: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1015
- command = make_simple_command(:delete, 'calendars/{calendarId}/events/{eventId}', options)
1015
+ command = make_simple_command(:delete, 'calendars/{calendarId}/events/{eventId}', options)
1016
1016
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
1017
1017
  command.params['eventId'] = event_id unless event_id.nil?
1018
1018
  command.query['sendNotifications'] = send_notifications unless send_notifications.nil?
@@ -1063,7 +1063,7 @@ module Google
1063
1063
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1064
1064
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1065
1065
  def get_event(calendar_id, event_id, always_include_email: nil, max_attendees: nil, time_zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1066
- command = make_simple_command(:get, 'calendars/{calendarId}/events/{eventId}', options)
1066
+ command = make_simple_command(:get, 'calendars/{calendarId}/events/{eventId}', options)
1067
1067
  command.response_representation = Google::Apis::CalendarV3::Event::Representation
1068
1068
  command.response_class = Google::Apis::CalendarV3::Event
1069
1069
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -1113,7 +1113,7 @@ module Google
1113
1113
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1114
1114
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1115
1115
  def import_event(calendar_id, event_object = nil, conference_data_version: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1116
- command = make_simple_command(:post, 'calendars/{calendarId}/events/import', options)
1116
+ command = make_simple_command(:post, 'calendars/{calendarId}/events/import', options)
1117
1117
  command.request_representation = Google::Apis::CalendarV3::Event::Representation
1118
1118
  command.request_object = event_object
1119
1119
  command.response_representation = Google::Apis::CalendarV3::Event::Representation
@@ -1174,7 +1174,7 @@ module Google
1174
1174
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1175
1175
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1176
1176
  def insert_event(calendar_id, event_object = nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, send_updates: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1177
- command = make_simple_command(:post, 'calendars/{calendarId}/events', options)
1177
+ command = make_simple_command(:post, 'calendars/{calendarId}/events', options)
1178
1178
  command.request_representation = Google::Apis::CalendarV3::Event::Representation
1179
1179
  command.request_object = event_object
1180
1180
  command.response_representation = Google::Apis::CalendarV3::Event::Representation
@@ -1250,7 +1250,7 @@ module Google
1250
1250
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1251
1251
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1252
1252
  def list_event_instances(calendar_id, event_id, always_include_email: nil, max_attendees: nil, max_results: nil, original_start: nil, page_token: nil, show_deleted: nil, time_max: nil, time_min: nil, time_zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1253
- command = make_simple_command(:get, 'calendars/{calendarId}/events/{eventId}/instances', options)
1253
+ command = make_simple_command(:get, 'calendars/{calendarId}/events/{eventId}/instances', options)
1254
1254
  command.response_representation = Google::Apis::CalendarV3::Events::Representation
1255
1255
  command.response_class = Google::Apis::CalendarV3::Events
1256
1256
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -1385,7 +1385,7 @@ module Google
1385
1385
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1386
1386
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1387
1387
  def list_events(calendar_id, always_include_email: nil, i_cal_uid: nil, max_attendees: nil, max_results: nil, order_by: nil, page_token: nil, private_extended_property: nil, q: nil, shared_extended_property: nil, show_deleted: nil, show_hidden_invitations: nil, single_events: nil, sync_token: nil, time_max: nil, time_min: nil, time_zone: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1388
- command = make_simple_command(:get, 'calendars/{calendarId}/events', options)
1388
+ command = make_simple_command(:get, 'calendars/{calendarId}/events', options)
1389
1389
  command.response_representation = Google::Apis::CalendarV3::Events::Representation
1390
1390
  command.response_class = Google::Apis::CalendarV3::Events
1391
1391
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -1447,7 +1447,7 @@ module Google
1447
1447
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1448
1448
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1449
1449
  def move_event(calendar_id, event_id, destination, send_notifications: nil, send_updates: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1450
- command = make_simple_command(:post, 'calendars/{calendarId}/events/{eventId}/move', options)
1450
+ command = make_simple_command(:post, 'calendars/{calendarId}/events/{eventId}/move', options)
1451
1451
  command.response_representation = Google::Apis::CalendarV3::Event::Representation
1452
1452
  command.response_class = Google::Apis::CalendarV3::Event
1453
1453
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -1516,7 +1516,7 @@ module Google
1516
1516
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1517
1517
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1518
1518
  def patch_event(calendar_id, event_id, event_object = nil, always_include_email: nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, send_updates: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1519
- command = make_simple_command(:patch, 'calendars/{calendarId}/events/{eventId}', options)
1519
+ command = make_simple_command(:patch, 'calendars/{calendarId}/events/{eventId}', options)
1520
1520
  command.request_representation = Google::Apis::CalendarV3::Event::Representation
1521
1521
  command.request_object = event_object
1522
1522
  command.response_representation = Google::Apis::CalendarV3::Event::Representation
@@ -1569,7 +1569,7 @@ module Google
1569
1569
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1570
1570
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1571
1571
  def quick_add_event(calendar_id, text, send_notifications: nil, send_updates: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1572
- command = make_simple_command(:post, 'calendars/{calendarId}/events/quickAdd', options)
1572
+ command = make_simple_command(:post, 'calendars/{calendarId}/events/quickAdd', options)
1573
1573
  command.response_representation = Google::Apis::CalendarV3::Event::Representation
1574
1574
  command.response_class = Google::Apis::CalendarV3::Event
1575
1575
  command.params['calendarId'] = calendar_id unless calendar_id.nil?
@@ -1637,7 +1637,7 @@ module Google
1637
1637
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1638
1638
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1639
1639
  def update_event(calendar_id, event_id, event_object = nil, always_include_email: nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, send_updates: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1640
- command = make_simple_command(:put, 'calendars/{calendarId}/events/{eventId}', options)
1640
+ command = make_simple_command(:put, 'calendars/{calendarId}/events/{eventId}', options)
1641
1641
  command.request_representation = Google::Apis::CalendarV3::Event::Representation
1642
1642
  command.request_object = event_object
1643
1643
  command.response_representation = Google::Apis::CalendarV3::Event::Representation
@@ -1772,7 +1772,7 @@ module Google
1772
1772
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1773
1773
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1774
1774
  def watch_event(calendar_id, channel_object = nil, always_include_email: nil, i_cal_uid: nil, max_attendees: nil, max_results: nil, order_by: nil, page_token: nil, private_extended_property: nil, q: nil, shared_extended_property: nil, show_deleted: nil, show_hidden_invitations: nil, single_events: nil, sync_token: nil, time_max: nil, time_min: nil, time_zone: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1775
- command = make_simple_command(:post, 'calendars/{calendarId}/events/watch', options)
1775
+ command = make_simple_command(:post, 'calendars/{calendarId}/events/watch', options)
1776
1776
  command.request_representation = Google::Apis::CalendarV3::Channel::Representation
1777
1777
  command.request_object = channel_object
1778
1778
  command.response_representation = Google::Apis::CalendarV3::Channel::Representation
@@ -1823,7 +1823,7 @@ module Google
1823
1823
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1824
1824
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1825
1825
  def query_freebusy(free_busy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1826
- command = make_simple_command(:post, 'freeBusy', options)
1826
+ command = make_simple_command(:post, 'freeBusy', options)
1827
1827
  command.request_representation = Google::Apis::CalendarV3::FreeBusyRequest::Representation
1828
1828
  command.request_object = free_busy_request_object
1829
1829
  command.response_representation = Google::Apis::CalendarV3::FreeBusyResponse::Representation
@@ -1857,7 +1857,7 @@ module Google
1857
1857
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1858
1858
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1859
1859
  def get_setting(setting, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1860
- command = make_simple_command(:get, 'users/me/settings/{setting}', options)
1860
+ command = make_simple_command(:get, 'users/me/settings/{setting}', options)
1861
1861
  command.response_representation = Google::Apis::CalendarV3::Setting::Representation
1862
1862
  command.response_class = Google::Apis::CalendarV3::Setting
1863
1863
  command.params['setting'] = setting unless setting.nil?
@@ -1902,7 +1902,7 @@ module Google
1902
1902
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1903
1903
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1904
1904
  def list_settings(max_results: nil, page_token: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1905
- command = make_simple_command(:get, 'users/me/settings', options)
1905
+ command = make_simple_command(:get, 'users/me/settings', options)
1906
1906
  command.response_representation = Google::Apis::CalendarV3::Settings::Representation
1907
1907
  command.response_class = Google::Apis::CalendarV3::Settings
1908
1908
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -1950,7 +1950,7 @@ module Google
1950
1950
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1951
1951
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1952
1952
  def watch_setting(channel_object = nil, max_results: nil, page_token: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1953
- command = make_simple_command(:post, 'users/me/settings/watch', options)
1953
+ command = make_simple_command(:post, 'users/me/settings/watch', options)
1954
1954
  command.request_representation = Google::Apis::CalendarV3::Channel::Representation
1955
1955
  command.request_object = channel_object
1956
1956
  command.response_representation = Google::Apis::CalendarV3::Channel::Representation
@@ -69,7 +69,7 @@ module Google
69
69
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
70
70
  # @raise [Google::Apis::AuthorizationError] Authorization is required
71
71
  def get_space(name, fields: nil, quota_user: nil, options: nil, &block)
72
- command = make_simple_command(:get, 'v1/{+name}', options)
72
+ command = make_simple_command(:get, 'v1/{+name}', options)
73
73
  command.response_representation = Google::Apis::ChatV1::Space::Representation
74
74
  command.response_class = Google::Apis::ChatV1::Space
75
75
  command.params['name'] = name unless name.nil?
@@ -103,7 +103,7 @@ module Google
103
103
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
104
104
  # @raise [Google::Apis::AuthorizationError] Authorization is required
105
105
  def list_spaces(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
106
- command = make_simple_command(:get, 'v1/spaces', options)
106
+ command = make_simple_command(:get, 'v1/spaces', options)
107
107
  command.response_representation = Google::Apis::ChatV1::ListSpacesResponse::Representation
108
108
  command.response_class = Google::Apis::ChatV1::ListSpacesResponse
109
109
  command.query['pageSize'] = page_size unless page_size.nil?
@@ -136,7 +136,7 @@ module Google
136
136
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
137
137
  # @raise [Google::Apis::AuthorizationError] Authorization is required
138
138
  def get_space_member(name, fields: nil, quota_user: nil, options: nil, &block)
139
- command = make_simple_command(:get, 'v1/{+name}', options)
139
+ command = make_simple_command(:get, 'v1/{+name}', options)
140
140
  command.response_representation = Google::Apis::ChatV1::Membership::Representation
141
141
  command.response_class = Google::Apis::ChatV1::Membership
142
142
  command.params['name'] = name unless name.nil?
@@ -174,7 +174,7 @@ module Google
174
174
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
175
175
  # @raise [Google::Apis::AuthorizationError] Authorization is required
176
176
  def list_space_members(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
177
- command = make_simple_command(:get, 'v1/{+parent}/members', options)
177
+ command = make_simple_command(:get, 'v1/{+parent}/members', options)
178
178
  command.response_representation = Google::Apis::ChatV1::ListMembershipsResponse::Representation
179
179
  command.response_class = Google::Apis::ChatV1::ListMembershipsResponse
180
180
  command.params['parent'] = parent unless parent.nil?
@@ -218,7 +218,7 @@ module Google
218
218
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
219
219
  # @raise [Google::Apis::AuthorizationError] Authorization is required
220
220
  def create_space_message(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
221
- command = make_simple_command(:post, 'v1/{+parent}/messages', options)
221
+ command = make_simple_command(:post, 'v1/{+parent}/messages', options)
222
222
  command.request_representation = Google::Apis::ChatV1::Message::Representation
223
223
  command.request_object = message_object
224
224
  command.response_representation = Google::Apis::ChatV1::Message::Representation
@@ -253,7 +253,7 @@ module Google
253
253
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
254
254
  # @raise [Google::Apis::AuthorizationError] Authorization is required
255
255
  def delete_space_message(name, fields: nil, quota_user: nil, options: nil, &block)
256
- command = make_simple_command(:delete, 'v1/{+name}', options)
256
+ command = make_simple_command(:delete, 'v1/{+name}', options)
257
257
  command.response_representation = Google::Apis::ChatV1::Empty::Representation
258
258
  command.response_class = Google::Apis::ChatV1::Empty
259
259
  command.params['name'] = name unless name.nil?
@@ -285,7 +285,7 @@ module Google
285
285
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
286
286
  # @raise [Google::Apis::AuthorizationError] Authorization is required
287
287
  def get_space_message(name, fields: nil, quota_user: nil, options: nil, &block)
288
- command = make_simple_command(:get, 'v1/{+name}', options)
288
+ command = make_simple_command(:get, 'v1/{+name}', options)
289
289
  command.response_representation = Google::Apis::ChatV1::Message::Representation
290
290
  command.response_class = Google::Apis::ChatV1::Message
291
291
  command.params['name'] = name unless name.nil?
@@ -320,7 +320,7 @@ module Google
320
320
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
321
321
  # @raise [Google::Apis::AuthorizationError] Authorization is required
322
322
  def update_space_message(name, message_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
323
- command = make_simple_command(:put, 'v1/{+name}', options)
323
+ command = make_simple_command(:put, 'v1/{+name}', options)
324
324
  command.request_representation = Google::Apis::ChatV1::Message::Representation
325
325
  command.request_object = message_object
326
326
  command.response_representation = Google::Apis::ChatV1::Message::Representation
@@ -79,7 +79,7 @@ module Google
79
79
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
80
  # @raise [Google::Apis::AuthorizationError] Authorization is required
81
81
  def search_divisions(division_search_request_object = nil, query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
82
- command = make_simple_command(:get, 'divisions', options)
82
+ command = make_simple_command(:get, 'divisions', options)
83
83
  command.request_representation = Google::Apis::CivicinfoV2::DivisionSearchRequest::Representation
84
84
  command.request_object = division_search_request_object
85
85
  command.response_representation = Google::Apis::CivicinfoV2::SearchDivisionResponse::Representation
@@ -113,7 +113,7 @@ module Google
113
113
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
114
114
  # @raise [Google::Apis::AuthorizationError] Authorization is required
115
115
  def query_election(elections_query_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
116
- command = make_simple_command(:get, 'elections', options)
116
+ command = make_simple_command(:get, 'elections', options)
117
117
  command.request_representation = Google::Apis::CivicinfoV2::ElectionsQueryRequest::Representation
118
118
  command.request_object = elections_query_request_object
119
119
  command.response_representation = Google::Apis::CivicinfoV2::QueryElectionsResponse::Representation
@@ -161,7 +161,7 @@ module Google
161
161
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
162
162
  # @raise [Google::Apis::AuthorizationError] Authorization is required
163
163
  def query_voter_info(address, voter_info_request_object = nil, election_id: nil, official_only: nil, return_all_available_data: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
164
- command = make_simple_command(:get, 'voterinfo', options)
164
+ command = make_simple_command(:get, 'voterinfo', options)
165
165
  command.request_representation = Google::Apis::CivicinfoV2::VoterInfoRequest::Representation
166
166
  command.request_object = voter_info_request_object
167
167
  command.response_representation = Google::Apis::CivicinfoV2::VoterInfoResponse::Representation
@@ -213,7 +213,7 @@ module Google
213
213
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
214
214
  # @raise [Google::Apis::AuthorizationError] Authorization is required
215
215
  def representative_info_by_address(representative_info_request_object = nil, address: nil, include_offices: nil, levels: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
216
- command = make_simple_command(:get, 'representatives', options)
216
+ command = make_simple_command(:get, 'representatives', options)
217
217
  command.request_representation = Google::Apis::CivicinfoV2::RepresentativeInfoRequest::Representation
218
218
  command.request_object = representative_info_request_object
219
219
  command.response_representation = Google::Apis::CivicinfoV2::RepresentativeInfoResponse::Representation
@@ -264,7 +264,7 @@ module Google
264
264
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
265
265
  # @raise [Google::Apis::AuthorizationError] Authorization is required
266
266
  def representative_info_by_division(ocd_id, division_representative_info_request_object = nil, levels: nil, recursive: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
267
- command = make_simple_command(:get, 'representatives/{ocdId}', options)
267
+ command = make_simple_command(:get, 'representatives/{ocdId}', options)
268
268
  command.request_representation = Google::Apis::CivicinfoV2::DivisionRepresentativeInfoRequest::Representation
269
269
  command.request_object = division_representative_info_request_object
270
270
  command.response_representation = Google::Apis::CivicinfoV2::RepresentativeInfoData::Representation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/classroom/
26
26
  module ClassroomV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190409'
28
+ REVISION = '20190503'
29
29
 
30
30
  # View and manage announcements in Google Classroom
31
31
  AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
@@ -78,7 +78,7 @@ module Google
78
78
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
79
  # @raise [Google::Apis::AuthorizationError] Authorization is required
80
80
  def create_course(course_object = nil, fields: nil, quota_user: nil, options: nil, &block)
81
- command = make_simple_command(:post, 'v1/courses', options)
81
+ command = make_simple_command(:post, 'v1/courses', options)
82
82
  command.request_representation = Google::Apis::ClassroomV1::Course::Representation
83
83
  command.request_object = course_object
84
84
  command.response_representation = Google::Apis::ClassroomV1::Course::Representation
@@ -115,7 +115,7 @@ module Google
115
115
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
116
116
  # @raise [Google::Apis::AuthorizationError] Authorization is required
117
117
  def delete_course(id, fields: nil, quota_user: nil, options: nil, &block)
118
- command = make_simple_command(:delete, 'v1/courses/{id}', options)
118
+ command = make_simple_command(:delete, 'v1/courses/{id}', options)
119
119
  command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
120
120
  command.response_class = Google::Apis::ClassroomV1::Empty
121
121
  command.params['id'] = id unless id.nil?
@@ -151,7 +151,7 @@ module Google
151
151
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
152
152
  # @raise [Google::Apis::AuthorizationError] Authorization is required
153
153
  def get_course(id, fields: nil, quota_user: nil, options: nil, &block)
154
- command = make_simple_command(:get, 'v1/courses/{id}', options)
154
+ command = make_simple_command(:get, 'v1/courses/{id}', options)
155
155
  command.response_representation = Google::Apis::ClassroomV1::Course::Representation
156
156
  command.response_class = Google::Apis::ClassroomV1::Course
157
157
  command.params['id'] = id unless id.nil?
@@ -211,7 +211,7 @@ module Google
211
211
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
212
212
  # @raise [Google::Apis::AuthorizationError] Authorization is required
213
213
  def list_courses(course_states: nil, page_size: nil, page_token: nil, student_id: nil, teacher_id: nil, fields: nil, quota_user: nil, options: nil, &block)
214
- command = make_simple_command(:get, 'v1/courses', options)
214
+ command = make_simple_command(:get, 'v1/courses', options)
215
215
  command.response_representation = Google::Apis::ClassroomV1::ListCoursesResponse::Representation
216
216
  command.response_class = Google::Apis::ClassroomV1::ListCoursesResponse
217
217
  command.query['courseStates'] = course_states unless course_states.nil?
@@ -272,7 +272,7 @@ module Google
272
272
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
273
273
  # @raise [Google::Apis::AuthorizationError] Authorization is required
274
274
  def patch_course(id, course_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
275
- command = make_simple_command(:patch, 'v1/courses/{id}', options)
275
+ command = make_simple_command(:patch, 'v1/courses/{id}', options)
276
276
  command.request_representation = Google::Apis::ClassroomV1::Course::Representation
277
277
  command.request_object = course_object
278
278
  command.response_representation = Google::Apis::ClassroomV1::Course::Representation
@@ -314,7 +314,7 @@ module Google
314
314
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
315
315
  # @raise [Google::Apis::AuthorizationError] Authorization is required
316
316
  def update_course(id, course_object = nil, fields: nil, quota_user: nil, options: nil, &block)
317
- command = make_simple_command(:put, 'v1/courses/{id}', options)
317
+ command = make_simple_command(:put, 'v1/courses/{id}', options)
318
318
  command.request_representation = Google::Apis::ClassroomV1::Course::Representation
319
319
  command.request_object = course_object
320
320
  command.response_representation = Google::Apis::ClassroomV1::Course::Representation
@@ -357,7 +357,7 @@ module Google
357
357
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
358
358
  # @raise [Google::Apis::AuthorizationError] Authorization is required
359
359
  def create_course_alias(course_id, course_alias_object = nil, fields: nil, quota_user: nil, options: nil, &block)
360
- command = make_simple_command(:post, 'v1/courses/{courseId}/aliases', options)
360
+ command = make_simple_command(:post, 'v1/courses/{courseId}/aliases', options)
361
361
  command.request_representation = Google::Apis::ClassroomV1::CourseAlias::Representation
362
362
  command.request_object = course_alias_object
363
363
  command.response_representation = Google::Apis::ClassroomV1::CourseAlias::Representation
@@ -401,7 +401,7 @@ module Google
401
401
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
402
402
  # @raise [Google::Apis::AuthorizationError] Authorization is required
403
403
  def delete_course_alias(course_id, alias_, fields: nil, quota_user: nil, options: nil, &block)
404
- command = make_simple_command(:delete, 'v1/courses/{courseId}/aliases/{alias}', options)
404
+ command = make_simple_command(:delete, 'v1/courses/{courseId}/aliases/{alias}', options)
405
405
  command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
406
406
  command.response_class = Google::Apis::ClassroomV1::Empty
407
407
  command.params['courseId'] = course_id unless course_id.nil?
@@ -449,7 +449,7 @@ module Google
449
449
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
450
450
  # @raise [Google::Apis::AuthorizationError] Authorization is required
451
451
  def list_course_aliases(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
452
- command = make_simple_command(:get, 'v1/courses/{courseId}/aliases', options)
452
+ command = make_simple_command(:get, 'v1/courses/{courseId}/aliases', options)
453
453
  command.response_representation = Google::Apis::ClassroomV1::ListCourseAliasesResponse::Representation
454
454
  command.response_class = Google::Apis::ClassroomV1::ListCourseAliasesResponse
455
455
  command.params['courseId'] = course_id unless course_id.nil?
@@ -492,7 +492,7 @@ module Google
492
492
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
493
493
  # @raise [Google::Apis::AuthorizationError] Authorization is required
494
494
  def create_course_announcement(course_id, announcement_object = nil, fields: nil, quota_user: nil, options: nil, &block)
495
- command = make_simple_command(:post, 'v1/courses/{courseId}/announcements', options)
495
+ command = make_simple_command(:post, 'v1/courses/{courseId}/announcements', options)
496
496
  command.request_representation = Google::Apis::ClassroomV1::Announcement::Representation
497
497
  command.request_object = announcement_object
498
498
  command.response_representation = Google::Apis::ClassroomV1::Announcement::Representation
@@ -539,7 +539,7 @@ module Google
539
539
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
540
540
  # @raise [Google::Apis::AuthorizationError] Authorization is required
541
541
  def delete_course_announcement(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
542
- command = make_simple_command(:delete, 'v1/courses/{courseId}/announcements/{id}', options)
542
+ command = make_simple_command(:delete, 'v1/courses/{courseId}/announcements/{id}', options)
543
543
  command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
544
544
  command.response_class = Google::Apis::ClassroomV1::Empty
545
545
  command.params['courseId'] = course_id unless course_id.nil?
@@ -579,7 +579,7 @@ module Google
579
579
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
580
580
  # @raise [Google::Apis::AuthorizationError] Authorization is required
581
581
  def get_course_announcement(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
582
- command = make_simple_command(:get, 'v1/courses/{courseId}/announcements/{id}', options)
582
+ command = make_simple_command(:get, 'v1/courses/{courseId}/announcements/{id}', options)
583
583
  command.response_representation = Google::Apis::ClassroomV1::Announcement::Representation
584
584
  command.response_class = Google::Apis::ClassroomV1::Announcement
585
585
  command.params['courseId'] = course_id unless course_id.nil?
@@ -639,7 +639,7 @@ module Google
639
639
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
640
640
  # @raise [Google::Apis::AuthorizationError] Authorization is required
641
641
  def list_course_announcements(course_id, announcement_states: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
642
- command = make_simple_command(:get, 'v1/courses/{courseId}/announcements', options)
642
+ command = make_simple_command(:get, 'v1/courses/{courseId}/announcements', options)
643
643
  command.response_representation = Google::Apis::ClassroomV1::ListAnnouncementsResponse::Representation
644
644
  command.response_class = Google::Apis::ClassroomV1::ListAnnouncementsResponse
645
645
  command.params['courseId'] = course_id unless course_id.nil?
@@ -685,7 +685,7 @@ module Google
685
685
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
686
686
  # @raise [Google::Apis::AuthorizationError] Authorization is required
687
687
  def modify_course_announcement_assignees(course_id, id, modify_announcement_assignees_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
688
- command = make_simple_command(:post, 'v1/courses/{courseId}/announcements/{id}:modifyAssignees', options)
688
+ command = make_simple_command(:post, 'v1/courses/{courseId}/announcements/{id}:modifyAssignees', options)
689
689
  command.request_representation = Google::Apis::ClassroomV1::ModifyAnnouncementAssigneesRequest::Representation
690
690
  command.request_object = modify_announcement_assignees_request_object
691
691
  command.response_representation = Google::Apis::ClassroomV1::Announcement::Representation
@@ -742,7 +742,7 @@ module Google
742
742
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
743
743
  # @raise [Google::Apis::AuthorizationError] Authorization is required
744
744
  def patch_course_announcement(course_id, id, announcement_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
745
- command = make_simple_command(:patch, 'v1/courses/{courseId}/announcements/{id}', options)
745
+ command = make_simple_command(:patch, 'v1/courses/{courseId}/announcements/{id}', options)
746
746
  command.request_representation = Google::Apis::ClassroomV1::Announcement::Representation
747
747
  command.request_object = announcement_object
748
748
  command.response_representation = Google::Apis::ClassroomV1::Announcement::Representation
@@ -793,7 +793,7 @@ module Google
793
793
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
794
794
  # @raise [Google::Apis::AuthorizationError] Authorization is required
795
795
  def create_course_work(course_id, course_work_object = nil, fields: nil, quota_user: nil, options: nil, &block)
796
- command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork', options)
796
+ command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork', options)
797
797
  command.request_representation = Google::Apis::ClassroomV1::CourseWork::Representation
798
798
  command.request_object = course_work_object
799
799
  command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation
@@ -840,7 +840,7 @@ module Google
840
840
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
841
841
  # @raise [Google::Apis::AuthorizationError] Authorization is required
842
842
  def delete_course_course_work(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
843
- command = make_simple_command(:delete, 'v1/courses/{courseId}/courseWork/{id}', options)
843
+ command = make_simple_command(:delete, 'v1/courses/{courseId}/courseWork/{id}', options)
844
844
  command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
845
845
  command.response_class = Google::Apis::ClassroomV1::Empty
846
846
  command.params['courseId'] = course_id unless course_id.nil?
@@ -880,7 +880,7 @@ module Google
880
880
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
881
881
  # @raise [Google::Apis::AuthorizationError] Authorization is required
882
882
  def get_course_work(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
883
- command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{id}', options)
883
+ command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{id}', options)
884
884
  command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation
885
885
  command.response_class = Google::Apis::ClassroomV1::CourseWork
886
886
  command.params['courseId'] = course_id unless course_id.nil?
@@ -941,7 +941,7 @@ module Google
941
941
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
942
942
  # @raise [Google::Apis::AuthorizationError] Authorization is required
943
943
  def list_course_works(course_id, course_work_states: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
944
- command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork', options)
944
+ command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork', options)
945
945
  command.response_representation = Google::Apis::ClassroomV1::ListCourseWorkResponse::Representation
946
946
  command.response_class = Google::Apis::ClassroomV1::ListCourseWorkResponse
947
947
  command.params['courseId'] = course_id unless course_id.nil?
@@ -987,7 +987,7 @@ module Google
987
987
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
988
988
  # @raise [Google::Apis::AuthorizationError] Authorization is required
989
989
  def modify_course_course_work_assignees(course_id, id, modify_course_work_assignees_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
990
- command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{id}:modifyAssignees', options)
990
+ command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{id}:modifyAssignees', options)
991
991
  command.request_representation = Google::Apis::ClassroomV1::ModifyCourseWorkAssigneesRequest::Representation
992
992
  command.request_object = modify_course_work_assignees_request_object
993
993
  command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation
@@ -1039,6 +1039,7 @@ module Google
1039
1039
  # * `max_points`
1040
1040
  # * `scheduled_time`
1041
1041
  # * `submission_modification_mode`
1042
+ # * `topic_id`
1042
1043
  # @param [String] fields
1043
1044
  # Selector specifying which fields to include in a partial response.
1044
1045
  # @param [String] quota_user
@@ -1057,7 +1058,7 @@ module Google
1057
1058
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1058
1059
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1059
1060
  def patch_course_course_work(course_id, id, course_work_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1060
- command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{id}', options)
1061
+ command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{id}', options)
1061
1062
  command.request_representation = Google::Apis::ClassroomV1::CourseWork::Representation
1062
1063
  command.request_object = course_work_object
1063
1064
  command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation
@@ -1103,7 +1104,7 @@ module Google
1103
1104
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1104
1105
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1105
1106
  def get_student_submission(course_id, course_work_id, id, fields: nil, quota_user: nil, options: nil, &block)
1106
- command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options)
1107
+ command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options)
1107
1108
  command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation
1108
1109
  command.response_class = Google::Apis::ClassroomV1::StudentSubmission
1109
1110
  command.params['courseId'] = course_id unless course_id.nil?
@@ -1176,7 +1177,7 @@ module Google
1176
1177
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1177
1178
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1178
1179
  def list_student_submissions(course_id, course_work_id, late: nil, page_size: nil, page_token: nil, states: nil, user_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1179
- command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions', options)
1180
+ command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions', options)
1180
1181
  command.response_representation = Google::Apis::ClassroomV1::ListStudentSubmissionsResponse::Representation
1181
1182
  command.response_class = Google::Apis::ClassroomV1::ListStudentSubmissionsResponse
1182
1183
  command.params['courseId'] = course_id unless course_id.nil?
@@ -1232,7 +1233,7 @@ module Google
1232
1233
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1233
1234
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1234
1235
  def modify_student_submission_attachments(course_id, course_work_id, id, modify_attachments_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1235
- command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments', options)
1236
+ command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments', options)
1236
1237
  command.request_representation = Google::Apis::ClassroomV1::ModifyAttachmentsRequest::Representation
1237
1238
  command.request_object = modify_attachments_request_object
1238
1239
  command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation
@@ -1293,7 +1294,7 @@ module Google
1293
1294
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1294
1295
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1295
1296
  def patch_student_submission(course_id, course_work_id, id, student_submission_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1296
- command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options)
1297
+ command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options)
1297
1298
  command.request_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation
1298
1299
  command.request_object = student_submission_object
1299
1300
  command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation
@@ -1350,7 +1351,7 @@ module Google
1350
1351
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1351
1352
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1352
1353
  def reclaim_student_submission(course_id, course_work_id, id, reclaim_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1353
- command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim', options)
1354
+ command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim', options)
1354
1355
  command.request_representation = Google::Apis::ClassroomV1::ReclaimStudentSubmissionRequest::Representation
1355
1356
  command.request_object = reclaim_student_submission_request_object
1356
1357
  command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
@@ -1407,7 +1408,7 @@ module Google
1407
1408
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1408
1409
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1409
1410
  def return_student_submission(course_id, course_work_id, id, return_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1410
- command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return', options)
1411
+ command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return', options)
1411
1412
  command.request_representation = Google::Apis::ClassroomV1::ReturnStudentSubmissionRequest::Representation
1412
1413
  command.request_object = return_student_submission_request_object
1413
1414
  command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
@@ -1462,7 +1463,7 @@ module Google
1462
1463
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1463
1464
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1464
1465
  def turn_in_student_submission(course_id, course_work_id, id, turn_in_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1465
- command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn', options)
1466
+ command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn', options)
1466
1467
  command.request_representation = Google::Apis::ClassroomV1::TurnInStudentSubmissionRequest::Representation
1467
1468
  command.request_object = turn_in_student_submission_request_object
1468
1469
  command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
@@ -1515,7 +1516,7 @@ module Google
1515
1516
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1516
1517
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1517
1518
  def create_course_student(course_id, student_object = nil, enrollment_code: nil, fields: nil, quota_user: nil, options: nil, &block)
1518
- command = make_simple_command(:post, 'v1/courses/{courseId}/students', options)
1519
+ command = make_simple_command(:post, 'v1/courses/{courseId}/students', options)
1519
1520
  command.request_representation = Google::Apis::ClassroomV1::Student::Representation
1520
1521
  command.request_object = student_object
1521
1522
  command.response_representation = Google::Apis::ClassroomV1::Student::Representation
@@ -1561,7 +1562,7 @@ module Google
1561
1562
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1562
1563
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1563
1564
  def delete_course_student(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
1564
- command = make_simple_command(:delete, 'v1/courses/{courseId}/students/{userId}', options)
1565
+ command = make_simple_command(:delete, 'v1/courses/{courseId}/students/{userId}', options)
1565
1566
  command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
1566
1567
  command.response_class = Google::Apis::ClassroomV1::Empty
1567
1568
  command.params['courseId'] = course_id unless course_id.nil?
@@ -1605,7 +1606,7 @@ module Google
1605
1606
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1606
1607
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1607
1608
  def get_course_student(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
1608
- command = make_simple_command(:get, 'v1/courses/{courseId}/students/{userId}', options)
1609
+ command = make_simple_command(:get, 'v1/courses/{courseId}/students/{userId}', options)
1609
1610
  command.response_representation = Google::Apis::ClassroomV1::Student::Representation
1610
1611
  command.response_class = Google::Apis::ClassroomV1::Student
1611
1612
  command.params['courseId'] = course_id unless course_id.nil?
@@ -1652,7 +1653,7 @@ module Google
1652
1653
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1653
1654
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1654
1655
  def list_course_students(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1655
- command = make_simple_command(:get, 'v1/courses/{courseId}/students', options)
1656
+ command = make_simple_command(:get, 'v1/courses/{courseId}/students', options)
1656
1657
  command.response_representation = Google::Apis::ClassroomV1::ListStudentsResponse::Representation
1657
1658
  command.response_class = Google::Apis::ClassroomV1::ListStudentsResponse
1658
1659
  command.params['courseId'] = course_id unless course_id.nil?
@@ -1699,7 +1700,7 @@ module Google
1699
1700
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1700
1701
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1701
1702
  def create_course_teacher(course_id, teacher_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1702
- command = make_simple_command(:post, 'v1/courses/{courseId}/teachers', options)
1703
+ command = make_simple_command(:post, 'v1/courses/{courseId}/teachers', options)
1703
1704
  command.request_representation = Google::Apis::ClassroomV1::Teacher::Representation
1704
1705
  command.request_object = teacher_object
1705
1706
  command.response_representation = Google::Apis::ClassroomV1::Teacher::Representation
@@ -1746,7 +1747,7 @@ module Google
1746
1747
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1747
1748
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1748
1749
  def delete_course_teacher(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
1749
- command = make_simple_command(:delete, 'v1/courses/{courseId}/teachers/{userId}', options)
1750
+ command = make_simple_command(:delete, 'v1/courses/{courseId}/teachers/{userId}', options)
1750
1751
  command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
1751
1752
  command.response_class = Google::Apis::ClassroomV1::Empty
1752
1753
  command.params['courseId'] = course_id unless course_id.nil?
@@ -1790,7 +1791,7 @@ module Google
1790
1791
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1791
1792
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1792
1793
  def get_course_teacher(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
1793
- command = make_simple_command(:get, 'v1/courses/{courseId}/teachers/{userId}', options)
1794
+ command = make_simple_command(:get, 'v1/courses/{courseId}/teachers/{userId}', options)
1794
1795
  command.response_representation = Google::Apis::ClassroomV1::Teacher::Representation
1795
1796
  command.response_class = Google::Apis::ClassroomV1::Teacher
1796
1797
  command.params['courseId'] = course_id unless course_id.nil?
@@ -1837,7 +1838,7 @@ module Google
1837
1838
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1838
1839
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1839
1840
  def list_course_teachers(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1840
- command = make_simple_command(:get, 'v1/courses/{courseId}/teachers', options)
1841
+ command = make_simple_command(:get, 'v1/courses/{courseId}/teachers', options)
1841
1842
  command.response_representation = Google::Apis::ClassroomV1::ListTeachersResponse::Representation
1842
1843
  command.response_class = Google::Apis::ClassroomV1::ListTeachersResponse
1843
1844
  command.params['courseId'] = course_id unless course_id.nil?
@@ -1878,7 +1879,7 @@ module Google
1878
1879
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1879
1880
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1880
1881
  def create_course_topic(course_id, topic_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1881
- command = make_simple_command(:post, 'v1/courses/{courseId}/topics', options)
1882
+ command = make_simple_command(:post, 'v1/courses/{courseId}/topics', options)
1882
1883
  command.request_representation = Google::Apis::ClassroomV1::Topic::Representation
1883
1884
  command.request_object = topic_object
1884
1885
  command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
@@ -1920,7 +1921,7 @@ module Google
1920
1921
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1921
1922
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1922
1923
  def delete_course_topic(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
1923
- command = make_simple_command(:delete, 'v1/courses/{courseId}/topics/{id}', options)
1924
+ command = make_simple_command(:delete, 'v1/courses/{courseId}/topics/{id}', options)
1924
1925
  command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
1925
1926
  command.response_class = Google::Apis::ClassroomV1::Empty
1926
1927
  command.params['courseId'] = course_id unless course_id.nil?
@@ -1958,7 +1959,7 @@ module Google
1958
1959
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1959
1960
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1960
1961
  def get_course_topic(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
1961
- command = make_simple_command(:get, 'v1/courses/{courseId}/topics/{id}', options)
1962
+ command = make_simple_command(:get, 'v1/courses/{courseId}/topics/{id}', options)
1962
1963
  command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
1963
1964
  command.response_class = Google::Apis::ClassroomV1::Topic
1964
1965
  command.params['courseId'] = course_id unless course_id.nil?
@@ -2007,7 +2008,7 @@ module Google
2007
2008
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2008
2009
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2009
2010
  def list_course_topics(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2010
- command = make_simple_command(:get, 'v1/courses/{courseId}/topics', options)
2011
+ command = make_simple_command(:get, 'v1/courses/{courseId}/topics', options)
2011
2012
  command.response_representation = Google::Apis::ClassroomV1::ListTopicResponse::Representation
2012
2013
  command.response_class = Google::Apis::ClassroomV1::ListTopicResponse
2013
2014
  command.params['courseId'] = course_id unless course_id.nil?
@@ -2059,7 +2060,7 @@ module Google
2059
2060
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2060
2061
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2061
2062
  def patch_course_topic(course_id, id, topic_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2062
- command = make_simple_command(:patch, 'v1/courses/{courseId}/topics/{id}', options)
2063
+ command = make_simple_command(:patch, 'v1/courses/{courseId}/topics/{id}', options)
2063
2064
  command.request_representation = Google::Apis::ClassroomV1::Topic::Representation
2064
2065
  command.request_object = topic_object
2065
2066
  command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
@@ -2104,7 +2105,7 @@ module Google
2104
2105
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2105
2106
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2106
2107
  def accept_invitation(id, fields: nil, quota_user: nil, options: nil, &block)
2107
- command = make_simple_command(:post, 'v1/invitations/{id}:accept', options)
2108
+ command = make_simple_command(:post, 'v1/invitations/{id}:accept', options)
2108
2109
  command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
2109
2110
  command.response_class = Google::Apis::ClassroomV1::Empty
2110
2111
  command.params['id'] = id unless id.nil?
@@ -2142,7 +2143,7 @@ module Google
2142
2143
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2143
2144
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2144
2145
  def create_invitation(invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2145
- command = make_simple_command(:post, 'v1/invitations', options)
2146
+ command = make_simple_command(:post, 'v1/invitations', options)
2146
2147
  command.request_representation = Google::Apis::ClassroomV1::Invitation::Representation
2147
2148
  command.request_object = invitation_object
2148
2149
  command.response_representation = Google::Apis::ClassroomV1::Invitation::Representation
@@ -2177,7 +2178,7 @@ module Google
2177
2178
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2178
2179
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2179
2180
  def delete_invitation(id, fields: nil, quota_user: nil, options: nil, &block)
2180
- command = make_simple_command(:delete, 'v1/invitations/{id}', options)
2181
+ command = make_simple_command(:delete, 'v1/invitations/{id}', options)
2181
2182
  command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
2182
2183
  command.response_class = Google::Apis::ClassroomV1::Empty
2183
2184
  command.params['id'] = id unless id.nil?
@@ -2211,7 +2212,7 @@ module Google
2211
2212
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2212
2213
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2213
2214
  def get_invitation(id, fields: nil, quota_user: nil, options: nil, &block)
2214
- command = make_simple_command(:get, 'v1/invitations/{id}', options)
2215
+ command = make_simple_command(:get, 'v1/invitations/{id}', options)
2215
2216
  command.response_representation = Google::Apis::ClassroomV1::Invitation::Representation
2216
2217
  command.response_class = Google::Apis::ClassroomV1::Invitation
2217
2218
  command.params['id'] = id unless id.nil?
@@ -2263,7 +2264,7 @@ module Google
2263
2264
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2264
2265
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2265
2266
  def list_invitations(course_id: nil, page_size: nil, page_token: nil, user_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2266
- command = make_simple_command(:get, 'v1/invitations', options)
2267
+ command = make_simple_command(:get, 'v1/invitations', options)
2267
2268
  command.response_representation = Google::Apis::ClassroomV1::ListInvitationsResponse::Representation
2268
2269
  command.response_class = Google::Apis::ClassroomV1::ListInvitationsResponse
2269
2270
  command.query['courseId'] = course_id unless course_id.nil?
@@ -2320,7 +2321,7 @@ module Google
2320
2321
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2321
2322
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2322
2323
  def create_registration(registration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2323
- command = make_simple_command(:post, 'v1/registrations', options)
2324
+ command = make_simple_command(:post, 'v1/registrations', options)
2324
2325
  command.request_representation = Google::Apis::ClassroomV1::Registration::Representation
2325
2326
  command.request_object = registration_object
2326
2327
  command.response_representation = Google::Apis::ClassroomV1::Registration::Representation
@@ -2352,7 +2353,7 @@ module Google
2352
2353
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2353
2354
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2354
2355
  def delete_registration(registration_id, fields: nil, quota_user: nil, options: nil, &block)
2355
- command = make_simple_command(:delete, 'v1/registrations/{registrationId}', options)
2356
+ command = make_simple_command(:delete, 'v1/registrations/{registrationId}', options)
2356
2357
  command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
2357
2358
  command.response_class = Google::Apis::ClassroomV1::Empty
2358
2359
  command.params['registrationId'] = registration_id unless registration_id.nil?
@@ -2390,7 +2391,7 @@ module Google
2390
2391
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2391
2392
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2392
2393
  def get_user_profile(user_id, fields: nil, quota_user: nil, options: nil, &block)
2393
- command = make_simple_command(:get, 'v1/userProfiles/{userId}', options)
2394
+ command = make_simple_command(:get, 'v1/userProfiles/{userId}', options)
2394
2395
  command.response_representation = Google::Apis::ClassroomV1::UserProfile::Representation
2395
2396
  command.response_class = Google::Apis::ClassroomV1::UserProfile
2396
2397
  command.params['userId'] = user_id unless user_id.nil?
@@ -2446,7 +2447,7 @@ module Google
2446
2447
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2447
2448
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2448
2449
  def create_user_profile_guardian_invitation(student_id, guardian_invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2449
- command = make_simple_command(:post, 'v1/userProfiles/{studentId}/guardianInvitations', options)
2450
+ command = make_simple_command(:post, 'v1/userProfiles/{studentId}/guardianInvitations', options)
2450
2451
  command.request_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation
2451
2452
  command.request_object = guardian_invitation_object
2452
2453
  command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation
@@ -2491,7 +2492,7 @@ module Google
2491
2492
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2492
2493
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2493
2494
  def get_user_profile_guardian_invitation(student_id, invitation_id, fields: nil, quota_user: nil, options: nil, &block)
2494
- command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options)
2495
+ command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options)
2495
2496
  command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation
2496
2497
  command.response_class = Google::Apis::ClassroomV1::GuardianInvitation
2497
2498
  command.params['studentId'] = student_id unless student_id.nil?
@@ -2559,7 +2560,7 @@ module Google
2559
2560
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2560
2561
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2561
2562
  def list_user_profile_guardian_invitations(student_id, invited_email_address: nil, page_size: nil, page_token: nil, states: nil, fields: nil, quota_user: nil, options: nil, &block)
2562
- command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations', options)
2563
+ command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations', options)
2563
2564
  command.response_representation = Google::Apis::ClassroomV1::ListGuardianInvitationsResponse::Representation
2564
2565
  command.response_class = Google::Apis::ClassroomV1::ListGuardianInvitationsResponse
2565
2566
  command.params['studentId'] = student_id unless student_id.nil?
@@ -2617,7 +2618,7 @@ module Google
2617
2618
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2618
2619
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2619
2620
  def patch_user_profile_guardian_invitation(student_id, invitation_id, guardian_invitation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2620
- command = make_simple_command(:patch, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options)
2621
+ command = make_simple_command(:patch, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options)
2621
2622
  command.request_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation
2622
2623
  command.request_object = guardian_invitation_object
2623
2624
  command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation
@@ -2670,7 +2671,7 @@ module Google
2670
2671
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2671
2672
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2672
2673
  def delete_user_profile_guardian(student_id, guardian_id, fields: nil, quota_user: nil, options: nil, &block)
2673
- command = make_simple_command(:delete, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options)
2674
+ command = make_simple_command(:delete, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options)
2674
2675
  command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
2675
2676
  command.response_class = Google::Apis::ClassroomV1::Empty
2676
2677
  command.params['studentId'] = student_id unless student_id.nil?
@@ -2718,7 +2719,7 @@ module Google
2718
2719
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2719
2720
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2720
2721
  def get_user_profile_guardian(student_id, guardian_id, fields: nil, quota_user: nil, options: nil, &block)
2721
- command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options)
2722
+ command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options)
2722
2723
  command.response_representation = Google::Apis::ClassroomV1::Guardian::Representation
2723
2724
  command.response_class = Google::Apis::ClassroomV1::Guardian
2724
2725
  command.params['studentId'] = student_id unless student_id.nil?
@@ -2786,7 +2787,7 @@ module Google
2786
2787
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2787
2788
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2788
2789
  def list_user_profile_guardians(student_id, invited_email_address: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2789
- command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians', options)
2790
+ command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians', options)
2790
2791
  command.response_representation = Google::Apis::ClassroomV1::ListGuardiansResponse::Representation
2791
2792
  command.response_class = Google::Apis::ClassroomV1::ListGuardiansResponse
2792
2793
  command.params['studentId'] = student_id unless student_id.nil?