google-api-client 0.28.7 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/build.bat +9 -6
  3. data/.kokoro/build.sh +2 -32
  4. data/.kokoro/continuous/common.cfg +6 -1
  5. data/.kokoro/continuous/windows.cfg +17 -1
  6. data/.kokoro/osx.sh +2 -33
  7. data/.kokoro/presubmit/common.cfg +6 -1
  8. data/.kokoro/presubmit/windows.cfg +17 -1
  9. data/.kokoro/trampoline.bat +10 -0
  10. data/.kokoro/trampoline.sh +3 -23
  11. data/CHANGELOG.md +138 -0
  12. data/Rakefile +31 -0
  13. data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
  14. data/generated/google/apis/accessapproval_v1beta1/classes.rb +306 -0
  15. data/generated/google/apis/accessapproval_v1beta1/representations.rb +159 -0
  16. data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +96 -131
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -42
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  22. data/generated/google/apis/alertcenter_v1beta1/classes.rb +98 -0
  23. data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
  24. data/generated/google/apis/alertcenter_v1beta1/service.rb +2 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +40 -0
  27. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
  28. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  29. data/generated/google/apis/androidenterprise_v1/classes.rb +0 -26
  30. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -14
  31. data/generated/google/apis/androidenterprise_v1/service.rb +0 -36
  32. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  33. data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
  34. data/generated/google/apis/androidmanagement_v1/representations.rb +82 -0
  35. data/generated/google/apis/androidmanagement_v1/service.rb +170 -0
  36. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v2/service.rb +6 -12
  38. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  39. data/generated/google/apis/androidpublisher_v3/service.rb +6 -12
  40. data/generated/google/apis/appengine_v1.rb +1 -1
  41. data/generated/google/apis/appengine_v1/service.rb +7 -1
  42. data/generated/google/apis/appengine_v1beta.rb +1 -1
  43. data/generated/google/apis/appengine_v1beta/classes.rb +2 -1
  44. data/generated/google/apis/appengine_v1beta/service.rb +7 -1
  45. data/generated/google/apis/appsactivity_v1.rb +1 -1
  46. data/generated/google/apis/appsactivity_v1/service.rb +4 -3
  47. data/generated/google/apis/bigquery_v2.rb +1 -1
  48. data/generated/google/apis/bigquery_v2/classes.rb +28 -4
  49. data/generated/google/apis/bigquery_v2/representations.rb +13 -0
  50. data/generated/google/apis/bigtableadmin_v1.rb +2 -2
  51. data/generated/google/apis/bigtableadmin_v1/service.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2.rb +2 -2
  53. data/generated/google/apis/bigtableadmin_v2/classes.rb +10 -10
  54. data/generated/google/apis/bigtableadmin_v2/service.rb +111 -2
  55. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/calendar_v3/service.rb +16 -16
  58. data/generated/google/apis/classroom_v1.rb +7 -1
  59. data/generated/google/apis/classroom_v1/classes.rb +77 -0
  60. data/generated/google/apis/classroom_v1/representations.rb +32 -0
  61. data/generated/google/apis/classroom_v1/service.rb +224 -0
  62. data/generated/google/apis/cloudasset_v1.rb +1 -1
  63. data/generated/google/apis/cloudasset_v1/classes.rb +15 -2
  64. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  65. data/generated/google/apis/cloudasset_v1/service.rb +3 -2
  66. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudasset_v1beta1/classes.rb +13 -0
  68. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  69. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  70. data/generated/google/apis/cloudbilling_v1/service.rb +2 -2
  71. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  72. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1 -1
  73. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  74. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
  75. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -5
  76. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  77. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -10
  78. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  79. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -4
  80. data/generated/google/apis/cloudiot_v1.rb +1 -1
  81. data/generated/google/apis/cloudkms_v1.rb +1 -1
  82. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  83. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  84. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
  85. data/generated/google/apis/cloudresourcemanager_v1/service.rb +30 -21
  86. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  87. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +37 -26
  88. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  90. data/generated/google/apis/cloudscheduler_v1.rb +34 -0
  91. data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
  92. data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
  93. data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
  94. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  95. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -2
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +25 -11
  98. data/generated/google/apis/cloudsearch_v1/service.rb +36 -32
  99. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2/service.rb +13 -13
  101. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  102. data/generated/google/apis/cloudtasks_v2beta2/service.rb +13 -13
  103. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  104. data/generated/google/apis/cloudtasks_v2beta3/service.rb +13 -13
  105. data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
  106. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
  107. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
  108. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
  109. data/generated/google/apis/compute_alpha.rb +1 -1
  110. data/generated/google/apis/compute_alpha/classes.rb +328 -25
  111. data/generated/google/apis/compute_alpha/representations.rb +134 -0
  112. data/generated/google/apis/compute_alpha/service.rb +465 -0
  113. data/generated/google/apis/compute_beta.rb +1 -1
  114. data/generated/google/apis/compute_beta/classes.rb +86 -20
  115. data/generated/google/apis/compute_beta/representations.rb +7 -0
  116. data/generated/google/apis/compute_v1.rb +1 -1
  117. data/generated/google/apis/compute_v1/classes.rb +994 -103
  118. data/generated/google/apis/compute_v1/representations.rb +346 -0
  119. data/generated/google/apis/compute_v1/service.rb +533 -0
  120. data/generated/google/apis/container_v1.rb +1 -1
  121. data/generated/google/apis/container_v1/classes.rb +167 -21
  122. data/generated/google/apis/container_v1/representations.rb +66 -0
  123. data/generated/google/apis/container_v1/service.rb +85 -36
  124. data/generated/google/apis/container_v1beta1.rb +1 -1
  125. data/generated/google/apis/container_v1beta1/classes.rb +86 -21
  126. data/generated/google/apis/container_v1beta1/representations.rb +32 -0
  127. data/generated/google/apis/container_v1beta1/service.rb +38 -38
  128. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  129. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  130. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +95 -6
  131. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +25 -0
  132. data/generated/google/apis/content_v2.rb +1 -1
  133. data/generated/google/apis/content_v2/classes.rb +5 -5
  134. data/generated/google/apis/content_v2/service.rb +6 -6
  135. data/generated/google/apis/content_v2_1.rb +1 -1
  136. data/generated/google/apis/content_v2_1/classes.rb +18 -4
  137. data/generated/google/apis/content_v2_1/representations.rb +2 -0
  138. data/generated/google/apis/content_v2_1/service.rb +6 -6
  139. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  140. data/generated/google/apis/dataflow_v1b3/classes.rb +56 -1
  141. data/generated/google/apis/dataflow_v1b3/representations.rb +39 -0
  142. data/generated/google/apis/dataflow_v1b3/service.rb +251 -0
  143. data/generated/google/apis/datafusion_v1beta1.rb +43 -0
  144. data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
  145. data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
  146. data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
  147. data/generated/google/apis/dataproc_v1.rb +1 -1
  148. data/generated/google/apis/dataproc_v1/classes.rb +5 -5
  149. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  150. data/generated/google/apis/dataproc_v1beta2/classes.rb +37 -24
  151. data/generated/google/apis/datastore_v1.rb +1 -1
  152. data/generated/google/apis/datastore_v1/classes.rb +20 -16
  153. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  154. data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
  155. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  156. data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
  157. data/generated/google/apis/dialogflow_v2.rb +1 -1
  158. data/generated/google/apis/dialogflow_v2/classes.rb +236 -0
  159. data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
  160. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  161. data/generated/google/apis/dialogflow_v2beta1/classes.rb +64 -2
  162. data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
  163. data/generated/google/apis/dlp_v2.rb +1 -1
  164. data/generated/google/apis/dlp_v2/classes.rb +19 -2
  165. data/generated/google/apis/dns_v1.rb +1 -1
  166. data/generated/google/apis/dns_v1/classes.rb +202 -93
  167. data/generated/google/apis/dns_v1/service.rb +110 -15
  168. data/generated/google/apis/dns_v1beta2.rb +1 -1
  169. data/generated/google/apis/dns_v1beta2/classes.rb +262 -122
  170. data/generated/google/apis/dns_v1beta2/service.rb +141 -21
  171. data/generated/google/apis/dns_v2beta1.rb +1 -1
  172. data/generated/google/apis/dns_v2beta1/classes.rb +202 -93
  173. data/generated/google/apis/dns_v2beta1/service.rb +110 -15
  174. data/generated/google/apis/docs_v1.rb +1 -1
  175. data/generated/google/apis/docs_v1/classes.rb +10 -0
  176. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  177. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
  178. data/generated/google/apis/drive_v2.rb +1 -1
  179. data/generated/google/apis/drive_v2/classes.rb +601 -69
  180. data/generated/google/apis/drive_v2/representations.rb +152 -0
  181. data/generated/google/apis/drive_v2/service.rb +452 -96
  182. data/generated/google/apis/drive_v3.rb +1 -1
  183. data/generated/google/apis/drive_v3/classes.rb +591 -64
  184. data/generated/google/apis/drive_v3/representations.rb +151 -0
  185. data/generated/google/apis/drive_v3/service.rb +407 -77
  186. data/generated/google/apis/driveactivity_v2.rb +1 -1
  187. data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
  188. data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
  189. data/generated/google/apis/file_v1.rb +1 -1
  190. data/generated/google/apis/file_v1/classes.rb +399 -8
  191. data/generated/google/apis/file_v1/representations.rb +121 -0
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +399 -8
  194. data/generated/google/apis/file_v1beta1/representations.rb +121 -0
  195. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  196. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +28 -4
  197. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
  198. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  199. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
  200. data/generated/google/apis/firebaserules_v1.rb +1 -1
  201. data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
  202. data/generated/google/apis/firestore_v1.rb +1 -1
  203. data/generated/google/apis/firestore_v1/classes.rb +15 -15
  204. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  205. data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
  206. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  207. data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
  208. data/generated/google/apis/fitness_v1.rb +1 -1
  209. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  210. data/generated/google/apis/games_v1.rb +2 -2
  211. data/generated/google/apis/gmail_v1.rb +1 -1
  212. data/generated/google/apis/gmail_v1/classes.rb +29 -0
  213. data/generated/google/apis/gmail_v1/representations.rb +13 -0
  214. data/generated/google/apis/gmail_v1/service.rb +76 -0
  215. data/generated/google/apis/healthcare_v1beta1.rb +34 -0
  216. data/generated/google/apis/healthcare_v1beta1/classes.rb +2462 -0
  217. data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
  218. data/generated/google/apis/healthcare_v1beta1/service.rb +3403 -0
  219. data/generated/google/apis/iap_v1.rb +1 -1
  220. data/generated/google/apis/iap_v1beta1.rb +1 -1
  221. data/generated/google/apis/jobs_v2.rb +1 -1
  222. data/generated/google/apis/jobs_v2/classes.rb +9 -8
  223. data/generated/google/apis/jobs_v3.rb +1 -1
  224. data/generated/google/apis/jobs_v3/classes.rb +13 -7
  225. data/generated/google/apis/jobs_v3/service.rb +1 -2
  226. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  227. data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -7
  228. data/generated/google/apis/jobs_v3p1beta1/service.rb +1 -2
  229. data/generated/google/apis/language_v1.rb +1 -1
  230. data/generated/google/apis/language_v1/classes.rb +3 -2
  231. data/generated/google/apis/language_v1beta2.rb +1 -1
  232. data/generated/google/apis/language_v1beta2/classes.rb +3 -2
  233. data/generated/google/apis/ml_v1.rb +1 -1
  234. data/generated/google/apis/ml_v1/classes.rb +64 -16
  235. data/generated/google/apis/ml_v1/representations.rb +2 -0
  236. data/generated/google/apis/ml_v1/service.rb +5 -5
  237. data/generated/google/apis/monitoring_v3.rb +1 -1
  238. data/generated/google/apis/monitoring_v3/classes.rb +0 -10
  239. data/generated/google/apis/monitoring_v3/representations.rb +0 -1
  240. data/generated/google/apis/oauth2_v1.rb +1 -1
  241. data/generated/google/apis/oauth2_v2.rb +1 -1
  242. data/generated/google/apis/oslogin_v1.rb +3 -2
  243. data/generated/google/apis/oslogin_v1/service.rb +2 -1
  244. data/generated/google/apis/oslogin_v1alpha.rb +3 -2
  245. data/generated/google/apis/oslogin_v1alpha/service.rb +2 -1
  246. data/generated/google/apis/oslogin_v1beta.rb +3 -2
  247. data/generated/google/apis/oslogin_v1beta/service.rb +2 -1
  248. data/generated/google/apis/people_v1.rb +1 -4
  249. data/generated/google/apis/people_v1/classes.rb +19 -11
  250. data/generated/google/apis/people_v1/representations.rb +1 -0
  251. data/generated/google/apis/people_v1/service.rb +1 -0
  252. data/generated/google/apis/plus_domains_v1.rb +2 -5
  253. data/generated/google/apis/plus_domains_v1/service.rb +8 -90
  254. data/generated/google/apis/plus_v1.rb +2 -2
  255. data/generated/google/apis/plus_v1/service.rb +7 -7
  256. data/generated/google/apis/poly_v1.rb +1 -1
  257. data/generated/google/apis/poly_v1/classes.rb +3 -2
  258. data/generated/google/apis/poly_v1/service.rb +11 -8
  259. data/generated/google/apis/pubsub_v1.rb +1 -1
  260. data/generated/google/apis/pubsub_v1/classes.rb +2 -1
  261. data/generated/google/apis/pubsub_v1/service.rb +8 -8
  262. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  263. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  264. data/generated/google/apis/remotebuildexecution_v1/classes.rb +7 -6
  265. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  266. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -4
  267. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  268. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -4
  269. data/generated/google/apis/run_v1alpha1.rb +1 -1
  270. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1.rb +35 -0
  272. data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
  273. data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
  274. data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
  275. data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
  276. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
  277. data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
  278. data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
  279. data/generated/google/apis/servicebroker_v1.rb +1 -1
  280. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  281. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  282. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  283. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +324 -13
  284. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +174 -0
  285. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +5 -0
  286. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  287. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
  288. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  289. data/generated/google/apis/servicemanagement_v1/classes.rb +101 -20
  290. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  291. data/generated/google/apis/servicenetworking_v1/classes.rb +16 -13
  292. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  293. data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -13
  294. data/generated/google/apis/serviceusage_v1.rb +1 -1
  295. data/generated/google/apis/serviceusage_v1/classes.rb +110 -13
  296. data/generated/google/apis/serviceusage_v1/representations.rb +43 -0
  297. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  298. data/generated/google/apis/serviceusage_v1beta1/classes.rb +110 -13
  299. data/generated/google/apis/serviceusage_v1beta1/representations.rb +43 -0
  300. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  301. data/generated/google/apis/sourcerepo_v1/classes.rb +182 -0
  302. data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
  303. data/generated/google/apis/sourcerepo_v1/service.rb +35 -0
  304. data/generated/google/apis/spanner_v1.rb +1 -1
  305. data/generated/google/apis/spanner_v1/classes.rb +20 -19
  306. data/generated/google/apis/spanner_v1/service.rb +1 -1
  307. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  308. data/generated/google/apis/sqladmin_v1beta4/classes.rb +9 -2
  309. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  310. data/generated/google/apis/storage_v1.rb +1 -1
  311. data/generated/google/apis/storage_v1/classes.rb +144 -0
  312. data/generated/google/apis/storage_v1/representations.rb +56 -0
  313. data/generated/google/apis/storage_v1/service.rb +441 -46
  314. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  315. data/generated/google/apis/storagetransfer_v1/classes.rb +3 -3
  316. data/generated/google/apis/testing_v1.rb +1 -1
  317. data/generated/google/apis/testing_v1/classes.rb +6 -0
  318. data/generated/google/apis/testing_v1/representations.rb +1 -0
  319. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  320. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  321. data/generated/google/apis/toolresults_v1beta3/classes.rb +240 -0
  322. data/generated/google/apis/toolresults_v1beta3/representations.rb +43 -0
  323. data/generated/google/apis/toolresults_v1beta3/service.rb +116 -0
  324. data/generated/google/apis/tpu_v1.rb +1 -1
  325. data/generated/google/apis/tpu_v1/classes.rb +10 -4
  326. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  327. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  328. data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -4
  329. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  330. data/generated/google/apis/vault_v1.rb +1 -1
  331. data/generated/google/apis/vault_v1/classes.rb +37 -18
  332. data/generated/google/apis/vault_v1/representations.rb +3 -0
  333. data/generated/google/apis/vision_v1.rb +1 -1
  334. data/generated/google/apis/vision_v1/classes.rb +84 -47
  335. data/generated/google/apis/vision_v1/service.rb +68 -4
  336. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  337. data/generated/google/apis/vision_v1p1beta1/classes.rb +84 -47
  338. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  339. data/generated/google/apis/vision_v1p2beta1/classes.rb +84 -47
  340. data/generated/google/apis/webmasters_v3.rb +1 -1
  341. data/generated/google/apis/webmasters_v3/classes.rb +0 -166
  342. data/generated/google/apis/webmasters_v3/representations.rb +0 -93
  343. data/generated/google/apis/webmasters_v3/service.rb +0 -171
  344. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  345. data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
  346. data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
  347. data/generated/google/apis/youtube_v3.rb +1 -1
  348. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  349. data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
  350. data/google-api-client.gemspec +1 -1
  351. data/lib/google/apis/version.rb +1 -1
  352. metadata +31 -9
  353. data/.kokoro/common.cfg +0 -22
  354. data/.kokoro/windows.sh +0 -32
  355. data/generated/google/apis/logging_v2beta1.rb +0 -46
  356. data/generated/google/apis/logging_v2beta1/classes.rb +0 -1764
  357. data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
  358. data/generated/google/apis/logging_v2beta1/service.rb +0 -570
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/binary-authorization/
27
27
  module BinaryauthorizationV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20190320'
