google-api-client 0.10.3 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (385) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +12 -18
  3. data/CHANGELOG.md +22 -2
  4. data/Gemfile +5 -7
  5. data/MIGRATING.md +33 -0
  6. data/README.md +10 -2
  7. data/Rakefile +1 -0
  8. data/bin/generate-api +7 -1
  9. data/dl.rb +0 -0
  10. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +6 -6
  11. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +1 -1
  12. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -0
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +759 -759
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +152 -152
  16. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +376 -375
  17. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +58 -58
  18. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +45 -45
  19. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +22 -21
  20. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +5 -5
  21. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +5 -5
  22. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -0
  23. data/generated/google/apis/admin_datatransfer_v1/classes.rb +2 -2
  24. data/generated/google/apis/admin_datatransfer_v1/representations.rb +2 -2
  25. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -1
  26. data/generated/google/apis/admin_directory_v1/classes.rb +11 -11
  27. data/generated/google/apis/admin_directory_v1/representations.rb +11 -11
  28. data/generated/google/apis/admin_directory_v1/service.rb +1 -0
  29. data/generated/google/apis/admin_reports_v1/classes.rb +5 -5
  30. data/generated/google/apis/admin_reports_v1/representations.rb +4 -4
  31. data/generated/google/apis/admin_reports_v1/service.rb +1 -0
  32. data/generated/google/apis/adsense_v1_4.rb +1 -1
  33. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  34. data/generated/google/apis/adsense_v1_4/representations.rb +2 -2
  35. data/generated/google/apis/adsense_v1_4/service.rb +1 -0
  36. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  37. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -1
  38. data/generated/google/apis/adsensehost_v4_1/representations.rb +1 -1
  39. data/generated/google/apis/adsensehost_v4_1/service.rb +1 -0
  40. data/generated/google/apis/analytics_v3/classes.rb +10 -10
  41. data/generated/google/apis/analytics_v3/representations.rb +10 -10
  42. data/generated/google/apis/analytics_v3/service.rb +1 -0
  43. data/generated/google/apis/analyticsreporting_v4/classes.rb +933 -933
  44. data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
  45. data/generated/google/apis/analyticsreporting_v4/service.rb +5 -4
  46. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  47. data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
  48. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/service.rb +1 -0
  50. data/generated/google/apis/androidpublisher_v2/classes.rb +13 -13
  51. data/generated/google/apis/androidpublisher_v2/representations.rb +13 -13
  52. data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
  53. data/generated/google/apis/appengine_v1/classes.rb +2 -2
  54. data/generated/google/apis/appengine_v1/representations.rb +2 -2
  55. data/generated/google/apis/appengine_v1/service.rb +1 -0
  56. data/generated/google/apis/appsactivity_v1/classes.rb +1 -1
  57. data/generated/google/apis/appsactivity_v1/representations.rb +1 -1
  58. data/generated/google/apis/appsactivity_v1/service.rb +1 -0
  59. data/generated/google/apis/appsmarket_v2.rb +35 -0
  60. data/generated/google/apis/appsmarket_v2/classes.rb +396 -0
  61. data/generated/google/apis/appsmarket_v2/representations.rb +180 -0
  62. data/generated/google/apis/appsmarket_v2/service.rb +187 -0
  63. data/generated/google/apis/appstate_v1.rb +1 -1
  64. data/generated/google/apis/appstate_v1/service.rb +1 -0
  65. data/generated/google/apis/bigquery_v2/classes.rb +39 -39
  66. data/generated/google/apis/bigquery_v2/representations.rb +38 -38
  67. data/generated/google/apis/bigquery_v2/service.rb +3 -2
  68. data/generated/google/apis/blogger_v3/classes.rb +2 -2
  69. data/generated/google/apis/blogger_v3/representations.rb +2 -2
  70. data/generated/google/apis/blogger_v3/service.rb +1 -0
  71. data/generated/google/apis/books_v1/classes.rb +5 -5
  72. data/generated/google/apis/books_v1/representations.rb +4 -4
  73. data/generated/google/apis/books_v1/service.rb +1 -0
  74. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  75. data/generated/google/apis/calendar_v3/representations.rb +1 -1
  76. data/generated/google/apis/calendar_v3/service.rb +1 -0
  77. data/generated/google/apis/civicinfo_v2/classes.rb +6 -6
  78. data/generated/google/apis/civicinfo_v2/representations.rb +6 -6
  79. data/generated/google/apis/civicinfo_v2/service.rb +2 -1
  80. data/generated/google/apis/classroom_v1/service.rb +1 -0
  81. data/generated/google/apis/cloudbilling_v1/service.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1/classes.rb +626 -626
  84. data/generated/google/apis/cloudbuild_v1/representations.rb +109 -109
  85. data/generated/google/apis/cloudbuild_v1/service.rb +159 -158
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +358 -358
  87. data/generated/google/apis/clouddebugger_v2/representations.rb +99 -99
  88. data/generated/google/apis/clouddebugger_v2/service.rb +42 -41
  89. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  90. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +220 -220
  91. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +52 -52
  92. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +59 -58
  93. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -7
  94. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -1
  95. data/generated/google/apis/cloudfunctions_v1/service.rb +5 -4
  96. data/generated/google/apis/cloudkms_v1/classes.rb +311 -311
  97. data/generated/google/apis/cloudkms_v1/representations.rb +87 -87
  98. data/generated/google/apis/cloudkms_v1/service.rb +168 -167
  99. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +4 -4
  100. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +4 -4
  101. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -0
  102. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  103. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +341 -341
  104. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +62 -62
  105. data/generated/google/apis/cloudresourcemanager_v1/service.rb +458 -457
  106. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +327 -327
  107. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +71 -71
  108. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +237 -236
  109. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  110. data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
  111. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  112. data/generated/google/apis/cloudtrace_v1/service.rb +14 -13
  113. data/generated/google/apis/clouduseraccounts_beta/classes.rb +4 -4
  114. data/generated/google/apis/clouduseraccounts_beta/representations.rb +4 -4
  115. data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -0
  116. data/generated/google/apis/compute_beta/classes.rb +52 -52
  117. data/generated/google/apis/compute_beta/representations.rb +52 -52
  118. data/generated/google/apis/compute_beta/service.rb +2 -1
  119. data/generated/google/apis/compute_v1/classes.rb +48 -48
  120. data/generated/google/apis/compute_v1/representations.rb +48 -48
  121. data/generated/google/apis/compute_v1/service.rb +2 -1
  122. data/generated/google/apis/container_v1/service.rb +1 -0
  123. data/generated/google/apis/content_v2.rb +1 -1
  124. data/generated/google/apis/content_v2/classes.rb +38 -660
  125. data/generated/google/apis/content_v2/representations.rb +37 -303
  126. data/generated/google/apis/content_v2/service.rb +63 -279
  127. data/generated/google/apis/customsearch_v1/classes.rb +2 -2
  128. data/generated/google/apis/customsearch_v1/representations.rb +2 -2
  129. data/generated/google/apis/customsearch_v1/service.rb +1 -0
  130. data/generated/google/apis/dataflow_v1b3/classes.rb +3281 -3281
  131. data/generated/google/apis/dataflow_v1b3/representations.rb +777 -777
  132. data/generated/google/apis/dataflow_v1b3/service.rb +106 -105
  133. data/generated/google/apis/dataproc_v1/classes.rb +395 -395
  134. data/generated/google/apis/dataproc_v1/representations.rb +91 -91
  135. data/generated/google/apis/dataproc_v1/service.rb +356 -355
  136. data/generated/google/apis/datastore_v1/classes.rb +506 -506
  137. data/generated/google/apis/datastore_v1/representations.rb +147 -147
  138. data/generated/google/apis/datastore_v1/service.rb +46 -45
  139. data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
  140. data/generated/google/apis/deploymentmanager_v2/representations.rb +6 -6
  141. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -0
  142. data/generated/google/apis/dfareporting_v2_6/classes.rb +280 -280
  143. data/generated/google/apis/dfareporting_v2_6/representations.rb +266 -266
  144. data/generated/google/apis/dfareporting_v2_6/service.rb +421 -420
  145. data/generated/google/apis/dfareporting_v2_7/classes.rb +280 -280
  146. data/generated/google/apis/dfareporting_v2_7/representations.rb +266 -266
  147. data/generated/google/apis/dfareporting_v2_7/service.rb +423 -422
  148. data/generated/google/apis/discovery_v1/service.rb +1 -0
  149. data/generated/google/apis/dns_v1/classes.rb +2 -2
  150. data/generated/google/apis/dns_v1/representations.rb +2 -2
  151. data/generated/google/apis/dns_v1/service.rb +1 -0
  152. data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
  153. data/generated/google/apis/dns_v2beta1/representations.rb +2 -2
  154. data/generated/google/apis/dns_v2beta1/service.rb +1 -0
  155. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +15 -15
  156. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +13 -13
  157. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +5 -4
  158. data/generated/google/apis/doubleclicksearch_v2/classes.rb +28 -28
  159. data/generated/google/apis/doubleclicksearch_v2/representations.rb +28 -28
  160. data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -12
  161. data/generated/google/apis/drive_v2/classes.rb +17 -17
  162. data/generated/google/apis/drive_v2/representations.rb +17 -17
  163. data/generated/google/apis/drive_v2/service.rb +5 -4
  164. data/generated/google/apis/drive_v3/classes.rb +13 -13
  165. data/generated/google/apis/drive_v3/representations.rb +12 -12
  166. data/generated/google/apis/drive_v3/service.rb +1 -0
  167. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  168. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +81 -81
  169. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +24 -24
  170. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -0
  171. data/generated/google/apis/firebaserules_v1/classes.rb +201 -201
  172. data/generated/google/apis/firebaserules_v1/representations.rb +61 -61
  173. data/generated/google/apis/firebaserules_v1/service.rb +1 -0
  174. data/generated/google/apis/fitness_v1/classes.rb +18 -18
  175. data/generated/google/apis/fitness_v1/representations.rb +18 -18
  176. data/generated/google/apis/fitness_v1/service.rb +6 -5
  177. data/generated/google/apis/fusiontables_v2/classes.rb +2 -2
  178. data/generated/google/apis/fusiontables_v2/representations.rb +2 -2
  179. data/generated/google/apis/fusiontables_v2/service.rb +1 -0
  180. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  181. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  182. data/generated/google/apis/games_configuration_v1configuration/representations.rb +2 -2
  183. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -0
  184. data/generated/google/apis/games_management_v1management.rb +1 -1
  185. data/generated/google/apis/games_management_v1management/classes.rb +6 -6
  186. data/generated/google/apis/games_management_v1management/representations.rb +6 -6
  187. data/generated/google/apis/games_management_v1management/service.rb +1 -0
  188. data/generated/google/apis/games_v1.rb +1 -1
  189. data/generated/google/apis/games_v1/classes.rb +47 -47
  190. data/generated/google/apis/games_v1/representations.rb +47 -47
  191. data/generated/google/apis/games_v1/service.rb +58 -57
  192. data/generated/google/apis/genomics_v1.rb +6 -6
  193. data/generated/google/apis/genomics_v1/classes.rb +2354 -2354
  194. data/generated/google/apis/genomics_v1/representations.rb +487 -487
  195. data/generated/google/apis/genomics_v1/service.rb +1188 -1187
  196. data/generated/google/apis/gmail_v1/classes.rb +11 -11
  197. data/generated/google/apis/gmail_v1/representations.rb +11 -11
  198. data/generated/google/apis/gmail_v1/service.rb +2 -1
  199. data/generated/google/apis/groupsmigration_v1/service.rb +1 -0
  200. data/generated/google/apis/groupssettings_v1/service.rb +1 -0
  201. data/generated/google/apis/iam_v1/classes.rb +437 -437
  202. data/generated/google/apis/iam_v1/representations.rb +95 -95
  203. data/generated/google/apis/iam_v1/service.rb +87 -86
  204. data/generated/google/apis/identitytoolkit_v3/classes.rb +20 -20
  205. data/generated/google/apis/identitytoolkit_v3/representations.rb +20 -20
  206. data/generated/google/apis/identitytoolkit_v3/service.rb +1 -0
  207. data/generated/google/apis/kgsearch_v1/service.rb +9 -8
  208. data/generated/google/apis/language_v1.rb +1 -1
  209. data/generated/google/apis/language_v1/classes.rb +245 -245
  210. data/generated/google/apis/language_v1/representations.rb +65 -65
  211. data/generated/google/apis/language_v1/service.rb +1 -0
  212. data/generated/google/apis/language_v1beta1.rb +1 -1
  213. data/generated/google/apis/language_v1beta1/classes.rb +277 -277
  214. data/generated/google/apis/language_v1beta1/representations.rb +83 -83
  215. data/generated/google/apis/language_v1beta1/service.rb +31 -30
  216. data/generated/google/apis/licensing_v1/service.rb +1 -0
  217. data/generated/google/apis/logging_v2/classes.rb +408 -408
  218. data/generated/google/apis/logging_v2/representations.rb +93 -93
  219. data/generated/google/apis/logging_v2/service.rb +408 -407
  220. data/generated/google/apis/logging_v2beta1.rb +3 -3
  221. data/generated/google/apis/logging_v2beta1/classes.rb +892 -892
  222. data/generated/google/apis/logging_v2beta1/representations.rb +128 -128
  223. data/generated/google/apis/logging_v2beta1/service.rb +89 -88
  224. data/generated/google/apis/manufacturers_v1/classes.rb +309 -309
  225. data/generated/google/apis/manufacturers_v1/representations.rb +64 -64
  226. data/generated/google/apis/manufacturers_v1/service.rb +1 -0
  227. data/generated/google/apis/mirror_v1/service.rb +1 -0
  228. data/generated/google/apis/ml_v1/classes.rb +1185 -1185
  229. data/generated/google/apis/ml_v1/representations.rb +171 -171
  230. data/generated/google/apis/ml_v1/service.rb +282 -281
  231. data/generated/google/apis/monitoring_v3.rb +3 -3
  232. data/generated/google/apis/monitoring_v3/classes.rb +334 -334
  233. data/generated/google/apis/monitoring_v3/representations.rb +86 -86
  234. data/generated/google/apis/monitoring_v3/service.rb +344 -343
  235. data/generated/google/apis/mybusiness_v3/service.rb +1 -0
  236. data/generated/google/apis/oauth2_v2/service.rb +1 -0
  237. data/generated/google/apis/pagespeedonline_v2/classes.rb +8 -8
  238. data/generated/google/apis/pagespeedonline_v2/representations.rb +8 -8
  239. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -0
  240. data/generated/google/apis/partners_v2/classes.rb +1466 -1466
  241. data/generated/google/apis/partners_v2/representations.rb +371 -371
  242. data/generated/google/apis/partners_v2/service.rb +530 -529
  243. data/generated/google/apis/people_v1.rb +4 -4
  244. data/generated/google/apis/people_v1/classes.rb +1009 -1009
  245. data/generated/google/apis/people_v1/representations.rb +249 -249
  246. data/generated/google/apis/people_v1/service.rb +13 -12
  247. data/generated/google/apis/plus_domains_v1/classes.rb +2 -2
  248. data/generated/google/apis/plus_domains_v1/representations.rb +2 -2
  249. data/generated/google/apis/plus_domains_v1/service.rb +1 -0
  250. data/generated/google/apis/plus_v1/service.rb +1 -0
  251. data/generated/google/apis/prediction_v1_6/classes.rb +9 -9
  252. data/generated/google/apis/prediction_v1_6/representations.rb +9 -9
  253. data/generated/google/apis/prediction_v1_6/service.rb +1 -0
  254. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +221 -221
  255. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +55 -55
  256. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +378 -377
  257. data/generated/google/apis/pubsub_v1/classes.rb +99 -99
  258. data/generated/google/apis/pubsub_v1/representations.rb +25 -25
  259. data/generated/google/apis/pubsub_v1/service.rb +236 -235
  260. data/generated/google/apis/qpx_express_v1/service.rb +1 -0
  261. data/generated/google/apis/replicapool_v1beta2/classes.rb +3 -3
  262. data/generated/google/apis/replicapool_v1beta2/representations.rb +3 -3
  263. data/generated/google/apis/replicapool_v1beta2/service.rb +1 -0
  264. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +2 -2
  265. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +2 -2
  266. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -0
  267. data/generated/google/apis/reseller_v1/classes.rb +5 -5
  268. data/generated/google/apis/reseller_v1/representations.rb +5 -5
  269. data/generated/google/apis/reseller_v1/service.rb +1 -0
  270. data/generated/google/apis/resourceviews_v1beta2/classes.rb +2 -2
  271. data/generated/google/apis/resourceviews_v1beta2/representations.rb +2 -2
  272. data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -0
  273. data/generated/google/apis/runtimeconfig_v1.rb +3 -3
  274. data/generated/google/apis/runtimeconfig_v1/classes.rb +28 -28
  275. data/generated/google/apis/runtimeconfig_v1/representations.rb +3 -3
  276. data/generated/google/apis/runtimeconfig_v1/service.rb +53 -52
  277. data/generated/google/apis/script_v1.rb +18 -18
  278. data/generated/google/apis/script_v1/classes.rb +84 -84
  279. data/generated/google/apis/script_v1/representations.rb +18 -18
  280. data/generated/google/apis/script_v1/service.rb +11 -10
  281. data/generated/google/apis/searchconsole_v1/classes.rb +75 -75
  282. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  283. data/generated/google/apis/searchconsole_v1/service.rb +11 -10
  284. data/generated/google/apis/servicecontrol_v1/classes.rb +582 -582
  285. data/generated/google/apis/servicecontrol_v1/representations.rb +113 -113
  286. data/generated/google/apis/servicecontrol_v1/service.rb +71 -70
  287. data/generated/google/apis/servicemanagement_v1.rb +3 -3
  288. data/generated/google/apis/servicemanagement_v1/classes.rb +3725 -3725
  289. data/generated/google/apis/servicemanagement_v1/representations.rb +255 -255
  290. data/generated/google/apis/servicemanagement_v1/service.rb +179 -178
  291. data/generated/google/apis/serviceuser_v1.rb +3 -3
  292. data/generated/google/apis/serviceuser_v1/classes.rb +2845 -2845
  293. data/generated/google/apis/serviceuser_v1/representations.rb +228 -228
  294. data/generated/google/apis/serviceuser_v1/service.rb +47 -46
  295. data/generated/google/apis/sheets_v4.rb +1 -1
  296. data/generated/google/apis/sheets_v4/classes.rb +4456 -4456
  297. data/generated/google/apis/sheets_v4/representations.rb +859 -859
  298. data/generated/google/apis/sheets_v4/service.rb +180 -179
  299. data/generated/google/apis/site_verification_v1/service.rb +1 -0
  300. data/generated/google/apis/slides_v1.rb +1 -1
  301. data/generated/google/apis/slides_v1/classes.rb +2856 -2856
  302. data/generated/google/apis/slides_v1/representations.rb +683 -683
  303. data/generated/google/apis/slides_v1/service.rb +27 -26
  304. data/generated/google/apis/sourcerepo_v1/classes.rb +281 -281
  305. data/generated/google/apis/sourcerepo_v1/representations.rb +79 -79
  306. data/generated/google/apis/sourcerepo_v1/service.rb +112 -111
  307. data/generated/google/apis/spanner_v1/classes.rb +2177 -2177
  308. data/generated/google/apis/spanner_v1/representations.rb +325 -325
  309. data/generated/google/apis/spanner_v1/service.rb +374 -373
  310. data/generated/google/apis/speech_v1beta1/classes.rb +197 -197
  311. data/generated/google/apis/speech_v1beta1/representations.rb +36 -36
  312. data/generated/google/apis/speech_v1beta1/service.rb +27 -26
  313. data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -14
  314. data/generated/google/apis/sqladmin_v1beta4/representations.rb +14 -14
  315. data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -2
  316. data/generated/google/apis/storage_v1.rb +1 -1
  317. data/generated/google/apis/storage_v1/classes.rb +11 -11
  318. data/generated/google/apis/storage_v1/representations.rb +11 -11
  319. data/generated/google/apis/storage_v1/service.rb +65 -64
  320. data/generated/google/apis/storagetransfer_v1/classes.rb +239 -239
  321. data/generated/google/apis/storagetransfer_v1/representations.rb +79 -79
  322. data/generated/google/apis/storagetransfer_v1/service.rb +133 -132
  323. data/generated/google/apis/surveys_v2/classes.rb +4 -4
  324. data/generated/google/apis/surveys_v2/representations.rb +4 -4
  325. data/generated/google/apis/surveys_v2/service.rb +1 -0
  326. data/generated/google/apis/tagmanager_v1/classes.rb +7 -7
  327. data/generated/google/apis/tagmanager_v1/representations.rb +7 -7
  328. data/generated/google/apis/tagmanager_v1/service.rb +1 -0
  329. data/generated/google/apis/tagmanager_v2/classes.rb +6 -6
  330. data/generated/google/apis/tagmanager_v2/representations.rb +6 -6
  331. data/generated/google/apis/tagmanager_v2/service.rb +1 -0
  332. data/generated/google/apis/taskqueue_v1beta2/classes.rb +5 -5
  333. data/generated/google/apis/taskqueue_v1beta2/representations.rb +5 -5
  334. data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -0
  335. data/generated/google/apis/tasks_v1/service.rb +3 -2
  336. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  337. data/generated/google/apis/toolresults_v1beta3/classes.rb +4 -4
  338. data/generated/google/apis/toolresults_v1beta3/representations.rb +4 -4
  339. data/generated/google/apis/toolresults_v1beta3/service.rb +1 -0
  340. data/generated/google/apis/tracing_v1/classes.rb +421 -421
  341. data/generated/google/apis/tracing_v1/representations.rb +86 -86
  342. data/generated/google/apis/tracing_v1/service.rb +60 -59
  343. data/generated/google/apis/translate_v2/service.rb +1 -0
  344. data/generated/google/apis/urlshortener_v1/classes.rb +3 -3
  345. data/generated/google/apis/urlshortener_v1/representations.rb +3 -3
  346. data/generated/google/apis/urlshortener_v1/service.rb +1 -0
  347. data/generated/google/apis/vision_v1/classes.rb +1290 -1290
  348. data/generated/google/apis/vision_v1/representations.rb +184 -184
  349. data/generated/google/apis/vision_v1/service.rb +11 -10
  350. data/generated/google/apis/webfonts_v1/service.rb +1 -0
  351. data/generated/google/apis/webmasters_v3/classes.rb +5 -5
  352. data/generated/google/apis/webmasters_v3/representations.rb +5 -5
  353. data/generated/google/apis/webmasters_v3/service.rb +1 -0
  354. data/generated/google/apis/youtube_analytics_v1/classes.rb +1 -1
  355. data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -1
  356. data/generated/google/apis/youtube_analytics_v1/service.rb +1 -0
  357. data/generated/google/apis/youtube_partner_v1/classes.rb +13 -13
  358. data/generated/google/apis/youtube_partner_v1/representations.rb +13 -13
  359. data/generated/google/apis/youtube_partner_v1/service.rb +1 -0
  360. data/generated/google/apis/youtube_v3/classes.rb +31 -31
  361. data/generated/google/apis/youtube_v3/representations.rb +31 -31
  362. data/generated/google/apis/youtube_v3/service.rb +2 -1
  363. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  364. data/generated/google/apis/youtubereporting_v1/classes.rb +73 -73
  365. data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
  366. data/generated/google/apis/youtubereporting_v1/service.rb +77 -76
  367. data/google-api-client.gemspec +4 -6
  368. data/lib/google/apis/core/api_command.rb +8 -3
  369. data/lib/google/apis/core/base_service.rb +47 -18
  370. data/lib/google/apis/core/batch.rb +13 -18
  371. data/lib/google/apis/core/composite_io.rb +97 -0
  372. data/lib/google/apis/core/download.rb +24 -20
  373. data/lib/google/apis/core/http_command.rb +49 -38
  374. data/lib/google/apis/core/json_representation.rb +5 -1
  375. data/lib/google/apis/core/multipart.rb +43 -95
  376. data/lib/google/apis/core/upload.rb +59 -84
  377. data/lib/google/apis/generator/model.rb +2 -0
  378. data/lib/google/apis/generator/templates/_representation.tmpl +1 -1
  379. data/lib/google/apis/generator/templates/service.rb.tmpl +1 -0
  380. data/lib/google/apis/options.rb +24 -12
  381. data/lib/google/apis/version.rb +1 -1
  382. data/samples/web/Gemfile +0 -1
  383. metadata +39 -37
  384. data/lib/google/apis/core/http_client_adapter.rb +0 -82
  385. data/third_party/hurley_patches.rb +0 -103
