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
@@ -22,199 +22,199 @@ module Google
22
22
  module Apis
23
23
  module FirebaserulesV1
24
24
 
25
- class FunctionCall
25
+ class Source
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class File
31
+ class SourcePosition
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class ListReleasesResponse
37
+ class TestRulesetRequest
38
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
39
 
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class Release
43
+ class Issue
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class TestRulesetResponse
49
+ class Ruleset
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
 
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class TestResult
55
+ class ListReleasesResponse
56
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
57
 
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class ListRulesetsResponse
61
+ class File
62
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
63
 
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
- class Empty
67
+ class FunctionCall
68
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
69
 
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class Source
73
+ class Release
74
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
75
 
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
- class SourcePosition
79
+ class TestRulesetResponse
80
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
81
 
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
- class Issue
85
+ class ListRulesetsResponse
86
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
87
 
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class TestRulesetRequest
91
+ class TestResult
92
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
93
 
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
- class Ruleset
97
+ class Empty
98
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
99
 
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class FunctionCall
103
+ class Source
104
104
  # @private
105
105
  class Representation < Google::Apis::Core::JsonRepresentation
106
- property :function, as: 'function'
107
- collection :args, as: 'args'
106
+ collection :files, as: 'files', class: Google::Apis::FirebaserulesV1::File, decorator: Google::Apis::FirebaserulesV1::File::Representation
107
+
108
108
  end
109
109
  end
110
110
 
111
- class File
111
+ class SourcePosition
112
112
  # @private
113
113
  class Representation < Google::Apis::Core::JsonRepresentation
114
- property :fingerprint, :base64 => true, as: 'fingerprint'
115
- property :name, as: 'name'
116
- property :content, as: 'content'
114
+ property :column, as: 'column'
115
+ property :file_name, as: 'fileName'
116
+ property :line, as: 'line'
117
117
  end
118
118
  end
119
119
 
120
- class ListReleasesResponse
120
+ class TestRulesetRequest
121
121
  # @private
122
122
  class Representation < Google::Apis::Core::JsonRepresentation
123
- collection :releases, as: 'releases', class: Google::Apis::FirebaserulesV1::Release, decorator: Google::Apis::FirebaserulesV1::Release::Representation
123
+ property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation
124
124
 
125
- property :next_page_token, as: 'nextPageToken'
126
125
  end
127
126
  end
128
127
 
129
- class Release
128
+ class Issue
130
129
  # @private
131
130
  class Representation < Google::Apis::Core::JsonRepresentation
132
- property :update_time, as: 'updateTime'
133
- property :name, as: 'name'
134
- property :ruleset_name, as: 'rulesetName'
135
- property :create_time, as: 'createTime'
131
+ property :source_position, as: 'sourcePosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation
132
+
133
+ property :severity, as: 'severity'
134
+ property :description, as: 'description'
136
135
  end
137
136
  end
138
137
 
139
- class TestRulesetResponse
138
+ class Ruleset
140
139
  # @private
141
140
  class Representation < Google::Apis::Core::JsonRepresentation
142
- collection :issues, as: 'issues', class: Google::Apis::FirebaserulesV1::Issue, decorator: Google::Apis::FirebaserulesV1::Issue::Representation
143
-
144
- collection :test_results, as: 'testResults', class: Google::Apis::FirebaserulesV1::TestResult, decorator: Google::Apis::FirebaserulesV1::TestResult::Representation
141
+ property :name, as: 'name'
142
+ property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation
145
143
 
144
+ property :create_time, as: 'createTime'
146
145
  end
147
146
  end
148
147
 
149
- class TestResult
148
+ class ListReleasesResponse
150
149
  # @private
151
150
  class Representation < Google::Apis::Core::JsonRepresentation
152
- collection :function_calls, as: 'functionCalls', class: Google::Apis::FirebaserulesV1::FunctionCall, decorator: Google::Apis::FirebaserulesV1::FunctionCall::Representation
153
-
154
- property :state, as: 'state'
155
- collection :debug_messages, as: 'debugMessages'
156
- property :error_position, as: 'errorPosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation
151
+ collection :releases, as: 'releases', class: Google::Apis::FirebaserulesV1::Release, decorator: Google::Apis::FirebaserulesV1::Release::Representation
157
152
 
153
+ property :next_page_token, as: 'nextPageToken'
158
154
  end
