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,6 +22,24 @@ module Google
22
22
  module Apis
23
23
  module ClouderrorreportingV1beta1
24
24
 
25
+ class ReportedErrorEvent
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ErrorContext
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class TrackingIssue
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
25
43
  class ErrorGroupStats
26
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
45
 
@@ -89,49 +107,61 @@ module Google
89
107
  end
90
108
 
91
109
  class ReportedErrorEvent
92
- class Representation < Google::Apis::Core::JsonRepresentation; end
110
+ # @private
111
+ class Representation < Google::Apis::Core::JsonRepresentation
112
+ property :context, as: 'context', class: Google::Apis::ClouderrorreportingV1beta1::ErrorContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorContext::Representation
93
113
 
94
- include Google::Apis::Core::JsonObjectSupport
114
+ property :message, as: 'message'
115
+ property :service_context, as: 'serviceContext', class: Google::Apis::ClouderrorreportingV1beta1::ServiceContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ServiceContext::Representation
116
+
117
+ property :event_time, as: 'eventTime'
118
+ end
95
119
  end
96
120
 
97
121
  class ErrorContext
98
- class Representation < Google::Apis::Core::JsonRepresentation; end
122
+ # @private
123
+ class Representation < Google::Apis::Core::JsonRepresentation
124
+ property :report_location, as: 'reportLocation', class: Google::Apis::ClouderrorreportingV1beta1::SourceLocation, decorator: Google::Apis::ClouderrorreportingV1beta1::SourceLocation::Representation
99
125
 
100
- include Google::Apis::Core::JsonObjectSupport
126
+ property :http_request, as: 'httpRequest', class: Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext, decorator: Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext::Representation
127
+
128
+ property :user, as: 'user'
129
+ end
101
130
  end
102
131
 
103
132
  class TrackingIssue
104
- class Representation < Google::Apis::Core::JsonRepresentation; end
105
-
106
- include Google::Apis::Core::JsonObjectSupport
133
+ # @private
134
+ class Representation < Google::Apis::Core::JsonRepresentation
135
+ property :url, as: 'url'
136
+ end
107
137
  end
108
138
 
109
139
  class ErrorGroupStats
110
140
  # @private
111
141
  class Representation < Google::Apis::Core::JsonRepresentation
112
- property :group, as: 'group', class: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation
113
-
114
- property :first_seen_time, as: 'firstSeenTime'
115
- property :count, as: 'count'
116
- property :affected_users_count, as: 'affectedUsersCount'
117
- property :last_seen_time, as: 'lastSeenTime'
118
- property :num_affected_services, as: 'numAffectedServices'
119
142
  collection :affected_services, as: 'affectedServices', class: Google::Apis::ClouderrorreportingV1beta1::ServiceContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ServiceContext::Representation
120
143
 
144
+ property :num_affected_services, as: 'numAffectedServices'
121
145
  property :representative, as: 'representative', class: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent::Representation
122
146
 
123
147
  collection :timed_counts, as: 'timedCounts', class: Google::Apis::ClouderrorreportingV1beta1::TimedCount, decorator: Google::Apis::ClouderrorreportingV1beta1::TimedCount::Representation
124
148
 
149
+ property :group, as: 'group', class: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation
150
+
151
+ property :first_seen_time, as: 'firstSeenTime'
152
+ property :count, :numeric_string => true, as: 'count'
153
+ property :affected_users_count, :numeric_string => true, as: 'affectedUsersCount'
154
+ property :last_seen_time, as: 'lastSeenTime'
125
155
  end
126
156
  end
127
157
 
128
158
  class ListEventsResponse
129
159
  # @private
130
160
  class Representation < Google::Apis::Core::JsonRepresentation
131
- property :time_range_begin, as: 'timeRangeBegin'
132
161
  collection :error_events, as: 'errorEvents', class: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent::Representation
133
162
 
134
163
  property :next_page_token, as: 'nextPageToken'
164
+ property :time_range_begin, as: 'timeRangeBegin'
135
165
  end
