google-api-client 0.29.0 → 0.29.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (489) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +122 -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/classes.rb +27 -0
  8. data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
  9. data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
  10. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
  13. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  14. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
  16. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  17. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
  20. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  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/classes.rb +1 -1
  35. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
  36. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  37. data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
  38. data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
  39. data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
  40. data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
  41. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  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/classes.rb +81 -0
  46. data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
  47. data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
  48. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  49. data/generated/google/apis/appengine_v1/classes.rb +2 -2
  50. data/generated/google/apis/appengine_v1/service.rb +38 -38
  51. data/generated/google/apis/appengine_v1.rb +1 -1
  52. data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
  53. data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
  54. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  55. data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
  56. data/generated/google/apis/appengine_v1beta/service.rb +38 -38
  57. data/generated/google/apis/appengine_v1beta.rb +1 -1
  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/classes.rb +53 -33
  64. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  65. data/generated/google/apis/bigquery_v2/service.rb +26 -26
  66. data/generated/google/apis/bigquery_v2.rb +1 -1
  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/service.rb +17 -13
  71. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  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/classes.rb +1 -1
  76. data/generated/google/apis/calendar_v3/service.rb +45 -45
  77. data/generated/google/apis/calendar_v3.rb +1 -1
  78. data/generated/google/apis/chat_v1/service.rb +8 -8
  79. data/generated/google/apis/civicinfo_v2/service.rb +5 -5
  80. data/generated/google/apis/classroom_v1/service.rb +57 -56
  81. data/generated/google/apis/classroom_v1.rb +1 -1
  82. data/generated/google/apis/cloudasset_v1/service.rb +3 -3
  83. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  84. data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
  85. data/generated/google/apis/cloudbuild_v1/classes.rb +7 -1
  86. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  87. data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
  88. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  89. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
  90. data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
  91. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
  92. data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
  93. data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
  94. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  95. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  96. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
  97. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  98. data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
  99. data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
  100. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  101. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
  102. data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
  103. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  104. data/generated/google/apis/cloudiot_v1/service.rb +23 -330
  105. data/generated/google/apis/cloudiot_v1.rb +1 -1
  106. data/generated/google/apis/cloudkms_v1/service.rb +30 -30
  107. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
  108. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
  109. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
  110. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
  111. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
  112. data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
  113. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  114. data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
  115. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  116. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
  117. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
  119. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  120. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
  121. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
  122. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  123. data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
  124. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
  125. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
  126. data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
  127. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  128. data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
  129. data/generated/google/apis/cloudshell_v1/service.rb +4 -4
  130. data/generated/google/apis/cloudshell_v1.rb +1 -1
  131. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
  132. data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
  133. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  134. data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
  135. data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
  136. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  137. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
  138. data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
  139. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  140. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
  141. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
  142. data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
  143. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  144. data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
  145. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  146. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
  147. data/generated/google/apis/composer_v1/service.rb +9 -9
  148. data/generated/google/apis/composer_v1beta1/service.rb +9 -9
  149. data/generated/google/apis/compute_alpha/classes.rb +29 -0
  150. data/generated/google/apis/compute_alpha/representations.rb +15 -0
  151. data/generated/google/apis/compute_alpha/service.rb +625 -623
  152. data/generated/google/apis/compute_alpha.rb +1 -1
  153. data/generated/google/apis/compute_beta/service.rb +504 -503
  154. data/generated/google/apis/compute_beta.rb +1 -1
  155. data/generated/google/apis/compute_v1/service.rb +411 -410
  156. data/generated/google/apis/compute_v1.rb +1 -1
  157. data/generated/google/apis/container_v1/classes.rb +2 -1
  158. data/generated/google/apis/container_v1/service.rb +63 -63
  159. data/generated/google/apis/container_v1.rb +1 -1
  160. data/generated/google/apis/container_v1beta1/classes.rb +52 -4
  161. data/generated/google/apis/container_v1beta1/representations.rb +20 -0
  162. data/generated/google/apis/container_v1beta1/service.rb +64 -64
  163. data/generated/google/apis/container_v1beta1.rb +1 -1
  164. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
  165. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
  166. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  167. data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
  168. data/generated/google/apis/content_v2/classes.rb +9 -3
  169. data/generated/google/apis/content_v2/service.rb +101 -105
  170. data/generated/google/apis/content_v2.rb +1 -1
  171. data/generated/google/apis/content_v2_1/classes.rb +9 -3
  172. data/generated/google/apis/content_v2_1/service.rb +89 -93
  173. data/generated/google/apis/content_v2_1.rb +1 -1
  174. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  175. data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
  176. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  177. data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
  178. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  179. data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
  180. data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
  181. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  182. data/generated/google/apis/dataproc_v1/classes.rb +2 -2
  183. data/generated/google/apis/dataproc_v1/service.rb +261 -45
  184. data/generated/google/apis/dataproc_v1.rb +1 -1
  185. data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
  186. data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
  187. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  188. data/generated/google/apis/datastore_v1/service.rb +15 -15
  189. data/generated/google/apis/datastore_v1.rb +1 -1
  190. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  191. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  192. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  193. data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
  194. data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
  195. data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
  196. data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
  197. data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
  198. data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
  199. data/generated/google/apis/dialogflow_v2/classes.rb +8 -8
  200. data/generated/google/apis/dialogflow_v2/service.rb +36 -36
  201. data/generated/google/apis/dialogflow_v2.rb +1 -1
  202. data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
  203. data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
  204. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  205. data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
  206. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  207. data/generated/google/apis/discovery_v1/service.rb +2 -2
  208. data/generated/google/apis/dlp_v2/classes.rb +8 -2
  209. data/generated/google/apis/dlp_v2/service.rb +51 -46
  210. data/generated/google/apis/dlp_v2.rb +1 -1
  211. data/generated/google/apis/dns_v1/service.rb +15 -15
  212. data/generated/google/apis/dns_v1beta2/service.rb +21 -21
  213. data/generated/google/apis/dns_v2beta1/service.rb +16 -16
  214. data/generated/google/apis/dns_v2beta1.rb +1 -1
  215. data/generated/google/apis/docs_v1/classes.rb +137 -0
  216. data/generated/google/apis/docs_v1/representations.rb +57 -0
  217. data/generated/google/apis/docs_v1/service.rb +3 -3
  218. data/generated/google/apis/docs_v1.rb +1 -1
  219. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
  220. data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
  221. data/generated/google/apis/drive_v2/classes.rb +10 -21
  222. data/generated/google/apis/drive_v2/service.rb +152 -100
  223. data/generated/google/apis/drive_v2.rb +1 -1
  224. data/generated/google/apis/drive_v3/classes.rb +9 -20
  225. data/generated/google/apis/drive_v3/service.rb +100 -64
  226. data/generated/google/apis/drive_v3.rb +1 -1
  227. data/generated/google/apis/driveactivity_v2/service.rb +1 -1
  228. data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
  229. data/generated/google/apis/fcm_v1/classes.rb +424 -0
  230. data/generated/google/apis/fcm_v1/representations.rb +167 -0
  231. data/generated/google/apis/fcm_v1/service.rb +97 -0
  232. data/generated/google/apis/fcm_v1.rb +35 -0
  233. data/generated/google/apis/file_v1/classes.rb +52 -1
  234. data/generated/google/apis/file_v1/representations.rb +16 -0
  235. data/generated/google/apis/file_v1/service.rb +11 -11
  236. data/generated/google/apis/file_v1.rb +1 -1
  237. data/generated/google/apis/file_v1beta1/classes.rb +52 -1
  238. data/generated/google/apis/file_v1beta1/representations.rb +16 -0
  239. data/generated/google/apis/file_v1beta1/service.rb +11 -11
  240. data/generated/google/apis/file_v1beta1.rb +1 -1
  241. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
  242. data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
  243. data/generated/google/apis/firebaserules_v1/service.rb +11 -11
  244. data/generated/google/apis/firestore_v1/service.rb +28 -28
  245. data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
  246. data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
  247. data/generated/google/apis/fitness_v1/service.rb +13 -13
  248. data/generated/google/apis/fusiontables_v1/service.rb +32 -32
  249. data/generated/google/apis/fusiontables_v2/service.rb +34 -34
  250. data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
  251. data/generated/google/apis/games_management_v1management/service.rb +27 -27
  252. data/generated/google/apis/games_v1/service.rb +53 -53
  253. data/generated/google/apis/genomics_v1/service.rb +3 -3
  254. data/generated/google/apis/genomics_v1.rb +1 -1
  255. data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
  256. data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
  257. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  258. data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
  259. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  260. data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
  261. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  262. data/generated/google/apis/gmail_v1/service.rb +68 -68
  263. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  264. data/generated/google/apis/groupssettings_v1/service.rb +3 -3
  265. data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
  266. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
  267. data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
  268. data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
  269. data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
  270. data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
  271. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  272. data/generated/google/apis/iam_v1/classes.rb +48 -0
  273. data/generated/google/apis/iam_v1/representations.rb +28 -0
  274. data/generated/google/apis/iam_v1/service.rb +59 -42
  275. data/generated/google/apis/iam_v1.rb +1 -1
  276. data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
  277. data/generated/google/apis/iap_v1/service.rb +3 -3
  278. data/generated/google/apis/iap_v1beta1/service.rb +3 -3
  279. data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
  280. data/generated/google/apis/indexing_v3/service.rb +2 -2
  281. data/generated/google/apis/jobs_v2/service.rb +17 -17
  282. data/generated/google/apis/jobs_v3/service.rb +15 -15
  283. data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
  284. data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
  285. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  286. data/generated/google/apis/kgsearch_v1/service.rb +1 -1
  287. data/generated/google/apis/language_v1/service.rb +6 -6
  288. data/generated/google/apis/language_v1.rb +1 -1
  289. data/generated/google/apis/language_v1beta1/service.rb +4 -4
  290. data/generated/google/apis/language_v1beta2/service.rb +6 -6
  291. data/generated/google/apis/language_v1beta2.rb +1 -1
  292. data/generated/google/apis/libraryagent_v1/service.rb +6 -6
  293. data/generated/google/apis/licensing_v1/service.rb +7 -7
  294. data/generated/google/apis/logging_v2/classes.rb +6 -0
  295. data/generated/google/apis/logging_v2/representations.rb +1 -0
  296. data/generated/google/apis/logging_v2/service.rb +72 -72
  297. data/generated/google/apis/logging_v2.rb +1 -1
  298. data/generated/google/apis/manufacturers_v1/service.rb +4 -4
  299. data/generated/google/apis/mirror_v1/service.rb +24 -24
  300. data/generated/google/apis/ml_v1/classes.rb +73 -55
  301. data/generated/google/apis/ml_v1/service.rb +31 -31
  302. data/generated/google/apis/ml_v1.rb +1 -1
  303. data/generated/google/apis/monitoring_v3/classes.rb +14 -1
  304. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  305. data/generated/google/apis/monitoring_v3/service.rb +36 -36
  306. data/generated/google/apis/monitoring_v3.rb +1 -1
  307. data/generated/google/apis/oauth2_v1/service.rb +3 -3
  308. data/generated/google/apis/oauth2_v2/service.rb +4 -4
  309. data/generated/google/apis/oslogin_v1/service.rb +6 -6
  310. data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
  311. data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
  312. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  313. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  314. data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
  315. data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
  316. data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
  317. data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
  318. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  319. data/generated/google/apis/people_v1/service.rb +13 -13
  320. data/generated/google/apis/people_v1.rb +1 -1
  321. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  322. data/generated/google/apis/plus_domains_v1/service.rb +10 -10
  323. data/generated/google/apis/plus_v1/service.rb +9 -9
  324. data/generated/google/apis/poly_v1/service.rb +4 -4
  325. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
  326. data/generated/google/apis/pubsub_v1/service.rb +32 -32
  327. data/generated/google/apis/pubsub_v1.rb +1 -1
  328. data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
  329. data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
  330. data/generated/google/apis/redis_v1/service.rb +19 -19
  331. data/generated/google/apis/redis_v1.rb +1 -1
  332. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  333. data/generated/google/apis/redis_v1beta1/service.rb +15 -15
  334. data/generated/google/apis/redis_v1beta1.rb +1 -1
  335. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  336. data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
  337. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  338. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  339. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
  340. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  341. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  342. data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
  343. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  344. data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
  345. data/generated/google/apis/reseller_v1/service.rb +17 -17
  346. data/generated/google/apis/run_v1/service.rb +1 -1
  347. data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
  348. data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
  349. data/generated/google/apis/run_v1alpha1/service.rb +446 -38
  350. data/generated/google/apis/run_v1alpha1.rb +1 -1
  351. data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
  352. data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
  353. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  354. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
  355. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
  356. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  357. data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
  358. data/generated/google/apis/script_v1/classes.rb +167 -0
  359. data/generated/google/apis/script_v1/representations.rb +79 -0
  360. data/generated/google/apis/script_v1/service.rb +16 -16
  361. data/generated/google/apis/script_v1.rb +1 -1
  362. data/generated/google/apis/searchconsole_v1/service.rb +1 -1
  363. data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
  364. data/generated/google/apis/securitycenter_v1/service.rb +23 -23
  365. data/generated/google/apis/securitycenter_v1.rb +1 -1
  366. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
  367. data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
  368. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  369. data/generated/google/apis/servicebroker_v1/service.rb +3 -3
  370. data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
  371. data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
  372. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +14 -60
  373. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -29
  374. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
  375. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  376. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
  377. data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
  378. data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
  379. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  380. data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
  381. data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
  382. data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
  383. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  384. data/generated/google/apis/servicenetworking_v1/classes.rb +14 -60
  385. data/generated/google/apis/servicenetworking_v1/representations.rb +2 -29
  386. data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
  387. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  388. data/generated/google/apis/servicenetworking_v1beta/classes.rb +14 -60
  389. data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
  390. data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
  391. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  392. data/generated/google/apis/serviceusage_v1/classes.rb +14 -60
  393. data/generated/google/apis/serviceusage_v1/representations.rb +2 -29
  394. data/generated/google/apis/serviceusage_v1/service.rb +17 -19
  395. data/generated/google/apis/serviceusage_v1.rb +1 -1
  396. data/generated/google/apis/serviceusage_v1beta1/classes.rb +14 -60
  397. data/generated/google/apis/serviceusage_v1beta1/representations.rb +2 -29
  398. data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
  399. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  400. data/generated/google/apis/sheets_v4/service.rb +17 -17
  401. data/generated/google/apis/sheets_v4.rb +1 -1
  402. data/generated/google/apis/site_verification_v1/service.rb +7 -7
  403. data/generated/google/apis/slides_v1/service.rb +5 -5
  404. data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
  405. data/generated/google/apis/spanner_v1/classes.rb +51 -9
  406. data/generated/google/apis/spanner_v1/representations.rb +17 -0
  407. data/generated/google/apis/spanner_v1/service.rb +41 -41
  408. data/generated/google/apis/spanner_v1.rb +1 -1
  409. data/generated/google/apis/speech_v1/classes.rb +2 -2
  410. data/generated/google/apis/speech_v1/service.rb +7 -7
  411. data/generated/google/apis/speech_v1.rb +1 -1
  412. data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
  413. data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
  414. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  415. data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
  416. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  417. data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
  418. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  419. data/generated/google/apis/storage_v1/classes.rb +2 -2
  420. data/generated/google/apis/storage_v1/representations.rb +2 -1
  421. data/generated/google/apis/storage_v1/service.rb +52 -52
  422. data/generated/google/apis/storage_v1.rb +1 -1
  423. data/generated/google/apis/storage_v1beta1/service.rb +24 -24
  424. data/generated/google/apis/storage_v1beta2/service.rb +34 -34
  425. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
  426. data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
  427. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  428. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  429. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
  430. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  431. data/generated/google/apis/surveys_v2/service.rb +8 -8
  432. data/generated/google/apis/tagmanager_v1/service.rb +49 -49
  433. data/generated/google/apis/tagmanager_v2/service.rb +74 -74
  434. data/generated/google/apis/tasks_v1/service.rb +14 -14
  435. data/generated/google/apis/testing_v1/classes.rb +25 -12
  436. data/generated/google/apis/testing_v1/representations.rb +2 -0
  437. data/generated/google/apis/testing_v1/service.rb +5 -5
  438. data/generated/google/apis/testing_v1.rb +1 -1
  439. data/generated/google/apis/texttospeech_v1/service.rb +2 -2
  440. data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
  441. data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
  442. data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
  443. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  444. data/generated/google/apis/tpu_v1/classes.rb +1 -1
  445. data/generated/google/apis/tpu_v1/service.rb +17 -17
  446. data/generated/google/apis/tpu_v1.rb +1 -1
  447. data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
  448. data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
  449. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  450. data/generated/google/apis/translate_v2/service.rb +5 -5
  451. data/generated/google/apis/urlshortener_v1/service.rb +3 -3
  452. data/generated/google/apis/vault_v1/service.rb +28 -28
  453. data/generated/google/apis/videointelligence_v1/service.rb +5 -5
  454. data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
  455. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
  456. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
  457. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
  458. data/generated/google/apis/vision_v1/classes.rb +2372 -73
  459. data/generated/google/apis/vision_v1/representations.rb +1643 -651
  460. data/generated/google/apis/vision_v1/service.rb +98 -35
  461. data/generated/google/apis/vision_v1.rb +1 -1
  462. data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
  463. data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
  464. data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
  465. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  466. data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
  467. data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
  468. data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
  469. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  470. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  471. data/generated/google/apis/webmasters_v3/service.rb +9 -9
  472. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
  473. data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
  474. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  475. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  476. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
  477. data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
  478. data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
  479. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  480. data/generated/google/apis/youtube_v3/service.rb +71 -71
  481. data/generated/google/apis/youtube_v3.rb +1 -1
  482. data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
  483. data/google-api-client.gemspec +1 -1
  484. data/lib/google/apis/core/json_representation.rb +4 -0
  485. data/lib/google/apis/core/upload.rb +3 -3
  486. data/lib/google/apis/generator/templates/_method.tmpl +3 -3
  487. data/lib/google/apis/version.rb +1 -1
  488. metadata +13 -6
  489. data/samples/web/.env +0 -2
