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
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/storage/docs/json_api/
26
26
  module StorageV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170317'
28
+ REVISION = '20170322'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -82,7 +82,7 @@ module Google
82
82
 
83
83
  # The metadata generation of this bucket.
84
84
  # Corresponds to the JSON property `metageneration`
85
- # @return [String]
85
+ # @return [Fixnum]
86
86
  attr_accessor :metageneration
87
87
 
88
88
  # The name of the bucket.
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  # The project number of the project the bucket belongs to.
99
99
  # Corresponds to the JSON property `projectNumber`
100
- # @return [String]
100
+ # @return [Fixnum]
101
101
  attr_accessor :project_number
102
102
 
103
103
  # The URI of this bucket.
@@ -621,7 +621,7 @@ module Google
621
621
  # Date and time of notification channel expiration, expressed as a Unix
622
622
  # timestamp, in milliseconds. Optional.
623
623
  # Corresponds to the JSON property `expiration`
624
- # @return [String]
624
+ # @return [Fixnum]
625
625
  attr_accessor :expiration
626
626
 
627
627
  # A UUID or similar unique string that identifies this channel.
@@ -723,7 +723,7 @@ module Google
723
723
 
724
724
  # The generation of this object to use as the source.
725
725
  # Corresponds to the JSON property `generation`
726
- # @return [String]
726
+ # @return [Fixnum]
727
727
  attr_accessor :generation
728
728
 
729
729
  # The source object's name. The source object's bucket is implicitly the
@@ -756,7 +756,7 @@ module Google
756
756
  # be used matches this value. If this value and a generation are both specified,
757
757
  # they must be the same value or the call will fail.
758
758
  # Corresponds to the JSON property `ifGenerationMatch`
759
- # @return [String]
759
+ # @return [Fixnum]
760
760
  attr_accessor :if_generation_match
761
761
 
762
762
  def initialize(**args)
@@ -936,7 +936,7 @@ module Google
936
936
 
937
937
  # The content generation of this object. Used for object versioning.
938
938
  # Corresponds to the JSON property `generation`
939
- # @return [String]
939
+ # @return [Fixnum]
940
940
  attr_accessor :generation
941
941
 
942
942
  # The ID of the object, including the bucket name, object name, and generation
@@ -971,7 +971,7 @@ module Google
971
971
  # is only meaningful in the context of a particular generation of a particular
972
972
  # object.
973
973
  # Corresponds to the JSON property `metageneration`
974
- # @return [String]
974
+ # @return [Fixnum]
975
975
  attr_accessor :metageneration
976
976
 
977
977
  # The name of the object. Required if not specified by URL parameter.
@@ -991,7 +991,7 @@ module Google
991
991
 
992
992
  # Content-Length of the data in bytes.
993
993
  # Corresponds to the JSON property `size`
994
- # @return [String]
994
+ # @return [Fixnum]
995
995
  attr_accessor :size
996
996
 
997
997
  # Storage class of the object.
@@ -1156,7 +1156,7 @@ module Google
1156
1156
 
1157
1157
  # The content generation of the object, if applied to an object.
1158
1158
  # Corresponds to the JSON property `generation`
1159
- # @return [String]
1159
+ # @return [Fixnum]
1160
1160
  attr_accessor :generation
1161
1161
 
1162
1162
  # The ID of the access-control entry.
@@ -1432,7 +1432,7 @@ module Google
1432
1432
  # The total size of the object being copied in bytes. This property is always
1433
1433
  # present in the response.
1434
1434
  # Corresponds to the JSON property `objectSize`
1435
- # @return [String]
1435
+ # @return [Fixnum]
1436
1436
  attr_accessor :object_size
1437
1437
 
1438
1438
  # An object.
@@ -1449,7 +1449,7 @@ module Google
1449
1449
  # The total bytes written so far, which can be used to provide a waiting user
1450
1450
  # with a progress indicator. This property is always present in the response.
1451
1451
  # Corresponds to the JSON property `totalBytesRewritten`
1452
- # @return [String]
1452
+ # @return [Fixnum]
1453
1453
  attr_accessor :total_bytes_rewritten
1454
1454
 
1455
1455
  def initialize(**args)
@@ -232,11 +232,11 @@ module Google
232
232
  property :location, as: 'location'