136
166
  end
137
167
 
@@ -139,7 +169,7 @@ module Google
139
169
  # @private
140
170
  class Representation < Google::Apis::Core::JsonRepresentation
141
171
  property :end_time, as: 'endTime'
142
- property :count, as: 'count'
172
+ property :count, :numeric_string => true, as: 'count'
143
173
  property :start_time, as: 'startTime'
144
174
  end
145
175
  end
@@ -147,28 +177,28 @@ module Google
147
177
  class ErrorGroup
148
178
  # @private
149
179
  class Representation < Google::Apis::Core::JsonRepresentation
150
- property :name, as: 'name'
151
180
  property :group_id, as: 'groupId'
152
181
  collection :tracking_issues, as: 'trackingIssues', class: Google::Apis::ClouderrorreportingV1beta1::TrackingIssue, decorator: Google::Apis::ClouderrorreportingV1beta1::TrackingIssue::Representation
153
182
 
183
+ property :name, as: 'name'
154
184
  end
155
185
  end
156
186
 
157
187
  class ServiceContext
158
188
  # @private
159
189
  class Representation < Google::Apis::Core::JsonRepresentation
160
- property :version, as: 'version'
161
190
  property :service, as: 'service'
162
191
  property :resource_type, as: 'resourceType'
192
+ property :version, as: 'version'
163
193
  end
164
194
  end
165
195
 
166
196
  class SourceLocation
167
197
  # @private
168
198
  class Representation < Google::Apis::Core::JsonRepresentation
169
- property :function_name, as: 'functionName'
170
199
  property :file_path, as: 'filePath'
171
200
  property :line_number, as: 'lineNumber'
201
+ property :function_name, as: 'functionName'
172
202
  end
173
203
  end
174
204
 
@@ -181,22 +211,22 @@ module Google
181
211
  class HttpRequestContext
182
212
  # @private
183
213
  class Representation < Google::Apis::Core::JsonRepresentation
214
+ property :method_prop, as: 'method'
215
+ property :remote_ip, as: 'remoteIp'
184
216
  property :referrer, as: 'referrer'
185
217
  property :user_agent, as: 'userAgent'
186
218
  property :url, as: 'url'
187
219
  property :response_status_code, as: 'responseStatusCode'
188
- property :method_prop, as: 'method'
189
- property :remote_ip, as: 'remoteIp'
190
220
  end
191
221
  end
192
222
 
193
223
  class ListGroupStatsResponse
194
224
  # @private
195
225
  class Representation < Google::Apis::Core::JsonRepresentation
226
+ property :next_page_token, as: 'nextPageToken'
196
227
  property :time_range_begin, as: 'timeRangeBegin'
197
228
  collection :error_group_stats, as: 'errorGroupStats', class: Google::Apis::ClouderrorreportingV1beta1::ErrorGroupStats, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorGroupStats::Representation
198
229
 
199
- property :next_page_token, as: 'nextPageToken'
200
230
  end
201
231
  end
202
232
 
@@ -217,36 +247,6 @@ module Google
217
247
  property :event_time, as: 'eventTime'
218
248
  end
219
249
  end
220
-
221
- class ReportedErrorEvent
222
- # @private
223
- class Representation < Google::Apis::Core::JsonRepresentation
224
- property :context, as: 'context', class: Google::Apis::ClouderrorreportingV1beta1::ErrorContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorContext::Representation
225
-
226
- property :message, as: 'message'
227
- property :service_context, as: 'serviceContext', class: Google::Apis::ClouderrorreportingV1beta1::ServiceContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ServiceContext::Representation
228
-
229
- property :event_time, as: 'eventTime'
230
- end
231
- end
232
-
233
- class ErrorContext
234
- # @private
235
- class Representation < Google::Apis::Core::JsonRepresentation
236
- property :http_request, as: 'httpRequest', class: Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext, decorator: Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext::Representation
237
-
238
- property :user, as: 'user'
239
- property :report_location, as: 'reportLocation', class: Google::Apis::ClouderrorreportingV1beta1::SourceLocation, decorator: Google::Apis::ClouderrorreportingV1beta1::SourceLocation::Representation
240
-
241
- end
242
- end
243
-
244
- class TrackingIssue
245
- # @private
246
- class Representation < Google::Apis::Core::JsonRepresentation
247
- property :url, as: 'url'
248
- end
249
- end
250
250
  end