29
+ REVISION = '20190412'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/calendar/firstapp
26
26
  module CalendarV3
27
27
  VERSION = 'V3'
28
- REVISION = '20181125'
28
+ REVISION = '20190331'
29
29
 
30
30
  # See, edit, share, and permanently delete all the calendars you can access using Google Calendar
31
31
  AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
@@ -1346,16 +1346,16 @@ module Google
1346
1346
  # Learn more about incremental synchronization.
1347
1347
  # Optional. The default is to return all entries.
1348
1348
  # @param [DateTime] time_max
1349
- # Upper bound (exclusive) for an event's start time to filter by. Optional. The
1350
- # default is not to filter by start time. Must be an RFC3339 timestamp with
1351
- # mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:
1352
- # 00Z. Milliseconds may be provided but will be ignored. If timeMin is set,
1349
+ # Upper bound (exclusive) for an event's end time to filter by. Optional. The
1350
+ # default is not to filter by end time. Must be an RFC3339 timestamp with
1351
+ # mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
1352
+ # 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set,
1353
1353
  # timeMax must be greater than timeMin.
1354
1354
  # @param [DateTime] time_min
1355
- # Lower bound (inclusive) for an event's end time to filter by. Optional. The
1356
- # default is not to filter by end time. Must be an RFC3339 timestamp with
1357
- # mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:
1358
- # 00Z. Milliseconds may be provided but will be ignored. If timeMax is set,
1355
+ # Lower bound (inclusive) for an event's start time to filter by. Optional. The
1356
+ # default is not to filter by start time. Must be an RFC3339 timestamp with
1357
+ # mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
1358
+ # 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set,
1359
1359
  # timeMin must be smaller than timeMax.