233
233
  property :logging, as: 'logging', class: Google::Apis::StorageV1::Bucket::Logging, decorator: Google::Apis::StorageV1::Bucket::Logging::Representation
234
234
 
235
- property :metageneration, as: 'metageneration'
235
+ property :metageneration, :numeric_string => true, as: 'metageneration'
236
236
  property :name, as: 'name'
237
237
  property :owner, as: 'owner', class: Google::Apis::StorageV1::Bucket::Owner, decorator: Google::Apis::StorageV1::Bucket::Owner::Representation
238
238
 
239
- property :project_number, as: 'projectNumber'
239
+ property :project_number, :numeric_string => true, as: 'projectNumber'
240
240
  property :self_link, as: 'selfLink'
241
241
  property :storage_class, as: 'storageClass'
242
242
  property :time_created, as: 'timeCreated', type: DateTime
@@ -378,7 +378,7 @@ module Google
378
378
  # @private
379
379
  class Representation < Google::Apis::Core::JsonRepresentation
380
380
  property :address, as: 'address'
381
- property :expiration, as: 'expiration'
381
+ property :expiration, :numeric_string => true, as: 'expiration'
382
382
  property :id, as: 'id'
383
383
  property :kind, as: 'kind'
384
384
  hash :params, as: 'params'
@@ -403,7 +403,7 @@ module Google
403
403
  class SourceObject
404
404
  # @private
405
405
  class Representation < Google::Apis::Core::JsonRepresentation
406
- property :generation, as: 'generation'
406
+ property :generation, :numeric_string => true, as: 'generation'
407
407
  property :name, as: 'name'
408
408
  property :object_preconditions, as: 'objectPreconditions', class: Google::Apis::StorageV1::ComposeRequest::SourceObject::ObjectPreconditions, decorator: Google::Apis::StorageV1::ComposeRequest::SourceObject::ObjectPreconditions::Representation
409
409
 
@@ -412,7 +412,7 @@ module Google
412
412
  class ObjectPreconditions
413
413
  # @private
414
414
  class Representation < Google::Apis::Core::JsonRepresentation
415
- property :if_generation_match, as: 'ifGenerationMatch'
415
+ property :if_generation_match, :numeric_string => true, as: 'ifGenerationMatch'
416
416
  end
417
417
  end
418
418
  end
@@ -458,18 +458,18 @@ module Google
458
458
  property :customer_encryption, as: 'customerEncryption', class: Google::Apis::StorageV1::Object::CustomerEncryption, decorator: Google::Apis::StorageV1::Object::CustomerEncryption::Representation
459
459
 
460
460
  property :etag, as: 'etag'
461
- property :generation, as: 'generation'
461
+ property :generation, :numeric_string => true, as: 'generation'
462
462
  property :id, as: 'id'
463
463
  property :kind, as: 'kind'
464
464
  property :md5_hash, as: 'md5Hash'
465
465
  property :media_link, as: 'mediaLink'
466
466
  hash :metadata, as: 'metadata'
467
- property :metageneration, as: 'metageneration'
467
+ property :metageneration, :numeric_string => true, as: 'metageneration'
468
468
  property :name, as: 'name'
469
469
  property :owner, as: 'owner', class: Google::Apis::StorageV1::Object::Owner, decorator: Google::Apis::StorageV1::Object::Owner::Representation
470
470
 
471
471
  property :self_link, as: 'selfLink'
472
- property :size, as: 'size'
472
+ property :size, :numeric_string => true, as: 'size'
473
473
  property :storage_class, as: 'storageClass'
474
474
  property :time_created, as: 'timeCreated', type: DateTime
475
475
 
@@ -507,7 +507,7 @@ module Google
507
507
  property :entity, as: 'entity'
508
508
  property :entity_id, as: 'entityId'
509
509
  property :etag, as: 'etag'
510
- property :generation, as: 'generation'
510
+ property :generation, :numeric_string => true, as: 'generation'
511
511
  property :id, as: 'id'
512
512
  property :kind, as: 'kind'
513
513
  property :object, as: 'object'
@@ -570,11 +570,11 @@ module Google
570
570
  class Representation < Google::Apis::Core::JsonRepresentation
571
571
  property :done, as: 'done'