@@ -127,10 +127,10 @@ module Google
127
127
  class Availability
128
128
  # @private
129
129
  class Representation < Google::Apis::Core::JsonRepresentation
130
- property :advertiser_id, as: 'advertiserId'
131
- property :agency_id, as: 'agencyId'
132
- property :availability_timestamp, as: 'availabilityTimestamp'
133
- property :segmentation_id, as: 'segmentationId'
130
+ property :advertiser_id, :numeric_string => true, as: 'advertiserId'
131
+ property :agency_id, :numeric_string => true, as: 'agencyId'
132
+ property :availability_timestamp, :numeric_string => true, as: 'availabilityTimestamp'
133
+ property :segmentation_id, :numeric_string => true, as: 'segmentationId'
134
134
  property :segmentation_name, as: 'segmentationName'
135
135
  property :segmentation_type, as: 'segmentationType'
136
136
  end
@@ -139,36 +139,36 @@ module Google
139
139
  class Conversion
140
140
  # @private
141
141
  class Representation < Google::Apis::Core::JsonRepresentation
142
- property :ad_group_id, as: 'adGroupId'
143
- property :ad_id, as: 'adId'
144
- property :advertiser_id, as: 'advertiserId'
145
- property :agency_id, as: 'agencyId'
142
+ property :ad_group_id, :numeric_string => true, as: 'adGroupId'
143
+ property :ad_id, :numeric_string => true, as: 'adId'
144
+ property :advertiser_id, :numeric_string => true, as: 'advertiserId'
145
+ property :agency_id, :numeric_string => true, as: 'agencyId'
146
146
  property :attribution_model, as: 'attributionModel'