1360
1360
  # @param [String] time_zone
1361
1361
  # Time zone used in the response. Optional. The default is the time zone of the
@@ -1733,16 +1733,16 @@ module Google
1733
1733
  # Learn more about incremental synchronization.
1734
1734
  # Optional. The default is to return all entries.
1735
1735
  # @param [DateTime] time_max
1736
- # Upper bound (exclusive) for an event's start time to filter by. Optional. The
1737
- # default is not to filter by start time. Must be an RFC3339 timestamp with
1738
- # mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:
1739
- # 00Z. Milliseconds may be provided but will be ignored. If timeMin is set,
1736
+ # Upper bound (exclusive) for an event's end time to filter by. Optional. The
1737
+ # default is not to filter by end time. Must be an RFC3339 timestamp with
1738
+ # mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
1739
+ # 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set,
1740
1740
  # timeMax must be greater than timeMin.
1741
1741
  # @param [DateTime] time_min
1742
- # Lower bound (inclusive) for an event's end time to filter by. Optional. The
1743
- # default is not to filter by end time. Must be an RFC3339 timestamp with
1744
- # mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:
1745
- # 00Z. Milliseconds may be provided but will be ignored. If timeMax is set,
1742
+ # Lower bound (inclusive) for an event's start time to filter by. Optional. The
1743
+ # default is not to filter by start time. Must be an RFC3339 timestamp with
1744
+ # mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
1745
+ # 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set,
1746
1746
  # timeMin must be smaller than timeMax.
