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
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/error-reporting/
28
28
  module ClouderrorreportingV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20170314'
30
+ REVISION = '20170328'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,11 +22,171 @@ module Google
22
22
  module Apis
23
23
  module ClouderrorreportingV1beta1
24
24
 
25
+ # An error event which is reported to the Error Reporting system.
26
+ class ReportedErrorEvent
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # A description of the context in which an error occurred.
30
+ # This data should be provided by the application when reporting an error,
31
+ # unless the
32
+ # error report has been generated automatically from Google App Engine logs.
33
+ # Corresponds to the JSON property `context`
34
+ # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorContext]
35
+ attr_accessor :context
36
+
37
+ # [Required] The error message.
38
+ # If no `context.reportLocation` is provided, the message must contain a
39
+ # header (typically consisting of the exception type name and an error
40
+ # message) and an exception stack trace in one of the supported programming
41
+ # languages and formats.
42
+ # Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.
43
+ # Supported stack trace formats are:
44
+ # * **Java**: Must be the return value of [`Throwable.printStackTrace()`](https:/
45
+ # /docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%
46
+ # 29).
47
+ # * **Python**: Must be the return value of [`traceback.format_exc()`](https://
48
+ # docs.python.org/2/library/traceback.html#traceback.format_exc).
49
+ # * **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/
50
+ # v8/wiki/Stack-Trace-API)
51
+ # as returned by V8.
52
+ # * **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://
53
+ # ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).
54
+ # * **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.
55
+ # microsoft.com/en-us/library/system.exception.tostring.aspx).
56
+ # * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`
57
+ # and contain the result of [`(string)$exception`](http://php.net/manual/en/
58
+ # exception.tostring.php).
59
+ # * **Go**: Must be the return value of [`runtime.Stack()`](https://golang.org/
60
+ # pkg/runtime/debug/#Stack).
61
+ # Corresponds to the JSON property `message`
62
+ # @return [String]
63
+ attr_accessor :message
64
+
65
+ # Describes a running service that sends errors.
66
+ # Its version changes over time and multiple versions can run in parallel.
67
+ # Corresponds to the JSON property `serviceContext`
68
+ # @return [Google::Apis::ClouderrorreportingV1beta1::ServiceContext]
69
+ attr_accessor :service_context
70
+
71
+ # [Optional] Time when the event occurred.
72
+ # If not provided, the time when the event was received by the
73
+ # Error Reporting system will be used.
74
+ # Corresponds to the JSON property `eventTime`
75
+ # @return [String]
76
+ attr_accessor :event_time
77
+
78
+ def initialize(**args)
79
+ update!(**args)
80
+ end
81
+
82
+ # Update properties of this object
83
+ def update!(**args)
84
+ @context = args[:context] if args.key?(:context)
85
+ @message = args[:message] if args.key?(:message)
86
+ @service_context = args[:service_context] if args.key?(:service_context)
87
+ @event_time = args[:event_time] if args.key?(:event_time)
88
+ end
89
+ end
90
+
91
+ # A description of the context in which an error occurred.
92
+ # This data should be provided by the application when reporting an error,
93
+ # unless the
94
+ # error report has been generated automatically from Google App Engine logs.
95
+ class ErrorContext
96
+ include Google::Apis::Core::Hashable
97
+
98
+ # Indicates a location in the source code of the service for which errors are
99
+ # reported. `functionName` must be provided by the application when reporting
100
+ # an error, unless the error report contains a `message` with a supported
101
+ # exception stack trace. All fields are optional for the later case.
102
+ # Corresponds to the JSON property `reportLocation`
103
+ # @return [Google::Apis::ClouderrorreportingV1beta1::SourceLocation]
104
+ attr_accessor :report_location
105
+
106
+ # HTTP request data that is related to a reported error.
107
+ # This data should be provided by the application when reporting an error,
108
+ # unless the
109
+ # error report has been generated automatically from Google App Engine logs.
110
+ # Corresponds to the JSON property `httpRequest`
111
+ # @return [Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext]
112
+ attr_accessor :http_request
113
+
114
+ # The user who caused or was affected by the crash.
115
+ # This can be a user ID, an email address, or an arbitrary token that
116
+ # uniquely identifies the user.
117
+ # When sending an error report, leave this field empty if the user was not
118
+ # logged in. In this case the
119
+ # Error Reporting system will use other data, such as remote IP address, to
120
+ # distinguish affected users. See `affected_users_count` in
121
+ # `ErrorGroupStats`.
122
+ # Corresponds to the JSON property `user`
123
+ # @return [String]
124
+ attr_accessor :user
125
+
126
+ def initialize(**args)
127
+ update!(**args)
128
+ end
129
+
130
+ # Update properties of this object
131
+ def update!(**args)
132
+ @report_location = args[:report_location] if args.key?(:report_location)
133
+ @http_request = args[:http_request] if args.key?(:http_request)
134
+ @user = args[:user] if args.key?(:user)
135
+ end
136
+ end
137
+
138
+ # Information related to tracking the progress on resolving the error.
139
+ class TrackingIssue
140
+ include Google::Apis::Core::Hashable
141
+
142
+ # A URL pointing to a related entry in an issue tracking system.
143
+ # Example: https://github.com/user/project/issues/4
144
+ # Corresponds to the JSON property `url`
145
+ # @return [String]
146
+ attr_accessor :url
147
+
148
+ def initialize(**args)
149
+ update!(**args)
150
+ end
151
+
152
+ # Update properties of this object
153
+ def update!(**args)
154
+ @url = args[:url] if args.key?(:url)
155
+ end
156
+ end
157
+
25
158
  # Data extracted for a specific group based on certain filter criteria,
