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
@@ -83,7 +83,7 @@ module Google
83
83
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
84
84
  # @raise [Google::Apis::AuthorizationError] Authorization is required
85
85
  def get_about(include_subscribed: nil, max_change_id_count: nil, start_change_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
86
- command = make_simple_command(:get, 'about', options)
86
+ command = make_simple_command(:get, 'about', options)
87
87
  command.response_representation = Google::Apis::DriveV2::About::Representation
88
88
  command.response_class = Google::Apis::DriveV2::About
89
89
  command.query['includeSubscribed'] = include_subscribed unless include_subscribed.nil?
@@ -118,7 +118,7 @@ module Google
118
118
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
119
119
  # @raise [Google::Apis::AuthorizationError] Authorization is required
120
120
  def get_app(app_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
121
- command = make_simple_command(:get, 'apps/{appId}', options)
121
+ command = make_simple_command(:get, 'apps/{appId}', options)
122
122
  command.response_representation = Google::Apis::DriveV2::App::Representation
123
123
  command.response_class = Google::Apis::DriveV2::App
124
124
  command.params['appId'] = app_id unless app_id.nil?
@@ -162,7 +162,7 @@ module Google
162
162
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
163
163
  # @raise [Google::Apis::AuthorizationError] Authorization is required
164
164
  def list_apps(app_filter_extensions: nil, app_filter_mime_types: nil, language_code: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
165
- command = make_simple_command(:get, 'apps', options)
165
+ command = make_simple_command(:get, 'apps', options)
166
166
  command.response_representation = Google::Apis::DriveV2::AppList::Representation
167
167
  command.response_class = Google::Apis::DriveV2::AppList
168
168
  command.query['appFilterExtensions'] = app_filter_extensions unless app_filter_extensions.nil?
@@ -181,7 +181,9 @@ module Google
181
181
  # @param [String] drive_id
182
182
  # The shared drive from which the change will be returned.
183
183
  # @param [Boolean] supports_all_drives
184
- # Whether the requesting application supports both My Drives and shared drives.
184
+ # Deprecated - Whether the requesting application supports both My Drives and
185
+ # shared drives. This parameter will only be effective until June 1, 2020.
186
+ # Afterwards all applications are assumed to support shared drives.
185
187
  # @param [Boolean] supports_team_drives
186
188
  # Deprecated use supportsAllDrives instead.
187
189
  # @param [String] team_drive_id
@@ -206,7 +208,7 @@ module Google
206
208
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
207
209
  # @raise [Google::Apis::AuthorizationError] Authorization is required
208
210
  def get_change(change_id, 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)
209
- command = make_simple_command(:get, 'changes/{changeId}', options)
211
+ command = make_simple_command(:get, 'changes/{changeId}', options)
210
212
  command.response_representation = Google::Apis::DriveV2::Change::Representation
211
213
  command.response_class = Google::Apis::DriveV2::Change
212
214
  command.params['changeId'] = change_id unless change_id.nil?
@@ -225,7 +227,9 @@ module Google
225
227
  # The ID of the shared drive for which the starting pageToken for listing future
226
228
  # changes from that shared drive will be returned.
227
229
  # @param [Boolean] supports_all_drives
228
- # Whether the requesting application supports both My Drives and shared drives.
230
+ # Deprecated - Whether the requesting application supports both My Drives and
231
+ # shared drives. This parameter will only be effective until June 1, 2020.
232
+ # Afterwards all applications are assumed to support shared drives.
229
233
  # @param [Boolean] supports_team_drives
230
234
  # Deprecated use supportsAllDrives instead.
231
235
  # @param [String] team_drive_id
@@ -250,7 +254,7 @@ module Google
250
254
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
251
255
  # @raise [Google::Apis::AuthorizationError] Authorization is required
252
256
  def get_change_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)
253
- command = make_simple_command(:get, 'changes/startPageToken', options)
257
+ command = make_simple_command(:get, 'changes/startPageToken', options)
254
258
  command.response_representation = Google::Apis::DriveV2::StartPageToken::Representation
255
259
  command.response_class = Google::Apis::DriveV2::StartPageToken
256
260
  command.query['driveId'] = drive_id unless drive_id.nil?
@@ -277,7 +281,9 @@ module Google
277
281
  # Whether to include changes indicating that items have been removed from the
278
282
  # list of changes, for example by deletion or loss of access.
279
283
  # @param [Boolean] include_items_from_all_drives
280
- # Whether both My Drive and shared drive items should be included in results.
284
+ # Deprecated - Whether both My Drive and shared drive items should be included
285
+ # in results. This parameter will only be effective until June 1, 2020.
286
+ # Afterwards shared drive items will be included in the results.
281
287
  # @param [Boolean] include_subscribed
282
288
  # Whether to include changes outside the My Drive hierarchy in the result. When
283
289
  # set to false, changes to files such as those in the Application Data folder or
@@ -297,7 +303,9 @@ module Google
297
303
  # @param [Fixnum] start_change_id
298
304
  # Deprecated - use pageToken instead.
299
305
  # @param [Boolean] supports_all_drives
300
- # Whether the requesting application supports both My Drives and shared drives.
306
+ # Deprecated - Whether the requesting application supports both My Drives and
307
+ # shared drives. This parameter will only be effective until June 1, 2020.
308
+ # Afterwards all applications are assumed to support shared drives.
301
309
  # @param [Boolean] supports_team_drives
302
310
  # Deprecated use supportsAllDrives instead.
303
311
  # @param [String] team_drive_id
@@ -322,7 +330,7 @@ module Google
322
330
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
323
331
  # @raise [Google::Apis::AuthorizationError] Authorization is required
324
332
  def list_changes(drive_id: nil, include_corpus_removals: nil, include_deleted: nil, include_items_from_all_drives: nil, include_subscribed: nil, include_team_drive_items: nil, max_results: nil, page_token: nil, spaces: nil, start_change_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)
325
- command = make_simple_command(:get, 'changes', options)
333
+ command = make_simple_command(:get, 'changes', options)
326
334
  command.response_representation = Google::Apis::DriveV2::ChangeList::Representation
327
335
  command.response_class = Google::Apis::DriveV2::ChangeList
328
336
  command.query['driveId'] = drive_id unless drive_id.nil?
@@ -359,7 +367,9 @@ module Google
359
367
  # Whether to include changes indicating that items have been removed from the
360
368
  # list of changes, for example by deletion or loss of access.
361
369
  # @param [Boolean] include_items_from_all_drives
362
- # Whether both My Drive and shared drive items should be included in results.
370
+ # Deprecated - Whether both My Drive and shared drive items should be included
371
+ # in results. This parameter will only be effective until June 1, 2020.
372
+ # Afterwards shared drive items will be included in the results.
363
373
  # @param [Boolean] include_subscribed
364
374
  # Whether to include changes outside the My Drive hierarchy in the result. When
365
375
  # set to false, changes to files such as those in the Application Data folder or
@@ -379,7 +389,9 @@ module Google
379
389
  # @param [Fixnum] start_change_id
380
390
  # Deprecated - use pageToken instead.
381
391
  # @param [Boolean] supports_all_drives
382
- # Whether the requesting application supports both My Drives and shared drives.
392
+ # Deprecated - Whether the requesting application supports both My Drives and
393
+ # shared drives. This parameter will only be effective until June 1, 2020.
394
+ # Afterwards all applications are assumed to support shared drives.
383
395
  # @param [Boolean] supports_team_drives
384
396
  # Deprecated use supportsAllDrives instead.
385
397
  # @param [String] team_drive_id
@@ -404,7 +416,7 @@ module Google
404
416
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
405
417
  # @raise [Google::Apis::AuthorizationError] Authorization is required
406
418
  def watch_change(channel_object = nil, drive_id: nil, include_corpus_removals: nil, include_deleted: nil, include_items_from_all_drives: nil, include_subscribed: nil, include_team_drive_items: nil, max_results: nil, page_token: nil, spaces: nil, start_change_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)
407
- command = make_simple_command(:post, 'changes/watch', options)
419
+ command = make_simple_command(:post, 'changes/watch', options)
408
420
  command.request_representation = Google::Apis::DriveV2::Channel::Representation
409
421
  command.request_object = channel_object
410
422
  command.response_representation = Google::Apis::DriveV2::Channel::Representation
@@ -450,7 +462,7 @@ module Google
450
462
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
451
463
  # @raise [Google::Apis::AuthorizationError] Authorization is required
452
464
  def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
453
- command = make_simple_command(:post, 'channels/stop', options)
465
+ command = make_simple_command(:post, 'channels/stop', options)
454
466
  command.request_representation = Google::Apis::DriveV2::Channel::Representation
455
467
  command.request_object = channel_object
456
468
  command.query['fields'] = fields unless fields.nil?
@@ -484,7 +496,7 @@ module Google
484
496
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
485
497
  # @raise [Google::Apis::AuthorizationError] Authorization is required
486
498
  def delete_child(folder_id, child_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
487
- command = make_simple_command(:delete, 'files/{folderId}/children/{childId}', options)
499
+ command = make_simple_command(:delete, 'files/{folderId}/children/{childId}', options)
488
500
  command.params['folderId'] = folder_id unless folder_id.nil?
489
501
  command.params['childId'] = child_id unless child_id.nil?
490
502
  command.query['fields'] = fields unless fields.nil?
@@ -518,7 +530,7 @@ module Google
518
530
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
519
531
  # @raise [Google::Apis::AuthorizationError] Authorization is required
520
532
  def get_child(folder_id, child_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
521
- command = make_simple_command(:get, 'files/{folderId}/children/{childId}', options)
533
+ command = make_simple_command(:get, 'files/{folderId}/children/{childId}', options)
522
534
  command.response_representation = Google::Apis::DriveV2::ChildReference::Representation
523
535
  command.response_class = Google::Apis::DriveV2::ChildReference
524
536
  command.params['folderId'] = folder_id unless folder_id.nil?
@@ -534,7 +546,9 @@ module Google
534
546
  # The ID of the folder.
535
547
  # @param [Google::Apis::DriveV2::ChildReference] child_reference_object
536
548
  # @param [Boolean] supports_all_drives
537
- # Whether the requesting application supports both My Drives and shared drives.
549
+ # Deprecated - Whether the requesting application supports both My Drives and
550
+ # shared drives. This parameter will only be effective until June 1, 2020.
551
+ # Afterwards all applications are assumed to support shared drives.
538
552
  # @param [Boolean] supports_team_drives
539
553
  # Deprecated use supportsAllDrives instead.
540
554
  # @param [String] fields
@@ -557,7 +571,7 @@ module Google
557
571
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
558
572
  # @raise [Google::Apis::AuthorizationError] Authorization is required
559
573
  def insert_child(folder_id, child_reference_object = nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
560
- command = make_simple_command(:post, 'files/{folderId}/children', options)
574
+ command = make_simple_command(:post, 'files/{folderId}/children', options)
561
575
  command.request_representation = Google::Apis::DriveV2::ChildReference::Representation
562
576
  command.request_object = child_reference_object
563
577
  command.response_representation = Google::Apis::DriveV2::ChildReference::Representation
@@ -608,7 +622,7 @@ module Google
608
622
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
609
623
  # @raise [Google::Apis::AuthorizationError] Authorization is required
610
624
  def list_children(folder_id, max_results: nil, order_by: nil, page_token: nil, q: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
611
- command = make_simple_command(:get, 'files/{folderId}/children', options)
625
+ command = make_simple_command(:get, 'files/{folderId}/children', options)
612
626
  command.response_representation = Google::Apis::DriveV2::ChildList::Representation
613
627
  command.response_class = Google::Apis::DriveV2::ChildList
614
628
  command.params['folderId'] = folder_id unless folder_id.nil?
@@ -647,7 +661,7 @@ module Google
647
661
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
648
662
  # @raise [Google::Apis::AuthorizationError] Authorization is required
649
663
  def delete_comment(file_id, comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
650
- command = make_simple_command(:delete, 'files/{fileId}/comments/{commentId}', options)
664
+ command = make_simple_command(:delete, 'files/{fileId}/comments/{commentId}', options)
651
665
  command.params['fileId'] = file_id unless file_id.nil?
652
666
  command.params['commentId'] = comment_id unless comment_id.nil?
653
667
  command.query['fields'] = fields unless fields.nil?
@@ -684,7 +698,7 @@ module Google
684
698
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
685
699
  # @raise [Google::Apis::AuthorizationError] Authorization is required
686
700
  def get_comment(file_id, comment_id, include_deleted: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
687
- command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}', options)
701
+ command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}', options)
688
702
  command.response_representation = Google::Apis::DriveV2::Comment::Representation
689
703
  command.response_class = Google::Apis::DriveV2::Comment
690
704
  command.params['fileId'] = file_id unless file_id.nil?
@@ -720,7 +734,7 @@ module Google
720
734
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
721
735
  # @raise [Google::Apis::AuthorizationError] Authorization is required
722
736
  def insert_comment(file_id, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
723
- command = make_simple_command(:post, 'files/{fileId}/comments', options)
737
+ command = make_simple_command(:post, 'files/{fileId}/comments', options)
724
738
  command.request_representation = Google::Apis::DriveV2::Comment::Representation
725
739
  command.request_object = comment_object
726
740
  command.response_representation = Google::Apis::DriveV2::Comment::Representation
@@ -767,7 +781,7 @@ module Google
767
781
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
768
782
  # @raise [Google::Apis::AuthorizationError] Authorization is required
769
783
  def list_comments(file_id, include_deleted: nil, max_results: nil, page_token: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
770
- command = make_simple_command(:get, 'files/{fileId}/comments', options)
784
+ command = make_simple_command(:get, 'files/{fileId}/comments', options)
771
785
  command.response_representation = Google::Apis::DriveV2::CommentList::Representation
772
786
  command.response_class = Google::Apis::DriveV2::CommentList
773
787
  command.params['fileId'] = file_id unless file_id.nil?
@@ -807,7 +821,7 @@ module Google
807
821
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
808
822
  # @raise [Google::Apis::AuthorizationError] Authorization is required
809
823
  def patch_comment(file_id, comment_id, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
810
- command = make_simple_command(:patch, 'files/{fileId}/comments/{commentId}', options)
824
+ command = make_simple_command(:patch, 'files/{fileId}/comments/{commentId}', options)
811
825
  command.request_representation = Google::Apis::DriveV2::Comment::Representation
812
826
  command.request_object = comment_object
813
827
  command.response_representation = Google::Apis::DriveV2::Comment::Representation
@@ -846,7 +860,7 @@ module Google
846
860
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
847
861
  # @raise [Google::Apis::AuthorizationError] Authorization is required
848
862
  def update_comment(file_id, comment_id, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
849
- command = make_simple_command(:put, 'files/{fileId}/comments/{commentId}', options)
863
+ command = make_simple_command(:put, 'files/{fileId}/comments/{commentId}', options)
850
864
  command.request_representation = Google::Apis::DriveV2::Comment::Representation
851
865
  command.request_object = comment_object
852
866
  command.response_representation = Google::Apis::DriveV2::Comment::Representation
@@ -883,7 +897,7 @@ module Google
883
897
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
884
898
  # @raise [Google::Apis::AuthorizationError] Authorization is required
885
899
  def delete_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
886
- command = make_simple_command(:delete, 'drives/{driveId}', options)
900
+ command = make_simple_command(:delete, 'drives/{driveId}', options)
887
901
  command.params['driveId'] = drive_id unless drive_id.nil?
888
902
  command.query['fields'] = fields unless fields.nil?
889
903
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -918,7 +932,7 @@ module Google
918
932
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
919
933
  # @raise [Google::Apis::AuthorizationError] Authorization is required
920
934
  def get_drife(drive_id, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
921
- command = make_simple_command(:get, 'drives/{driveId}', options)
935
+ command = make_simple_command(:get, 'drives/{driveId}', options)
922
936
  command.response_representation = Google::Apis::DriveV2::Drive::Representation
923
937
  command.response_class = Google::Apis::DriveV2::Drive
924
938
  command.params['driveId'] = drive_id unless drive_id.nil?
@@ -952,7 +966,7 @@ module Google
952
966
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
953
967
  # @raise [Google::Apis::AuthorizationError] Authorization is required
954
968
  def hide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
955
- command = make_simple_command(:post, 'drives/{driveId}/hide', options)
969
+ command = make_simple_command(:post, 'drives/{driveId}/hide', options)
956
970
  command.response_representation = Google::Apis::DriveV2::Drive::Representation
957
971
  command.response_class = Google::Apis::DriveV2::Drive
958
972
  command.params['driveId'] = drive_id unless drive_id.nil?
@@ -990,7 +1004,7 @@ module Google
990
1004
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
991
1005
  # @raise [Google::Apis::AuthorizationError] Authorization is required
992
1006
  def insert_drife(request_id, drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
993
- command = make_simple_command(:post, 'drives', options)
1007
+ command = make_simple_command(:post, 'drives', options)
994
1008
  command.request_representation = Google::Apis::DriveV2::Drive::Representation
995
1009
  command.request_object = drive_object
996
1010
  command.response_representation = Google::Apis::DriveV2::Drive::Representation
@@ -1032,7 +1046,7 @@ module Google
1032
1046
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1033
1047
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1034
1048
  def list_drives(max_results: nil, page_token: nil, q: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1035
- command = make_simple_command(:get, 'drives', options)
1049
+ command = make_simple_command(:get, 'drives', options)
1036
1050
  command.response_representation = Google::Apis::DriveV2::DriveList::Representation
1037
1051
  command.response_class = Google::Apis::DriveV2::DriveList
1038
1052
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -1068,7 +1082,7 @@ module Google
1068
1082
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1069
1083
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1070
1084
  def unhide_drife(drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1071
- command = make_simple_command(:post, 'drives/{driveId}/unhide', options)
1085
+ command = make_simple_command(:post, 'drives/{driveId}/unhide', options)
1072
1086
  command.response_representation = Google::Apis::DriveV2::Drive::Representation
1073
1087
  command.response_class = Google::Apis::DriveV2::Drive
1074
1088
  command.params['driveId'] = drive_id unless drive_id.nil?
@@ -1106,7 +1120,7 @@ module Google
1106
1120
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1107
1121
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1108
1122
  def update_drife(drive_id, drive_object = nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1109
- command = make_simple_command(:put, 'drives/{driveId}', options)
1123
+ command = make_simple_command(:put, 'drives/{driveId}', options)
1110
1124
  command.request_representation = Google::Apis::DriveV2::Drive::Representation
1111
1125
  command.request_object = drive_object
1112
1126
  command.response_representation = Google::Apis::DriveV2::Drive::Representation
@@ -1133,7 +1147,9 @@ module Google
1133
1147
  # Whether to pin the head revision of the new copy. A file can have a maximum of
1134
1148
  # 200 pinned revisions.
1135
1149
  # @param [Boolean] supports_all_drives
1136
- # Whether the requesting application supports both My Drives and shared drives.
1150
+ # Deprecated - Whether the requesting application supports both My Drives and
1151
+ # shared drives. This parameter will only be effective until June 1, 2020.
1152
+ # Afterwards all applications are assumed to support shared drives.
1137
1153
  # @param [Boolean] supports_team_drives
1138
1154
  # Deprecated use supportsAllDrives instead.
1139
1155
  # @param [String] timed_text_language
@@ -1163,7 +1179,7 @@ module Google
1163
1179
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1164
1180
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1165
1181
  def copy_file(file_id, file_object = nil, convert: nil, ocr: nil, ocr_language: nil, pinned: nil, supports_all_drives: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1166
- command = make_simple_command(:post, 'files/{fileId}/copy', options)
1182
+ command = make_simple_command(:post, 'files/{fileId}/copy', options)
1167
1183
  command.request_representation = Google::Apis::DriveV2::File::Representation
1168
1184
  command.request_object = file_object
1169
1185
  command.response_representation = Google::Apis::DriveV2::File::Representation
@@ -1189,7 +1205,9 @@ module Google
1189
1205
  # @param [String] file_id
1190
1206
  # The ID of the file to delete.
1191
1207
  # @param [Boolean] supports_all_drives
1192
- # 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.
1193
1211
  # @param [Boolean] supports_team_drives
1194
1212
  # Deprecated use supportsAllDrives instead.
1195
1213
  # @param [String] fields
@@ -1212,7 +1230,7 @@ module Google
1212
1230
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1213
1231
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1214
1232
  def delete_file(file_id, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1215
- command = make_simple_command(:delete, 'files/{fileId}', options)
1233
+ command = make_simple_command(:delete, 'files/{fileId}', options)
1216
1234
  command.params['fileId'] = file_id unless file_id.nil?
1217
1235
  command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
1218
1236
  command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil?
@@ -1243,7 +1261,7 @@ module Google
1243
1261
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1244
1262
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1245
1263
  def empty_trash(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1246
- command = make_simple_command(:delete, 'files/trash', options)
1264
+ command = make_simple_command(:delete, 'files/trash', options)
1247
1265
  command.query['fields'] = fields unless fields.nil?
1248
1266
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1249
1267
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -1279,7 +1297,7 @@ module Google
1279
1297
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1280
1298
  def export_file(file_id, mime_type, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
1281
1299
  if download_dest.nil?
1282
- command = make_simple_command(:get, 'files/{fileId}/export', options)
1300
+ command = make_simple_command(:get, 'files/{fileId}/export', options)
1283
1301
  else
1284
1302
  command = make_download_command(:get, 'files/{fileId}/export', options)
1285
1303
  command.download_dest = download_dest
@@ -1318,7 +1336,7 @@ module Google
1318
1336
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1319
1337
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1320
1338
  def generate_file_ids(max_results: nil, space: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1321
- command = make_simple_command(:get, 'files/generateIds', options)
1339
+ command = make_simple_command(:get, 'files/generateIds', options)
1322
1340
  command.response_representation = Google::Apis::DriveV2::GeneratedIds::Representation
1323
1341
  command.response_class = Google::Apis::DriveV2::GeneratedIds
1324
1342
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -1341,7 +1359,9 @@ module Google
1341
1359
  # Specifies the Revision ID that should be downloaded. Ignored unless alt=media
1342
1360
  # is specified.
1343
1361
  # @param [Boolean] supports_all_drives
1344
- # Whether the requesting application supports both My Drives and shared drives.
1362
+ # Deprecated - Whether the requesting application supports both My Drives and
1363
+ # shared drives. This parameter will only be effective until June 1, 2020.
1364
+ # Afterwards all applications are assumed to support shared drives.
1345
1365
  # @param [Boolean] supports_team_drives
1346
1366
  # Deprecated use supportsAllDrives instead.
1347
1367
  # @param [Boolean] update_viewed_date
@@ -1370,7 +1390,7 @@ module Google
1370
1390
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1371
1391
  def get_file(file_id, acknowledge_abuse: nil, projection: nil, revision_id: nil, supports_all_drives: nil, supports_team_drives: nil, update_viewed_date: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
1372
1392
  if download_dest.nil?
1373
- command = make_simple_command(:get, 'files/{fileId}', options)
1393
+ command = make_simple_command(:get, 'files/{fileId}', options)
1374
1394
  else
1375
1395
  command = make_download_command(:get, 'files/{fileId}', options)
1376
1396
  command.download_dest = download_dest
@@ -1402,7 +1422,9 @@ module Google
1402
1422
  # Whether to pin the head revision of the uploaded file. A file can have a
1403
1423
  # maximum of 200 pinned revisions.
1404
1424
  # @param [Boolean] supports_all_drives
1405
- # Whether the requesting application supports both My Drives and shared drives.
1425
+ # Deprecated - Whether the requesting application supports both My Drives and
1426
+ # shared drives. This parameter will only be effective until June 1, 2020.
1427
+ # Afterwards all applications are assumed to support shared drives.
1406
1428
  # @param [Boolean] supports_team_drives
1407
1429
  # Deprecated use supportsAllDrives instead.
1408
1430
  # @param [String] timed_text_language
@@ -1439,7 +1461,7 @@ module Google
1439
1461
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1440
1462
  def insert_file(file_object = nil, convert: nil, ocr: nil, ocr_language: nil, pinned: nil, supports_all_drives: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, use_content_as_indexable_text: nil, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
1441
1463
  if upload_source.nil?
1442
- command = make_simple_command(:post, 'files', options)
1464
+ command = make_simple_command(:post, 'files', options)
1443
1465
  else
1444
1466
  command = make_upload_command(:post, 'files', options)
1445
1467
  command.upload_source = upload_source
@@ -1476,7 +1498,9 @@ module Google
1476
1498
  # @param [String] drive_id
1477
1499
  # ID of the shared drive to search.
1478
1500
  # @param [Boolean] include_items_from_all_drives
1479
- # Whether both My Drive and shared drive items should be included in results.
1501
+ # Deprecated - Whether both My Drive and shared drive items should be included
1502
+ # in results. This parameter will only be effective until June 1, 2020.
1503
+ # Afterwards shared drive items will be included in the results.
1480
1504
  # @param [Boolean] include_team_drive_items
1481
1505
  # Deprecated use includeItemsFromAllDrives instead.
1482
1506
  # @param [Fixnum] max_results
@@ -1500,7 +1524,9 @@ module Google
1500
1524
  # A comma-separated list of spaces to query. Supported values are 'drive', '
1501
1525
  # appDataFolder' and 'photos'.
1502
1526
  # @param [Boolean] supports_all_drives
1503
- # Whether the requesting application supports both My Drives and shared drives.
1527
+ # Deprecated - Whether the requesting application supports both My Drives and
1528
+ # shared drives. This parameter will only be effective until June 1, 2020.
1529
+ # Afterwards all applications are assumed to support shared drives.
1504
1530
  # @param [Boolean] supports_team_drives
1505
1531
  # Deprecated use supportsAllDrives instead.
1506
1532
  # @param [String] team_drive_id
@@ -1525,7 +1551,7 @@ module Google
1525
1551
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1526
1552
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1527
1553
  def list_files(corpora: nil, corpus: nil, drive_id: nil, include_items_from_all_drives: nil, include_team_drive_items: nil, max_results: nil, order_by: nil, page_token: nil, projection: 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)
1528
- command = make_simple_command(:get, 'files', options)
1554
+ command = make_simple_command(:get, 'files', options)
1529
1555
  command.response_representation = Google::Apis::DriveV2::FileList::Representation
1530
1556
  command.response_class = Google::Apis::DriveV2::FileList
1531
1557
  command.query['corpora'] = corpora unless corpora.nil?
@@ -1581,7 +1607,9 @@ module Google
1581
1607
  # and false is equivalent to modifiedDateBehavior=now. To prevent any changes
1582
1608
  # to the modified date set modifiedDateBehavior=noChange.
1583
1609
  # @param [Boolean] supports_all_drives
1584
- # Whether the requesting application supports both My Drives and shared drives.
1610
+ # Deprecated - Whether the requesting application supports both My Drives and
1611
+ # shared drives. This parameter will only be effective until June 1, 2020.
1612
+ # Afterwards all applications are assumed to support shared drives.
1585
1613
  # @param [Boolean] supports_team_drives
1586
1614
  # Deprecated use supportsAllDrives instead.
1587
1615
  # @param [String] timed_text_language
@@ -1612,7 +1640,7 @@ module Google
1612
1640
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1613
1641
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1614
1642
  def patch_file(file_id, file_object = nil, add_parents: nil, convert: nil, modified_date_behavior: nil, new_revision: nil, ocr: nil, ocr_language: nil, pinned: nil, remove_parents: nil, set_modified_date: nil, supports_all_drives: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, update_viewed_date: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1615
- command = make_simple_command(:patch, 'files/{fileId}', options)
1643
+ command = make_simple_command(:patch, 'files/{fileId}', options)
1616
1644
  command.request_representation = Google::Apis::DriveV2::File::Representation
1617
1645
  command.request_object = file_object
1618
1646
  command.response_representation = Google::Apis::DriveV2::File::Representation
@@ -1643,7 +1671,9 @@ module Google
1643
1671
  # @param [String] file_id
1644
1672
  # The ID of the file to update.
1645
1673
  # @param [Boolean] supports_all_drives
1646
- # Whether the requesting application supports both My Drives and shared drives.
1674
+ # Deprecated - Whether the requesting application supports both My Drives and
1675
+ # shared drives. This parameter will only be effective until June 1, 2020.
1676
+ # Afterwards all applications are assumed to support shared drives.
1647
1677
  # @param [Boolean] supports_team_drives
1648
1678
  # Deprecated use supportsAllDrives instead.
1649
1679
  # @param [String] fields
@@ -1666,7 +1696,7 @@ module Google
1666
1696
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1667
1697
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1668
1698
  def touch_file(file_id, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1669
- command = make_simple_command(:post, 'files/{fileId}/touch', options)
1699
+ command = make_simple_command(:post, 'files/{fileId}/touch', options)
1670
1700
  command.response_representation = Google::Apis::DriveV2::File::Representation
1671
1701
  command.response_class = Google::Apis::DriveV2::File
1672
1702
  command.params['fileId'] = file_id unless file_id.nil?
@@ -1683,7 +1713,9 @@ module Google
1683
1713
  # @param [String] file_id
1684
1714
  # The ID of the file to trash.
1685
1715
  # @param [Boolean] supports_all_drives
1686
- # Whether the requesting application supports both My Drives and shared drives.
1716
+ # Deprecated - Whether the requesting application supports both My Drives and
1717
+ # shared drives. This parameter will only be effective until June 1, 2020.
1718
+ # Afterwards all applications are assumed to support shared drives.
1687
1719
  # @param [Boolean] supports_team_drives
1688
1720
  # Deprecated use supportsAllDrives instead.
1689
1721
  # @param [String] fields
@@ -1706,7 +1738,7 @@ module Google
1706
1738
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1707
1739
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1708
1740
  def trash_file(file_id, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1709
- command = make_simple_command(:post, 'files/{fileId}/trash', options)
1741
+ command = make_simple_command(:post, 'files/{fileId}/trash', options)
1710
1742
  command.response_representation = Google::Apis::DriveV2::File::Representation
1711
1743
  command.response_class = Google::Apis::DriveV2::File
1712
1744
  command.params['fileId'] = file_id unless file_id.nil?
@@ -1722,7 +1754,9 @@ module Google
1722
1754
  # @param [String] file_id
1723
1755
  # The ID of the file to untrash.
1724
1756
  # @param [Boolean] supports_all_drives
1725
- # Whether the requesting application supports both My Drives and shared drives.
1757
+ # Deprecated - Whether the requesting application supports both My Drives and
1758
+ # shared drives. This parameter will only be effective until June 1, 2020.
1759
+ # Afterwards all applications are assumed to support shared drives.
1726
1760
  # @param [Boolean] supports_team_drives
1727
1761
  # Deprecated use supportsAllDrives instead.
1728
1762
  # @param [String] fields
@@ -1745,7 +1779,7 @@ module Google
1745
1779
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1746
1780
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1747
1781
  def untrash_file(file_id, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1748
- command = make_simple_command(:post, 'files/{fileId}/untrash', options)
1782
+ command = make_simple_command(:post, 'files/{fileId}/untrash', options)
1749
1783
  command.response_representation = Google::Apis::DriveV2::File::Representation
1750
1784
  command.response_class = Google::Apis::DriveV2::File
1751
1785
  command.params['fileId'] = file_id unless file_id.nil?
@@ -1790,7 +1824,9 @@ module Google
1790
1824
  # and false is equivalent to modifiedDateBehavior=now. To prevent any changes
1791
1825
  # to the modified date set modifiedDateBehavior=noChange.
1792
1826
  # @param [Boolean] supports_all_drives
1793
- # Whether the requesting application supports both My Drives and shared drives.
1827
+ # Deprecated - Whether the requesting application supports both My Drives and
1828
+ # shared drives. This parameter will only be effective until June 1, 2020.
1829
+ # Afterwards all applications are assumed to support shared drives.
1794
1830
  # @param [Boolean] supports_team_drives
1795
1831
  # Deprecated use supportsAllDrives instead.
1796
1832
  # @param [String] timed_text_language
@@ -1826,7 +1862,7 @@ module Google
1826
1862
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1827
1863
  def update_file(file_id, file_object = nil, add_parents: nil, convert: nil, modified_date_behavior: nil, new_revision: nil, ocr: nil, ocr_language: nil, pinned: nil, remove_parents: nil, set_modified_date: nil, supports_all_drives: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, update_viewed_date: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
1828
1864
  if upload_source.nil?
1829
- command = make_simple_command(:put, 'files/{fileId}', options)
1865
+ command = make_simple_command(:put, 'files/{fileId}', options)
1830
1866
  else
1831
1867
  command = make_upload_command(:put, 'files/{fileId}', options)
1832
1868
  command.upload_source = upload_source
@@ -1871,7 +1907,9 @@ module Google
1871
1907
  # Specifies the Revision ID that should be downloaded. Ignored unless alt=media
1872
1908
  # is specified.
1873
1909
  # @param [Boolean] supports_all_drives
1874
- # Whether the requesting application supports both My Drives and shared drives.
1910
+ # Deprecated - Whether the requesting application supports both My Drives and
1911
+ # shared drives. This parameter will only be effective until June 1, 2020.
1912
+ # Afterwards all applications are assumed to support shared drives.
1875
1913
  # @param [Boolean] supports_team_drives
1876
1914
  # Deprecated use supportsAllDrives instead.
1877
1915
  # @param [Boolean] update_viewed_date
@@ -1900,7 +1938,7 @@ module Google
1900
1938
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1901
1939
  def watch_file(file_id, channel_object = nil, acknowledge_abuse: nil, projection: nil, revision_id: nil, supports_all_drives: nil, supports_team_drives: nil, update_viewed_date: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
1902
1940
  if download_dest.nil?
1903
- command = make_simple_command(:post, 'files/{fileId}/watch', options)
1941
+ command = make_simple_command(:post, 'files/{fileId}/watch', options)
1904
1942
  else
1905
1943
  command = make_download_command(:post, 'files/{fileId}/watch', options)
1906
1944
  command.download_dest = download_dest
@@ -1947,7 +1985,7 @@ module Google
1947
1985
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1948
1986
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1949
1987
  def delete_parent(file_id, parent_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1950
- command = make_simple_command(:delete, 'files/{fileId}/parents/{parentId}', options)
1988
+ command = make_simple_command(:delete, 'files/{fileId}/parents/{parentId}', options)
1951
1989
  command.params['fileId'] = file_id unless file_id.nil?
1952
1990
  command.params['parentId'] = parent_id unless parent_id.nil?
1953
1991
  command.query['fields'] = fields unless fields.nil?
@@ -1981,7 +2019,7 @@ module Google
1981
2019
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1982
2020
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1983
2021
  def get_parent(file_id, parent_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1984
- command = make_simple_command(:get, 'files/{fileId}/parents/{parentId}', options)
2022
+ command = make_simple_command(:get, 'files/{fileId}/parents/{parentId}', options)
1985
2023
  command.response_representation = Google::Apis::DriveV2::ParentReference::Representation
1986
2024
  command.response_class = Google::Apis::DriveV2::ParentReference
1987
2025
  command.params['fileId'] = file_id unless file_id.nil?
@@ -1997,7 +2035,9 @@ module Google
1997
2035
  # The ID of the file.
1998
2036
  # @param [Google::Apis::DriveV2::ParentReference] parent_reference_object
1999
2037
  # @param [Boolean] supports_all_drives
2000
- # Whether the requesting application supports both My Drives and shared drives.
2038
+ # Deprecated - Whether the requesting application supports both My Drives and
2039
+ # shared drives. This parameter will only be effective until June 1, 2020.
2040
+ # Afterwards all applications are assumed to support shared drives.
2001
2041
  # @param [Boolean] supports_team_drives
2002
2042
  # Deprecated use supportsAllDrives instead.
2003
2043
  # @param [String] fields
@@ -2020,7 +2060,7 @@ module Google
2020
2060
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2021
2061
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2022
2062
  def insert_parent(file_id, parent_reference_object = nil, supports_all_drives: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2023
- command = make_simple_command(:post, 'files/{fileId}/parents', options)
2063
+ command = make_simple_command(:post, 'files/{fileId}/parents', options)
2024
2064
  command.request_representation = Google::Apis::DriveV2::ParentReference::Representation
2025
2065
  command.request_object = parent_reference_object
2026
2066
  command.response_representation = Google::Apis::DriveV2::ParentReference::Representation
@@ -2057,7 +2097,7 @@ module Google
2057
2097
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2058
2098
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2059
2099
  def list_parents(file_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2060
- command = make_simple_command(:get, 'files/{fileId}/parents', options)
2100
+ command = make_simple_command(:get, 'files/{fileId}/parents', options)
2061
2101
  command.response_representation = Google::Apis::DriveV2::ParentList::Representation
2062
2102
  command.response_class = Google::Apis::DriveV2::ParentList
2063
2103
  command.params['fileId'] = file_id unless file_id.nil?
@@ -2073,7 +2113,9 @@ module Google
2073
2113
  # @param [String] permission_id
2074
2114
  # The ID for the permission.
2075
2115
  # @param [Boolean] supports_all_drives
2076
- # Whether the requesting application supports both My Drives and shared drives.
2116
+ # Deprecated - Whether the requesting application supports both My Drives and
2117
+ # shared drives. This parameter will only be effective until June 1, 2020.
2118
+ # Afterwards all applications are assumed to support shared drives.
2077
2119
  # @param [Boolean] supports_team_drives
2078
2120
  # Deprecated use supportsAllDrives instead.
2079
2121
  # @param [Boolean] use_domain_admin_access
@@ -2101,7 +2143,7 @@ module Google
2101
2143
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2102
2144
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2103
2145
  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)
2104
- command = make_simple_command(:delete, 'files/{fileId}/permissions/{permissionId}', options)
2146
+ command = make_simple_command(:delete, 'files/{fileId}/permissions/{permissionId}', options)
2105
2147
  command.params['fileId'] = file_id unless file_id.nil?
2106
2148
  command.params['permissionId'] = permission_id unless permission_id.nil?
2107
2149
  command.query['supportsAllDrives'] = supports_all_drives unless supports_all_drives.nil?
@@ -2119,7 +2161,9 @@ module Google
2119
2161
  # @param [String] permission_id
2120
2162
  # The ID for the permission.
2121
2163
  # @param [Boolean] supports_all_drives
2122
- # Whether the requesting application supports both My Drives and shared drives.
2164
+ # Deprecated - Whether the requesting application supports both My Drives and
2165
+ # shared drives. This parameter will only be effective until June 1, 2020.
2166
+ # Afterwards all applications are assumed to support shared drives.
2123
2167
  # @param [Boolean] supports_team_drives
2124
2168
  # Deprecated use supportsAllDrives instead.
2125
2169
  # @param [Boolean] use_domain_admin_access
@@ -2147,7 +2191,7 @@ module Google
2147
2191
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2148
2192
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2149
2193
  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)
2150
- command = make_simple_command(:get, 'files/{fileId}/permissions/{permissionId}', options)
2194
+ command = make_simple_command(:get, 'files/{fileId}/permissions/{permissionId}', options)
2151
2195
  command.response_representation = Google::Apis::DriveV2::Permission::Representation
2152
2196
  command.response_class = Google::Apis::DriveV2::Permission
2153
2197
  command.params['fileId'] = file_id unless file_id.nil?
@@ -2184,7 +2228,7 @@ module Google
2184
2228
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2185
2229
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2186
2230
  def get_permission_id_for_email(email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2187
- command = make_simple_command(:get, 'permissionIds/{email}', options)
2231
+ command = make_simple_command(:get, 'permissionIds/{email}', options)
2188
2232
  command.response_representation = Google::Apis::DriveV2::PermissionId::Representation
2189
2233
  command.response_class = Google::Apis::DriveV2::PermissionId
2190
2234
  command.params['email'] = email unless email.nil?
@@ -2204,7 +2248,9 @@ module Google
2204
2248
  # Whether to send notification emails when sharing to users or groups. This
2205
2249
  # parameter is ignored and an email is sent if the role is owner.
2206
2250
  # @param [Boolean] supports_all_drives
2207
- # Whether the requesting application supports both My Drives and shared drives.
2251
+ # Deprecated - Whether the requesting application supports both My Drives and
2252
+ # shared drives. This parameter will only be effective until June 1, 2020.
2253
+ # Afterwards all applications are assumed to support shared drives.
2208
2254
  # @param [Boolean] supports_team_drives
2209
2255
  # Deprecated use supportsAllDrives instead.
2210
2256
  # @param [Boolean] use_domain_admin_access
@@ -2232,7 +2278,7 @@ module Google
2232
2278
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2233
2279
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2234
2280
  def insert_permission(file_id, permission_object = nil, email_message: nil, send_notification_emails: 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)
2235
- command = make_simple_command(:post, 'files/{fileId}/permissions', options)
2281
+ command = make_simple_command(:post, 'files/{fileId}/permissions', options)
2236
2282
  command.request_representation = Google::Apis::DriveV2::Permission::Representation
2237
2283
  command.request_object = permission_object
2238
2284
  command.response_representation = Google::Apis::DriveV2::Permission::Representation
@@ -2260,7 +2306,9 @@ module Google
2260
2306
  # The token for continuing a previous list request on the next page. This should
2261
2307
  # be set to the value of 'nextPageToken' from the previous response.
2262
2308
  # @param [Boolean] supports_all_drives
2263
- # Whether the requesting application supports both My Drives and shared drives.
2309
+ # Deprecated - Whether the requesting application supports both My Drives and
2310
+ # shared drives. This parameter will only be effective until June 1, 2020.
2311
+ # Afterwards all applications are assumed to support shared drives.
2264
2312
  # @param [Boolean] supports_team_drives
2265
2313
  # Deprecated use supportsAllDrives instead.
2266
2314
  # @param [Boolean] use_domain_admin_access
@@ -2288,7 +2336,7 @@ module Google
2288
2336
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2289
2337
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2290
2338
  def list_permissions(file_id, max_results: 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)
2291
- command = make_simple_command(:get, 'files/{fileId}/permissions', options)
2339
+ command = make_simple_command(:get, 'files/{fileId}/permissions', options)
2292
2340
  command.response_representation = Google::Apis::DriveV2::PermissionList::Representation
2293
2341
  command.response_class = Google::Apis::DriveV2::PermissionList
2294
2342
  command.params['fileId'] = file_id unless file_id.nil?
@@ -2312,7 +2360,9 @@ module Google
2312
2360
  # @param [Boolean] remove_expiration
2313
2361
  # Whether to remove the expiration date.
2314
2362
  # @param [Boolean] supports_all_drives
2315
- # Whether the requesting application supports both My Drives and shared drives.
2363
+ # Deprecated - Whether the requesting application supports both My Drives and
2364
+ # shared drives. This parameter will only be effective until June 1, 2020.
2365
+ # Afterwards all applications are assumed to support shared drives.
2316
2366
  # @param [Boolean] supports_team_drives
2317
2367
  # Deprecated use supportsAllDrives instead.
2318
2368
  # @param [Boolean] transfer_ownership
@@ -2343,7 +2393,7 @@ module Google
2343
2393
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2344
2394
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2345
2395
  def patch_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)
2346
- command = make_simple_command(:patch, 'files/{fileId}/permissions/{permissionId}', options)
2396
+ command = make_simple_command(:patch, 'files/{fileId}/permissions/{permissionId}', options)
2347
2397
  command.request_representation = Google::Apis::DriveV2::Permission::Representation
2348
2398
  command.request_object = permission_object
2349
2399
  command.response_representation = Google::Apis::DriveV2::Permission::Representation
@@ -2370,7 +2420,9 @@ module Google
2370
2420
  # @param [Boolean] remove_expiration
2371
2421
  # Whether to remove the expiration date.
2372
2422
  # @param [Boolean] supports_all_drives
2373
- # Whether the requesting application supports both My Drives and shared drives.
2423
+ # Deprecated - Whether the requesting application supports both My Drives and
2424
+ # shared drives. This parameter will only be effective until June 1, 2020.
2425
+ # Afterwards all applications are assumed to support shared drives.
2374
2426
  # @param [Boolean] supports_team_drives
2375
2427
  # Deprecated use supportsAllDrives instead.
2376
2428
  # @param [Boolean] transfer_ownership
@@ -2401,7 +2453,7 @@ module Google
2401
2453
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2402
2454
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2403
2455
  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)
2404
- command = make_simple_command(:put, 'files/{fileId}/permissions/{permissionId}', options)
2456
+ command = make_simple_command(:put, 'files/{fileId}/permissions/{permissionId}', options)
2405
2457
  command.request_representation = Google::Apis::DriveV2::Permission::Representation
2406
2458
  command.request_object = permission_object
2407
2459
  command.response_representation = Google::Apis::DriveV2::Permission::Representation
@@ -2446,7 +2498,7 @@ module Google
2446
2498
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2447
2499
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2448
2500
  def delete_property(file_id, property_key, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2449
- command = make_simple_command(:delete, 'files/{fileId}/properties/{propertyKey}', options)
2501
+ command = make_simple_command(:delete, 'files/{fileId}/properties/{propertyKey}', options)
2450
2502
  command.params['fileId'] = file_id unless file_id.nil?
2451
2503
  command.params['propertyKey'] = property_key unless property_key.nil?
2452
2504
  command.query['visibility'] = visibility unless visibility.nil?
@@ -2483,7 +2535,7 @@ module Google
2483
2535
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2484
2536
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2485
2537
  def get_property(file_id, property_key, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2486
- command = make_simple_command(:get, 'files/{fileId}/properties/{propertyKey}', options)
2538
+ command = make_simple_command(:get, 'files/{fileId}/properties/{propertyKey}', options)
2487
2539
  command.response_representation = Google::Apis::DriveV2::Property::Representation
2488
2540
  command.response_class = Google::Apis::DriveV2::Property
2489
2541
  command.params['fileId'] = file_id unless file_id.nil?
@@ -2519,7 +2571,7 @@ module Google
2519
2571
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2520
2572
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2521
2573
  def insert_property(file_id, property_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2522
- command = make_simple_command(:post, 'files/{fileId}/properties', options)
2574
+ command = make_simple_command(:post, 'files/{fileId}/properties', options)
2523
2575
  command.request_representation = Google::Apis::DriveV2::Property::Representation
2524
2576
  command.request_object = property_object
2525
2577
  command.response_representation = Google::Apis::DriveV2::Property::Representation
@@ -2554,7 +2606,7 @@ module Google
2554
2606
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2555
2607
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2556
2608
  def list_properties(file_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2557
- command = make_simple_command(:get, 'files/{fileId}/properties', options)
2609
+ command = make_simple_command(:get, 'files/{fileId}/properties', options)
2558
2610
  command.response_representation = Google::Apis::DriveV2::PropertyList::Representation
2559
2611
  command.response_class = Google::Apis::DriveV2::PropertyList
2560
2612
  command.params['fileId'] = file_id unless file_id.nil?
@@ -2593,7 +2645,7 @@ module Google
2593
2645
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2594
2646
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2595
2647
  def patch_property(file_id, property_key, property_object = nil, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2596
- command = make_simple_command(:patch, 'files/{fileId}/properties/{propertyKey}', options)
2648
+ command = make_simple_command(:patch, 'files/{fileId}/properties/{propertyKey}', options)
2597
2649
  command.request_representation = Google::Apis::DriveV2::Property::Representation
2598
2650
  command.request_object = property_object
2599
2651
  command.response_representation = Google::Apis::DriveV2::Property::Representation
@@ -2636,7 +2688,7 @@ module Google
2636
2688
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2637
2689
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2638
2690
  def update_property(file_id, property_key, property_object = nil, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2639
- command = make_simple_command(:put, 'files/{fileId}/properties/{propertyKey}', options)
2691
+ command = make_simple_command(:put, 'files/{fileId}/properties/{propertyKey}', options)
2640
2692
  command.request_representation = Google::Apis::DriveV2::Property::Representation
2641
2693
  command.request_object = property_object
2642
2694
  command.response_representation = Google::Apis::DriveV2::Property::Representation
@@ -2681,7 +2733,7 @@ module Google
2681
2733
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2682
2734
  def get_realtime(file_id, revision: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
2683
2735
  if download_dest.nil?
2684
- command = make_simple_command(:get, 'files/{fileId}/realtime', options)
2736
+ command = make_simple_command(:get, 'files/{fileId}/realtime', options)
2685
2737
  else
2686
2738
  command = make_download_command(:get, 'files/{fileId}/realtime', options)
2687
2739
  command.download_dest = download_dest
@@ -2728,7 +2780,7 @@ module Google
2728
2780
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2729
2781
  def update_realtime(file_id, base_revision: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
2730
2782
  if upload_source.nil?
2731
- command = make_simple_command(:put, 'files/{fileId}/realtime', options)
2783
+ command = make_simple_command(:put, 'files/{fileId}/realtime', options)
2732
2784
  else
2733
2785
  command = make_upload_command(:put, 'files/{fileId}/realtime', options)
2734
2786
  command.upload_source = upload_source
@@ -2769,7 +2821,7 @@ module Google
2769
2821
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2770
2822
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2771
2823
  def delete_reply(file_id, comment_id, reply_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2772
- command = make_simple_command(:delete, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
2824
+ command = make_simple_command(:delete, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
2773
2825
  command.params['fileId'] = file_id unless file_id.nil?
2774
2826
  command.params['commentId'] = comment_id unless comment_id.nil?
2775
2827
  command.params['replyId'] = reply_id unless reply_id.nil?
@@ -2808,7 +2860,7 @@ module Google
2808
2860
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2809
2861
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2810
2862
  def get_reply(file_id, comment_id, reply_id, include_deleted: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2811
- command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
2863
+ command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
2812
2864
  command.response_representation = Google::Apis::DriveV2::CommentReply::Representation
2813
2865
  command.response_class = Google::Apis::DriveV2::CommentReply
2814
2866
  command.params['fileId'] = file_id unless file_id.nil?
@@ -2847,7 +2899,7 @@ module Google
2847
2899
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2848
2900
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2849
2901
  def insert_reply(file_id, comment_id, comment_reply_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2850
- command = make_simple_command(:post, 'files/{fileId}/comments/{commentId}/replies', options)
2902
+ command = make_simple_command(:post, 'files/{fileId}/comments/{commentId}/replies', options)
2851
2903
  command.request_representation = Google::Apis::DriveV2::CommentReply::Representation
2852
2904
  command.request_object = comment_reply_object
2853
2905
  command.response_representation = Google::Apis::DriveV2::CommentReply::Representation
@@ -2894,7 +2946,7 @@ module Google
2894
2946
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2895
2947
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2896
2948
  def list_replies(file_id, comment_id, include_deleted: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2897
- command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}/replies', options)
2949
+ command = make_simple_command(:get, 'files/{fileId}/comments/{commentId}/replies', options)
2898
2950
  command.response_representation = Google::Apis::DriveV2::CommentReplyList::Representation
2899
2951
  command.response_class = Google::Apis::DriveV2::CommentReplyList
2900
2952
  command.params['fileId'] = file_id unless file_id.nil?
@@ -2936,7 +2988,7 @@ module Google
2936
2988
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2937
2989
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2938
2990
  def patch_reply(file_id, comment_id, reply_id, comment_reply_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2939
- command = make_simple_command(:patch, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
2991
+ command = make_simple_command(:patch, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
2940
2992
  command.request_representation = Google::Apis::DriveV2::CommentReply::Representation
2941
2993
  command.request_object = comment_reply_object
2942
2994
  command.response_representation = Google::Apis::DriveV2::CommentReply::Representation
@@ -2978,7 +3030,7 @@ module Google
2978
3030
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2979
3031
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2980
3032
  def update_reply(file_id, comment_id, reply_id, comment_reply_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2981
- command = make_simple_command(:put, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
3033
+ command = make_simple_command(:put, 'files/{fileId}/comments/{commentId}/replies/{replyId}', options)
2982
3034
  command.request_representation = Google::Apis::DriveV2::CommentReply::Representation
2983
3035
  command.request_object = comment_reply_object
2984
3036
  command.response_representation = Google::Apis::DriveV2::CommentReply::Representation
@@ -3019,7 +3071,7 @@ module Google
3019
3071
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3020
3072
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3021
3073
  def delete_revision(file_id, revision_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3022
- command = make_simple_command(:delete, 'files/{fileId}/revisions/{revisionId}', options)
3074
+ command = make_simple_command(:delete, 'files/{fileId}/revisions/{revisionId}', options)
3023
3075
  command.params['fileId'] = file_id unless file_id.nil?
3024
3076
  command.params['revisionId'] = revision_id unless revision_id.nil?
3025
3077
  command.query['fields'] = fields unless fields.nil?
@@ -3053,7 +3105,7 @@ module Google
3053
3105
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3054
3106
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3055
3107
  def get_revision(file_id, revision_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3056
- command = make_simple_command(:get, 'files/{fileId}/revisions/{revisionId}', options)
3108
+ command = make_simple_command(:get, 'files/{fileId}/revisions/{revisionId}', options)
3057
3109
  command.response_representation = Google::Apis::DriveV2::Revision::Representation
3058
3110
  command.response_class = Google::Apis::DriveV2::Revision
3059
3111
  command.params['fileId'] = file_id unless file_id.nil?
@@ -3092,7 +3144,7 @@ module Google
3092
3144
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3093
3145
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3094
3146
  def list_revisions(file_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3095
- command = make_simple_command(:get, 'files/{fileId}/revisions', options)
3147
+ command = make_simple_command(:get, 'files/{fileId}/revisions', options)
3096
3148
  command.response_representation = Google::Apis::DriveV2::RevisionList::Representation
3097
3149
  command.response_class = Google::Apis::DriveV2::RevisionList
3098
3150
  command.params['fileId'] = file_id unless file_id.nil?
@@ -3130,7 +3182,7 @@ module Google
3130
3182
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3131
3183
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3132
3184
  def patch_revision(file_id, revision_id, revision_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3133
- command = make_simple_command(:patch, 'files/{fileId}/revisions/{revisionId}', options)
3185
+ command = make_simple_command(:patch, 'files/{fileId}/revisions/{revisionId}', options)
3134
3186
  command.request_representation = Google::Apis::DriveV2::Revision::Representation
3135
3187
  command.request_object = revision_object
3136
3188
  command.response_representation = Google::Apis::DriveV2::Revision::Representation
@@ -3169,7 +3221,7 @@ module Google
3169
3221
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3170
3222
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3171
3223
  def update_revision(file_id, revision_id, revision_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3172
- command = make_simple_command(:put, 'files/{fileId}/revisions/{revisionId}', options)
3224
+ command = make_simple_command(:put, 'files/{fileId}/revisions/{revisionId}', options)
3173
3225
  command.request_representation = Google::Apis::DriveV2::Revision::Representation
3174
3226
  command.request_object = revision_object
3175
3227
  command.response_representation = Google::Apis::DriveV2::Revision::Representation
@@ -3205,7 +3257,7 @@ module Google
3205
3257
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3206
3258
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3207
3259
  def delete_teamdrive(team_drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3208
- command = make_simple_command(:delete, 'teamdrives/{teamDriveId}', options)
3260
+ command = make_simple_command(:delete, 'teamdrives/{teamDriveId}', options)
3209
3261
  command.params['teamDriveId'] = team_drive_id unless team_drive_id.nil?
3210
3262
  command.query['fields'] = fields unless fields.nil?
3211
3263
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -3240,7 +3292,7 @@ module Google
3240
3292
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3241
3293
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3242
3294
  def get_teamdrive(team_drive_id, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3243
- command = make_simple_command(:get, 'teamdrives/{teamDriveId}', options)
3295
+ command = make_simple_command(:get, 'teamdrives/{teamDriveId}', options)
3244
3296
  command.response_representation = Google::Apis::DriveV2::TeamDrive::Representation
3245
3297
  command.response_class = Google::Apis::DriveV2::TeamDrive
3246
3298
  command.params['teamDriveId'] = team_drive_id unless team_drive_id.nil?
@@ -3279,7 +3331,7 @@ module Google
3279
3331
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3280
3332
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3281
3333
  def insert_teamdrive(request_id, team_drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3282
- command = make_simple_command(:post, 'teamdrives', options)
3334
+ command = make_simple_command(:post, 'teamdrives', options)
3283
3335
  command.request_representation = Google::Apis::DriveV2::TeamDrive::Representation
3284
3336
  command.request_object = team_drive_object
3285
3337
  command.response_representation = Google::Apis::DriveV2::TeamDrive::Representation
@@ -3321,7 +3373,7 @@ module Google
3321
3373
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3322
3374
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3323
3375
  def list_teamdrives(max_results: nil, page_token: nil, q: nil, use_domain_admin_access: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3324
- command = make_simple_command(:get, 'teamdrives', options)
3376
+ command = make_simple_command(:get, 'teamdrives', options)
3325
3377
  command.response_representation = Google::Apis::DriveV2::TeamDriveList::Representation
3326
3378
  command.response_class = Google::Apis::DriveV2::TeamDriveList
3327
3379
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -3362,7 +3414,7 @@ module Google
3362
3414
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3363
3415
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3364
3416
  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)
3365
- command = make_simple_command(:put, 'teamdrives/{teamDriveId}', options)
3417
+ command = make_simple_command(:put, 'teamdrives/{teamDriveId}', options)
3366
3418
  command.request_representation = Google::Apis::DriveV2::TeamDrive::Representation
3367
3419
  command.request_object = team_drive_object
3368
3420
  command.response_representation = Google::Apis::DriveV2::TeamDrive::Representation