1747
1747
  # @param [String] time_zone
1748
1748
  # Time zone used in the response. Optional. The default is the time zone of the
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/classroom/
26
26
  module ClassroomV1
27
27
  VERSION = 'V1'
28
- REVISION = '20181113'
28
+ REVISION = '20190409'
29
29
 
30
30
  # View and manage announcements in Google Classroom
31
31
  AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
@@ -80,6 +80,12 @@ module Google
80
80
 
81
81
  # View course work and grades for students in the Google Classroom classes you teach or administer
82
82
  AUTH_CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.students.readonly'
83
+
84
+ # See, create, and edit topics in Google Classroom
85
+ AUTH_CLASSROOM_TOPICS = 'https://www.googleapis.com/auth/classroom.topics'
86
+
87
+ # View topics in Google Classroom
88
+ AUTH_CLASSROOM_TOPICS_READONLY = 'https://www.googleapis.com/auth/classroom.topics.readonly'
83
89
  end
84
90
  end
85
91
  end
@@ -646,6 +646,12 @@ module Google
646
646
  # @return [String]
647
647
  attr_accessor :title
648
648
 
649
+ # Identifier for the topic that this coursework is associated with.
650
+ # Must match an existing topic in the course.
651
+ # Corresponds to the JSON property `topicId`
652
+ # @return [String]
653
+ attr_accessor :topic_id
654
+
649
655
  # Timestamp of the most recent change to this course work.