26
159
  # such as a given time period and/or service filter.
27
160
  class ErrorGroupStats
28
161
  include Google::Apis::Core::Hashable
29
162
 
163
+ # Service contexts with a non-zero error count for the given filter
164
+ # criteria. This list can be truncated if multiple services are affected.
165
+ # Refer to `num_affected_services` for the total count.
166
+ # Corresponds to the JSON property `affectedServices`
167
+ # @return [Array<Google::Apis::ClouderrorreportingV1beta1::ServiceContext>]
168
+ attr_accessor :affected_services
169
+
170
+ # The total number of services with a non-zero error count for the given
171
+ # filter criteria.
172
+ # Corresponds to the JSON property `numAffectedServices`
173
+ # @return [Fixnum]
174
+ attr_accessor :num_affected_services
175
+
176
+ # An error event which is returned by the Error Reporting system.
177
+ # Corresponds to the JSON property `representative`
178
+ # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorEvent]
179
+ attr_accessor :representative
180
+
181
+ # Approximate number of occurrences over time.
182
+ # Timed counts returned by ListGroups are guaranteed to be:
183
+ # - Inside the requested time interval
184
+ # - Non-overlapping, and
185
+ # - Ordered by ascending time.
186
+ # Corresponds to the JSON property `timedCounts`
187
+ # @return [Array<Google::Apis::ClouderrorreportingV1beta1::TimedCount>]
188
+ attr_accessor :timed_counts
189
+
30
190
  # Description of a group of similar error events.
31
191
  # Corresponds to the JSON property `group`
32
192
  # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup]
@@ -42,7 +202,7 @@ module Google
42
202
  # Approximate total number of events in the given group that match
43
203
  # the filter criteria.
44
204
  # Corresponds to the JSON property `count`
45
- # @return [String]
205
+ # @return [Fixnum]
46
206
  attr_accessor :count
47
207
 
48
208
  # Approximate number of affected users in the given group that
@@ -58,7 +218,7 @@ module Google
58
218
  # implicitly affected, such as due to a crash of the whole service,
59
219
  # this is not reflected here.
60
220
  # Corresponds to the JSON property `affectedUsersCount`
61
- # @return [String]
221
+ # @return [Fixnum]
62
222
  attr_accessor :affected_users_count
63
223
 
64
224
  # Approximate last occurrence that was ever seen for this group and
@@ -68,48 +228,21 @@ module Google
68
228
  # @return [String]
69
229
  attr_accessor :last_seen_time
70
230
 