147
- property :campaign_id, as: 'campaignId'
147
+ property :campaign_id, :numeric_string => true, as: 'campaignId'
148
148
  property :channel, as: 'channel'
149
149
  property :click_id, as: 'clickId'
150
150
  property :conversion_id, as: 'conversionId'
151
- property :conversion_modified_timestamp, as: 'conversionModifiedTimestamp'
152
- property :conversion_timestamp, as: 'conversionTimestamp'
153
- property :count_millis, as: 'countMillis'
154
- property :criterion_id, as: 'criterionId'
151
+ property :conversion_modified_timestamp, :numeric_string => true, as: 'conversionModifiedTimestamp'
152
+ property :conversion_timestamp, :numeric_string => true, as: 'conversionTimestamp'
153
+ property :count_millis, :numeric_string => true, as: 'countMillis'
154
+ property :criterion_id, :numeric_string => true, as: 'criterionId'
155
155
  property :currency_code, as: 'currencyCode'
156
156
  collection :custom_dimension, as: 'customDimension', class: Google::Apis::DoubleclicksearchV2::CustomDimension, decorator: Google::Apis::DoubleclicksearchV2::CustomDimension::Representation
157
157
 
158
158
  collection :custom_metric, as: 'customMetric', class: Google::Apis::DoubleclicksearchV2::CustomMetric, decorator: Google::Apis::DoubleclicksearchV2::CustomMetric::Representation