572
572
  property :kind, as: 'kind'
573
- property :object_size, as: 'objectSize'
573
+ property :object_size, :numeric_string => true, as: 'objectSize'
574
574
  property :resource, as: 'resource', class: Google::Apis::StorageV1::Object, decorator: Google::Apis::StorageV1::Object::Representation
575
575
 
576
576
  property :rewrite_token, as: 'rewriteToken'
577
- property :total_bytes_rewritten, as: 'totalBytesRewritten'
577
+ property :total_bytes_rewritten, :numeric_string => true, as: 'totalBytesRewritten'
578
578
  end
579
579
  end
580
580
 
@@ -50,6 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'storage/v1/')
53
+ @batch_path = 'batch'
53
54
  end
54
55
 
55
56
  # Permanently deletes the ACL entry for the specified entity on the specified
@@ -290,9 +291,9 @@ module Google
290
291
  # Permanently deletes an empty bucket.
291
292
  # @param [String] bucket
292
293
  # Name of a bucket.
293
- # @param [String] if_metageneration_match
294
+ # @param [Fixnum] if_metageneration_match
294
295
  # If set, only deletes the bucket if its metageneration matches this value.
295
- # @param [String] if_metageneration_not_match
296
+ # @param [Fixnum] if_metageneration_not_match
296
297
  # If set, only deletes the bucket if its metageneration does not match this
297
298
  # value.
298
299
  # @param [String] fields
@@ -330,10 +331,10 @@ module Google
330
331
  # Returns metadata for the specified bucket.
331
332
  # @param [String] bucket
332
333
  # Name of a bucket.
333
- # @param [String] if_metageneration_match
334
+ # @param [Fixnum] if_metageneration_match
334
335
  # Makes the return of the bucket metadata conditional on whether the bucket's
335
336
  # current metageneration matches the given value.
336
- # @param [String] if_metageneration_not_match
337
+ # @param [Fixnum] if_metageneration_not_match
337
338
  # Makes the return of the bucket metadata conditional on whether the bucket's
338
339
  # current metageneration does not match the given value.
339
340
  # @param [String] projection
@@ -511,10 +512,10 @@ module Google
511
512
  # @param [String] bucket
512
513
  # Name of a bucket.
513
514
  # @param [Google::Apis::StorageV1::Bucket] bucket_object
514
- # @param [String] if_metageneration_match
515
+ # @param [Fixnum] if_metageneration_match
515
516
  # Makes the return of the bucket metadata conditional on whether the bucket's
516
517
  # current metageneration matches the given value.
517
- # @param [String] if_metageneration_not_match
518
+ # @param [Fixnum] if_metageneration_not_match
518
519
  # Makes the return of the bucket metadata conditional on whether the bucket's
519
520
  # current metageneration does not match the given value.
520
521
  # @param [String] predefined_acl
@@ -644,10 +645,10 @@ module Google
644
645
  # @param [String] bucket
645
646
  # Name of a bucket.
646
647
  # @param [Google::Apis::StorageV1::Bucket] bucket_object
647
- # @param [String] if_metageneration_match
648
+ # @param [Fixnum] if_metageneration_match
648
649
  # Makes the return of the bucket metadata conditional on whether the bucket's
649
650
  # current metageneration matches the given value.
650
- # @param [String] if_metageneration_not_match
651
+ # @param [Fixnum] if_metageneration_not_match
651
652
  # Makes the return of the bucket metadata conditional on whether the bucket's
652
653
  # current metageneration does not match the given value.
653
654
  # @param [String] predefined_acl
@@ -847,10 +848,10 @@ module Google
847
848
  # Retrieves default object ACL entries on the specified bucket.
848
849
  # @param [String] bucket
849
850
  # Name of a bucket.
850
- # @param [String] if_metageneration_match
851
+ # @param [Fixnum] if_metageneration_match
851
852
  # If present, only return default ACL listing if the bucket's current
852
853
  # metageneration matches this value.
853
- # @param [String] if_metageneration_not_match
854
+ # @param [Fixnum] if_metageneration_not_match
854
855
  # If present, only return default ACL listing if the bucket's current
855
856
  # metageneration does not match the given value.
856
857
  # @param [String] fields
@@ -1129,7 +1130,7 @@ module Google
1129
1130
  # @param [String] entity