71
- # The total number of services with a non-zero error count for the given
72
- # filter criteria.
73
- # Corresponds to the JSON property `numAffectedServices`
74
- # @return [Fixnum]
75
- attr_accessor :num_affected_services
76
-
77
- # Service contexts with a non-zero error count for the given filter
78
- # criteria. This list can be truncated if multiple services are affected.
79
- # Refer to `num_affected_services` for the total count.
80
- # Corresponds to the JSON property `affectedServices`
81
- # @return [Array<Google::Apis::ClouderrorreportingV1beta1::ServiceContext>]
82
- attr_accessor :affected_services
83
-
84
- # An error event which is returned by the Error Reporting system.
85
- # Corresponds to the JSON property `representative`
86
- # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorEvent]
87
- attr_accessor :representative
88
-
89
- # Approximate number of occurrences over time.
90
- # Timed counts returned by ListGroups are guaranteed to be:
91
- # - Inside the requested time interval
92
- # - Non-overlapping, and
93
- # - Ordered by ascending time.
94
- # Corresponds to the JSON property `timedCounts`
95
- # @return [Array<Google::Apis::ClouderrorreportingV1beta1::TimedCount>]
96
- attr_accessor :timed_counts
97
-
98
231
  def initialize(**args)
99
232
  update!(**args)
100
233
  end
101
234
 
102
235
  # Update properties of this object
103
236
  def update!(**args)
237
+ @affected_services = args[:affected_services] if args.key?(:affected_services)
238
+ @num_affected_services = args[:num_affected_services] if args.key?(:num_affected_services)
239
+ @representative = args[:representative] if args.key?(:representative)
240
+ @timed_counts = args[:timed_counts] if args.key?(:timed_counts)
104
241
  @group = args[:group] if args.key?(:group)
105
242
  @first_seen_time = args[:first_seen_time] if args.key?(:first_seen_time)
106
243
  @count = args[:count] if args.key?(:count)
107
244
  @affected_users_count = args[:affected_users_count] if args.key?(:affected_users_count)
108
245
  @last_seen_time = args[:last_seen_time] if args.key?(:last_seen_time)
109
- @num_affected_services = args[:num_affected_services] if args.key?(:num_affected_services)
110
- @affected_services = args[:affected_services] if args.key?(:affected_services)
111
- @representative = args[:representative] if args.key?(:representative)
112
- @timed_counts = args[:timed_counts] if args.key?(:timed_counts)
113
246
  end
114
247
  end
115
248
 
@@ -117,11 +250,6 @@ module Google
117
250
  class ListEventsResponse
118
251
  include Google::Apis::Core::Hashable
119
252
 
120
- # The timestamp specifies the start time to which the request was restricted.
121
- # Corresponds to the JSON property `timeRangeBegin`
122
- # @return [String]
123
- attr_accessor :time_range_begin
124
-
125
253
  # The error events which match the given request.
126
254
  # Corresponds to the JSON property `errorEvents`
127
255
  # @return [Array<Google::Apis::ClouderrorreportingV1beta1::ErrorEvent>]
@@ -134,15 +262,20 @@ module Google
134
262
  # @return [String]
135
263
  attr_accessor :next_page_token
136
264
 
265
+ # The timestamp specifies the start time to which the request was restricted.
266
+ # Corresponds to the JSON property `timeRangeBegin`
267
+ # @return [String]
268
+ attr_accessor :time_range_begin
269
+
137
270
  def initialize(**args)
138
271
  update!(**args)
139
272
  end
140
273
 
141
274
  # Update properties of this object
142
275
  def update!(**args)
143
- @time_range_begin = args[:time_range_begin] if args.key?(:time_range_begin)
144
276
  @error_events = args[:error_events] if args.key?(:error_events)
145
277
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
278
+ @time_range_begin = args[:time_range_begin] if args.key?(:time_range_begin)
146
279
  end
147
280
  end
148
281
 
@@ -159,7 +292,7 @@ module Google
159
292
 
160
293
  # Approximate number of occurrences in the given time period.
161
294
  # Corresponds to the JSON property `count`
162
- # @return [String]
295
+ # @return [Fixnum]
163
296
  attr_accessor :count
164
297
 
165
298
  # Start of the time period to which `count` refers (included).
@@ -183,12 +316,6 @@ module Google
183
316
  class ErrorGroup
184
317
  include Google::Apis::Core::Hashable
185
318
 
186
- # The group resource name.
187
- # Example: <code>projects/my-project-123/groups/my-groupid</code>
188
- # Corresponds to the JSON property `name`
189
- # @return [String]
190
- attr_accessor :name
191
-
192
319
  # Group IDs are unique for a given project. If the same kind of error
193
320
  # occurs in different service contexts, it will receive the same group ID.
194
321
  # Corresponds to the JSON property `groupId`
@@ -200,15 +327,21 @@ module Google
200
327
  # @return [Array<Google::Apis::ClouderrorreportingV1beta1::TrackingIssue>]