159
159
 
160
160
  property :device_type, as: 'deviceType'
161
- property :ds_conversion_id, as: 'dsConversionId'
162
- property :engine_account_id, as: 'engineAccountId'
161
+ property :ds_conversion_id, :numeric_string => true, as: 'dsConversionId'
162
+ property :engine_account_id, :numeric_string => true, as: 'engineAccountId'
163
163
  property :floodlight_order_id, as: 'floodlightOrderId'
164
- property :inventory_account_id, as: 'inventoryAccountId'
164
+ property :inventory_account_id, :numeric_string => true, as: 'inventoryAccountId'
165
165
  property :product_country, as: 'productCountry'
166
- property :product_group_id, as: 'productGroupId'
166
+ property :product_group_id, :numeric_string => true, as: 'productGroupId'
167
167
  property :product_id, as: 'productId'
168
168
  property :product_language, as: 'productLanguage'
169
- property :quantity_millis, as: 'quantityMillis'
170
- property :revenue_micros, as: 'revenueMicros'
171
- property :segmentation_id, as: 'segmentationId'
169
+ property :quantity_millis, :numeric_string => true, as: 'quantityMillis'
170
+ property :revenue_micros, :numeric_string => true, as: 'revenueMicros'
171
+ property :segmentation_id, :numeric_string => true, as: 'segmentationId'
172
172
  property :segmentation_name, as: 'segmentationName'