159
155
  end
160
156
 
161
- class ListRulesetsResponse
157
+ class File
162
158
  # @private
163
159
  class Representation < Google::Apis::Core::JsonRepresentation
164
- collection :rulesets, as: 'rulesets', class: Google::Apis::FirebaserulesV1::Ruleset, decorator: Google::Apis::FirebaserulesV1::Ruleset::Representation
165
-
166
- property :next_page_token, as: 'nextPageToken'
160
+ property :fingerprint, :base64 => true, as: 'fingerprint'
161
+ property :name, as: 'name'
162
+ property :content, as: 'content'
167
163
  end
168
164
  end
169
165
 
170
- class Empty
166
+ class FunctionCall
171
167
  # @private
172
168
  class Representation < Google::Apis::Core::JsonRepresentation
169
+ property :function, as: 'function'
170
+ collection :args, as: 'args'
173
171
  end
174
172
  end
175
173
 
176
- class Source
174
+ class Release
177
175
  # @private
178
176
  class Representation < Google::Apis::Core::JsonRepresentation
179
- collection :files, as: 'files', class: Google::Apis::FirebaserulesV1::File, decorator: Google::Apis::FirebaserulesV1::File::Representation
180
-
177
+ property :create_time, as: 'createTime'
178
+ property :update_time, as: 'updateTime'
179
+ property :name, as: 'name'
180
+ property :ruleset_name, as: 'rulesetName'
181
181
  end
182
182
  end
183
183
 
184
- class SourcePosition
184
+ class TestRulesetResponse
185
185
  # @private
186
186
  class Representation < Google::Apis::Core::JsonRepresentation
187
- property :column, as: 'column'
188
- property :file_name, as: 'fileName'
189
- property :line, as: 'line'
187
+ collection :test_results, as: 'testResults', class: Google::Apis::FirebaserulesV1::TestResult, decorator: Google::Apis::FirebaserulesV1::TestResult::Representation
188
+
189
+ collection :issues, as: 'issues', class: Google::Apis::FirebaserulesV1::Issue, decorator: Google::Apis::FirebaserulesV1::Issue::Representation
190
+
190
191
  end
191
192
  end
192
193
 
193
- class Issue
194
+ class ListRulesetsResponse
194
195
  # @private
195
196
  class Representation < Google::Apis::Core::JsonRepresentation
196
- property :source_position, as: 'sourcePosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation
197
+ property :next_page_token, as: 'nextPageToken'
198
+ collection :rulesets, as: 'rulesets', class: Google::Apis::FirebaserulesV1::Ruleset, decorator: Google::Apis::FirebaserulesV1::Ruleset::Representation
197
199
 
198
- property :severity, as: 'severity'
199
- property :description, as: 'description'
200
200
  end
201
201
  end
202
202
 
203
- class TestRulesetRequest
203
+ class TestResult
204
204
  # @private
205
205
  class Representation < Google::Apis::Core::JsonRepresentation
206
- property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation
206
+ collection :function_calls, as: 'functionCalls', class: Google::Apis::FirebaserulesV1::FunctionCall, decorator: Google::Apis::FirebaserulesV1::FunctionCall::Representation
207
+
208
+ property :state, as: 'state'
209
+ collection :debug_messages, as: 'debugMessages'
210
+ property :error_position, as: 'errorPosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation
207
211
 
208
212
  end
209
213
  end
210
214
 
211
- class Ruleset
215
+ class Empty
212
216
  # @private
213
217
  class Representation < Google::Apis::Core::JsonRepresentation
214
- property :name, as: 'name'
215
- property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation
216
-
217
- property :create_time, as: 'createTime'
218
218
  end
219
219
  end
220
220
  end
@@ -45,6 +45,7 @@ module Google
45
45
 
46
46
  def initialize
47
47
  super('https://firebaserules.googleapis.com/', '')
48
+ @batch_path = 'batch'
48
49
  end
49
50
 
50
51
  # Test `Source` for syntactic and semantic correctness. Issues present, if
@@ -38,7 +38,7 @@ module Google
38
38
 
39
39
  # The end time for the aggregated data, in milliseconds since epoch, inclusive.
40
40
  # Corresponds to the JSON property `endTimeMillis`
41
- # @return [String]
41
+ # @return [Fixnum]
42
42
  attr_accessor :end_time_millis