201
328
  attr_accessor :tracking_issues
202
329
 
330
+ # The group resource name.
331
+ # Example: <code>projects/my-project-123/groups/my-groupid</code>
332
+ # Corresponds to the JSON property `name`
333
+ # @return [String]
334
+ attr_accessor :name
335
+
203
336
  def initialize(**args)
204
337
  update!(**args)
205
338
  end
206
339
 
207
340
  # Update properties of this object
208
341
  def update!(**args)
209
- @name = args[:name] if args.key?(:name)
210
342
  @group_id = args[:group_id] if args.key?(:group_id)
211
343
  @tracking_issues = args[:tracking_issues] if args.key?(:tracking_issues)
344
+ @name = args[:name] if args.key?(:name)
212
345
  end
213
346
  end
214
347
 
@@ -217,14 +350,6 @@ module Google
217
350
  class ServiceContext
218
351
  include Google::Apis::Core::Hashable
219
352
 
220
- # Represents the source code version that the developer provided,
221
- # which could represent a version label or a Git SHA-1 hash, for example.
222
- # For App Engine standard environment, the version is set to the version of
223
- # the app.
224
- # Corresponds to the JSON property `version`
225
- # @return [String]
226
- attr_accessor :version
227
-
228
353
  # An identifier of the service, such as the name of the
229
354
  # executable, job, or Google App Engine service name. This field is expected
230
355
  # to have a low number of values that are relatively stable over time, as
@@ -243,15 +368,23 @@ module Google
243
368
  # @return [String]
244
369
  attr_accessor :resource_type
245
370
 
371
+ # Represents the source code version that the developer provided,
372
+ # which could represent a version label or a Git SHA-1 hash, for example.
373
+ # For App Engine standard environment, the version is set to the version of
374
+ # the app.
375
+ # Corresponds to the JSON property `version`
376
+ # @return [String]
377
+ attr_accessor :version
378
+
246
379
  def initialize(**args)
247
380
  update!(**args)
248
381
  end
249
382
 
250
383
  # Update properties of this object
251
384
  def update!(**args)
252
- @version = args[:version] if args.key?(:version)
253
385
  @service = args[:service] if args.key?(:service)
254
386
  @resource_type = args[:resource_type] if args.key?(:resource_type)
387
+ @version = args[:version] if args.key?(:version)
255
388
  end
256
389
  end
257
390
 
@@ -262,13 +395,6 @@ module Google
262
395
  class SourceLocation
263
396
  include Google::Apis::Core::Hashable
264
397
 
265
- # Human-readable name of a function or method.
266
- # The value can include optional context like the class or package name.
267
- # For example, `my.package.MyClass.method` in case of Java.
268
- # Corresponds to the JSON property `functionName`
269
- # @return [String]
270
- attr_accessor :function_name
271
-
272
398
  # The source code filename, which can include a truncated relative
273
399
  # path, or a full path from a production machine.
274
400
  # Corresponds to the JSON property `filePath`
@@ -280,15 +406,22 @@ module Google
280
406
  # @return [Fixnum]
281
407
  attr_accessor :line_number
282
408
 
409
+ # Human-readable name of a function or method.
410
+ # The value can include optional context like the class or package name.
411
+ # For example, `my.package.MyClass.method` in case of Java.
412
+ # Corresponds to the JSON property `functionName`
413
+ # @return [String]
414
+ attr_accessor :function_name
415
+
283
416
  def initialize(**args)
284
417
  update!(**args)
285
418
  end
286
419
 
287
420
  # Update properties of this object
288
421
  def update!(**args)
289
- @function_name = args[:function_name] if args.key?(:function_name)
290
422
  @file_path = args[:file_path] if args.key?(:file_path)
291
423
  @line_number = args[:line_number] if args.key?(:line_number)
424
+ @function_name = args[:function_name] if args.key?(:function_name)
292
425
  end
293
426
  end
294
427
 
@@ -313,6 +446,19 @@ module Google
313
446
  class HttpRequestContext
314
447
  include Google::Apis::Core::Hashable
315
448
 