1130
1131
  # The entity holding the permission. Can be user-userId, user-emailAddress,
1131
1132
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
1132
- # @param [String] generation
1133
+ # @param [Fixnum] generation
1133
1134
  # If present, selects a specific revision of this object (as opposed to the
1134
1135
  # latest version, the default).
1135
1136
  # @param [String] fields
@@ -1174,7 +1175,7 @@ module Google
1174
1175
  # @param [String] entity
1175
1176
  # The entity holding the permission. Can be user-userId, user-emailAddress,
1176
1177
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
1177
- # @param [String] generation
1178
+ # @param [Fixnum] generation
1178
1179
  # If present, selects a specific revision of this object (as opposed to the
1179
1180
  # latest version, the default).
1180
1181
  # @param [String] fields
@@ -1219,7 +1220,7 @@ module Google
1219
1220
  # Name of the object. For information about how to URL encode object names to be
1220
1221
  # path safe, see Encoding URI Path Parts.
1221
1222
  # @param [Google::Apis::StorageV1::ObjectAccessControl] object_access_control_object
1222
- # @param [String] generation
1223
+ # @param [Fixnum] generation
1223
1224
  # If present, selects a specific revision of this object (as opposed to the
1224
1225
  # latest version, the default).
1225
1226
  # @param [String] fields
@@ -1264,7 +1265,7 @@ module Google
1264
1265
  # @param [String] object
1265
1266
  # Name of the object. For information about how to URL encode object names to be
1266
1267
  # path safe, see Encoding URI Path Parts.
1267
- # @param [String] generation
1268
+ # @param [Fixnum] generation
1268
1269
  # If present, selects a specific revision of this object (as opposed to the
1269
1270
  # latest version, the default).
1270
1271
  # @param [String] fields
@@ -1312,7 +1313,7 @@ module Google
1312
1313
  # The entity holding the permission. Can be user-userId, user-emailAddress,
1313
1314
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
1314
1315
  # @param [Google::Apis::StorageV1::ObjectAccessControl] object_access_control_object
1315
- # @param [String] generation
1316
+ # @param [Fixnum] generation
1316
1317
  # If present, selects a specific revision of this object (as opposed to the
1317
1318
  # latest version, the default).
1318
1319
  # @param [String] fields
@@ -1362,7 +1363,7 @@ module Google
1362
1363
  # The entity holding the permission. Can be user-userId, user-emailAddress,
1363
1364
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
1364
1365
  # @param [Google::Apis::StorageV1::ObjectAccessControl] object_access_control_object
1365
- # @param [String] generation
1366
+ # @param [Fixnum] generation
1366
1367
  # If present, selects a specific revision of this object (as opposed to the
1367
1368
  # latest version, the default).
1368
1369
  # @param [String] fields
@@ -1411,10 +1412,10 @@ module Google
1411
1412
  # @param [Google::Apis::StorageV1::ComposeRequest] compose_request_object
1412
1413
  # @param [String] destination_predefined_acl
1413
1414
  # Apply a predefined set of access controls to the destination object.
1414
- # @param [String] if_generation_match
1415
+ # @param [Fixnum] if_generation_match
1415
1416
  # Makes the operation conditional on whether the object's current generation
1416
1417
  # matches the given value.
1417
- # @param [String] if_metageneration_match
1418
+ # @param [Fixnum] if_metageneration_match
1418
1419
  # Makes the operation conditional on whether the object's current metageneration
1419
1420
  # matches the given value.
1420
1421
  # @param [String] fields
@@ -1478,34 +1479,34 @@ module Google
1478
1479
  # @param [Google::Apis::StorageV1::Object] object_object
1479
1480
  # @param [String] destination_predefined_acl
1480
1481
  # Apply a predefined set of access controls to the destination object.
1481
- # @param [String] if_generation_match
1482
+ # @param [Fixnum] if_generation_match
1482
1483
  # Makes the operation conditional on whether the destination object's current
1483
1484
  # generation matches the given value.
1484
- # @param [String] if_generation_not_match
1485
+ # @param [Fixnum] if_generation_not_match
1485
1486
  # Makes the operation conditional on whether the destination object's current
1486
1487
  # generation does not match the given value.