173
173
  property :segmentation_type, as: 'segmentationType'
174
174
  property :state, as: 'state'
@@ -221,7 +221,7 @@ module Google
221
221
  class File
222
222
  # @private
223
223
  class Representation < Google::Apis::Core::JsonRepresentation
224
- property :byte_count, as: 'byteCount'
224
+ property :byte_count, :numeric_string => true, as: 'byteCount'
225
225
  property :url, as: 'url'
226
226
  end
227
227
  end
@@ -289,13 +289,13 @@ module Google
289
289
  class ReportScope
290
290
  # @private
291
291
  class Representation < Google::Apis::Core::JsonRepresentation
292
- property :ad_group_id, as: 'adGroupId'
293
- property :ad_id, as: 'adId'
294
- property :advertiser_id, as: 'advertiserId'
295
- property :agency_id, as: 'agencyId'
296
- property :campaign_id, as: 'campaignId'
297
- property :engine_account_id, as: 'engineAccountId'
298
- property :keyword_id, as: 'keywordId'
292
+ property :ad_group_id, :numeric_string => true, as: 'adGroupId'
293
+ property :ad_id, :numeric_string => true, as: 'adId'
294
+ property :advertiser_id, :numeric_string => true, as: 'advertiserId'
295
+ property :agency_id, :numeric_string => true, as: 'agencyId'
296
+ property :campaign_id, :numeric_string => true, as: 'campaignId'
297
+ property :engine_account_id, :numeric_string => true, as: 'engineAccountId'
298
+ property :keyword_id, :numeric_string => true, as: 'keywordId'
299
299
  end
300
300
  end
301
301
 
@@ -51,14 +51,15 @@ module Google
51
51
 