449
+ # The type of HTTP request, such as `GET`, `POST`, etc.
450
+ # Corresponds to the JSON property `method`
451
+ # @return [String]
452
+ attr_accessor :method_prop
453
+
454
+ # The IP address from which the request originated.
455
+ # This can be IPv4, IPv6, or a token which is derived from the
456
+ # IP address, depending on the data that has been provided
457
+ # in the error report.
458
+ # Corresponds to the JSON property `remoteIp`
459
+ # @return [String]
460
+ attr_accessor :remote_ip
461
+
316
462
  # The referrer information that is provided with the request.
317
463
  # Corresponds to the JSON property `referrer`
318
464
  # @return [String]
@@ -333,31 +479,18 @@ module Google
333
479
  # @return [Fixnum]
334
480
  attr_accessor :response_status_code
335
481
 
336
- # The type of HTTP request, such as `GET`, `POST`, etc.
337
- # Corresponds to the JSON property `method`
338
- # @return [String]
339
- attr_accessor :method_prop
340
-
341
- # The IP address from which the request originated.
342
- # This can be IPv4, IPv6, or a token which is derived from the
343
- # IP address, depending on the data that has been provided
344
- # in the error report.
345
- # Corresponds to the JSON property `remoteIp`
346
- # @return [String]
347
- attr_accessor :remote_ip
348
-
349
482
  def initialize(**args)
350
483
  update!(**args)
351
484
  end
352
485
 
353
486
  # Update properties of this object
354
487
  def update!(**args)
488
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
489
+ @remote_ip = args[:remote_ip] if args.key?(:remote_ip)
355
490
  @referrer = args[:referrer] if args.key?(:referrer)
356
491
  @user_agent = args[:user_agent] if args.key?(:user_agent)
357
492
  @url = args[:url] if args.key?(:url)
358
493
  @response_status_code = args[:response_status_code] if args.key?(:response_status_code)
359
- @method_prop = args[:method_prop] if args.key?(:method_prop)
360
- @remote_ip = args[:remote_ip] if args.key?(:remote_ip)
361
494
  end
362
495
  end
363
496
 
@@ -365,6 +498,13 @@ module Google
365
498
  class ListGroupStatsResponse
366
499
  include Google::Apis::Core::Hashable
367
500
 
501
+ # If non-empty, more results are available.
502
+ # Pass this token, along with the same query parameters as the first
503
+ # request, to view the next page of results.
504
+ # Corresponds to the JSON property `nextPageToken`
505
+ # @return [String]
506
+ attr_accessor :next_page_token
507
+
368
508
  # The timestamp specifies the start time to which the request was restricted.
369
509
  # The start time is set based on the requested time range. It may be adjusted
370
510
  # to a later time if a project has exceeded the storage quota and older data
@@ -378,22 +518,15 @@ module Google
378
518
  # @return [Array<Google::Apis::ClouderrorreportingV1beta1::ErrorGroupStats>]
379
519
  attr_accessor :error_group_stats
380
520
 
381
- # If non-empty, more results are available.
382
- # Pass this token, along with the same query parameters as the first
383
- # request, to view the next page of results.
384
- # Corresponds to the JSON property `nextPageToken`
385
- # @return [String]
386
- attr_accessor :next_page_token
387
-
388
521
  def initialize(**args)
389
522
  update!(**args)
390
523
  end
391
524
 
392
525
  # Update properties of this object
393
526
  def update!(**args)
527
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
394
528
  @time_range_begin = args[:time_range_begin] if args.key?(:time_range_begin)
395
529
  @error_group_stats = args[:error_group_stats] if args.key?(:error_group_stats)
396
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
397
530
  end
398
531
  end
399
532
 
@@ -452,139 +585,6 @@ module Google
452
585
  @event_time = args[:event_time] if args.key?(:event_time)
453
586
  end
454
587
  end