1487
- # @param [String] if_metageneration_match
1488
+ # @param [Fixnum] if_metageneration_match
1488
1489
  # Makes the operation conditional on whether the destination object's current
1489
1490
  # metageneration matches the given value.
1490
- # @param [String] if_metageneration_not_match
1491
+ # @param [Fixnum] if_metageneration_not_match
1491
1492
  # Makes the operation conditional on whether the destination object's current
1492
1493
  # metageneration does not match the given value.
1493
- # @param [String] if_source_generation_match
1494
+ # @param [Fixnum] if_source_generation_match
1494
1495
  # Makes the operation conditional on whether the source object's generation
1495
1496
  # matches the given value.
1496
- # @param [String] if_source_generation_not_match
1497
+ # @param [Fixnum] if_source_generation_not_match
1497
1498
  # Makes the operation conditional on whether the source object's generation does
1498
1499
  # not match the given value.
1499
- # @param [String] if_source_metageneration_match
1500
+ # @param [Fixnum] if_source_metageneration_match
1500
1501
  # Makes the operation conditional on whether the source object's current
1501
1502
  # metageneration matches the given value.
1502
- # @param [String] if_source_metageneration_not_match
1503
+ # @param [Fixnum] if_source_metageneration_not_match
1503
1504
  # Makes the operation conditional on whether the source object's current
1504
1505
  # metageneration does not match the given value.
1505
1506
  # @param [String] projection
1506
1507
  # Set of properties to return. Defaults to noAcl, unless the object resource
1507
1508
  # specifies the acl property, when it defaults to full.
1508
- # @param [String] source_generation
1509
+ # @param [Fixnum] source_generation
1509
1510
  # If present, selects a specific revision of the source object (as opposed to
1510
1511
  # the latest version, the default).
1511
1512
  # @param [String] fields
@@ -1570,19 +1571,19 @@ module Google
1570
1571
  # @param [String] object
1571
1572
  # Name of the object. For information about how to URL encode object names to be
1572
1573
  # path safe, see Encoding URI Path Parts.
1573
- # @param [String] generation
1574
+ # @param [Fixnum] generation
1574
1575
  # If present, permanently deletes a specific revision of this object (as opposed
1575
1576
  # to the latest version, the default).
1576
- # @param [String] if_generation_match
1577
+ # @param [Fixnum] if_generation_match
1577
1578
  # Makes the operation conditional on whether the object's current generation
1578
1579
  # matches the given value.
1579
- # @param [String] if_generation_not_match
1580
+ # @param [Fixnum] if_generation_not_match
1580
1581
  # Makes the operation conditional on whether the object's current generation
1581
1582
  # does not match the given value.
1582
- # @param [String] if_metageneration_match
1583
+ # @param [Fixnum] if_metageneration_match
1583
1584
  # Makes the operation conditional on whether the object's current metageneration
1584
1585
  # matches the given value.
1585
- # @param [String] if_metageneration_not_match
1586
+ # @param [Fixnum] if_metageneration_not_match
1586
1587
  # Makes the operation conditional on whether the object's current metageneration
1587
1588
  # does not match the given value.
1588
1589
  # @param [String] fields
@@ -1627,19 +1628,19 @@ module Google
1627
1628
  # @param [String] object
1628
1629
  # Name of the object. For information about how to URL encode object names to be
1629
1630
  # path safe, see Encoding URI Path Parts.
1630
- # @param [String] generation
1631
+ # @param [Fixnum] generation
1631
1632
  # If present, selects a specific revision of this object (as opposed to the
1632
1633
  # latest version, the default).
1633
- # @param [String] if_generation_match
1634
+ # @param [Fixnum] if_generation_match
1634
1635
  # Makes the operation conditional on whether the object's generation matches the
1635
1636
  # given value.
1636
- # @param [String] if_generation_not_match
1637
+ # @param [Fixnum] if_generation_not_match
1637
1638
  # Makes the operation conditional on whether the object's generation does not
1638
1639
  # match the given value.
1639
- # @param [String] if_metageneration_match
1640
+ # @param [Fixnum] if_metageneration_match
1640
1641
  # Makes the operation conditional on whether the object's current metageneration
1641
1642
  # matches the given value.