52
52
  def initialize
53
53
  super('https://www.googleapis.com/', 'doubleclicksearch/v2/')
54
+ @batch_path = 'batch'
54
55
  end
55
56
 
56
57
  # Retrieves a list of conversions from a DoubleClick Search engine account.
57
- # @param [String] agency_id
58
+ # @param [Fixnum] agency_id
58
59
  # Numeric ID of the agency.
59
- # @param [String] advertiser_id
60
+ # @param [Fixnum] advertiser_id
60
61
  # Numeric ID of the advertiser.
61
- # @param [String] engine_account_id
62
+ # @param [Fixnum] engine_account_id
62
63
  # Numeric ID of the engine account.
63
64
  # @param [Fixnum] end_date
64
65
  # Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
@@ -68,13 +69,13 @@ module Google
68
69
  # First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
69
70
  # @param [Fixnum] start_row
70
71
  # The 0-based starting index for retrieving conversions results.
71
- # @param [String] ad_group_id
72
+ # @param [Fixnum] ad_group_id
72
73
  # Numeric ID of the ad group.
73
- # @param [String] ad_id
74
+ # @param [Fixnum] ad_id
74
75
  # Numeric ID of the ad.
75
- # @param [String] campaign_id
76
+ # @param [Fixnum] campaign_id
76
77
  # Numeric ID of the campaign.
77
- # @param [String] criterion_id
78
+ # @param [Fixnum] criterion_id
78
79
  # Numeric ID of the criterion.
79
80
  # @param [String] fields
80
81
  # Selector specifying which fields to include in a partial response.
@@ -155,13 +156,13 @@ module Google
155
156
 
156
157
  # Updates a batch of conversions in DoubleClick Search. This method supports
157
158
  # patch semantics.
158
- # @param [String] advertiser_id
159
+ # @param [Fixnum] advertiser_id
159
160
  # Numeric ID of the advertiser.
160
- # @param [String] agency_id
161
+ # @param [Fixnum] agency_id
161
162
  # Numeric ID of the agency.
162
163
  # @param [Fixnum] end_date
163
164
  # Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
164
- # @param [String] engine_account_id
165
+ # @param [Fixnum] engine_account_id
165
166
  # Numeric ID of the engine account.
166
167
  # @param [Fixnum] row_count
167
168
  # The number of conversions to return per call.
@@ -430,9 +431,9 @@ module Google
430
431
  end
431
432
 
432
433
  # Retrieve the list of saved columns for a specified advertiser.
433
- # @param [String] agency_id
434
+ # @param [Fixnum] agency_id
434
435
  # DS ID of the agency.
435
- # @param [String] advertiser_id
436
+ # @param [Fixnum] advertiser_id
436
437
  # DS ID of the advertiser.
437
438
  # @param [String] fields
438
439
  # Selector specifying which fields to include in a partial response.
@@ -86,7 +86,7 @@ module Google
86
86
 
87
87
  # The largest change id.
88
88
  # Corresponds to the JSON property `largestChangeId`
89
- # @return [String]
89
+ # @return [Fixnum]
90
90
  attr_accessor :largest_change_id
91
91
 
92
92
  # List of max upload sizes for each file type. The most specific type takes
@@ -112,22 +112,22 @@ module Google
112
112
 
113
113
  # The total number of quota bytes.
114
114
  # Corresponds to the JSON property `quotaBytesTotal`
115
- # @return [String]
115
+ # @return [Fixnum]
116
116
  attr_accessor :quota_bytes_total
117
117
 
118
118
  # The number of quota bytes used by Google Drive.
119
119
  # Corresponds to the JSON property `quotaBytesUsed`
120
- # @return [String]
120
+ # @return [Fixnum]
121
121
  attr_accessor :quota_bytes_used
122
122
 
123
123
  # The number of quota bytes used by all Google apps (Drive, Picasa, etc.).
124
124
  # Corresponds to the JSON property `quotaBytesUsedAggregate`
125
- # @return [String]
125
+ # @return [Fixnum]
126
126
  attr_accessor :quota_bytes_used_aggregate
127
127
 
128
128
  # The number of quota bytes used by trashed items.
129
129
  # Corresponds to the JSON property `quotaBytesUsedInTrash`
130
- # @return [String]
130
+ # @return [Fixnum]
131
131
  attr_accessor :quota_bytes_used_in_trash
132
132
 
133
133
  # The type of the user's storage quota. Possible values are:
@@ -139,7 +139,7 @@ module Google
139
139
 
140
140
  # The number of remaining change ids, limited to no more than 2500.
141
141
  # Corresponds to the JSON property `remainingChangeIds`
142
- # @return [String]
142
+ # @return [Fixnum]
143
143
  attr_accessor :remaining_change_ids
144
144
 
145
145
  # The id of the root folder.
@@ -326,7 +326,7 @@ module Google
326
326
 
327
327
  # The max upload size for this type.
328
328
  # Corresponds to the JSON property `size`
329
- # @return [String]
329
+ # @return [Fixnum]
330
330
  attr_accessor :size
331
331
 
332
332
  # The file type.
@@ -351,7 +351,7 @@ module Google
351
351
 
352
352
  # The storage quota bytes used by the service.
353
353
  # Corresponds to the JSON property `bytesUsed`
354
- # @return [String]
354
+ # @return [Fixnum]
355
355
  attr_accessor :bytes_used
356
356
 
357
357
  # The service's name, e.g. DRIVE, GMAIL, or PHOTOS.
@@ -677,7 +677,7 @@ module Google
677
677
 
678
678
  # The ID of the change.
679
679
  # Corresponds to the JSON property `id`
680
- # @return [String]
680
+ # @return [Fixnum]
681
681
  attr_accessor :id
682
682
 
683
683
  # This is always drive#change.
@@ -751,7 +751,7 @@ module Google
751
751
 
752
752
  # The current largest change ID.
753
753
  # Corresponds to the JSON property `largestChangeId`
754
- # @return [String]
754
+ # @return [Fixnum]
755
755
  attr_accessor :largest_change_id
756
756
 
757
757
  # The starting page token for future changes. This will be present only if the
@@ -807,7 +807,7 @@ module Google
807
807
  # Date and time of notification channel expiration, expressed as a Unix