43
43
 
44
44
  # Sessions contain metadata, such as a user-friendly name and time interval
@@ -49,7 +49,7 @@ module Google
49
49
 
50
50
  # The start time for the aggregated data, in milliseconds since epoch, inclusive.
51
51
  # Corresponds to the JSON property `startTimeMillis`
52
- # @return [String]
52
+ # @return [Fixnum]
53
53
  attr_accessor :start_time_millis
54
54
 
55
55
  # The type of a bucket signifies how the data aggregation is performed in the
@@ -148,7 +148,7 @@ module Google
148
148
  # The end of a window of time. Data that intersects with this time window will
149
149
  # be aggregated. The time is in milliseconds since epoch, inclusive.
150
150
  # Corresponds to the JSON property `endTimeMillis`
151
- # @return [String]
151
+ # @return [Fixnum]
152
152
  attr_accessor :end_time_millis
153
153
 
154
154
  # A list of acceptable data quality standards. Only data points which conform to
@@ -161,7 +161,7 @@ module Google
161
161
  # The start of a window of time. Data that intersects with this time window will
162
162
  # be aggregated. The time is in milliseconds since epoch, inclusive.
163
163
  # Corresponds to the JSON property `startTimeMillis`
164
- # @return [String]
164
+ # @return [Fixnum]
165
165
  attr_accessor :start_time_millis
166
166
 
167
167
  def initialize(**args)
@@ -257,7 +257,7 @@ module Google
257
257
  # Specifies that only activity segments of duration longer than
258
258
  # minDurationMillis are considered and used as a container for aggregated data.
259
259
  # Corresponds to the JSON property `minDurationMillis`
260
- # @return [String]
260
+ # @return [Fixnum]
261
261
  attr_accessor :min_duration_millis
262
262
 
263
263
  def initialize(**args)
@@ -278,7 +278,7 @@ module Google
278
278
  # Specifies that only sessions of duration longer than minDurationMillis are
279
279
  # considered and used as a container for aggregated data.
280
280
  # Corresponds to the JSON property `minDurationMillis`
281
- # @return [String]
281
+ # @return [Fixnum]
282
282
  attr_accessor :min_duration_millis
283
283
 
284
284
  def initialize(**args)
@@ -299,7 +299,7 @@ module Google
299
299
  # frames. Time frames that contain no data will be included in the response with
300
300
  # an empty dataset.
301
301
  # Corresponds to the JSON property `durationMillis`
302
- # @return [String]
302
+ # @return [Fixnum]
303
303
  attr_accessor :duration_millis
304
304
 
305
305
  #
@@ -364,7 +364,7 @@ module Google
364
364
  # Used for version checking during transformation; that is, a datapoint can only
365
365
  # replace another datapoint that has an older computation time stamp.
366
366
  # Corresponds to the JSON property `computationTimeMillis`
367
- # @return [String]
367
+ # @return [Fixnum]
368
368
  attr_accessor :computation_time_millis
369
369
 
370
370
  # The data type defining the format of the values in this data point.
@@ -375,14 +375,14 @@ module Google
375
375
  # The end time of the interval represented by this data point, in nanoseconds
376
376
  # since epoch.
377
377
  # Corresponds to the JSON property `endTimeNanos`
378
- # @return [String]
378
+ # @return [Fixnum]
379
379
  attr_accessor :end_time_nanos
380
380
 
381
381
  # Indicates the last time this data point was modified. Useful only in contexts
382
382
  # where we are listing the data changes, rather than representing the current
383
383
  # state of the data.
384
384
  # Corresponds to the JSON property `modifiedTimeMillis`
385
- # @return [String]
385
+ # @return [Fixnum]
386
386
  attr_accessor :modified_time_millis
387
387
 
388
388
  # If the data point is contained in a dataset for a derived data source, this
@@ -394,13 +394,13 @@ module Google
394
394
 
395
395
  # The raw timestamp from the original SensorEvent.
396
396
  # Corresponds to the JSON property `rawTimestampNanos`
397
- # @return [String]
397
+ # @return [Fixnum]
398
398
  attr_accessor :raw_timestamp_nanos
399
399
 
400
400
  # The start time of the interval represented by this data point, in nanoseconds
401
401
  # since epoch.
402
402
  # Corresponds to the JSON property `startTimeNanos`