251
251
  end
252
252
  end
@@ -46,6 +46,7 @@ module Google
46
46
 
47
47
  def initialize
48
48
  super('https://clouderrorreporting.googleapis.com/', '')
49
+ @batch_path = 'batch'
49
50
  end
50
51
 
51
52
  # Deletes all error events of a given project.
@@ -82,6 +83,50 @@ module Google
82
83
  execute_or_queue_command(command, &block)
83
84
  end
84
85
 
86
+ # Report an individual error event.
87
+ # This endpoint accepts <strong>either</strong> an OAuth token,
88
+ # <strong>or</strong> an
89
+ # <a href="https://support.google.com/cloud/answer/6158862">API key</a>
90
+ # for authentication. To use an API key, append it to the URL as the value of
91
+ # a `key` parameter. For example:
92
+ # <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-
93
+ # project/events:report?key=123ABC456</pre>
94
+ # @param [String] project_name
95
+ # [Required] The resource name of the Google Cloud Platform project. Written
96
+ # as `projects/` plus the
97
+ # [Google Cloud Platform project ID](https://support.google.com/cloud/answer/
98
+ # 6158840).
99
+ # Example: `projects/my-project-123`.
100
+ # @param [Google::Apis::ClouderrorreportingV1beta1::ReportedErrorEvent] reported_error_event_object
101
+ # @param [String] fields
102
+ # Selector specifying which fields to include in a partial response.
103
+ # @param [String] quota_user
104
+ # Available to use for quota purposes for server-side applications. Can be any
105
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
106
+ # @param [Google::Apis::RequestOptions] options
107
+ # Request-specific options
108
+ #
109
+ # @yield [result, err] Result & error if block supplied
110
+ # @yieldparam result [Google::Apis::ClouderrorreportingV1beta1::ReportErrorEventResponse] parsed result object
111
+ # @yieldparam err [StandardError] error object if request failed
112
+ #
113
+ # @return [Google::Apis::ClouderrorreportingV1beta1::ReportErrorEventResponse]
114
+ #
115
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
116
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
117
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
118
+ def report_project_event(project_name, reported_error_event_object = nil, fields: nil, quota_user: nil, options: nil, &block)
119
+ command = make_simple_command(:post, 'v1beta1/{+projectName}/events:report', options)
120
+ command.request_representation = Google::Apis::ClouderrorreportingV1beta1::ReportedErrorEvent::Representation
121
+ command.request_object = reported_error_event_object
122
+ command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ReportErrorEventResponse::Representation
123
+ command.response_class = Google::Apis::ClouderrorreportingV1beta1::ReportErrorEventResponse
124
+ command.params['projectName'] = project_name unless project_name.nil?
125
+ command.query['fields'] = fields unless fields.nil?
126
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
127
+ execute_or_queue_command(command, &block)
128
+ end
129
+
85
130
  # Lists the specified events.
86
131
  # @param [String] project_name
87
132
  # [Required] The resource name of the Google Cloud Platform project. Written
@@ -89,6 +134,8 @@ module Google
89
134
  # [Google Cloud Platform project
90
135
  # ID](https://support.google.com/cloud/answer/6158840).
91
136
  # Example: `projects/my-project-123`.
137
+ # @param [String] group_id
138
+ # [Required] The group for which events shall be returned.
92
139
  # @param [String] service_filter_service
93
140
  # [Optional] The exact value to match against
94
141
  # [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/
@@ -107,8 +154,6 @@ module Google
107
154
  # ServiceContext#FIELDS.resource_type).
108
155
  # @param [String] time_range_period