808
808
  # timestamp, in milliseconds. Optional.
809
809
  # Corresponds to the JSON property `expiration`
810
- # @return [String]
810
+ # @return [Fixnum]
811
811
  attr_accessor :expiration
812
812
 
813
813
  # A UUID or similar unique string that identifies this channel.
@@ -1369,7 +1369,7 @@ module Google
1369
1369
  # The size of the file in bytes. This field is only populated for files with
1370
1370
  # content stored in Drive; it is not populated for Google Docs or shortcut files.
1371
1371
  # Corresponds to the JSON property `fileSize`
1372
- # @return [String]
1372
+ # @return [Fixnum]
1373
1373
  attr_accessor :file_size
1374
1374
 
1375
1375
  # Folder color as an RGB hex string if the file is a folder. The list of
@@ -1544,7 +1544,7 @@ module Google
1544
1544
 
1545
1545
  # The number of quota bytes used by this file.
1546
1546
  # Corresponds to the JSON property `quotaBytesUsed`
1547
- # @return [String]
1547
+ # @return [Fixnum]
1548
1548
  attr_accessor :quota_bytes_used
1549
1549
 
1550
1550
  # A link back to this file.
@@ -1600,7 +1600,7 @@ module Google
1600
1600
 
1601
1601
  # The thumbnail version for use in thumbnail cache invalidation.
1602
1602
  # Corresponds to the JSON property `thumbnailVersion`
1603
- # @return [String]
1603
+ # @return [Fixnum]
1604
1604
  attr_accessor :thumbnail_version
1605
1605
 
1606
1606
  # The title of this file. Note that for immutable items such as the top level
@@ -1630,7 +1630,7 @@ module Google
1630
1630
  # change made to the file on the server, even those not visible to the
1631
1631
  # requesting user.
1632
1632
  # Corresponds to the JSON property `version`
1633
- # @return [String]
1633
+ # @return [Fixnum]
1634
1634
  attr_accessor :version
1635
1635
 
1636
1636
  # Metadata about video media. This will only be present for video types.
@@ -2152,7 +2152,7 @@ module Google
2152
2152
 
2153
2153
  # The duration of the video in milliseconds.
2154
2154
  # Corresponds to the JSON property `durationMillis`
2155
- # @return [String]
2155
+ # @return [Fixnum]
2156
2156
  attr_accessor :duration_millis
2157
2157
 
2158
2158
  # The height of the video in pixels.
@@ -2732,7 +2732,7 @@ module Google
2732
2732
  # The size of the revision in bytes. This will only be populated on files with
2733
2733
  # content stored in Drive.
2734
2734
  # Corresponds to the JSON property `fileSize`
2735
- # @return [String]
2735
+ # @return [Fixnum]
2736
2736
  attr_accessor :file_size
2737
2737
 
2738
2738
  # The ID of the revision.
@@ -333,19 +333,19 @@ module Google
333
333
  property :is_current_app_installed, as: 'isCurrentAppInstalled'
334
334
  property :kind, as: 'kind'
335
335
  property :language_code, as: 'languageCode'
336
- property :largest_change_id, as: 'largestChangeId'
336
+ property :largest_change_id, :numeric_string => true, as: 'largestChangeId'
337
337
  collection :max_upload_sizes, as: 'maxUploadSizes', class: Google::Apis::DriveV2::About::MaxUploadSize, decorator: Google::Apis::DriveV2::About::MaxUploadSize::Representation
338
338
 
339
339
  property :name, as: 'name'
340
340
  property :permission_id, as: 'permissionId'
341
341
  collection :quota_bytes_by_service, as: 'quotaBytesByService', class: Google::Apis::DriveV2::About::QuotaBytesByService, decorator: Google::Apis::DriveV2::About::QuotaBytesByService::Representation
342
342
 
343
- property :quota_bytes_total, as: 'quotaBytesTotal'
344
- property :quota_bytes_used, as: 'quotaBytesUsed'
345
- property :quota_bytes_used_aggregate, as: 'quotaBytesUsedAggregate'
346
- property :quota_bytes_used_in_trash, as: 'quotaBytesUsedInTrash'
343
+ property :quota_bytes_total, :numeric_string => true, as: 'quotaBytesTotal'
344
+ property :quota_bytes_used, :numeric_string => true, as: 'quotaBytesUsed'
345
+ property :quota_bytes_used_aggregate, :numeric_string => true, as: 'quotaBytesUsedAggregate'
346
+ property :quota_bytes_used_in_trash, :numeric_string => true, as: 'quotaBytesUsedInTrash'
347
347
  property :quota_type, as: 'quotaType'
348
- property :remaining_change_ids, as: 'remainingChangeIds'
348
+ property :remaining_change_ids, :numeric_string => true, as: 'remainingChangeIds'
349
349
  property :root_folder_id, as: 'rootFolderId'
350
350
  property :self_link, as: 'selfLink'
351
351
  collection :team_drive_themes, as: 'teamDriveThemes', class: Google::Apis::DriveV2::About::TeamDriveTheme, decorator: Google::Apis::DriveV2::About::TeamDriveTheme::Representation
@@ -398,7 +398,7 @@ module Google
398
398
  class MaxUploadSize
399
399
  # @private
400
400
  class Representation < Google::Apis::Core::JsonRepresentation
401
- property :size, as: 'size'
401
+ property :size, :numeric_string => true, as: 'size'
402
402
  property :type, as: 'type'
403
403
  end
404
404
  end
@@ -406,7 +406,7 @@ module Google
406
406
  class QuotaBytesByService
407
407
  # @private
408
408
  class Representation < Google::Apis::Core::JsonRepresentation
409
- property :bytes_used, as: 'bytesUsed'
409
+ property :bytes_used, :numeric_string => true, as: 'bytesUsed'
410
410
  property :service_name, as: 'serviceName'
411
411
  end
412
412
  end
@@ -480,7 +480,7 @@ module Google
480
480
  property :file, as: 'file', class: Google::Apis::DriveV2::File, decorator: Google::Apis::DriveV2::File::Representation
481
481
 
482
482
  property :file_id, as: 'fileId'
483
- property :id, as: 'id'
483
+ property :id, :numeric_string => true, as: 'id'
484
484
  property :kind, as: 'kind'
485
485
  property :modification_date, as: 'modificationDate', type: DateTime