650
656
  # Read-only.
651
657
  # Corresponds to the JSON property `updateTime`
@@ -683,6 +689,7 @@ module Google
683
689
  @state = args[:state] if args.key?(:state)
684
690
  @submission_modification_mode = args[:submission_modification_mode] if args.key?(:submission_modification_mode)
685
691
  @title = args[:title] if args.key?(:title)
692
+ @topic_id = args[:topic_id] if args.key?(:topic_id)
686
693
  @update_time = args[:update_time] if args.key?(:update_time)
687
694
  @work_type = args[:work_type] if args.key?(:work_type)
688
695
  end
@@ -1424,6 +1431,32 @@ module Google
1424
1431
  end
1425
1432
  end
1426
1433
 
1434
+ # Response when listing topics.
1435
+ class ListTopicResponse
1436
+ include Google::Apis::Core::Hashable
1437
+
1438
+ # Token identifying the next page of results to return. If empty, no further
1439
+ # results are available.
1440
+ # Corresponds to the JSON property `nextPageToken`
1441
+ # @return [String]
1442
+ attr_accessor :next_page_token
1443
+
1444
+ # Topic items that match the request.
1445
+ # Corresponds to the JSON property `topic`
1446
+ # @return [Array<Google::Apis::ClassroomV1::Topic>]
1447
+ attr_accessor :topic
1448
+
1449
+ def initialize(**args)
1450
+ update!(**args)
1451
+ end
1452
+
1453
+ # Update properties of this object
1454
+ def update!(**args)
1455
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1456
+ @topic = args[:topic] if args.key?(:topic)
1457
+ end
1458
+ end
1459
+
1427
1460
  # Material attached to course work.