@@ -73,7 +73,7 @@ module Google
73
73
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
74
74
  # @raise [Google::Apis::AuthorizationError] Authorization is required
75
75
  def get_about(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
76
- command = make_simple_command(:get, 'about', options)
76
+ command = make_simple_command(:get, 'about', options)
77
77
  command.response_representation = Google::Apis::DriveV3::About::Representation
78
78
  command.response_class = Google::Apis::DriveV3::About
79
79
  command.query['fields'] = fields unless fields.nil?
@@ -87,7 +87,9 @@ module Google
87
87
  # The ID of the shared drive for which the starting pageToken for listing future
88
88
  # changes from that shared drive will be returned.
89
89
  # @param [Boolean] supports_all_drives
90
- # Whether the requesting application supports both My Drives and shared drives.
90
+ # Deprecated - Whether the requesting application supports both My Drives and
91
+ # shared drives. This parameter will only be effective until June 1, 2020.
92
+ # Afterwards all applications are assumed to support shared drives.
91
93
  # @param [Boolean] supports_team_drives
92
94
  # Deprecated use supportsAllDrives instead.
93
95
  # @param [String] team_drive_id
@@ -112,7 +114,7 @@ module Google
112
114
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
113
115
  # @raise [Google::Apis::AuthorizationError] Authorization is required
114
116
  def get_changes_start_page_token(drive_id: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
115
- command = make_simple_command(:get, 'changes/startPageToken', options)
117
+ command = make_simple_command(:get, 'changes/startPageToken', options)
116
118
  command.response_representation = Google::Apis::DriveV3::StartPageToken::Representation
117
119
  command.response_class = Google::Apis::DriveV3::StartPageToken
118
120
  command.query['driveId'] = drive_id unless drive_id.nil?
@@ -140,7 +142,9 @@ module Google
140
142
  # removed from the list of changes and there will be no further change entries
141
143
  # for this file.
142
144
  # @param [Boolean] include_items_from_all_drives
143
- # Whether both My Drive and shared drive items should be included in results.
145
+ # Deprecated - Whether both My Drive and shared drive items should be included
146
+ # in results. This parameter will only be effective until June 1, 2020.
147
+ # Afterwards shared drive items will be included in the results.
144
148
  # @param [Boolean] include_removed
145
149
  # Whether to include changes indicating that items have been removed from the
146
150
  # list of changes, for example by deletion or loss of access.
@@ -156,7 +160,9 @@ module Google
156
160
  # A comma-separated list of spaces to query within the user corpus. Supported
157
161
  # values are 'drive', 'appDataFolder' and 'photos'.
158
162
  # @param [Boolean] supports_all_drives
159
- # Whether the requesting application supports both My Drives and shared drives.
163
+ # Deprecated - Whether the requesting application supports both My Drives and
164
+ # shared drives. This parameter will only be effective until June 1, 2020.
165
+ # Afterwards all applications are assumed to support shared drives.
160
166
  # @param [Boolean] supports_team_drives
161
167
  # Deprecated use supportsAllDrives instead.
162
168
  # @param [String] team_drive_id
@@ -181,7 +187,7 @@ module Google
181
187
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
182
188
  # @raise [Google::Apis::AuthorizationError] Authorization is required
183
189
  def list_changes(page_token, drive_id: nil, include_corpus_removals: nil, include_items_from_all_drives: nil, include_removed: nil, include_team_drive_items: nil, page_size: nil, restrict_to_my_drive: nil, spaces: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
184
- command = make_simple_command(:get, 'changes', options)
190
+ command = make_simple_command(:get, 'changes', options)
185
191
  command.response_representation = Google::Apis::DriveV3::ChangeList::Representation
186
192
  command.response_class = Google::Apis::DriveV3::ChangeList
187
193
  command.query['driveId'] = drive_id unless drive_id.nil?
@@ -218,7 +224,9 @@ module Google
218
224
  # removed from the list of changes and there will be no further change entries
219
225
  # for this file.
220
226
  # @param [Boolean] include_items_from_all_drives
221
- # Whether both My Drive and shared drive items should be included in results.
227
+ # Deprecated - Whether both My Drive and shared drive items should be included
228
+ # in results. This parameter will only be effective until June 1, 2020.
229
+ # Afterwards shared drive items will be included in the results.
222
230
  # @param [Boolean] include_removed
223
231
  # Whether to include changes indicating that items have been removed from the
224
232
  # list of changes, for example by deletion or loss of access.
@@ -234,7 +242,9 @@ module Google
234
242
  # A comma-separated list of spaces to query within the user corpus. Supported
235
243
  # values are 'drive', 'appDataFolder' and 'photos'.
236
244
  # @param [Boolean] supports_all_drives
237
- # Whether the requesting application supports both My Drives and shared drives.
245
+ # Deprecated - Whether the requesting application supports both My Drives and
246
+ # shared drives. This parameter will only be effective until June 1, 2020.
247
+ # Afterwards all applications are assumed to support shared drives.
238
248
  # @param [Boolean] supports_team_drives
239
249
  # Deprecated use supportsAllDrives instead.
240
250
  # @param [String] team_drive_id
@@ -259,7 +269,7 @@ module Google
259
269
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
260
270
  # @raise [Google::Apis::AuthorizationError] Authorization is required
261
271
  def watch_change(page_token, channel_object = nil, drive_id: nil, include_corpus_removals: nil, include_items_from_all_drives: nil, include_removed: nil, include_team_drive_items: nil, page_size: nil, restrict_to_my_drive: nil, spaces: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
262
- command = make_simple_command(:post, 'changes/watch', options)
272
+ command = make_simple_command(:post, 'changes/watch', options)
263
273
  command.request_representation = Google::Apis::DriveV3::Channel::Representation
264
274
  command.request_object = channel_object
265
275
  command.response_representation = Google::Apis::DriveV3::Channel::Representation
@@ -304,7 +314,7 @@ module Google
304
314
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
305
315
  # @raise [Google::Apis::AuthorizationError] Authorization is required
306
316
  def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
307
- command = make_simple_command(:post, 'channels/stop', options)
317
+ command = make_simple_command(:post, 'channels/stop', options)
308
318
  command.request_representation = Google::Apis::DriveV3::Channel::Representation
309
319
  command.request_object = channel_object
310
320
  command.query['fields'] = fields unless fields.nil?
@@ -337,7 +347,7 @@ module Google
337
347
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
338
348
  # @raise [Google::Apis::AuthorizationError] Authorization is required
339
349
  def create_comment(file_id, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
340
- command = make_simple_command(:post, 'files/{fileId}/comments', options)
350
+ command = make_simple_command(:post, 'files/{fileId}/comments', options)
341
351
  command.request_representation = Google::Apis::DriveV3::Comment::Representation
342
352
  command.request_object = comment_object
343
353
  command.response_representation = Google::Apis::DriveV3::Comment::Representation
@@ -374,7 +384,7 @@ module Google
374
384
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
375
385
  # @raise [Google::Apis::AuthorizationError] Authorization is required
376
386
  def delete_comment(file_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
377
- command = make_simple_command(:delete, 'files/{fileId}/comments/{commentId}', options)
387
+ command = make_simple_command(:delete, 'files/{fileId}/comments/{commentId}', options)
378
388
  command.params['fileId'] = file_id unless file_id.nil?
379
389
  command.params['commentId'] = comment_id unless comment_id.nil?
380
390
  command.query['fields'] = fields unless fields.nil?
@@ -411,7 +421,7 @@ module Google
411
421
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
412
422
  # @raise [Google::Apis::AuthorizationError] Authorization is required
413
423
  def get_comment(file_id, comment_id, include_deleted: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
414
- command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}', options)
424
+ command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}', options)
415
425
  command.response_representation = Google::Apis::DriveV3::Comment::Representation
416
426
  command.response_class = Google::Apis::DriveV3::Comment
417
427
  command.params['fileId'] = file_id unless file_id.nil?
@@ -457,7 +467,7 @@ module Google
457
467
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
458
468
  # @raise [Google::Apis::AuthorizationError] Authorization is required
459
469
  def list_comments(file_id, include_deleted: nil, page_size: nil, page_token: nil, start_modified_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
460
- command = make_simple_command(:get, 'files/{fileId}/comments', options)
470
+ command = make_simple_command(:get, 'files/{fileId}/comments', options)
461
471
  command.response_representation = Google::Apis::DriveV3::CommentList::Representation
462
472
  command.response_class = Google::Apis::DriveV3::CommentList
463
473
  command.params['fileId'] = file_id unless file_id.nil?
@@ -497,7 +507,7 @@ module Google
497
507
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
498
508
  # @raise [Google::Apis::AuthorizationError] Authorization is required
499
509
  def update_comment(file_id, comment_id, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
500
- command = make_simple_command(:patch, 'files/{fileId}/comments/{commentId}', options)
510
+ command = make_simple_command(:patch, 'files/{fileId}/comments/{commentId}', options)
501
511
  command.request_representation = Google::Apis::DriveV3::Comment::Representation
502
512
  command.request_object = comment_object
503
513
  command.response_representation = Google::Apis::DriveV3::Comment::Representation
@@ -538,7 +548,7 @@ module Google
538
548
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
539
549
  # @raise [Google::Apis::AuthorizationError] Authorization is required
540
550
  def create_drife(request_id, drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
541
- command = make_simple_command(:post, 'drives', options)
551
+ command = make_simple_command(:post, 'drives', options)
542
552
  command.request_representation = Google::Apis::DriveV3::Drive::Representation
543
553
  command.request_object = drive_object
544
554
  command.response_representation = Google::Apis::DriveV3::Drive::Representation
@@ -574,7 +584,7 @@ module Google
574
584
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
575
585
  # @raise [Google::Apis::AuthorizationError] Authorization is required
576
586
  def delete_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
577
- command = make_simple_command(:delete, 'drives/{driveId}', options)
587
+ command = make_simple_command(:delete, 'drives/{driveId}', options)
578
588
  command.params['driveId'] = drive_id unless drive_id.nil?
579
589
  command.query['fields'] = fields unless fields.nil?
580
590
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -609,7 +619,7 @@ module Google
609
619
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
610
620
  # @raise [Google::Apis::AuthorizationError] Authorization is required
611
621
  def get_drife(drive_id, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
612
- command = make_simple_command(:get, 'drives/{driveId}', options)
622
+ command = make_simple_command(:get, 'drives/{driveId}', options)
613
623
  command.response_representation = Google::Apis::DriveV3::Drive::Representation
614
624
  command.response_class = Google::Apis::DriveV3::Drive
615
625
  command.params['driveId'] = drive_id unless drive_id.nil?
@@ -643,7 +653,7 @@ module Google
643
653
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
644
654
  # @raise [Google::Apis::AuthorizationError] Authorization is required
645
655
  def hide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
646
- command = make_simple_command(:post, 'drives/{driveId}/hide', options)
656
+ command = make_simple_command(:post, 'drives/{driveId}/hide', options)
647
657
  command.response_representation = Google::Apis::DriveV3::Drive::Representation
648
658
  command.response_class = Google::Apis::DriveV3::Drive
649
659
  command.params['driveId'] = drive_id unless drive_id.nil?
@@ -683,7 +693,7 @@ module Google
683
693
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
684
694
  # @raise [Google::Apis::AuthorizationError] Authorization is required
685
695
  def list_drives(page_size: nil, page_token: nil, q: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
686
- command = make_simple_command(:get, 'drives', options)
696
+ command = make_simple_command(:get, 'drives', options)
687
697
  command.response_representation = Google::Apis::DriveV3::DriveList::Representation
688
698
  command.response_class = Google::Apis::DriveV3::DriveList
689
699
  command.query['pageSize'] = page_size unless page_size.nil?
@@ -719,7 +729,7 @@ module Google
719
729
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
720
730
  # @raise [Google::Apis::AuthorizationError] Authorization is required
721
731
  def unhide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
722
- command = make_simple_command(:post, 'drives/{driveId}/unhide', options)
732
+ command = make_simple_command(:post, 'drives/{driveId}/unhide', options)
723
733
  command.response_representation = Google::Apis::DriveV3::Drive::Representation
724
734
  command.response_class = Google::Apis::DriveV3::Drive
725
735
  command.params['driveId'] = drive_id unless drive_id.nil?
@@ -757,7 +767,7 @@ module Google
757
767
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
758
768
  # @raise [Google::Apis::AuthorizationError] Authorization is required
759
769
  def update_drife(drive_id, drive_object = nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
760
- command = make_simple_command(:patch, 'drives/{driveId}', options)
770
+ command = make_simple_command(:patch, 'drives/{driveId}', options)
761
771
  command.request_representation = Google::Apis::DriveV3::Drive::Representation
762
772
  command.request_object = drive_object
763
773
  command.response_representation = Google::Apis::DriveV3::Drive::Representation
@@ -786,7 +796,9 @@ module Google
786
796
  # @param [String] ocr_language
787
797
  # A language hint for OCR processing during image import (ISO 639-1 code).
788
798
  # @param [Boolean] supports_all_drives
789
- # Whether the requesting application supports both My Drives and shared drives.
799
+ # Deprecated - Whether the requesting application supports both My Drives and
800
+ # shared drives. This parameter will only be effective until June 1, 2020.
801
+ # Afterwards all applications are assumed to support shared drives.
790
802
  # @param [Boolean] supports_team_drives
791
803
  # Deprecated use supportsAllDrives instead.
792
804
  # @param [String] fields
@@ -809,7 +821,7 @@ module Google
809
821
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
810
822
  # @raise [Google::Apis::AuthorizationError] Authorization is required
811
823
  def copy_file(file_id, file_object = nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
812
- command = make_simple_command(:post, 'files/{fileId}/copy', options)
824
+ command = make_simple_command(:post, 'files/{fileId}/copy', options)
813
825
  command.request_representation = Google::Apis::DriveV3::File::Representation
814
826
  command.request_object = file_object
815
827
  command.response_representation = Google::Apis::DriveV3::File::Representation
@@ -839,7 +851,9 @@ module Google
839
851
  # @param [String] ocr_language
840
852
  # A language hint for OCR processing during image import (ISO 639-1 code).
841
853
  # @param [Boolean] supports_all_drives
842
- # Whether the requesting application supports both My Drives and shared drives.
854
+ # Deprecated - Whether the requesting application supports both My Drives and
855
+ # shared drives. This parameter will only be effective until June 1, 2020.
856
+ # Afterwards all applications are assumed to support shared drives.
843
857
  # @param [Boolean] supports_team_drives
844
858
  # Deprecated use supportsAllDrives instead.
845
859
  # @param [Boolean] use_content_as_indexable_text
@@ -869,7 +883,7 @@ module Google
869
883
  # @raise [Google::Apis::AuthorizationError] Authorization is required
870
884
  def create_file(file_object = nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, supports_all_drives: nil, supports_team_drives: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
871
885
  if upload_source.nil?
872
- command = make_simple_command(:post, 'files', options)
886
+ command = make_simple_command(:post, 'files', options)
873
887
  else
874
888
  command = make_upload_command(:post, 'files', options)
875
889
  command.upload_source = upload_source
@@ -898,7 +912,9 @@ module Google
898
912
  # @param [String] file_id
899
913
  # The ID of the file.
900
914
  # @param [Boolean] supports_all_drives
901
- # Whether the requesting application supports both My Drives and shared drives.
915
+ # Deprecated - Whether the requesting application supports both My Drives and
916
+ # shared drives. This parameter will only be effective until June 1, 2020.
917
+ # Afterwards all applications are assumed to support shared drives.
902
918
  # @param [Boolean] supports_team_drives
903
919
  # Deprecated use supportsAllDrives instead.
904
920
  # @param [String] fields
@@ -921,7 +937,7 @@ module Google
921
937
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
922
938
  # @raise [Google::Apis::AuthorizationError] Authorization is required
923
939
  def delete_file(file_id, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
924
- command = make_simple_command(:delete, 'files/{fileId}', options)
940
+ command = make_simple_command(:delete, 'files/{fileId}', options)
925
941
  command.params['fileId'] = file_id unless file_id.nil?
926
942
  command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
927
943
  command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
@@ -952,7 +968,7 @@ module Google
952
968
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
953
969
  # @raise [Google::Apis::AuthorizationError] Authorization is required
954
970
  def empty_file_trash(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
955
- command = make_simple_command(:delete, 'files/trash', options)
971
+ command = make_simple_command(:delete, 'files/trash', options)
956
972
  command.query['fields'] = fields unless fields.nil?
957
973
  command.query['quotaUser'] = quota_user unless quota_user.nil?
958
974
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -988,7 +1004,7 @@ module Google
988
1004
  # @raise [Google::Apis::AuthorizationError] Authorization is required
989
1005
  def export_file(file_id, mime_type, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
990
1006
  if download_dest.nil?
991
- command = make_simple_command(:get, 'files/{fileId}/export', options)
1007
+ command = make_simple_command(:get, 'files/{fileId}/export', options)
992
1008
  else
993
1009
  command = make_download_command(:get, 'files/{fileId}/export', options)
994
1010
  command.download_dest = download_dest
@@ -1027,7 +1043,7 @@ module Google
1027
1043
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1028
1044
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1029
1045
  def generate_file_ids(count: nil, space: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1030
- command = make_simple_command(:get, 'files/generateIds', options)
1046
+ command = make_simple_command(:get, 'files/generateIds', options)
1031
1047
  command.response_representation = Google::Apis::DriveV3::GeneratedIds::Representation
1032
1048
  command.response_class = Google::Apis::DriveV3::GeneratedIds
1033
1049
  command.query['count'] = count unless count.nil?
@@ -1045,7 +1061,9 @@ module Google
1045
1061
  # Whether the user is acknowledging the risk of downloading known malware or
1046
1062
  # other abusive files. This is only applicable when alt=media.
1047
1063
  # @param [Boolean] supports_all_drives
1048
- # Whether the requesting application supports both My Drives and shared drives.
1064
+ # Deprecated - Whether the requesting application supports both My Drives and
1065
+ # shared drives. This parameter will only be effective until June 1, 2020.
1066
+ # Afterwards all applications are assumed to support shared drives.
1049
1067
  # @param [Boolean] supports_team_drives
1050
1068
  # Deprecated use supportsAllDrives instead.
1051
1069
  # @param [String] fields
@@ -1071,7 +1089,7 @@ module Google
1071
1089
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1072
1090
  def get_file(file_id, acknowledge_abuse: nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
1073
1091
  if download_dest.nil?
1074
- command = make_simple_command(:get, 'files/{fileId}', options)
1092
+ command = make_simple_command(:get, 'files/{fileId}', options)
1075
1093
  else
1076
1094
  command = make_download_command(:get, 'files/{fileId}', options)
1077
1095
  command.download_dest = download_dest
@@ -1098,7 +1116,9 @@ module Google
1098
1116
  # @param [String] drive_id
1099
1117
  # ID of the shared drive to search.
1100
1118
  # @param [Boolean] include_items_from_all_drives
1101
- # Whether both My Drive and shared drive items should be included in results.
1119
+ # Deprecated - Whether both My Drive and shared drive items should be included
1120
+ # in results. This parameter will only be effective until June 1, 2020.
1121
+ # Afterwards shared drive items will be included in the results.
1102
1122
  # @param [Boolean] include_team_drive_items
1103
1123
  # Deprecated use includeItemsFromAllDrives instead.
1104
1124
  # @param [String] order_by
@@ -1122,7 +1142,9 @@ module Google
1122
1142
  # A comma-separated list of spaces to query within the corpus. Supported values
1123
1143
  # are 'drive', 'appDataFolder' and 'photos'.
1124
1144
  # @param [Boolean] supports_all_drives
1125
- # Whether the requesting application supports both My Drives and shared drives.
1145
+ # Deprecated - Whether the requesting application supports both My Drives and
1146
+ # shared drives. This parameter will only be effective until June 1, 2020.
1147
+ # Afterwards all applications are assumed to support shared drives.
1126
1148
  # @param [Boolean] supports_team_drives
1127
1149
  # Deprecated use supportsAllDrives instead.
1128
1150
  # @param [String] team_drive_id
@@ -1147,7 +1169,7 @@ module Google
1147
1169
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1148
1170
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1149
1171
  def list_files(corpora: nil, corpus: nil, drive_id: nil, include_items_from_all_drives: nil, include_team_drive_items: nil, order_by: nil, page_size: nil, page_token: nil, q: nil, spaces: nil, supports_all_drives: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1150
- command = make_simple_command(:get, 'files', options)
1172
+ command = make_simple_command(:get, 'files', options)
1151
1173
  command.response_representation = Google::Apis::DriveV3::FileList::Representation
1152
1174
  command.response_class = Google::Apis::DriveV3::FileList
1153
1175
  command.query['corpora'] = corpora unless corpora.nil?
@@ -1183,7 +1205,9 @@ module Google
1183
1205
  # @param [String] remove_parents
1184
1206
  # A comma-separated list of parent IDs to remove.
1185
1207
  # @param [Boolean] supports_all_drives
1186
- # Whether the requesting application supports both My Drives and shared drives.
1208
+ # Deprecated - Whether the requesting application supports both My Drives and
1209
+ # shared drives. This parameter will only be effective until June 1, 2020.
1210
+ # Afterwards all applications are assumed to support shared drives.
1187
1211
  # @param [Boolean] supports_team_drives
1188
1212
  # Deprecated use supportsAllDrives instead.
1189
1213
  # @param [Boolean] use_content_as_indexable_text
@@ -1213,7 +1237,7 @@ module Google
1213
1237
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1214
1238
  def update_file(file_id, file_object = nil, add_parents: nil, keep_revision_forever: nil, ocr_language: nil, remove_parents: nil, supports_all_drives: nil, supports_team_drives: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
1215
1239
  if upload_source.nil?
1216
- command = make_simple_command(:patch, 'files/{fileId}', options)
1240
+ command = make_simple_command(:patch, 'files/{fileId}', options)
1217
1241
  else
1218
1242
  command = make_upload_command(:patch, 'files/{fileId}', options)
1219
1243
  command.upload_source = upload_source
@@ -1245,7 +1269,9 @@ module Google
1245
1269
  # Whether the user is acknowledging the risk of downloading known malware or
1246
1270
  # other abusive files. This is only applicable when alt=media.
1247
1271
  # @param [Boolean] supports_all_drives
1248
- # Whether the requesting application supports both My Drives and shared drives.
1272
+ # Deprecated - Whether the requesting application supports both My Drives and
1273
+ # shared drives. This parameter will only be effective until June 1, 2020.
1274
+ # Afterwards all applications are assumed to support shared drives.
1249
1275
  # @param [Boolean] supports_team_drives
1250
1276
  # Deprecated use supportsAllDrives instead.
1251
1277
  # @param [String] fields
@@ -1271,7 +1297,7 @@ module Google
1271
1297
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1272
1298
  def watch_file(file_id, channel_object = nil, acknowledge_abuse: nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
1273
1299
  if download_dest.nil?
1274
- command = make_simple_command(:post, 'files/{fileId}/watch', options)
1300
+ command = make_simple_command(:post, 'files/{fileId}/watch', options)
1275
1301
  else
1276
1302
  command = make_download_command(:post, 'files/{fileId}/watch', options)
1277
1303
  command.download_dest = download_dest
@@ -1301,7 +1327,9 @@ module Google
1301
1327
  # defaults to true for users and groups, and is not allowed for other requests.
1302
1328
  # It must not be disabled for ownership transfers.
1303
1329
  # @param [Boolean] supports_all_drives
1304
- # Whether the requesting application supports both My Drives and shared drives.
1330
+ # Deprecated - Whether the requesting application supports both My Drives and
1331
+ # shared drives. This parameter will only be effective until June 1, 2020.
1332
+ # Afterwards all applications are assumed to support shared drives.
1305
1333
  # @param [Boolean] supports_team_drives
1306
1334
  # Deprecated use supportsAllDrives instead.
1307
1335
  # @param [Boolean] transfer_ownership
@@ -1333,7 +1361,7 @@ module Google
1333
1361
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1334
1362
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1335
1363
  def create_permission(file_id, permission_object = nil, email_message: nil, send_notification_email: nil, supports_all_drives: nil, supports_team_drives: nil, transfer_ownership: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1336
- command = make_simple_command(:post, 'files/{fileId}/permissions', options)
1364
+ command = make_simple_command(:post, 'files/{fileId}/permissions', options)
1337
1365
  command.request_representation = Google::Apis::DriveV3::Permission::Representation
1338
1366
  command.request_object = permission_object
1339
1367
  command.response_representation = Google::Apis::DriveV3::Permission::Representation
@@ -1357,7 +1385,9 @@ module Google
1357
1385
  # @param [String] permission_id
1358
1386
  # The ID of the permission.
1359
1387
  # @param [Boolean] supports_all_drives
1360
- # Whether the requesting application supports both My Drives and shared drives.
1388
+ # Deprecated - Whether the requesting application supports both My Drives and
1389
+ # shared drives. This parameter will only be effective until June 1, 2020.
1390
+ # Afterwards all applications are assumed to support shared drives.
1361
1391
  # @param [Boolean] supports_team_drives
1362
1392
  # Deprecated use supportsAllDrives instead.
1363
1393
  # @param [Boolean] use_domain_admin_access
@@ -1385,7 +1415,7 @@ module Google
1385
1415
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1386
1416
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1387
1417
  def delete_permission(file_id, permission_id, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1388
- command = make_simple_command(:delete, 'files/{fileId}/permissions/{permissionId}', options)
1418
+ command = make_simple_command(:delete, 'files/{fileId}/permissions/{permissionId}', options)
1389
1419
  command.params['fileId'] = file_id unless file_id.nil?
1390
1420
  command.params['permissionId'] = permission_id unless permission_id.nil?
1391
1421
  command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
@@ -1403,7 +1433,9 @@ module Google
1403
1433
  # @param [String] permission_id
1404
1434
  # The ID of the permission.
1405
1435
  # @param [Boolean] supports_all_drives
1406
- # Whether the requesting application supports both My Drives and shared drives.
1436
+ # Deprecated - Whether the requesting application supports both My Drives and
1437
+ # shared drives. This parameter will only be effective until June 1, 2020.
1438
+ # Afterwards all applications are assumed to support shared drives.
1407
1439
  # @param [Boolean] supports_team_drives
1408
1440
  # Deprecated use supportsAllDrives instead.
1409
1441
  # @param [Boolean] use_domain_admin_access
@@ -1431,7 +1463,7 @@ module Google
1431
1463
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1432
1464
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1433
1465
  def get_permission(file_id, permission_id, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1434
- command = make_simple_command(:get, 'files/{fileId}/permissions/{permissionId}', options)
1466
+ command = make_simple_command(:get, 'files/{fileId}/permissions/{permissionId}', options)
1435
1467
  command.response_representation = Google::Apis::DriveV3::Permission::Representation
1436
1468
  command.response_class = Google::Apis::DriveV3::Permission
1437
1469
  command.params['fileId'] = file_id unless file_id.nil?
@@ -1456,7 +1488,9 @@ module Google
1456
1488
  # The token for continuing a previous list request on the next page. This should
1457
1489
  # be set to the value of 'nextPageToken' from the previous response.
1458
1490
  # @param [Boolean] supports_all_drives
1459
- # Whether the requesting application supports both My Drives and shared drives.
1491
+ # Deprecated - Whether the requesting application supports both My Drives and
1492
+ # shared drives. This parameter will only be effective until June 1, 2020.
1493
+ # Afterwards all applications are assumed to support shared drives.
1460
1494
  # @param [Boolean] supports_team_drives
1461
1495
  # Deprecated use supportsAllDrives instead.
1462
1496
  # @param [Boolean] use_domain_admin_access
@@ -1484,7 +1518,7 @@ module Google
1484
1518
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1485
1519
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1486
1520
  def list_permissions(file_id, page_size: nil, page_token: nil, supports_all_drives: nil, supports_team_drives: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1487
- command = make_simple_command(:get, 'files/{fileId}/permissions', options)
1521
+ command = make_simple_command(:get, 'files/{fileId}/permissions', options)
1488
1522
  command.response_representation = Google::Apis::DriveV3::PermissionList::Representation
1489
1523
  command.response_class = Google::Apis::DriveV3::PermissionList
1490
1524
  command.params['fileId'] = file_id unless file_id.nil?
@@ -1508,7 +1542,9 @@ module Google
1508
1542
  # @param [Boolean] remove_expiration
1509
1543
  # Whether to remove the expiration date.
1510
1544
  # @param [Boolean] supports_all_drives
1511
- # Whether the requesting application supports both My Drives and shared drives.
1545
+ # Deprecated - Whether the requesting application supports both My Drives and
1546
+ # shared drives. This parameter will only be effective until June 1, 2020.
1547
+ # Afterwards all applications are assumed to support shared drives.
1512
1548
  # @param [Boolean] supports_team_drives
1513
1549
  # Deprecated use supportsAllDrives instead.
1514
1550
  # @param [Boolean] transfer_ownership
@@ -1540,7 +1576,7 @@ module Google
1540
1576
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1541
1577
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1542
1578
  def update_permission(file_id, permission_id, permission_object = nil, remove_expiration: nil, supports_all_drives: nil, supports_team_drives: nil, transfer_ownership: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1543
- command = make_simple_command(:patch, 'files/{fileId}/permissions/{permissionId}', options)
1579
+ command = make_simple_command(:patch, 'files/{fileId}/permissions/{permissionId}', options)
1544
1580
  command.request_representation = Google::Apis::DriveV3::Permission::Representation
1545
1581
  command.request_object = permission_object
1546
1582
  command.response_representation = Google::Apis::DriveV3::Permission::Representation
@@ -1584,7 +1620,7 @@ module Google
1584
1620
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1585
1621
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1586
1622
  def create_reply(file_id, comment_id, reply_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1587
- command = make_simple_command(:post, 'files/{fileId}/comments/{commentId}/replies', options)
1623
+ command = make_simple_command(:post, 'files/{fileId}/comments/{commentId}/replies', options)
1588
1624
  command.request_representation = Google::Apis::DriveV3::Reply::Representation
1589
1625
  command.request_object = reply_object
1590
1626
  command.response_representation = Google::Apis::DriveV3::Reply::Representation
@@ -1624,7 +1660,7 @@ module Google
1624
1660
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1625
1661
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1626
1662
  def delete_reply(file_id, comment_id, reply_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1627
- command = make_simple_command(:delete, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
1663
+ command = make_simple_command(:delete, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
1628
1664
  command.params['fileId'] = file_id unless file_id.nil?
1629
1665
  command.params['commentId'] = comment_id unless comment_id.nil?
1630
1666
  command.params['replyId'] = reply_id unless reply_id.nil?
@@ -1664,7 +1700,7 @@ module Google
1664
1700
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1665
1701
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1666
1702
  def get_reply(file_id, comment_id, reply_id, include_deleted: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1667
- command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
1703
+ command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
1668
1704
  command.response_representation = Google::Apis::DriveV3::Reply::Representation
1669
1705
  command.response_class = Google::Apis::DriveV3::Reply
1670
1706
  command.params['fileId'] = file_id unless file_id.nil?
@@ -1710,7 +1746,7 @@ module Google
1710
1746
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1711
1747
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1712
1748
  def list_replies(file_id, comment_id, include_deleted: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1713
- command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}/replies', options)
1749
+ command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}/replies', options)
1714
1750
  command.response_representation = Google::Apis::DriveV3::ReplyList::Representation
1715
1751
  command.response_class = Google::Apis::DriveV3::ReplyList
1716
1752
  command.params['fileId'] = file_id unless file_id.nil?
@@ -1752,7 +1788,7 @@ module Google
1752
1788
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1753
1789
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1754
1790
  def update_reply(file_id, comment_id, reply_id, reply_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1755
- command = make_simple_command(:patch, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
1791
+ command = make_simple_command(:patch, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
1756
1792
  command.request_representation = Google::Apis::DriveV3::Reply::Representation
1757
1793
  command.request_object = reply_object
1758
1794
  command.response_representation = Google::Apis::DriveV3::Reply::Representation
@@ -1794,7 +1830,7 @@ module Google
1794
1830
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1795
1831
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1796
1832
  def delete_revision(file_id, revision_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1797
- command = make_simple_command(:delete, 'files/{fileId}/revisions/{revisionId}', options)
1833
+ command = make_simple_command(:delete, 'files/{fileId}/revisions/{revisionId}', options)
1798
1834
  command.params['fileId'] = file_id unless file_id.nil?
1799
1835
  command.params['revisionId'] = revision_id unless revision_id.nil?
1800
1836
  command.query['fields'] = fields unless fields.nil?
@@ -1834,7 +1870,7 @@ module Google
1834
1870
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1835
1871
  def get_revision(file_id, revision_id, acknowledge_abuse: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
1836
1872
  if download_dest.nil?
1837
- command = make_simple_command(:get, 'files/{fileId}/revisions/{revisionId}', options)
1873
+ command = make_simple_command(:get, 'files/{fileId}/revisions/{revisionId}', options)
1838
1874
  else
1839
1875
  command = make_download_command(:get, 'files/{fileId}/revisions/{revisionId}', options)
1840
1876
  command.download_dest = download_dest
@@ -1878,7 +1914,7 @@ module Google
1878
1914
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1879
1915
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1880
1916
  def list_revisions(file_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1881
- command = make_simple_command(:get, 'files/{fileId}/revisions', options)
1917
+ command = make_simple_command(:get, 'files/{fileId}/revisions', options)
1882
1918
  command.response_representation = Google::Apis::DriveV3::RevisionList::Representation
1883
1919
  command.response_class = Google::Apis::DriveV3::RevisionList
1884
1920
  command.params['fileId'] = file_id unless file_id.nil?
@@ -1916,7 +1952,7 @@ module Google
1916
1952
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1917
1953
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1918
1954
  def update_revision(file_id, revision_id, revision_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1919
- command = make_simple_command(:patch, 'files/{fileId}/revisions/{revisionId}', options)
1955
+ command = make_simple_command(:patch, 'files/{fileId}/revisions/{revisionId}', options)
1920
1956
  command.request_representation = Google::Apis::DriveV3::Revision::Representation
1921
1957
  command.request_object = revision_object
1922
1958
  command.response_representation = Google::Apis::DriveV3::Revision::Representation
@@ -1957,7 +1993,7 @@ module Google
1957
1993
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1958
1994
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1959
1995
  def create_teamdrive(request_id, team_drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1960
- command = make_simple_command(:post, 'teamdrives', options)
1996
+ command = make_simple_command(:post, 'teamdrives', options)
1961
1997
  command.request_representation = Google::Apis::DriveV3::TeamDrive::Representation
1962
1998
  command.request_object = team_drive_object
1963
1999
  command.response_representation = Google::Apis::DriveV3::TeamDrive::Representation
@@ -1992,7 +2028,7 @@ module Google
1992
2028
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1993
2029
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1994
2030
  def delete_teamdrive(team_drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1995
- command = make_simple_command(:delete, 'teamdrives/{teamDriveId}', options)
2031
+ command = make_simple_command(:delete, 'teamdrives/{teamDriveId}', options)
1996
2032
  command.params['teamDriveId'] = team_drive_id unless team_drive_id.nil?
1997
2033
  command.query['fields'] = fields unless fields.nil?
1998
2034
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2027,7 +2063,7 @@ module Google
2027
2063
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2028
2064
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2029
2065
  def get_teamdrive(team_drive_id, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2030
- command = make_simple_command(:get, 'teamdrives/{teamDriveId}', options)
2066
+ command = make_simple_command(:get, 'teamdrives/{teamDriveId}', options)
2031
2067
  command.response_representation = Google::Apis::DriveV3::TeamDrive::Representation
2032
2068
  command.response_class = Google::Apis::DriveV3::TeamDrive
2033
2069
  command.params['teamDriveId'] = team_drive_id unless team_drive_id.nil?
@@ -2068,7 +2104,7 @@ module Google
2068
2104
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2069
2105
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2070
2106
  def list_teamdrives(page_size: nil, page_token: nil, q: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2071
- command = make_simple_command(:get, 'teamdrives', options)
2107
+ command = make_simple_command(:get, 'teamdrives', options)
2072
2108
  command.response_representation = Google::Apis::DriveV3::TeamDriveList::Representation
2073
2109
  command.response_class = Google::Apis::DriveV3::TeamDriveList
2074
2110
  command.query['pageSize'] = page_size unless page_size.nil?
@@ -2109,7 +2145,7 @@ module Google
2109
2145
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2110
2146
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2111
2147
  def update_teamdrive(team_drive_id, team_drive_object = nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2112
- command = make_simple_command(:patch, 'teamdrives/{teamDriveId}', options)
2148
+ command = make_simple_command(:patch, 'teamdrives/{teamDriveId}', options)
2113
2149
  command.request_representation = Google::Apis::DriveV3::TeamDrive::Representation
2114
2150
  command.request_object = team_drive_object
2115
2151
  command.response_representation = Google::Apis::DriveV3::TeamDrive::Representation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/drive/
27
27
  module DriveV3
28
28
  VERSION = 'V3'
29
- REVISION = '20190416'
29
+ REVISION = '20190501'
30
30
 
31
31
  # See, edit, create, and delete all of your Google Drive files
32
32
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -67,7 +67,7 @@ module Google
67
67
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
68
68
  # @raise [Google::Apis::AuthorizationError] Authorization is required
69
69
  def query_drive_activity(query_drive_activity_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
70
- command = make_simple_command(:post, 'v2/activity:query', options)
70
+ command = make_simple_command(:post, 'v2/activity:query', options)
71
71
  command.request_representation = Google::Apis::DriveactivityV2::QueryDriveActivityRequest::Representation
72
72
  command.request_object = query_drive_activity_request_object
73
73
  command.response_representation = Google::Apis::DriveactivityV2::QueryDriveActivityResponse::Representation