486
486
 
@@ -499,7 +499,7 @@ module Google
499
499
  collection :items, as: 'items', class: Google::Apis::DriveV2::Change, decorator: Google::Apis::DriveV2::Change::Representation
500
500
 
501
501
  property :kind, as: 'kind'
502
- property :largest_change_id, as: 'largestChangeId'
502
+ property :largest_change_id, :numeric_string => true, as: 'largestChangeId'
503
503
  property :new_start_page_token, as: 'newStartPageToken'
504
504
  property :next_link, as: 'nextLink'
505
505
  property :next_page_token, as: 'nextPageToken'
@@ -511,7 +511,7 @@ module Google
511
511
  # @private
512
512
  class Representation < Google::Apis::Core::JsonRepresentation
513
513
  property :address, as: 'address'
514
- property :expiration, as: 'expiration'
514
+ property :expiration, :numeric_string => true, as: 'expiration'
515
515
  property :id, as: 'id'
516
516
  property :kind, as: 'kind'
517
517
  hash :params, as: 'params'
@@ -643,7 +643,7 @@ module Google
643
643
  property :explicitly_trashed, as: 'explicitlyTrashed'
644
644
  hash :export_links, as: 'exportLinks'
645
645
  property :file_extension, as: 'fileExtension'
646
- property :file_size, as: 'fileSize'
646
+ property :file_size, :numeric_string => true, as: 'fileSize'
647
647
  property :folder_color_rgb, as: 'folderColorRgb'
648
648
  property :full_file_extension, as: 'fullFileExtension'
649
649
  property :has_augmented_permissions, as: 'hasAugmentedPermissions'
@@ -684,7 +684,7 @@ module Google
684
684
 
685
685
  collection :properties, as: 'properties', class: Google::Apis::DriveV2::Property, decorator: Google::Apis::DriveV2::Property::Representation
686
686
 
687
- property :quota_bytes_used, as: 'quotaBytesUsed'
687
+ property :quota_bytes_used, :numeric_string => true, as: 'quotaBytesUsed'
688
688
  property :self_link, as: 'selfLink'
689
689
  property :shareable, as: 'shareable'
690
690
  property :shared, as: 'shared'
@@ -697,7 +697,7 @@ module Google
697
697
  property :thumbnail, as: 'thumbnail', class: Google::Apis::DriveV2::File::Thumbnail, decorator: Google::Apis::DriveV2::File::Thumbnail::Representation
698
698
 
699
699
  property :thumbnail_link, as: 'thumbnailLink'
700
- property :thumbnail_version, as: 'thumbnailVersion'
700
+ property :thumbnail_version, :numeric_string => true, as: 'thumbnailVersion'
701
701
  property :title, as: 'title'
702
702
  property :trashed_date, as: 'trashedDate', type: DateTime
703
703
 
@@ -705,7 +705,7 @@ module Google
705
705
 
706
706
  property :user_permission, as: 'userPermission', class: Google::Apis::DriveV2::Permission, decorator: Google::Apis::DriveV2::Permission::Representation
707
707
 
708
- property :version, as: 'version'
708
+ property :version, :numeric_string => true, as: 'version'
709
709
  property :video_media_metadata, as: 'videoMediaMetadata', class: Google::Apis::DriveV2::File::VideoMediaMetadata, decorator: Google::Apis::DriveV2::File::VideoMediaMetadata::Representation
710
710
 
711
711
  property :web_content_link, as: 'webContentLink'
@@ -802,7 +802,7 @@ module Google
802
802
  class VideoMediaMetadata
803
803
  # @private
804
804
  class Representation < Google::Apis::Core::JsonRepresentation
805
- property :duration_millis, as: 'durationMillis'
805
+ property :duration_millis, :numeric_string => true, as: 'durationMillis'
806
806
  property :height, as: 'height'
807
807
  property :width, as: 'width'
808
808
  end
@@ -938,7 +938,7 @@ module Google
938
938
  property :download_url, as: 'downloadUrl'
939
939
  property :etag, as: 'etag'
940
940
  hash :export_links, as: 'exportLinks'
941
- property :file_size, as: 'fileSize'
941
+ property :file_size, :numeric_string => true, as: 'fileSize'
942
942
  property :id, as: 'id'
943
943
  property :kind, as: 'kind'
944
944
  property :last_modifying_user, as: 'lastModifyingUser', class: Google::Apis::DriveV2::User, decorator: Google::Apis::DriveV2::User::Representation
@@ -51,6 +51,7 @@ module Google
51
51
 
52
52
  def initialize
53
53
  super('https://www.googleapis.com/', 'drive/v2/')
54
+ @batch_path = 'batch'
54
55
  end
55
56
 
56
57
  # Gets the information about the current user along with Drive API settings
@@ -59,9 +60,9 @@ module Google
59
60
  # files the user has opened and shared files. When set to false, this counts
60
61
  # only change IDs for owned files and any shared or public files that the user
61
62
  # has explicitly added to a folder they own.
62
- # @param [String] max_change_id_count
63
+ # @param [Fixnum] max_change_id_count
63
64
  # Maximum number of remaining change IDs to count
64
- # @param [String] start_change_id
65
+ # @param [Fixnum] start_change_id
65
66
  # Change ID to start counting from when calculating number of remaining change
66
67
  # IDs
67
68
  # @param [String] fields
@@ -285,7 +286,7 @@ module Google
285
286
  # @param [String] spaces
286
287
  # A comma-separated list of spaces to query. Supported values are 'drive', '
287
288
  # appDataFolder' and 'photos'.
288
- # @param [String] start_change_id
289
+ # @param [Fixnum] start_change_id
289
290
  # Change ID to start listing changes from.
290
291
  # @param [Boolean] supports_team_drives
291
292
  # Whether the requesting application supports Team Drives.
@@ -359,7 +360,7 @@ module Google
359
360
  # @param [String] spaces
360
361
  # A comma-separated list of spaces to query. Supported values are 'drive', '
361
362
  # appDataFolder' and 'photos'.
362
- # @param [String] start_change_id
363
+ # @param [Fixnum] start_change_id
363
364
  # Change ID to start listing changes from.
364
365
  # @param [Boolean] supports_team_drives
365
366
  # Whether the requesting application supports Team Drives.