1428
1461
  # When creating attachments, setting the `form` field is not supported.
1429
1462
  class Material
@@ -2074,6 +2107,50 @@ module Google
2074
2107
  end
2075
2108
  end
2076
2109
 
2110
+ # Topic created by a teacher for the course
2111
+ class Topic
2112
+ include Google::Apis::Core::Hashable
2113
+
2114
+ # Identifier of the course.
2115
+ # Read-only.
2116
+ # Corresponds to the JSON property `courseId`
2117
+ # @return [String]
2118
+ attr_accessor :course_id
2119
+
2120
+ # The name of the topic, generated by the user.
2121
+ # Leading and trailing whitespaces, if any, will be trimmed. Also, multiple
2122
+ # consecutive whitespaces will be collapsed into one inside the name. The
2123
+ # result must be a non-empty string. Topic names are case sensitive, and must
2124
+ # be no longer than 100 characters.
2125
+ # Corresponds to the JSON property `name`
2126
+ # @return [String]
2127
+ attr_accessor :name
2128
+
2129
+ # Unique identifier for the topic.
2130
+ # Read-only.
2131
+ # Corresponds to the JSON property `topicId`
2132
+ # @return [String]
2133
+ attr_accessor :topic_id
2134
+
2135
+ # The time the topic was last updated by the system.
2136
+ # Read-only.
2137
+ # Corresponds to the JSON property `updateTime`
2138
+ # @return [String]
2139
+ attr_accessor :update_time
2140
+
2141
+ def initialize(**args)
2142
+ update!(**args)
2143
+ end
2144
+
2145
+ # Update properties of this object
2146
+ def update!(**args)
2147
+ @course_id = args[:course_id] if args.key?(:course_id)
2148
+ @name = args[:name] if args.key?(:name)
2149
+ @topic_id = args[:topic_id] if args.key?(:topic_id)
2150
+ @update_time = args[:update_time] if args.key?(:update_time)
2151
+ end
2152
+ end
2153
+
2077
2154
  # Request to turn in a student submission.
2078
2155
  class TurnInStudentSubmissionRequest
2079
2156
  include Google::Apis::Core::Hashable
@@ -232,6 +232,12 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class ListTopicResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
235
241
  class Material
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
@@ -346,6 +352,12 @@ module Google
346
352
  include Google::Apis::Core::JsonObjectSupport
347
353
  end
348
354
 
355
+ class Topic
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
349
361
  class TurnInStudentSubmissionRequest
350
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
363
 
@@ -512,6 +524,7 @@ module Google
512
524
  property :state, as: 'state'
513
525
  property :submission_modification_mode, as: 'submissionModificationMode'
514
526
  property :title, as: 'title'
527
+ property :topic_id, as: 'topicId'
515
528
  property :update_time, as: 'updateTime'
516
529
  property :work_type, as: 'workType'
517
530
  end
@@ -735,6 +748,15 @@ module Google
735
748
  end
736
749
  end
737
750
 
751
+ class ListTopicResponse
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :next_page_token, as: 'nextPageToken'
755
+ collection :topic, as: 'topic', class: Google::Apis::ClassroomV1::Topic, decorator: Google::Apis::ClassroomV1::Topic::Representation
756
+
757
+ end
758
+ end
759
+
738
760
  class Material
739
761
  # @private
740
762
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -924,6 +946,16 @@ module Google
924
946
  end
925
947
  end
926
948
 
949
+ class Topic
950
+ # @private
951
+ class Representation < Google::Apis::Core::JsonRepresentation
952
+ property :course_id, as: 'courseId'
953
+ property :name, as: 'name'
954
+ property :topic_id, as: 'topicId'
955
+ property :update_time, as: 'updateTime'
956
+ end
957
+ end
958
+
927
959
  class TurnInStudentSubmissionRequest
928
960
  # @private
929
961
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1848,6 +1848,230 @@ module Google
1848
1848
  execute_or_queue_command(command, &block)
1849
1849
  end
1850
1850
 