109
156
  # Restricts the query to the specified time range.
110
- # @param [String] group_id
111
- # [Required] The group for which events shall be returned.
112
157
  # @param [String] fields
113
158
  # Selector specifying which fields to include in a partial response.
114
159
  # @param [String] quota_user
@@ -126,62 +171,18 @@ module Google
126
171
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
127
172
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
128
173
  # @raise [Google::Apis::AuthorizationError] Authorization is required
129
- def list_project_events(project_name, service_filter_service: nil, page_token: nil, page_size: nil, service_filter_version: nil, service_filter_resource_type: nil, time_range_period: nil, group_id: nil, fields: nil, quota_user: nil, options: nil, &block)
174
+ def list_project_events(project_name, group_id: nil, service_filter_service: nil, page_token: nil, page_size: nil, service_filter_version: nil, service_filter_resource_type: nil, time_range_period: nil, fields: nil, quota_user: nil, options: nil, &block)
130
175
  command = make_simple_command(:get, 'v1beta1/{+projectName}/events', options)
131
176
  command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse::Representation
132
177
  command.response_class = Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse
133
178
  command.params['projectName'] = project_name unless project_name.nil?
179
+ command.query['groupId'] = group_id unless group_id.nil?
134
180
  command.query['serviceFilter.service'] = service_filter_service unless service_filter_service.nil?
135
181
  command.query['pageToken'] = page_token unless page_token.nil?
136
182
  command.query['pageSize'] = page_size unless page_size.nil?
137
183
  command.query['serviceFilter.version'] = service_filter_version unless service_filter_version.nil?
138
184
  command.query['serviceFilter.resourceType'] = service_filter_resource_type unless service_filter_resource_type.nil?
139
185
  command.query['timeRange.period'] = time_range_period unless time_range_period.nil?
140
- command.query['groupId'] = group_id unless group_id.nil?
141
- command.query['fields'] = fields unless fields.nil?
142
- command.query['quotaUser'] = quota_user unless quota_user.nil?
143
- execute_or_queue_command(command, &block)
144
- end
145
-
146
- # Report an individual error event.
147
- # This endpoint accepts <strong>either</strong> an OAuth token,
148
- # <strong>or</strong> an
149
- # <a href="https://support.google.com/cloud/answer/6158862">API key</a>
150
- # for authentication. To use an API key, append it to the URL as the value of
151
- # a `key` parameter. For example:
152
- # <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-
153
- # project/events:report?key=123ABC456</pre>
154
- # @param [String] project_name
155
- # [Required] The resource name of the Google Cloud Platform project. Written
156
- # as `projects/` plus the
157
- # [Google Cloud Platform project ID](https://support.google.com/cloud/answer/
158
- # 6158840).
159
- # Example: `projects/my-project-123`.
160
- # @param [Google::Apis::ClouderrorreportingV1beta1::ReportedErrorEvent] reported_error_event_object
161
- # @param [String] fields
162
- # Selector specifying which fields to include in a partial response.
163
- # @param [String] quota_user
164
- # Available to use for quota purposes for server-side applications. Can be any
165
- # arbitrary string assigned to a user, but should not exceed 40 characters.
166
- # @param [Google::Apis::RequestOptions] options
167
- # Request-specific options
168
- #
169
- # @yield [result, err] Result & error if block supplied
170
- # @yieldparam result [Google::Apis::ClouderrorreportingV1beta1::ReportErrorEventResponse] parsed result object
171
- # @yieldparam err [StandardError] error object if request failed
172
- #
173
- # @return [Google::Apis::ClouderrorreportingV1beta1::ReportErrorEventResponse]
174
- #
175
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
176
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
177
- # @raise [Google::Apis::AuthorizationError] Authorization is required
178
- def report_project_event(project_name, reported_error_event_object = nil, fields: nil, quota_user: nil, options: nil, &block)
179
- command = make_simple_command(:post, 'v1beta1/{+projectName}/events:report', options)
180
- command.request_representation = Google::Apis::ClouderrorreportingV1beta1::ReportedErrorEvent::Representation
181
- command.request_object = reported_error_event_object
182
- command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ReportErrorEventResponse::Representation
183
- command.response_class = Google::Apis::ClouderrorreportingV1beta1::ReportErrorEventResponse
184
- command.params['projectName'] = project_name unless project_name.nil?
185
186
  command.query['fields'] = fields unless fields.nil?