1642
- # @param [String] if_metageneration_not_match
1643
+ # @param [Fixnum] if_metageneration_not_match
1643
1644
  # Makes the operation conditional on whether the object's current metageneration
1644
1645
  # does not match the given value.
1645
1646
  # @param [String] projection
@@ -1696,7 +1697,7 @@ module Google
1696
1697
  # @param [String] object
1697
1698
  # Name of the object. For information about how to URL encode object names to be
1698
1699
  # path safe, see Encoding URI Path Parts.
1699
- # @param [String] generation
1700
+ # @param [Fixnum] generation
1700
1701
  # If present, selects a specific revision of this object (as opposed to the
1701
1702
  # latest version, the default).
1702
1703
  # @param [String] fields
@@ -1743,16 +1744,16 @@ module Google
1743
1744
  # Setting this parameter is equivalent to setting the contentEncoding metadata
1744
1745
  # property. This can be useful when uploading an object with uploadType=media to
1745
1746
  # indicate the encoding of the content being uploaded.
1746
- # @param [String] if_generation_match
1747
+ # @param [Fixnum] if_generation_match
1747
1748
  # Makes the operation conditional on whether the object's current generation
1748
1749
  # matches the given value.
1749
- # @param [String] if_generation_not_match
1750
+ # @param [Fixnum] if_generation_not_match
1750
1751
  # Makes the operation conditional on whether the object's current generation
1751
1752
  # does not match the given value.
1752
- # @param [String] if_metageneration_match
1753
+ # @param [Fixnum] if_metageneration_match
1753
1754
  # Makes the operation conditional on whether the object's current metageneration
1754
1755
  # matches the given value.
1755
- # @param [String] if_metageneration_not_match
1756
+ # @param [Fixnum] if_metageneration_not_match
1756
1757
  # Makes the operation conditional on whether the object's current metageneration
1757
1758
  # does not match the given value.
1758
1759
  # @param [String] name
@@ -1886,19 +1887,19 @@ module Google
1886
1887
  # Name of the object. For information about how to URL encode object names to be
1887
1888
  # path safe, see Encoding URI Path Parts.
1888
1889
  # @param [Google::Apis::StorageV1::Object] object_object
1889
- # @param [String] generation
1890
+ # @param [Fixnum] generation
1890
1891
  # If present, selects a specific revision of this object (as opposed to the
1891
1892
  # latest version, the default).
1892
- # @param [String] if_generation_match
1893
+ # @param [Fixnum] if_generation_match
1893
1894
  # Makes the operation conditional on whether the object's current generation
1894
1895
  # matches the given value.
1895
- # @param [String] if_generation_not_match
1896
+ # @param [Fixnum] if_generation_not_match
1896
1897
  # Makes the operation conditional on whether the object's current generation
1897
1898
  # does not match the given value.
1898
- # @param [String] if_metageneration_match
1899
+ # @param [Fixnum] if_metageneration_match
1899
1900
  # Makes the operation conditional on whether the object's current metageneration
1900
1901
  # matches the given value.
1901
- # @param [String] if_metageneration_not_match
1902
+ # @param [Fixnum] if_metageneration_not_match
1902
1903
  # Makes the operation conditional on whether the object's current metageneration
1903
1904
  # does not match the given value.
1904
1905
  # @param [String] predefined_acl
@@ -1965,31 +1966,31 @@ module Google
1965
1966
  # @param [Google::Apis::StorageV1::Object] object_object
1966
1967
  # @param [String] destination_predefined_acl
1967
1968
  # Apply a predefined set of access controls to the destination object.
1968
- # @param [String] if_generation_match
1969
+ # @param [Fixnum] if_generation_match
1969
1970
  # Makes the operation conditional on whether the destination object's current
1970
1971
  # generation matches the given value.
1971
- # @param [String] if_generation_not_match
1972
+ # @param [Fixnum] if_generation_not_match
1972
1973
  # Makes the operation conditional on whether the destination object's current
1973
1974
  # generation does not match the given value.
1974
- # @param [String] if_metageneration_match
1975
+ # @param [Fixnum] if_metageneration_match
1975
1976
  # Makes the operation conditional on whether the destination object's current
1976
1977
  # metageneration matches the given value.
1977
- # @param [String] if_metageneration_not_match
1978
+ # @param [Fixnum] if_metageneration_not_match
1978
1979
  # Makes the operation conditional on whether the destination object's current