1851
+ # Creates a topic.
1852
+ # This method returns the following error codes:
1853
+ # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
1854
+ # requested course, create a topic in the requested course,
1855
+ # or for access errors.
1856
+ # * `INVALID_ARGUMENT` if the request is malformed.
1857
+ # * `NOT_FOUND` if the requested course does not exist.
1858
+ # @param [String] course_id
1859
+ # Identifier of the course.
1860
+ # This identifier can be either the Classroom-assigned identifier or an
1861
+ # alias.
1862
+ # @param [Google::Apis::ClassroomV1::Topic] topic_object
1863
+ # @param [String] fields
1864
+ # Selector specifying which fields to include in a partial response.
1865
+ # @param [String] quota_user
1866
+ # Available to use for quota purposes for server-side applications. Can be any
1867
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1868
+ # @param [Google::Apis::RequestOptions] options
1869
+ # Request-specific options
1870
+ #
1871
+ # @yield [result, err] Result & error if block supplied
1872
+ # @yieldparam result [Google::Apis::ClassroomV1::Topic] parsed result object
1873
+ # @yieldparam err [StandardError] error object if request failed
1874
+ #
1875
+ # @return [Google::Apis::ClassroomV1::Topic]
1876
+ #
1877
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1878
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1879
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1880
+ 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.request_representation = Google::Apis::ClassroomV1::Topic::Representation
1883
+ command.request_object = topic_object
1884
+ command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
1885
+ command.response_class = Google::Apis::ClassroomV1::Topic
1886
+ command.params['courseId'] = course_id unless course_id.nil?
1887
+ command.query['fields'] = fields unless fields.nil?
1888
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1889
+ execute_or_queue_command(command, &block)
1890
+ end
1891
+
1892
+ # Deletes a topic.
1893
+ # This method returns the following error codes:
1894
+ # * `PERMISSION_DENIED` if the requesting user is not allowed to delete the
1895
+ # requested topic or for access errors.
1896
+ # * `FAILED_PRECONDITION` if the requested topic has already been
1897
+ # deleted.
1898
+ # * `NOT_FOUND` if no course or topic exists with the requested ID.
1899
+ # @param [String] course_id
1900
+ # Identifier of the course.
1901
+ # This identifier can be either the Classroom-assigned identifier or an
1902
+ # alias.
1903
+ # @param [String] id
1904
+ # Identifier of the topic to delete.
1905
+ # @param [String] fields
1906
+ # Selector specifying which fields to include in a partial response.
1907
+ # @param [String] quota_user
1908
+ # Available to use for quota purposes for server-side applications. Can be any
1909
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1910
+ # @param [Google::Apis::RequestOptions] options
1911
+ # Request-specific options
1912
+ #
1913
+ # @yield [result, err] Result & error if block supplied
1914
+ # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object
1915
+ # @yieldparam err [StandardError] error object if request failed
1916
+ #
1917
+ # @return [Google::Apis::ClassroomV1::Empty]
1918
+ #
1919
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1920
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1921
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1922
+ 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.response_representation = Google::Apis::ClassroomV1::Empty::Representation
1925
+ command.response_class = Google::Apis::ClassroomV1::Empty
1926
+ command.params['courseId'] = course_id unless course_id.nil?
1927
+ command.params['id'] = id unless id.nil?
1928
+ command.query['fields'] = fields unless fields.nil?
1929
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1930
+ execute_or_queue_command(command, &block)
1931
+ end
1932
+
1933
+ # Returns a topic.
1934
+ # This method returns the following error codes:
1935
+ # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
1936
+ # requested course or topic, or for access errors.
1937
+ # * `INVALID_ARGUMENT` if the request is malformed.
1938
+ # * `NOT_FOUND` if the requested course or topic does not exist.
1939
+ # @param [String] course_id
1940
+ # Identifier of the course.
1941
+ # @param [String] id
1942
+ # Identifier of the topic.
1943
+ # @param [String] fields
1944
+ # Selector specifying which fields to include in a partial response.
1945
+ # @param [String] quota_user
1946
+ # Available to use for quota purposes for server-side applications. Can be any
1947
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1948
+ # @param [Google::Apis::RequestOptions] options
1949
+ # Request-specific options
1950
+ #
1951
+ # @yield [result, err] Result & error if block supplied
1952
+ # @yieldparam result [Google::Apis::ClassroomV1::Topic] parsed result object
1953
+ # @yieldparam err [StandardError] error object if request failed
1954
+ #
1955
+ # @return [Google::Apis::ClassroomV1::Topic]
1956
+ #
1957
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1958
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1959
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1960
+ 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.response_representation = Google::Apis::ClassroomV1::Topic::Representation
1963
+ command.response_class = Google::Apis::ClassroomV1::Topic
1964
+ command.params['courseId'] = course_id unless course_id.nil?
1965
+ command.params['id'] = id unless id.nil?
1966
+ command.query['fields'] = fields unless fields.nil?
1967
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1968
+ execute_or_queue_command(command, &block)
1969
+ end
1970
+
1971
+ # Returns the list of topics that the requester is permitted to view.
1972
+ # This method returns the following error codes:
1973
+ # * `PERMISSION_DENIED` if the requesting user is not permitted to access
1974
+ # the requested course or for access errors.
1975
+ # * `INVALID_ARGUMENT` if the request is malformed.
1976
+ # * `NOT_FOUND` if the requested course does not exist.
1977
+ # @param [String] course_id
1978
+ # Identifier of the course.
1979
+ # This identifier can be either the Classroom-assigned identifier or an
1980
+ # alias.
1981
+ # @param [Fixnum] page_size
1982
+ # Maximum number of items to return. Zero or unspecified indicates that the
1983
+ # server may assign a maximum.
1984
+ # The server may return fewer than the specified number of results.
1985
+ # @param [String] page_token
1986
+ # nextPageToken
1987
+ # value returned from a previous
1988
+ # list call,
1989
+ # indicating that the subsequent page of results should be returned.
1990
+ # The list request
1991
+ # must be otherwise identical to the one that resulted in this token.
1992
+ # @param [String] fields
1993
+ # Selector specifying which fields to include in a partial response.
1994
+ # @param [String] quota_user
1995
+ # Available to use for quota purposes for server-side applications. Can be any
1996
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1997
+ # @param [Google::Apis::RequestOptions] options
1998
+ # Request-specific options
1999
+ #
2000
+ # @yield [result, err] Result & error if block supplied
2001
+ # @yieldparam result [Google::Apis::ClassroomV1::ListTopicResponse] parsed result object
2002
+ # @yieldparam err [StandardError] error object if request failed
2003
+ #
2004
+ # @return [Google::Apis::ClassroomV1::ListTopicResponse]
2005
+ #
2006
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2007
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2008
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2009
+ 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.response_representation = Google::Apis::ClassroomV1::ListTopicResponse::Representation
2012
+ command.response_class = Google::Apis::ClassroomV1::ListTopicResponse
2013
+ command.params['courseId'] = course_id unless course_id.nil?
2014
+ command.query['pageSize'] = page_size unless page_size.nil?
2015
+ command.query['pageToken'] = page_token unless page_token.nil?
2016
+ command.query['fields'] = fields unless fields.nil?
2017
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2018
+ execute_or_queue_command(command, &block)
2019
+ end
2020
+
2021
+ # Updates one or more fields of a topic.
2022
+ # This method returns the following error codes:
2023
+ # * `PERMISSION_DENIED` if the requesting developer project did not create
2024
+ # the corresponding topic or for access errors.
2025
+ # * `INVALID_ARGUMENT` if the request is malformed.
2026
+ # * `NOT_FOUND` if the requested course or topic does not exist
2027
+ # @param [String] course_id
2028
+ # Identifier of the course.
2029
+ # This identifier can be either the Classroom-assigned identifier or an
2030
+ # alias.
2031
+ # @param [String] id
2032
+ # Identifier of the topic.
2033
+ # @param [Google::Apis::ClassroomV1::Topic] topic_object
2034
+ # @param [String] update_mask
2035
+ # Mask that identifies which fields on the topic to update.
2036
+ # This field is required to do an update. The update fails if invalid
2037
+ # fields are specified. If a field supports empty values, it can be cleared
2038
+ # by specifying it in the update mask and not in the Topic object. If a
2039
+ # field that does not support empty values is included in the update mask and
2040
+ # not set in the Topic object, an `INVALID_ARGUMENT` error will be
2041
+ # returned.
2042
+ # The following fields may be specified:
2043
+ # * `name`
2044
+ # @param [String] fields
2045
+ # Selector specifying which fields to include in a partial response.
2046
+ # @param [String] quota_user
2047
+ # Available to use for quota purposes for server-side applications. Can be any
2048
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2049
+ # @param [Google::Apis::RequestOptions] options
2050
+ # Request-specific options
2051
+ #
2052
+ # @yield [result, err] Result & error if block supplied
2053
+ # @yieldparam result [Google::Apis::ClassroomV1::Topic] parsed result object
2054
+ # @yieldparam err [StandardError] error object if request failed
2055
+ #
2056
+ # @return [Google::Apis::ClassroomV1::Topic]
2057
+ #
2058
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2059
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2060
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2061
+ 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.request_representation = Google::Apis::ClassroomV1::Topic::Representation
2064
+ command.request_object = topic_object
2065
+ command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
2066
+ command.response_class = Google::Apis::ClassroomV1::Topic
2067
+ command.params['courseId'] = course_id unless course_id.nil?
2068
+ command.params['id'] = id unless id.nil?
2069
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2070
+ command.query['fields'] = fields unless fields.nil?
2071
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2072
+ execute_or_queue_command(command, &block)
2073
+ end
2074
+
1851
2075
  # Accepts an invitation, removing it and adding the invited user to the
1852
2076
  # teachers or students (as appropriate) of the specified course. Only the
1853
2077
  # invited user may accept an invitation.