186
187
  command.query['quotaUser'] = quota_user unless quota_user.nil?
187
188
  execute_or_queue_command(command, &block)
@@ -265,6 +266,10 @@ module Google
265
266
  # <a href="https://support.google.com/cloud/answer/6158840">Google Cloud
266
267
  # Platform project ID</a>.
267
268
  # Example: <code>projects/my-project-123</code>.
269
+ # @param [String] page_token
270
+ # [Optional] A `next_page_token` provided by a previous response. To view
271
+ # additional results, pass this token along with the identical query
272
+ # parameters as the first request.
268
273
  # @param [String] time_range_period
269
274
  # Restricts the query to the specified time range.
270
275
  # @param [String] alignment
@@ -286,20 +291,16 @@ module Google
286
291
  # [Optional] The exact value to match against
287
292
  # [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/
288
293
  # ServiceContext#FIELDS.version).
294
+ # @param [String] alignment_time
295
+ # [Optional] Time where the timed counts shall be aligned if rounded
296
+ # alignment is chosen. Default is 00:00 UTC.
289
297
  # @param [String] service_filter_resource_type
290
298
  # [Optional] The exact value to match against
291
299
  # [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/
292
300
  # ServiceContext#FIELDS.resource_type).
293
- # @param [String] alignment_time
294
- # [Optional] Time where the timed counts shall be aligned if rounded
295
- # alignment is chosen. Default is 00:00 UTC.
296
301
  # @param [String] timed_count_duration
297
302
  # [Optional] The preferred duration for a single returned `TimedCount`.
298
303
  # If not set, no timed counts are returned.
299
- # @param [String] page_token
300
- # [Optional] A `next_page_token` provided by a previous response. To view
301
- # additional results, pass this token along with the identical query
302
- # parameters as the first request.
303
304
  # @param [String] fields
304
305
  # Selector specifying which fields to include in a partial response.
305
306
  # @param [String] quota_user
@@ -317,11 +318,12 @@ module Google
317
318
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
318
319
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
319
320
  # @raise [Google::Apis::AuthorizationError] Authorization is required