403
- # @return [String]
403
+ # @return [Fixnum]
404
404
  attr_accessor :start_time_nanos
405
405
 
406
406
  # Values of each data type field for the data point. It is expected that each
@@ -620,14 +620,14 @@ module Google
620
620
  # representation of the dataset. Time is in nanoseconds from epoch. This should
621
621
  # also match the first part of the dataset identifier.
622
622
  # Corresponds to the JSON property `maxEndTimeNs`
623
- # @return [String]
623
+ # @return [Fixnum]
624
624
  attr_accessor :max_end_time_ns
625
625
 
626
626
  # The smallest start time of all data points in this possibly partial
627
627
  # representation of the dataset. Time is in nanoseconds from epoch. This should
628
628
  # also match the first part of the dataset identifier.
629
629
  # Corresponds to the JSON property `minStartTimeNs`
630
- # @return [String]
630
+ # @return [Fixnum]
631
631
  attr_accessor :min_start_time_ns
632
632
 
633
633
  # This token will be set when a dataset is received in response to a GET request
@@ -807,7 +807,7 @@ module Google
807
807
  # should also be inserted via a com.google.activity.segment data point with a
808
808
  # STILL activity value
809
809
  # Corresponds to the JSON property `activeTimeMillis`
810
- # @return [String]
810
+ # @return [Fixnum]
811
811
  attr_accessor :active_time_millis
812
812
 
813
813
  # The type of activity this session represents.
@@ -827,7 +827,7 @@ module Google
827
827
 
828
828
  # An end time, in milliseconds since epoch, inclusive.
829
829
  # Corresponds to the JSON property `endTimeMillis`
830
- # @return [String]
830
+ # @return [Fixnum]
831
831
  attr_accessor :end_time_millis
832
832
 
833
833
  # A client-generated identifier that is unique across all sessions owned by this
@@ -838,7 +838,7 @@ module Google
838
838
 
839
839
  # A timestamp that indicates when the session was last modified.
840
840
  # Corresponds to the JSON property `modifiedTimeMillis`
841
- # @return [String]
841
+ # @return [Fixnum]
842
842
  attr_accessor :modified_time_millis
843
843
 
844
844
  # A human readable name of the session.
@@ -848,7 +848,7 @@ module Google
848
848
 
849
849
  # A start time, in milliseconds since epoch, inclusive.
850
850
  # Corresponds to the JSON property `startTimeMillis`
851
- # @return [String]
851
+ # @return [Fixnum]
852
852
  attr_accessor :start_time_millis
853
853
 
854
854
  def initialize(**args)
@@ -154,10 +154,10 @@ module Google
154
154
  property :activity, as: 'activity'
155
155
  collection :dataset, as: 'dataset', class: Google::Apis::FitnessV1::Dataset, decorator: Google::Apis::FitnessV1::Dataset::Representation
156
156
 
157
- property :end_time_millis, as: 'endTimeMillis'
157
+ property :end_time_millis, :numeric_string => true, as: 'endTimeMillis'
158
158
  property :session, as: 'session', class: Google::Apis::FitnessV1::Session, decorator: Google::Apis::FitnessV1::Session::Representation
159
159
 
160
- property :start_time_millis, as: 'startTimeMillis'
160
+ property :start_time_millis, :numeric_string => true, as: 'startTimeMillis'
161
161
  property :type, as: 'type'
162
162
  end
163
163
  end
@@ -183,9 +183,9 @@ module Google
183
183
 
184
184
  property :bucket_by_time, as: 'bucketByTime', class: Google::Apis::FitnessV1::BucketByTime, decorator: Google::Apis::FitnessV1::BucketByTime::Representation
185
185
 
186
- property :end_time_millis, as: 'endTimeMillis'
186
+ property :end_time_millis, :numeric_string => true, as: 'endTimeMillis'
187
187
  collection :filtered_data_quality_standard, as: 'filteredDataQualityStandard'
188
- property :start_time_millis, as: 'startTimeMillis'
188
+ property :start_time_millis, :numeric_string => true, as: 'startTimeMillis'
189
189
  end
190
190
  end
191
191
 
@@ -211,21 +211,21 @@ module Google
211
211
  # @private
212
212
  class Representation < Google::Apis::Core::JsonRepresentation
213
213
  property :activity_data_source_id, as: 'activityDataSourceId'
