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
@@ -0,0 +1,180 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module AppsmarketV2
24
+
25
+ class CustomerLicense
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ class Edition
29
+ class Representation < Google::Apis::Core::JsonRepresentation; end
30
+
31
+ include Google::Apis::Core::JsonObjectSupport
32
+ end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class LicenseNotification
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ class Delete
41
+ class Representation < Google::Apis::Core::JsonRepresentation; end
42
+
43
+ include Google::Apis::Core::JsonObjectSupport
44
+ end
45
+
46
+ class Expiry
47
+ class Representation < Google::Apis::Core::JsonRepresentation; end
48
+
49
+ include Google::Apis::Core::JsonObjectSupport
50
+ end
51
+
52
+ class Provision
53
+ class Representation < Google::Apis::Core::JsonRepresentation; end
54
+
55
+ include Google::Apis::Core::JsonObjectSupport
56
+ end
57
+
58
+ class Reassignment
59
+ class Representation < Google::Apis::Core::JsonRepresentation; end
60
+
61
+ include Google::Apis::Core::JsonObjectSupport
62
+ end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class LicenseNotificationList
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class UserLicense
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CustomerLicense
80
+ # @private
81
+ class Representation < Google::Apis::Core::JsonRepresentation
82
+ property :application_id, as: 'applicationId'
83
+ property :customer_id, as: 'customerId'
84
+ collection :editions, as: 'editions', class: Google::Apis::AppsmarketV2::CustomerLicense::Edition, decorator: Google::Apis::AppsmarketV2::CustomerLicense::Edition::Representation
85
+
86
+ property :id, as: 'id'
87
+ property :kind, as: 'kind'
88
+ property :state, as: 'state'
89
+ end
90
+
91
+ class Edition
92
+ # @private
93
+ class Representation < Google::Apis::Core::JsonRepresentation
94
+ property :assigned_seats, as: 'assignedSeats'
95
+ property :edition_id, as: 'editionId'
96
+ property :seat_count, as: 'seatCount'
97
+ end
98
+ end
99
+ end
100
+
101
+ class LicenseNotification
102
+ # @private
103
+ class Representation < Google::Apis::Core::JsonRepresentation
104
+ property :application_id, as: 'applicationId'
105
+ property :customer_id, as: 'customerId'
106
+ collection :deletes, as: 'deletes', class: Google::Apis::AppsmarketV2::LicenseNotification::Delete, decorator: Google::Apis::AppsmarketV2::LicenseNotification::Delete::Representation
107
+
108
+ collection :expiries, as: 'expiries', class: Google::Apis::AppsmarketV2::LicenseNotification::Expiry, decorator: Google::Apis::AppsmarketV2::LicenseNotification::Expiry::Representation
109
+
110
+ property :id, as: 'id'
111
+ property :kind, as: 'kind'
112
+ collection :provisions, as: 'provisions', class: Google::Apis::AppsmarketV2::LicenseNotification::Provision, decorator: Google::Apis::AppsmarketV2::LicenseNotification::Provision::Representation
113
+
114
+ collection :reassignments, as: 'reassignments', class: Google::Apis::AppsmarketV2::LicenseNotification::Reassignment, decorator: Google::Apis::AppsmarketV2::LicenseNotification::Reassignment::Representation
115
+
116
+ property :timestamp, :numeric_string => true, as: 'timestamp'
117
+ end
118
+
119
+ class Delete
120
+ # @private
121
+ class Representation < Google::Apis::Core::JsonRepresentation
122
+ property :edition_id, as: 'editionId'
123
+ property :kind, as: 'kind'
124
+ end
125
+ end
126
+
127
+ class Expiry
128
+ # @private
129
+ class Representation < Google::Apis::Core::JsonRepresentation
130
+ property :edition_id, as: 'editionId'
131
+ property :kind, as: 'kind'
132
+ end
133
+ end
134
+
135
+ class Provision
136
+ # @private
137
+ class Representation < Google::Apis::Core::JsonRepresentation
138
+ property :edition_id, as: 'editionId'
139
+ property :kind, as: 'kind'
140
+ property :seat_count, :numeric_string => true, as: 'seatCount'
141
+ end
142
+ end
143
+
144
+ class Reassignment
145
+ # @private
146
+ class Representation < Google::Apis::Core::JsonRepresentation
147
+ property :edition_id, as: 'editionId'
148
+ property :kind, as: 'kind'
149
+ property :type, as: 'type'
150
+ property :user_id, as: 'userId'
151
+ end
152
+ end
153
+ end
154
+
155
+ class LicenseNotificationList
156
+ # @private
157
+ class Representation < Google::Apis::Core::JsonRepresentation
158
+ property :kind, as: 'kind'
159
+ property :next_page_token, as: 'nextPageToken'
160
+ collection :notifications, as: 'notifications', class: Google::Apis::AppsmarketV2::LicenseNotification, decorator: Google::Apis::AppsmarketV2::LicenseNotification::Representation
161
+
162
+ end
163
+ end
164
+
165
+ class UserLicense
166
+ # @private
167
+ class Representation < Google::Apis::Core::JsonRepresentation
168
+ property :application_id, as: 'applicationId'
169
+ property :customer_id, as: 'customerId'
170
+ property :edition_id, as: 'editionId'
171
+ property :enabled, as: 'enabled'
172
+ property :id, as: 'id'
173
+ property :kind, as: 'kind'
174
+ property :state, as: 'state'
175
+ property :user_id, as: 'userId'
176
+ end
177
+ end
178
+ end
179
+ end
180
+ end
@@ -0,0 +1,187 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/core/base_service'
16
+ require 'google/apis/core/json_representation'
17
+ require 'google/apis/core/hashable'
18
+ require 'google/apis/errors'
19
+
20
+ module Google
21
+ module Apis
22
+ module AppsmarketV2
23
+ # Google Apps Marketplace API
24
+ #
25
+ # Lets your Apps Marketplace applications integrate with Google's licensing
26
+ # service
27
+ #
28
+ # @example
29
+ # require 'google/apis/appsmarket_v2'
30
+ #
31
+ # Appsmarket = Google::Apis::AppsmarketV2 # Alias the module
32
+ # service = Appsmarket::AppsmarketService.new
33
+ #
34
+ # @see https://developers.google.com/google-apps/marketplace/v2/developers_guide
35
+ class AppsmarketService < Google::Apis::Core::BaseService
36
+ # @return [String]
37
+ # API key. Your API key identifies your project and provides you with API access,
38
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
39
+ attr_accessor :key
40
+
41
+ # @return [String]
42
+ # Available to use for quota purposes for server-side applications. Can be any
43
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
44
+ # Overrides userIp if both are provided.
45
+ attr_accessor :quota_user
46
+
47
+ # @return [String]
48
+ # IP address of the site where the request originates. Use this if you want to
49
+ # enforce per-user limits.
50
+ attr_accessor :user_ip
51
+
52
+ def initialize
53
+ super('https://www.googleapis.com/', 'appsmarket/v2/')
54
+ @batch_path = 'batch'
55
+ end
56
+
57
+ #
58
+ # @param [String] application_id
59
+ # Application Id
60
+ # @param [String] customer_id
61
+ # Customer Id
62
+ # @param [String] fields
63
+ # Selector specifying which fields to include in a partial response.
64
+ # @param [String] quota_user
65
+ # Available to use for quota purposes for server-side applications. Can be any
66
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
67
+ # Overrides userIp if both are provided.
68
+ # @param [String] user_ip
69
+ # IP address of the site where the request originates. Use this if you want to
70
+ # enforce per-user limits.
71
+ # @param [Google::Apis::RequestOptions] options
72
+ # Request-specific options
73
+ #
74
+ # @yield [result, err] Result & error if block supplied
75
+ # @yieldparam result [Google::Apis::AppsmarketV2::CustomerLicense] parsed result object
76
+ # @yieldparam err [StandardError] error object if request failed
77
+ #
78
+ # @return [Google::Apis::AppsmarketV2::CustomerLicense]
79
+ #
80
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
81
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
82
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
83
+ def get_customer_license(application_id, customer_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
84
+ command = make_simple_command(:get, 'customerLicense/{applicationId}/{customerId}', options)
85
+ command.response_representation = Google::Apis::AppsmarketV2::CustomerLicense::Representation
86
+ command.response_class = Google::Apis::AppsmarketV2::CustomerLicense
87
+ command.params['applicationId'] = application_id unless application_id.nil?
88
+ command.params['customerId'] = customer_id unless customer_id.nil?
89
+ command.query['fields'] = fields unless fields.nil?
90
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
91
+ command.query['userIp'] = user_ip unless user_ip.nil?
92
+ execute_or_queue_command(command, &block)
93
+ end
94
+
95
+ #
96
+ # @param [String] application_id
97
+ # Application Id
98
+ # @param [Fixnum] max_results
99
+ # Maximum number of results to return
100
+ # @param [String] start_token
101
+ # Pagination token
102
+ # @param [Fixnum] timestamp
103
+ # Timestamp in milliseconds since epoch
104
+ # @param [String] fields
105
+ # Selector specifying which fields to include in a partial response.
106
+ # @param [String] quota_user
107
+ # Available to use for quota purposes for server-side applications. Can be any
108
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
109
+ # Overrides userIp if both are provided.
110
+ # @param [String] user_ip
111
+ # IP address of the site where the request originates. Use this if you want to
112
+ # enforce per-user limits.
113
+ # @param [Google::Apis::RequestOptions] options
114
+ # Request-specific options
115
+ #
116
+ # @yield [result, err] Result & error if block supplied
117
+ # @yieldparam result [Google::Apis::AppsmarketV2::LicenseNotificationList] parsed result object
118
+ # @yieldparam err [StandardError] error object if request failed
119
+ #
120
+ # @return [Google::Apis::AppsmarketV2::LicenseNotificationList]
121
+ #
122
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
123
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
124
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
125
+ def list_license_notifications(application_id, max_results: nil, start_token: nil, timestamp: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
126
+ command = make_simple_command(:get, 'licenseNotification/{applicationId}', options)
127
+ command.response_representation = Google::Apis::AppsmarketV2::LicenseNotificationList::Representation
128
+ command.response_class = Google::Apis::AppsmarketV2::LicenseNotificationList
129
+ command.params['applicationId'] = application_id unless application_id.nil?
130
+ command.query['max-results'] = max_results unless max_results.nil?
131
+ command.query['start-token'] = start_token unless start_token.nil?
132
+ command.query['timestamp'] = timestamp unless timestamp.nil?
133
+ command.query['fields'] = fields unless fields.nil?
134
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
135
+ command.query['userIp'] = user_ip unless user_ip.nil?
136
+ execute_or_queue_command(command, &block)
137
+ end
138
+
139
+ #
140
+ # @param [String] application_id
141
+ # Application Id
142
+ # @param [String] user_id
143
+ # User Id
144
+ # @param [String] fields
145
+ # Selector specifying which fields to include in a partial response.
146
+ # @param [String] quota_user
147
+ # Available to use for quota purposes for server-side applications. Can be any
148
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
149
+ # Overrides userIp if both are provided.
150
+ # @param [String] user_ip
151
+ # IP address of the site where the request originates. Use this if you want to
152
+ # enforce per-user limits.
153
+ # @param [Google::Apis::RequestOptions] options
154
+ # Request-specific options
155
+ #
156
+ # @yield [result, err] Result & error if block supplied
157
+ # @yieldparam result [Google::Apis::AppsmarketV2::UserLicense] parsed result object
158
+ # @yieldparam err [StandardError] error object if request failed
159
+ #
160
+ # @return [Google::Apis::AppsmarketV2::UserLicense]
161
+ #
162
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
163
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
164
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
165
+ def get_user_license(application_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
166
+ command = make_simple_command(:get, 'userLicense/{applicationId}/{userId}', options)
167
+ command.response_representation = Google::Apis::AppsmarketV2::UserLicense::Representation
168
+ command.response_class = Google::Apis::AppsmarketV2::UserLicense
169
+ command.params['applicationId'] = application_id unless application_id.nil?
170
+ command.params['userId'] = user_id unless user_id.nil?
171
+ command.query['fields'] = fields unless fields.nil?
172
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
173
+ command.query['userIp'] = user_ip unless user_ip.nil?
174
+ execute_or_queue_command(command, &block)
175
+ end
176
+
177
+ protected
178
+
179
+ def apply_command_defaults(command)
180
+ command.query['key'] = key unless key.nil?
181
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
182
+ command.query['userIp'] = user_ip unless user_ip.nil?
183
+ end
184
+ end
185
+ end
186
+ end
187
+ end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/games/services/web/api/states
26
26
  module AppstateV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170323'
28
+ REVISION = '20170329'
29
29
 
30
30
  # View and manage your data for this application
31
31
  AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
@@ -50,6 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'appstate/v1/')
53
+ @batch_path = 'batch'
53
54
  end
54
55
 
55
56
  # Clears (sets to empty) the data for the passed key if and only if the passed
@@ -248,7 +248,7 @@ module Google
248
248
  # when reading the data. The default value is 0. This property is useful if you
249
249
  # have header rows in the file that should be skipped.
250
250
  # Corresponds to the JSON property `skipLeadingRows`
251
- # @return [String]
251
+ # @return [Fixnum]
252
252
  attr_accessor :skip_leading_rows
253
253
 
254
254
  def initialize(**args)
@@ -285,7 +285,7 @@ module Google
285
285
  # [Output-only] The time when this dataset was created, in milliseconds since
286
286
  # the epoch.
287
287
  # Corresponds to the JSON property `creationTime`
288
- # @return [String]
288
+ # @return [Fixnum]
289
289
  attr_accessor :creation_time
290
290
 
291
291
  # [Required] A reference that identifies the dataset.
@@ -304,7 +304,7 @@ module Google
304
304
  # table, that value takes precedence over the default expiration time indicated
305
305
  # by this property.
306
306
  # Corresponds to the JSON property `defaultTableExpirationMs`
307
- # @return [String]
307
+ # @return [Fixnum]
308
308
  attr_accessor :default_table_expiration_ms
309
309
 
310
310
  # [Optional] A user-friendly description of the dataset.
@@ -345,7 +345,7 @@ module Google
345
345
  # [Output-only] The date when this dataset or any of its tables was last
346
346
  # modified, in milliseconds since the epoch.
347
347
  # Corresponds to the JSON property `lastModifiedTime`
348
- # @return [String]
348
+ # @return [Fixnum]
349
349
  attr_accessor :last_modified_time
350
350
 
351
351
  # The geographic location where the dataset should reside. Possible values
@@ -610,7 +610,7 @@ module Google
610
610
 
611
611
  # Unique ID for stage within plan.
612
612
  # Corresponds to the JSON property `id`
613
- # @return [String]
613
+ # @return [Fixnum]
614
614
  attr_accessor :id
615
615
 
616
616
  # Human-readable name for stage.
@@ -630,12 +630,12 @@ module Google
630
630
 
631
631
  # Number of records read into the stage.
632
632
  # Corresponds to the JSON property `recordsRead`
633
- # @return [String]
633
+ # @return [Fixnum]
634
634
  attr_accessor :records_read
635
635
 
636
636
  # Number of records written by the stage.
637
637
  # Corresponds to the JSON property `recordsWritten`
638
- # @return [String]
638
+ # @return [Fixnum]
639
639
  attr_accessor :records_written
640
640
 
641
641
  # Current status for the stage.
@@ -866,7 +866,7 @@ module Google
866
866
  # [Output-only] The number of rows affected by a DML statement. Present only for
867
867
  # DML statements INSERT, UPDATE or DELETE.
868
868
  # Corresponds to the JSON property `numDmlAffectedRows`
869
- # @return [String]
869
+ # @return [Fixnum]
870
870
  attr_accessor :num_dml_affected_rows
871
871
 
872
872
  # A token used for paging results.
@@ -889,14 +889,14 @@ module Google
889
889
 
890
890
  # The total number of bytes processed for this query.
891
891
  # Corresponds to the JSON property `totalBytesProcessed`
892
- # @return [String]
892
+ # @return [Fixnum]
893
893
  attr_accessor :total_bytes_processed
894
894
 
895
895
  # The total number of rows in the complete query result set, which can be more
896
896
  # than the number of rows in this single page of results. Present only when the
897
897
  # query completes successfully.
898
898
  # Corresponds to the JSON property `totalRows`
899
- # @return [String]
899
+ # @return [Fixnum]
900
900
  attr_accessor :total_rows
901
901
 
902
902
  def initialize(**args)
@@ -936,7 +936,7 @@ module Google
936
936
  # is just skipped. Otherwise row N is used to extract column names for the
937
937
  # detected schema.
938
938
  # Corresponds to the JSON property `skipLeadingRows`
939
- # @return [String]
939
+ # @return [Fixnum]
940
940
  attr_accessor :skip_leading_rows
941
941
 
942
942
  def initialize(**args)
@@ -1422,7 +1422,7 @@ module Google
1422
1422
  # billed beyond this limit will fail (without incurring a charge). If
1423
1423
  # unspecified, this will be set to your project default.
1424
1424
  # Corresponds to the JSON property `maximumBytesBilled`
1425
- # @return [String]
1425
+ # @return [Fixnum]
1426
1426
  attr_accessor :maximum_bytes_billed
1427
1427
 
1428
1428
  # Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or
@@ -1732,13 +1732,13 @@ module Google
1732
1732
  # [Output-only] Creation time of this job, in milliseconds since the epoch. This
1733
1733
  # field will be present on all jobs.
1734
1734
  # Corresponds to the JSON property `creationTime`
1735
- # @return [String]
1735
+ # @return [Fixnum]
1736
1736
  attr_accessor :creation_time
1737
1737
 
1738
1738
  # [Output-only] End time of this job, in milliseconds since the epoch. This
1739
1739
  # field will be present whenever a job is in the DONE state.
1740
1740
  # Corresponds to the JSON property `endTime`
1741
- # @return [String]
1741
+ # @return [Fixnum]
1742
1742
  attr_accessor :end_time
1743
1743
 
1744
1744
  # [Output-only] Statistics for an extract job.
@@ -1760,13 +1760,13 @@ module Google
1760
1760
  # field will be present when the job transitions from the PENDING state to
1761
1761
  # either RUNNING or DONE.
1762
1762
  # Corresponds to the JSON property `startTime`
1763
- # @return [String]
1763
+ # @return [Fixnum]
1764
1764
  attr_accessor :start_time
1765
1765
 
1766
1766
  # [Output-only] [Deprecated] Use the bytes processed in the query statistics
1767
1767
  # instead.
1768
1768
  # Corresponds to the JSON property `totalBytesProcessed`
1769
- # @return [String]
1769
+ # @return [Fixnum]
1770
1770
  attr_accessor :total_bytes_processed
1771
1771
 
1772
1772
  def initialize(**args)
@@ -1803,7 +1803,7 @@ module Google
1803
1803
  # [Output-only] The number of rows affected by a DML statement. Present only for
1804
1804
  # DML statements INSERT, UPDATE or DELETE.
1805
1805
  # Corresponds to the JSON property `numDmlAffectedRows`
1806
- # @return [String]
1806
+ # @return [Fixnum]
1807
1807
  attr_accessor :num_dml_affected_rows
1808
1808
 
1809
1809
  # [Output-only] Describes execution plan for the query.
@@ -1830,12 +1830,12 @@ module Google
1830
1830
 
1831
1831
  # [Output-only] Total bytes billed for the job.
1832
1832
  # Corresponds to the JSON property `totalBytesBilled`
1833
- # @return [String]
1833
+ # @return [Fixnum]
1834
1834
  attr_accessor :total_bytes_billed
1835
1835
 
1836
1836
  # [Output-only] Total bytes processed for the job.
1837
1837
  # Corresponds to the JSON property `totalBytesProcessed`
1838
- # @return [String]
1838
+ # @return [Fixnum]
1839
1839
  attr_accessor :total_bytes_processed
1840
1840
 
1841
1841
  # [Output-only, Experimental] Standard SQL only: list of undeclared query
@@ -1869,24 +1869,24 @@ module Google
1869
1869
 
1870
1870
  # [Output-only] Number of bytes of source data in a load job.
1871
1871
  # Corresponds to the JSON property `inputFileBytes`
1872
- # @return [String]
1872
+ # @return [Fixnum]
1873
1873
  attr_accessor :input_file_bytes
1874
1874
 
1875
1875
  # [Output-only] Number of source files in a load job.
1876
1876
  # Corresponds to the JSON property `inputFiles`
1877
- # @return [String]
1877
+ # @return [Fixnum]
1878
1878
  attr_accessor :input_files
1879
1879
 
1880
1880
  # [Output-only] Size of the loaded data in bytes. Note that while a load job is
1881
1881
  # in the running state, this value may change.
1882
1882
  # Corresponds to the JSON property `outputBytes`
1883
- # @return [String]
1883
+ # @return [Fixnum]
1884
1884
  attr_accessor :output_bytes
1885
1885
 
1886
1886
  # [Output-only] Number of rows imported in a load job. Note that while an import
1887
1887
  # job is in the running state, this value may change.
1888
1888
  # Corresponds to the JSON property `outputRows`
1889
- # @return [String]
1889
+ # @return [Fixnum]
1890
1890
  attr_accessor :output_rows
1891
1891
 
1892
1892
  def initialize(**args)
@@ -1910,7 +1910,7 @@ module Google
1910
1910
  # the extract configuration. These values will be in the same order as the URIs
1911
1911
  # specified in the 'destinationUris' field.
1912
1912
  # Corresponds to the JSON property `destinationUriFileCounts`
1913
- # @return [Array<String>]
1913
+ # @return [Array<Fixnum>]
1914
1914
  attr_accessor :destination_uri_file_counts
1915
1915
 
1916
1916
  def initialize(**args)
@@ -2019,7 +2019,7 @@ module Google
2019
2019
 
2020
2020
  # The numeric ID of this project.
2021
2021
  # Corresponds to the JSON property `numericId`
2022
- # @return [String]
2022
+ # @return [Fixnum]
2023
2023
  attr_accessor :numeric_id
2024
2024
 
2025
2025
  # A unique reference to this project.
@@ -2335,7 +2335,7 @@ module Google
2335
2335
  # [Output-only] The number of rows affected by a DML statement. Present only for
2336
2336
  # DML statements INSERT, UPDATE or DELETE.
2337
2337
  # Corresponds to the JSON property `numDmlAffectedRows`
2338
- # @return [String]
2338
+ # @return [Fixnum]
2339
2339
  attr_accessor :num_dml_affected_rows
2340
2340
 
2341
2341
  # A token used for paging results.
@@ -2358,13 +2358,13 @@ module Google
2358
2358
  # The total number of bytes processed for this query. If this query was a dry
2359
2359
  # run, this is the number of bytes that would be processed if the query were run.
2360
2360
  # Corresponds to the JSON property `totalBytesProcessed`
2361
- # @return [String]
2361
+ # @return [Fixnum]
2362
2362
  attr_accessor :total_bytes_processed
2363
2363
 
2364
2364
  # The total number of rows in the complete query result set, which can be more
2365
2365
  # than the number of rows in this single page of results.
2366
2366
  # Corresponds to the JSON property `totalRows`
2367
- # @return [String]
2367
+ # @return [Fixnum]
2368
2368
  attr_accessor :total_rows
2369
2369
 
2370
2370
  def initialize(**args)
@@ -2394,19 +2394,19 @@ module Google
2394
2394
  # [Output-only] A lower-bound estimate of the number of bytes currently in the
2395
2395
  # streaming buffer.
2396
2396
  # Corresponds to the JSON property `estimatedBytes`
2397
- # @return [String]
2397
+ # @return [Fixnum]
2398
2398
  attr_accessor :estimated_bytes
2399
2399
 
2400
2400
  # [Output-only] A lower-bound estimate of the number of rows currently in the
2401
2401
  # streaming buffer.
2402
2402
  # Corresponds to the JSON property `estimatedRows`
2403
- # @return [String]
2403
+ # @return [Fixnum]
2404
2404
  attr_accessor :estimated_rows
2405
2405
 
2406
2406
  # [Output-only] Contains the timestamp of the oldest entry in the streaming
2407
2407
  # buffer, in milliseconds since the epoch, if the streaming buffer is available.
2408
2408
  # Corresponds to the JSON property `oldestEntryTime`
2409
- # @return [String]
2409
+ # @return [Fixnum]
2410
2410
  attr_accessor :oldest_entry_time
2411
2411
 
2412
2412
  def initialize(**args)
@@ -2428,7 +2428,7 @@ module Google
2428
2428
  # [Output-only] The time when this table was created, in milliseconds since the
2429
2429
  # epoch.
2430
2430
  # Corresponds to the JSON property `creationTime`
2431
- # @return [String]
2431
+ # @return [Fixnum]
2432
2432
  attr_accessor :creation_time
2433
2433
 
2434
2434
  # [Optional] A user-friendly description of this table.
@@ -2445,7 +2445,7 @@ module Google
2445
2445
  # If not present, the table will persist indefinitely. Expired tables will be
2446
2446
  # deleted and their storage reclaimed.
2447
2447
  # Corresponds to the JSON property `expirationTime`
2448
- # @return [String]
2448
+ # @return [Fixnum]
2449
2449
  attr_accessor :expiration_time
2450
2450
 
2451
2451
  # [Optional] Describes the data format, location, and other properties of a
@@ -2483,7 +2483,7 @@ module Google
2483
2483
  # [Output-only] The time when this table was last modified, in milliseconds
2484
2484
  # since the epoch.
2485
2485
  # Corresponds to the JSON property `lastModifiedTime`
2486
- # @return [String]
2486
+ # @return [Fixnum]
2487
2487
  attr_accessor :last_modified_time
2488
2488
 
2489
2489
  # [Output-only] The geographic location where the table resides. This value is
@@ -2495,19 +2495,19 @@ module Google
2495
2495
  # [Output-only] The size of this table in bytes, excluding any data in the
2496
2496
  # streaming buffer.
2497
2497
  # Corresponds to the JSON property `numBytes`
2498
- # @return [String]
2498
+ # @return [Fixnum]
2499
2499
  attr_accessor :num_bytes
2500
2500
 
2501
2501
  # [Output-only] The number of bytes in the table that are considered "long-term
2502
2502
  # storage".
2503
2503
  # Corresponds to the JSON property `numLongTermBytes`
2504
- # @return [String]
2504
+ # @return [Fixnum]
2505
2505
  attr_accessor :num_long_term_bytes
2506
2506
 
2507
2507
  # [Output-only] The number of rows of data in this table, excluding any data in
2508
2508
  # the streaming buffer.
2509
2509
  # Corresponds to the JSON property `numRows`
2510
- # @return [String]
2510
+ # @return [Fixnum]
2511
2511
  attr_accessor :num_rows
2512
2512
 
2513
2513
  # [Optional] Describes the schema of this table.
@@ -2757,7 +2757,7 @@ module Google
2757
2757
 
2758
2758
  # The total number of rows in the complete table.
2759
2759
  # Corresponds to the JSON property `totalRows`
2760
- # @return [String]
2760
+ # @return [Fixnum]
2761
2761
  attr_accessor :total_rows
2762
2762
 
2763
2763
  def initialize(**args)
@@ -3020,7 +3020,7 @@ module Google
3020
3020
  # [Optional] Number of milliseconds for which to keep the storage for a
3021
3021
  # partition.
3022
3022
  # Corresponds to the JSON property `expirationMs`
3023
- # @return [String]
3023
+ # @return [Fixnum]
3024
3024
  attr_accessor :expiration_ms
3025
3025
 
3026
3026
  # [Required] The only type supported is DAY, which will generate one partition