320
- def list_project_group_stats(project_name, time_range_period: nil, alignment: nil, group_id: nil, service_filter_service: nil, page_size: nil, order: nil, service_filter_version: nil, service_filter_resource_type: nil, alignment_time: nil, timed_count_duration: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
321
+ def list_project_group_stats(project_name, page_token: nil, time_range_period: nil, alignment: nil, group_id: nil, service_filter_service: nil, page_size: nil, order: nil, service_filter_version: nil, alignment_time: nil, service_filter_resource_type: nil, timed_count_duration: nil, fields: nil, quota_user: nil, options: nil, &block)
321
322
  command = make_simple_command(:get, 'v1beta1/{+projectName}/groupStats', options)
322
323
  command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse::Representation
323
324
  command.response_class = Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse
324
325
  command.params['projectName'] = project_name unless project_name.nil?
326
+ command.query['pageToken'] = page_token unless page_token.nil?
325
327
  command.query['timeRange.period'] = time_range_period unless time_range_period.nil?
326
328
  command.query['alignment'] = alignment unless alignment.nil?
327
329
  command.query['groupId'] = group_id unless group_id.nil?
@@ -329,10 +331,9 @@ module Google
329
331
  command.query['pageSize'] = page_size unless page_size.nil?
330
332
  command.query['order'] = order unless order.nil?
331
333
  command.query['serviceFilter.version'] = service_filter_version unless service_filter_version.nil?
332
- command.query['serviceFilter.resourceType'] = service_filter_resource_type unless service_filter_resource_type.nil?
333
334
  command.query['alignmentTime'] = alignment_time unless alignment_time.nil?
335
+ command.query['serviceFilter.resourceType'] = service_filter_resource_type unless service_filter_resource_type.nil?
334
336
  command.query['timedCountDuration'] = timed_count_duration unless timed_count_duration.nil?
335
- command.query['pageToken'] = page_token unless page_token.nil?
336
337
  command.query['fields'] = fields unless fields.nil?
337
338
  command.query['quotaUser'] = quota_user unless quota_user.nil?
338
339
  execute_or_queue_command(command, &block)
@@ -66,12 +66,6 @@ module Google
66
66
  class OperationMetadataV1Beta2
67
67
  include Google::Apis::Core::Hashable
68
68
 
69
- # Target of the operation - for example
70
- # projects/project-1/locations/region-1/functions/function-1
71
- # Corresponds to the JSON property `target`
72
- # @return [String]
73
- attr_accessor :target
74
-
75
69
  # The original request that started the operation.
76
70
  # Corresponds to the JSON property `request`
77
71
  # @return [Hash<String,Object>]
@@ -82,15 +76,21 @@ module Google
82
76
  # @return [String]
83
77
  attr_accessor :type
84
78
 
79
+ # Target of the operation - for example
80
+ # projects/project-1/locations/region-1/functions/function-1
81
+ # Corresponds to the JSON property `target`
82
+ # @return [String]
83
+ attr_accessor :target
84
+
85
85
  def initialize(**args)
86
86
  update!(**args)
87
87
  end
88
88
 
89
89
  # Update properties of this object
90
90
  def update!(**args)
91
- @target = args[:target] if args.key?(:target)
92
91
  @request = args[:request] if args.key?(:request)
93
92
  @type = args[:type] if args.key?(:type)
93
+ @target = args[:target] if args.key?(:target)
94
94
  end
95
95
  end
96
96
  end
@@ -47,9 +47,9 @@ module Google
47
47
  class OperationMetadataV1Beta2
48
48
  # @private
49
49
  class Representation < Google::Apis::Core::JsonRepresentation
50
- property :target, as: 'target'
51
50
  hash :request, as: 'request'
52
51
  property :type, as: 'type'
52
+ property :target, as: 'target'
53
53
  end
54
54
  end
55
55
  end
@@ -45,16 +45,17 @@ module Google
45
45
 
46
46
  def initialize
47
47
  super('https://cloudfunctions.googleapis.com/', '')
48
+ @batch_path = 'batch'
48
49
  end
49
50
 
50
51
  # Get information about a location.
51
52
  # @param [String] name
52
53
  # Resource name for the location.
53
- # @param [String] fields
54
- # Selector specifying which fields to include in a partial response.
55
54
  # @param [String] quota_user
56
55
  # Available to use for quota purposes for server-side applications. Can be any
57
56
  # arbitrary string assigned to a user, but should not exceed 40 characters.
57
+ # @param [String] fields
58
+ # Selector specifying which fields to include in a partial response.
58
59
  # @param [Google::Apis::RequestOptions] options
59
60
  # Request-specific options
60
61
  #
@@ -67,13 +68,13 @@ module Google
67
68
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
68
69
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
69
70
  # @raise [Google::Apis::AuthorizationError] Authorization is required
70
- def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
71
+ def get_project_location(name, quota_user: nil, fields: nil, options: nil, &block)
71
72
  command = make_simple_command(:get, 'v1/{+name}', options)
72
73
  command.response_representation = Google::Apis::CloudfunctionsV1::Location::Representation
73
74
  command.response_class = Google::Apis::CloudfunctionsV1::Location
74
75
  command.params['name'] = name unless name.nil?
75
- command.query['fields'] = fields unless fields.nil?
76
76
  command.query['quotaUser'] = quota_user unless quota_user.nil?
77
+ command.query['fields'] = fields unless fields.nil?
77
78
  execute_or_queue_command(command, &block)
78
79
  end
79
80