214
- property :min_duration_millis, as: 'minDurationMillis'
214
+ property :min_duration_millis, :numeric_string => true, as: 'minDurationMillis'
215
215
  end
216
216
  end
217
217
 
218
218
  class BucketBySession
219
219
  # @private
220
220
  class Representation < Google::Apis::Core::JsonRepresentation
221
- property :min_duration_millis, as: 'minDurationMillis'
221
+ property :min_duration_millis, :numeric_string => true, as: 'minDurationMillis'
222
222
  end
223
223
  end
224
224
 
225
225
  class BucketByTime
226
226
  # @private
227
227
  class Representation < Google::Apis::Core::JsonRepresentation
228
- property :duration_millis, as: 'durationMillis'
228
+ property :duration_millis, :numeric_string => true, as: 'durationMillis'
229
229
  property :period, as: 'period', class: Google::Apis::FitnessV1::BucketByTimePeriod, decorator: Google::Apis::FitnessV1::BucketByTimePeriod::Representation
230
230
 
231
231
  end
@@ -243,13 +243,13 @@ module Google
243
243
  class DataPoint
244
244
  # @private
245
245
  class Representation < Google::Apis::Core::JsonRepresentation
246
- property :computation_time_millis, as: 'computationTimeMillis'
246
+ property :computation_time_millis, :numeric_string => true, as: 'computationTimeMillis'
247
247
  property :data_type_name, as: 'dataTypeName'
248
- property :end_time_nanos, as: 'endTimeNanos'
249
- property :modified_time_millis, as: 'modifiedTimeMillis'
248
+ property :end_time_nanos, :numeric_string => true, as: 'endTimeNanos'
249
+ property :modified_time_millis, :numeric_string => true, as: 'modifiedTimeMillis'
250
250
  property :origin_data_source_id, as: 'originDataSourceId'
251
- property :raw_timestamp_nanos, as: 'rawTimestampNanos'
252
- property :start_time_nanos, as: 'startTimeNanos'
251
+ property :raw_timestamp_nanos, :numeric_string => true, as: 'rawTimestampNanos'
252
+ property :start_time_nanos, :numeric_string => true, as: 'startTimeNanos'
253
253
  collection :value, as: 'value', class: Google::Apis::FitnessV1::Value, decorator: Google::Apis::FitnessV1::Value::Representation
254
254
 
255
255
  end
@@ -294,8 +294,8 @@ module Google
294
294
  # @private
295
295
  class Representation < Google::Apis::Core::JsonRepresentation
296
296
  property :data_source_id, as: 'dataSourceId'
297
- property :max_end_time_ns, as: 'maxEndTimeNs'
298
- property :min_start_time_ns, as: 'minStartTimeNs'
297
+ property :max_end_time_ns, :numeric_string => true, as: 'maxEndTimeNs'
298
+ property :min_start_time_ns, :numeric_string => true, as: 'minStartTimeNs'
299
299
  property :next_page_token, as: 'nextPageToken'
300
300
  collection :point, as: 'point', class: Google::Apis::FitnessV1::DataPoint, decorator: Google::Apis::FitnessV1::DataPoint::Representation
301
301
 
@@ -343,16 +343,16 @@ module Google
343
343
  class Session
344
344
  # @private
345
345
  class Representation < Google::Apis::Core::JsonRepresentation
346
- property :active_time_millis, as: 'activeTimeMillis'
346
+ property :active_time_millis, :numeric_string => true, as: 'activeTimeMillis'
347
347
  property :activity_type, as: 'activityType'
348
348
  property :application, as: 'application', class: Google::Apis::FitnessV1::Application, decorator: Google::Apis::FitnessV1::Application::Representation
349
349
 
350
350
  property :description, as: 'description'
351
- property :end_time_millis, as: 'endTimeMillis'
351
+ property :end_time_millis, :numeric_string => true, as: 'endTimeMillis'
352
352
  property :id, as: 'id'
353
- property :modified_time_millis, as: 'modifiedTimeMillis'
353
+ property :modified_time_millis, :numeric_string => true, as: 'modifiedTimeMillis'
354
354
  property :name, as: 'name'
355
- property :start_time_millis, as: 'startTimeMillis'
355
+ property :start_time_millis, :numeric_string => true, as: 'startTimeMillis'
356
356
  end
357
357
  end
358
358