455
-
456
- # An error event which is reported to the Error Reporting system.
457
- class ReportedErrorEvent
458
- include Google::Apis::Core::Hashable
459
-
460
- # A description of the context in which an error occurred.
461
- # This data should be provided by the application when reporting an error,
462
- # unless the
463
- # error report has been generated automatically from Google App Engine logs.
464
- # Corresponds to the JSON property `context`
465
- # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorContext]
466
- attr_accessor :context
467
-
468
- # [Required] The error message.
469
- # If no `context.reportLocation` is provided, the message must contain a
470
- # header (typically consisting of the exception type name and an error
471
- # message) and an exception stack trace in one of the supported programming
472
- # languages and formats.
473
- # Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.
474
- # Supported stack trace formats are:
475
- # * **Java**: Must be the return value of [`Throwable.printStackTrace()`](https:/
476
- # /docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%
477
- # 29).
478
- # * **Python**: Must be the return value of [`traceback.format_exc()`](https://
479
- # docs.python.org/2/library/traceback.html#traceback.format_exc).
480
- # * **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/
481
- # v8/wiki/Stack-Trace-API)
482
- # as returned by V8.
483
- # * **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://
484
- # ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).
485
- # * **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.
486
- # microsoft.com/en-us/library/system.exception.tostring.aspx).
487
- # * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`
488
- # and contain the result of [`(string)$exception`](http://php.net/manual/en/
489
- # exception.tostring.php).
490
- # * **Go**: Must be the return value of [`runtime.Stack()`](https://golang.org/
491
- # pkg/runtime/debug/#Stack).
492
- # Corresponds to the JSON property `message`
493
- # @return [String]
494
- attr_accessor :message
495
-
496
- # Describes a running service that sends errors.
497
- # Its version changes over time and multiple versions can run in parallel.
498
- # Corresponds to the JSON property `serviceContext`
499
- # @return [Google::Apis::ClouderrorreportingV1beta1::ServiceContext]
500
- attr_accessor :service_context
501
-
502
- # [Optional] Time when the event occurred.
503
- # If not provided, the time when the event was received by the
504
- # Error Reporting system will be used.
505
- # Corresponds to the JSON property `eventTime`
506
- # @return [String]
507
- attr_accessor :event_time
508
-
509
- def initialize(**args)
510
- update!(**args)
511
- end
512
-
513
- # Update properties of this object
514
- def update!(**args)
515
- @context = args[:context] if args.key?(:context)
516
- @message = args[:message] if args.key?(:message)
517
- @service_context = args[:service_context] if args.key?(:service_context)
518
- @event_time = args[:event_time] if args.key?(:event_time)
519
- end
520
- end
521
-
522
- # A description of the context in which an error occurred.
523
- # This data should be provided by the application when reporting an error,
524
- # unless the
525
- # error report has been generated automatically from Google App Engine logs.
526
- class ErrorContext
527
- include Google::Apis::Core::Hashable
528
-
529
- # HTTP request data that is related to a reported error.
530
- # This data should be provided by the application when reporting an error,
531
- # unless the
532
- # error report has been generated automatically from Google App Engine logs.
533
- # Corresponds to the JSON property `httpRequest`
534
- # @return [Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext]
535
- attr_accessor :http_request
536
-
537
- # The user who caused or was affected by the crash.
538
- # This can be a user ID, an email address, or an arbitrary token that
539
- # uniquely identifies the user.
540
- # When sending an error report, leave this field empty if the user was not
541
- # logged in. In this case the
542
- # Error Reporting system will use other data, such as remote IP address, to
543
- # distinguish affected users. See `affected_users_count` in
544
- # `ErrorGroupStats`.
545
- # Corresponds to the JSON property `user`
546
- # @return [String]
547
- attr_accessor :user
548
-
549
- # Indicates a location in the source code of the service for which errors are
550
- # reported. `functionName` must be provided by the application when reporting
551
- # an error, unless the error report contains a `message` with a supported
552
- # exception stack trace. All fields are optional for the later case.
553
- # Corresponds to the JSON property `reportLocation`
554
- # @return [Google::Apis::ClouderrorreportingV1beta1::SourceLocation]
555
- attr_accessor :report_location
556
-
557
- def initialize(**args)
558
- update!(**args)
559
- end
560
-
561
- # Update properties of this object
562
- def update!(**args)
563
- @http_request = args[:http_request] if args.key?(:http_request)
564
- @user = args[:user] if args.key?(:user)
565
- @report_location = args[:report_location] if args.key?(:report_location)
566
- end
567
- end
568
-
569
- # Information related to tracking the progress on resolving the error.
570
- class TrackingIssue
571
- include Google::Apis::Core::Hashable
572
-
573
- # A URL pointing to a related entry in an issue tracking system.
574
- # Example: https://github.com/user/project/issues/4
575
- # Corresponds to the JSON property `url`
576
- # @return [String]
577
- attr_accessor :url
578
-
579
- def initialize(**args)
580
- update!(**args)
581
- end
582
-
583
- # Update properties of this object
584
- def update!(**args)
585
- @url = args[:url] if args.key?(:url)
586
- end
587
- end
588
588
  end
589
589
  end
590
590
  end