1979
1980
  # metageneration does not match the given value.
1980
- # @param [String] if_source_generation_match
1981
+ # @param [Fixnum] if_source_generation_match
1981
1982
  # Makes the operation conditional on whether the source object's generation
1982
1983
  # matches the given value.
1983
- # @param [String] if_source_generation_not_match
1984
+ # @param [Fixnum] if_source_generation_not_match
1984
1985
  # Makes the operation conditional on whether the source object's generation does
1985
1986
  # not match the given value.
1986
- # @param [String] if_source_metageneration_match
1987
+ # @param [Fixnum] if_source_metageneration_match
1987
1988
  # Makes the operation conditional on whether the source object's current
1988
1989
  # metageneration matches the given value.
1989
- # @param [String] if_source_metageneration_not_match
1990
+ # @param [Fixnum] if_source_metageneration_not_match
1990
1991
  # Makes the operation conditional on whether the source object's current
1991
1992
  # metageneration does not match the given value.
1992
- # @param [String] max_bytes_rewritten_per_call
1993
+ # @param [Fixnum] max_bytes_rewritten_per_call
1993
1994
  # The maximum number of bytes that will be rewritten per rewrite request. Most
1994
1995
  # callers shouldn't need to specify this parameter - it is primarily in place to
1995
1996
  # support testing. If specified the value must be an integral multiple of 1 MiB (
@@ -2005,7 +2006,7 @@ module Google
2005
2006
  # Calls that provide a rewriteToken can omit all other request fields, but if
2006
2007
  # included those fields must match the values provided in the first rewrite
2007
2008
  # request.
2008
- # @param [String] source_generation
2009
+ # @param [Fixnum] source_generation
2009
2010
  # If present, selects a specific revision of the source object (as opposed to
2010
2011
  # the latest version, the default).
2011
2012
  # @param [String] fields
@@ -2065,7 +2066,7 @@ module Google
2065
2066
  # Name of the object. For information about how to URL encode object names to be
2066
2067
  # path safe, see Encoding URI Path Parts.
2067
2068
  # @param [Google::Apis::StorageV1::Policy] policy_object
2068
- # @param [String] generation
2069
+ # @param [Fixnum] generation
2069
2070
  # If present, selects a specific revision of this object (as opposed to the
2070
2071
  # latest version, the default).
2071
2072
  # @param [String] fields
@@ -2113,7 +2114,7 @@ module Google
2113
2114
  # path safe, see Encoding URI Path Parts.
2114
2115
  # @param [Array<String>, String] permissions
2115
2116
  # Permissions to test.
2116
- # @param [String] generation
2117
+ # @param [Fixnum] generation
2117
2118
  # If present, selects a specific revision of this object (as opposed to the
2118
2119
  # latest version, the default).
2119
2120
  # @param [String] fields
@@ -2158,19 +2159,19 @@ module Google
2158
2159
  # Name of the object. For information about how to URL encode object names to be
2159
2160
  # path safe, see Encoding URI Path Parts.
2160
2161
  # @param [Google::Apis::StorageV1::Object] object_object
2161
- # @param [String] generation
2162
+ # @param [Fixnum] generation
2162
2163
  # If present, selects a specific revision of this object (as opposed to the
2163
2164
  # latest version, the default).
2164
- # @param [String] if_generation_match
2165
+ # @param [Fixnum] if_generation_match
2165
2166
  # Makes the operation conditional on whether the object's current generation
2166
2167
  # matches the given value.
2167
- # @param [String] if_generation_not_match
2168
+ # @param [Fixnum] if_generation_not_match
2168
2169
  # Makes the operation conditional on whether the object's current generation
2169
2170
  # does not match the given value.
2170
- # @param [String] if_metageneration_match
2171
+ # @param [Fixnum] if_metageneration_match
2171
2172
  # Makes the operation conditional on whether the object's current metageneration
2172
2173
  # matches the given value.
2173
- # @param [String] if_metageneration_not_match
2174
+ # @param [Fixnum] if_metageneration_not_match
2174
2175
  # Makes the operation conditional on whether the object's current metageneration
2175
2176
  # does not match the given value.
2176
2177
  # @param [String] predefined_acl