google-api-client 0.11.3 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (397) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +51 -0
  3. data/api_names.yaml +32317 -34465
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  13. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  14. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  15. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  16. data/generated/google/apis/adsense_v1_4.rb +1 -1
  17. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  18. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  19. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  22. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  23. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  24. data/generated/google/apis/analytics_v3/service.rb +82 -82
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
  27. data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
  28. data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
  29. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  30. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  31. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  32. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  33. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  34. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  35. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  36. data/generated/google/apis/appengine_v1.rb +1 -1
  37. data/generated/google/apis/appengine_v1/classes.rb +825 -817
  38. data/generated/google/apis/appengine_v1/representations.rb +185 -184
  39. data/generated/google/apis/appengine_v1/service.rb +220 -216
  40. data/generated/google/apis/appstate_v1.rb +1 -1
  41. data/generated/google/apis/bigquery_v2.rb +1 -1
  42. data/generated/google/apis/bigquery_v2/classes.rb +9 -7
  43. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  44. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  45. data/generated/google/apis/blogger_v3/service.rb +3 -3
  46. data/generated/google/apis/books_v1/classes.rb +55 -55
  47. data/generated/google/apis/books_v1/representations.rb +67 -67
  48. data/generated/google/apis/books_v1/service.rb +82 -82
  49. data/generated/google/apis/calendar_v3.rb +1 -1
  50. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  51. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  52. data/generated/google/apis/calendar_v3/service.rb +2 -2
  53. data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
  54. data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
  55. data/generated/google/apis/civicinfo_v2/service.rb +8 -8
  56. data/generated/google/apis/classroom_v1.rb +24 -24
  57. data/generated/google/apis/classroom_v1/classes.rb +381 -381
  58. data/generated/google/apis/classroom_v1/representations.rb +108 -108
  59. data/generated/google/apis/classroom_v1/service.rb +503 -503
  60. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  61. data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
  62. data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
  63. data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
  64. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  65. data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
  66. data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
  67. data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
  68. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  69. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
  70. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
  71. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
  72. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  73. data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
  74. data/generated/google/apis/cloudkms_v1.rb +3 -3
  75. data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
  76. data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
  77. data/generated/google/apis/cloudkms_v1/service.rb +224 -224
  78. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  79. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
  80. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
  81. data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
  83. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
  84. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
  85. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  86. data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
  87. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  88. data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
  89. data/generated/google/apis/compute_beta.rb +1 -1
  90. data/generated/google/apis/compute_beta/classes.rb +57 -15
  91. data/generated/google/apis/compute_beta/representations.rb +30 -14
  92. data/generated/google/apis/compute_beta/service.rb +52 -52
  93. data/generated/google/apis/compute_v1.rb +1 -1
  94. data/generated/google/apis/compute_v1/classes.rb +223 -10
  95. data/generated/google/apis/compute_v1/representations.rb +85 -16
  96. data/generated/google/apis/compute_v1/service.rb +327 -51
  97. data/generated/google/apis/container_v1/classes.rb +267 -267
  98. data/generated/google/apis/container_v1/representations.rb +61 -61
  99. data/generated/google/apis/container_v1/service.rb +123 -123
  100. data/generated/google/apis/content_v2.rb +1 -1
  101. data/generated/google/apis/content_v2/classes.rb +71 -71
  102. data/generated/google/apis/content_v2/representations.rb +105 -105
  103. data/generated/google/apis/content_v2/service.rb +120 -120
  104. data/generated/google/apis/dataflow_v1b3.rb +4 -4
  105. data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
  106. data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
  107. data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
  108. data/generated/google/apis/dataproc_v1.rb +1 -1
  109. data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
  110. data/generated/google/apis/dataproc_v1/representations.rb +147 -147
  111. data/generated/google/apis/dataproc_v1/service.rb +309 -305
  112. data/generated/google/apis/datastore_v1.rb +1 -1
  113. data/generated/google/apis/datastore_v1/classes.rb +818 -818
  114. data/generated/google/apis/datastore_v1/representations.rb +151 -151
  115. data/generated/google/apis/datastore_v1/service.rb +62 -62
  116. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  117. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  118. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  119. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  120. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  121. data/generated/google/apis/discovery_v1/service.rb +1 -1
  122. data/generated/google/apis/dns_v1.rb +1 -1
  123. data/generated/google/apis/dns_v1/classes.rb +3 -3
  124. data/generated/google/apis/dns_v1/representations.rb +6 -6
  125. data/generated/google/apis/dns_v1/service.rb +12 -12
  126. data/generated/google/apis/dns_v2beta1.rb +1 -1
  127. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  128. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  129. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  130. data/generated/google/apis/drive_v2/service.rb +1 -1
  131. data/generated/google/apis/drive_v3/service.rb +1 -1
  132. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  133. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +188 -188
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
  136. data/generated/google/apis/firebaserules_v1.rb +1 -1
  137. data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
  138. data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
  139. data/generated/google/apis/firebaserules_v1/service.rb +89 -89
  140. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  141. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  142. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  143. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  144. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  145. data/generated/google/apis/games_management_v1management.rb +1 -1
  146. data/generated/google/apis/games_v1.rb +1 -1
  147. data/generated/google/apis/games_v1/classes.rb +23 -23
  148. data/generated/google/apis/games_v1/representations.rb +43 -43
  149. data/generated/google/apis/games_v1/service.rb +72 -72
  150. data/generated/google/apis/genomics_v1.rb +7 -7
  151. data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
  152. data/generated/google/apis/genomics_v1/representations.rb +298 -298
  153. data/generated/google/apis/genomics_v1/service.rb +1160 -1160
  154. data/generated/google/apis/groupssettings_v1/service.rb +0 -3
  155. data/generated/google/apis/iam_v1.rb +1 -1
  156. data/generated/google/apis/iam_v1/classes.rb +235 -235
  157. data/generated/google/apis/iam_v1/representations.rb +72 -72
  158. data/generated/google/apis/iam_v1/service.rb +189 -189
  159. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  160. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  161. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  162. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  163. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  164. data/generated/google/apis/kgsearch_v1/service.rb +10 -10
  165. data/generated/google/apis/language_v1/classes.rb +220 -220
  166. data/generated/google/apis/language_v1/representations.rb +81 -81
  167. data/generated/google/apis/language_v1/service.rb +43 -43
  168. data/generated/google/apis/language_v1beta1/classes.rb +448 -448
  169. data/generated/google/apis/language_v1beta1/representations.rb +106 -106
  170. data/generated/google/apis/language_v1beta1/service.rb +31 -31
  171. data/generated/google/apis/licensing_v1/service.rb +2 -2
  172. data/generated/google/apis/logging_v2/classes.rb +737 -737
  173. data/generated/google/apis/logging_v2/representations.rb +120 -120
  174. data/generated/google/apis/logging_v2/service.rb +479 -479
  175. data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
  176. data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
  177. data/generated/google/apis/logging_v2beta1/service.rb +349 -349
  178. data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
  179. data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
  180. data/generated/google/apis/manufacturers_v1/service.rb +8 -8
  181. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  182. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  183. data/generated/google/apis/mirror_v1/service.rb +20 -20
  184. data/generated/google/apis/ml_v1.rb +1 -1
  185. data/generated/google/apis/ml_v1/classes.rb +1285 -1205
  186. data/generated/google/apis/ml_v1/representations.rb +204 -174
  187. data/generated/google/apis/ml_v1/service.rb +150 -145
  188. data/generated/google/apis/monitoring_v3.rb +1 -1
  189. data/generated/google/apis/monitoring_v3/classes.rb +880 -880
  190. data/generated/google/apis/monitoring_v3/representations.rb +154 -154
  191. data/generated/google/apis/monitoring_v3/service.rb +299 -299
  192. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  193. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  194. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  195. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  196. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  197. data/generated/google/apis/partners_v2.rb +1 -1
  198. data/generated/google/apis/partners_v2/classes.rb +524 -509
  199. data/generated/google/apis/partners_v2/representations.rb +115 -111
  200. data/generated/google/apis/partners_v2/service.rb +287 -287
  201. data/generated/google/apis/people_v1.rb +13 -13
  202. data/generated/google/apis/people_v1/classes.rb +1150 -1150
  203. data/generated/google/apis/people_v1/representations.rb +258 -258
  204. data/generated/google/apis/people_v1/service.rb +7 -7
  205. data/generated/google/apis/plus_domains_v1.rb +1 -1
  206. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  207. data/generated/google/apis/plus_v1.rb +1 -1
  208. data/generated/google/apis/plus_v1/service.rb +1 -1
  209. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  210. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +554 -554
  211. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
  212. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
  213. data/generated/google/apis/pubsub_v1/classes.rb +228 -228
  214. data/generated/google/apis/pubsub_v1/representations.rb +69 -69
  215. data/generated/google/apis/pubsub_v1/service.rb +182 -182
  216. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  217. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  218. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  219. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  220. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  221. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  222. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  223. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  226. data/generated/google/apis/runtimeconfig_v1.rb +3 -3
  227. data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
  228. data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
  229. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  230. data/generated/google/apis/script_v1.rb +9 -9
  231. data/generated/google/apis/script_v1/classes.rb +94 -94
  232. data/generated/google/apis/script_v1/representations.rb +26 -26
  233. data/generated/google/apis/searchconsole_v1.rb +1 -1
  234. data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
  235. data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
  236. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  237. data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
  238. data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
  239. data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
  240. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  241. data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
  242. data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
  243. data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
  244. data/generated/google/apis/serviceuser_v1.rb +4 -4
  245. data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
  246. data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
  247. data/generated/google/apis/serviceuser_v1/service.rb +16 -16
  248. data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
  249. data/generated/google/apis/sheets_v4/representations.rb +324 -324
  250. data/generated/google/apis/sheets_v4/service.rb +49 -49
  251. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  252. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  253. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  254. data/generated/google/apis/slides_v1.rb +4 -4
  255. data/generated/google/apis/slides_v1/classes.rb +2907 -2907
  256. data/generated/google/apis/slides_v1/representations.rb +695 -695
  257. data/generated/google/apis/slides_v1/service.rb +40 -40
  258. data/generated/google/apis/sourcerepo_v1.rb +7 -1
  259. data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
  260. data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
  261. data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
  262. data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
  263. data/generated/google/apis/spanner_v1/representations.rb +205 -205
  264. data/generated/google/apis/spanner_v1/service.rb +525 -525
  265. data/generated/google/apis/speech_v1beta1.rb +1 -1
  266. data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
  267. data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
  268. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  269. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  270. data/generated/google/apis/sqladmin_v1beta4/classes.rb +16 -15
  271. data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
  272. data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
  273. data/generated/google/apis/storage_v1/classes.rb +6 -6
  274. data/generated/google/apis/storage_v1/representations.rb +4 -4
  275. data/generated/google/apis/storage_v1/service.rb +1 -1
  276. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  277. data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
  278. data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
  279. data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
  280. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  281. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  282. data/generated/google/apis/translate_v2.rb +1 -1
  283. data/generated/google/apis/translate_v2/classes.rb +46 -46
  284. data/generated/google/apis/translate_v2/representations.rb +22 -22
  285. data/generated/google/apis/translate_v2/service.rb +81 -74
  286. data/generated/google/apis/vision_v1/classes.rb +1290 -1290
  287. data/generated/google/apis/vision_v1/representations.rb +166 -166
  288. data/generated/google/apis/vision_v1/service.rb +6 -6
  289. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  290. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  291. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  292. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  293. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  294. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  295. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  296. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  297. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  298. data/generated/google/apis/youtube_v3/service.rb +80 -80
  299. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  300. data/generated/google/apis/youtubereporting_v1/classes.rb +127 -127
  301. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  302. data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
  303. data/google-api-client.gemspec +3 -3
  304. data/lib/google/apis/core/base_service.rb +6 -0
  305. data/lib/google/apis/generator/annotator.rb +2 -2
  306. data/lib/google/apis/generator/model.rb +2 -2
  307. data/lib/google/apis/version.rb +1 -1
  308. metadata +11 -94
  309. data/dl.rb +0 -0
  310. data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
  311. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
  312. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
  313. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
  314. data/generated/google/apis/appengine_v1beta4.rb +0 -35
  315. data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
  316. data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
  317. data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
  318. data/generated/google/apis/appengine_v1beta5.rb +0 -40
  319. data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
  320. data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
  321. data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
  322. data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
  323. data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
  324. data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
  325. data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
  326. data/generated/google/apis/classroom_v1beta1.rb +0 -49
  327. data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
  328. data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
  329. data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
  330. data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
  331. data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
  332. data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
  333. data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
  334. data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
  335. data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
  336. data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
  337. data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
  338. data/generated/google/apis/container_v1beta1.rb +0 -35
  339. data/generated/google/apis/container_v1beta1/classes.rb +0 -466
  340. data/generated/google/apis/container_v1beta1/representations.rb +0 -177
  341. data/generated/google/apis/container_v1beta1/service.rb +0 -394
  342. data/generated/google/apis/coordinate_v1.rb +0 -37
  343. data/generated/google/apis/coordinate_v1/classes.rb +0 -669
  344. data/generated/google/apis/coordinate_v1/representations.rb +0 -321
  345. data/generated/google/apis/coordinate_v1/service.rb +0 -678
  346. data/generated/google/apis/datastore_v1beta2.rb +0 -40
  347. data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
  348. data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
  349. data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
  350. data/generated/google/apis/datastore_v1beta3.rb +0 -38
  351. data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
  352. data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
  353. data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
  354. data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
  355. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
  356. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
  357. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
  358. data/generated/google/apis/dfareporting_v2_1.rb +0 -37
  359. data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
  360. data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
  361. data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
  362. data/generated/google/apis/dfareporting_v2_3.rb +0 -37
  363. data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
  364. data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
  365. data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
  366. data/generated/google/apis/dfareporting_v2_5.rb +0 -40
  367. data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
  368. data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
  369. data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
  370. data/generated/google/apis/dfareporting_v2_6.rb +0 -40
  371. data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
  372. data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
  373. data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
  374. data/generated/google/apis/gan_v1beta1.rb +0 -31
  375. data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
  376. data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
  377. data/generated/google/apis/gan_v1beta1/service.rb +0 -682
  378. data/generated/google/apis/genomics_v1beta2.rb +0 -46
  379. data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
  380. data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
  381. data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
  382. data/generated/google/apis/logging_v1beta3.rb +0 -47
  383. data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
  384. data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
  385. data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
  386. data/generated/google/apis/manager_v1beta2.rb +0 -53
  387. data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
  388. data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
  389. data/generated/google/apis/manager_v1beta2/service.rb +0 -372
  390. data/generated/google/apis/pubsub_v1beta2.rb +0 -37
  391. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
  392. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
  393. data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
  394. data/generated/google/apis/tracing_v1.rb +0 -40
  395. data/generated/google/apis/tracing_v1/classes.rb +0 -664
  396. data/generated/google/apis/tracing_v1/representations.rb +0 -279
  397. data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -48,42 +48,37 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
- # Method for media download. Download is supported
52
- # on the URI `/v1/media/`+name`?alt=media`.
53
- # @param [String] resource_name
54
- # Name of the media that is being downloaded. See
55
- # ReadRequest.resource_name.
56
- # @param [String] fields
57
- # Selector specifying which fields to include in a partial response.
51
+ # Creates a job and returns it.
52
+ # @param [Google::Apis::YoutubereportingV1::Job] job_object
53
+ # @param [String] on_behalf_of_content_owner
54
+ # The content owner's external ID on which behalf the user is acting on. If
55
+ # not set, the user is acting for himself (his own channel).
58
56
  # @param [String] quota_user
59
57
  # Available to use for quota purposes for server-side applications. Can be any
60
58
  # arbitrary string assigned to a user, but should not exceed 40 characters.
61
- # @param [IO, String] download_dest
62
- # IO stream or filename to receive content download
59
+ # @param [String] fields
60
+ # Selector specifying which fields to include in a partial response.
63
61
  # @param [Google::Apis::RequestOptions] options
64
62
  # Request-specific options
65
63
  #
66
64
  # @yield [result, err] Result & error if block supplied
67
- # @yieldparam result [Google::Apis::YoutubereportingV1::Media] parsed result object
65
+ # @yieldparam result [Google::Apis::YoutubereportingV1::Job] parsed result object
68
66
  # @yieldparam err [StandardError] error object if request failed
69
67
  #
70
- # @return [Google::Apis::YoutubereportingV1::Media]
68
+ # @return [Google::Apis::YoutubereportingV1::Job]
71
69
  #
72
70
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
73
71
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
74
72
  # @raise [Google::Apis::AuthorizationError] Authorization is required
75
- def download_medium(resource_name, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
76
- if download_dest.nil?
77
- command = make_simple_command(:get, 'v1/media/{+resourceName}', options)
78
- else
79
- command = make_download_command(:get, 'v1/media/{+resourceName}', options)
80
- command.download_dest = download_dest
81
- end
82
- command.response_representation = Google::Apis::YoutubereportingV1::Media::Representation
83
- command.response_class = Google::Apis::YoutubereportingV1::Media
84
- command.params['resourceName'] = resource_name unless resource_name.nil?
85
- command.query['fields'] = fields unless fields.nil?
73
+ def create_job(job_object = nil, on_behalf_of_content_owner: nil, quota_user: nil, fields: nil, options: nil, &block)
74
+ command = make_simple_command(:post, 'v1/jobs', options)
75
+ command.request_representation = Google::Apis::YoutubereportingV1::Job::Representation
76
+ command.request_object = job_object
77
+ command.response_representation = Google::Apis::YoutubereportingV1::Job::Representation
78
+ command.response_class = Google::Apis::YoutubereportingV1::Job
79
+ command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
86
80
  command.query['quotaUser'] = quota_user unless quota_user.nil?
81
+ command.query['fields'] = fields unless fields.nil?
87
82
  execute_or_queue_command(command, &block)
88
83
  end
89
84
 
@@ -93,11 +88,11 @@ module Google
93
88
  # @param [String] on_behalf_of_content_owner
94
89
  # The content owner's external ID on which behalf the user is acting on. If
95
90
  # not set, the user is acting for himself (his own channel).
96
- # @param [String] fields
97
- # Selector specifying which fields to include in a partial response.
98
91
  # @param [String] quota_user
99
92
  # Available to use for quota purposes for server-side applications. Can be any
100
93
  # arbitrary string assigned to a user, but should not exceed 40 characters.
94
+ # @param [String] fields
95
+ # Selector specifying which fields to include in a partial response.
101
96
  # @param [Google::Apis::RequestOptions] options
102
97
  # Request-specific options
103
98
  #
@@ -110,21 +105,18 @@ module Google
110
105
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
111
106
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
112
107
  # @raise [Google::Apis::AuthorizationError] Authorization is required
113
- def delete_job(job_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block)
108
+ def delete_job(job_id, on_behalf_of_content_owner: nil, quota_user: nil, fields: nil, options: nil, &block)
114
109
  command = make_simple_command(:delete, 'v1/jobs/{jobId}', options)
115
110
  command.response_representation = Google::Apis::YoutubereportingV1::Empty::Representation
116
111
  command.response_class = Google::Apis::YoutubereportingV1::Empty
117
112
  command.params['jobId'] = job_id unless job_id.nil?
118
113
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
119
- command.query['fields'] = fields unless fields.nil?
120
114
  command.query['quotaUser'] = quota_user unless quota_user.nil?
115
+ command.query['fields'] = fields unless fields.nil?
121
116
  execute_or_queue_command(command, &block)
122
117
  end
123
118
 
124
119
  # Lists jobs.
125
- # @param [String] on_behalf_of_content_owner
126
- # The content owner's external ID on which behalf the user is acting on. If
127
- # not set, the user is acting for himself (his own channel).
128
120
  # @param [String] page_token
129
121
  # A token identifying a page of results the server should return. Typically,
130
122
  # this is the value of
@@ -137,11 +129,14 @@ module Google
137
129
  # @param [Fixnum] page_size
138
130
  # Requested page size. Server may return fewer jobs than requested.
139
131
  # If unspecified, server will pick an appropriate default.
140
- # @param [String] fields
141
- # Selector specifying which fields to include in a partial response.
132
+ # @param [String] on_behalf_of_content_owner
133
+ # The content owner's external ID on which behalf the user is acting on. If
134
+ # not set, the user is acting for himself (his own channel).
142
135
  # @param [String] quota_user
143
136
  # Available to use for quota purposes for server-side applications. Can be any
144
137
  # arbitrary string assigned to a user, but should not exceed 40 characters.
138
+ # @param [String] fields
139
+ # Selector specifying which fields to include in a partial response.
145
140
  # @param [Google::Apis::RequestOptions] options
146
141
  # Request-specific options
147
142
  #
@@ -154,16 +149,16 @@ module Google
154
149
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
155
150
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
156
151
  # @raise [Google::Apis::AuthorizationError] Authorization is required
157
- def list_jobs(on_behalf_of_content_owner: nil, page_token: nil, include_system_managed: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
152
+ def list_jobs(page_token: nil, include_system_managed: nil, page_size: nil, on_behalf_of_content_owner: nil, quota_user: nil, fields: nil, options: nil, &block)
158
153
  command = make_simple_command(:get, 'v1/jobs', options)
159
154
  command.response_representation = Google::Apis::YoutubereportingV1::ListJobsResponse::Representation
160
155
  command.response_class = Google::Apis::YoutubereportingV1::ListJobsResponse
161
- command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
162
156
  command.query['pageToken'] = page_token unless page_token.nil?
163
157
  command.query['includeSystemManaged'] = include_system_managed unless include_system_managed.nil?
164
158
  command.query['pageSize'] = page_size unless page_size.nil?
165
- command.query['fields'] = fields unless fields.nil?
159
+ command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
166
160
  command.query['quotaUser'] = quota_user unless quota_user.nil?
161
+ command.query['fields'] = fields unless fields.nil?
167
162
  execute_or_queue_command(command, &block)
168
163
  end
169
164
 
@@ -173,11 +168,11 @@ module Google
173
168
  # @param [String] on_behalf_of_content_owner
174
169
  # The content owner's external ID on which behalf the user is acting on. If
175
170
  # not set, the user is acting for himself (his own channel).
176
- # @param [String] fields
177
- # Selector specifying which fields to include in a partial response.
178
171
  # @param [String] quota_user
179
172
  # Available to use for quota purposes for server-side applications. Can be any
180
173
  # arbitrary string assigned to a user, but should not exceed 40 characters.
174
+ # @param [String] fields
175
+ # Selector specifying which fields to include in a partial response.
181
176
  # @param [Google::Apis::RequestOptions] options
182
177
  # Request-specific options
183
178
  #
@@ -190,48 +185,14 @@ module Google
190
185
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
191
186
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
192
187
  # @raise [Google::Apis::AuthorizationError] Authorization is required
193
- def get_job(job_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block)
188
+ def get_job(job_id, on_behalf_of_content_owner: nil, quota_user: nil, fields: nil, options: nil, &block)
194
189
  command = make_simple_command(:get, 'v1/jobs/{jobId}', options)
195
190
  command.response_representation = Google::Apis::YoutubereportingV1::Job::Representation
196
191
  command.response_class = Google::Apis::YoutubereportingV1::Job
197
192
  command.params['jobId'] = job_id unless job_id.nil?
198
193
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
199
- command.query['fields'] = fields unless fields.nil?
200
194
  command.query['quotaUser'] = quota_user unless quota_user.nil?
201
- execute_or_queue_command(command, &block)
202
- end
203
-
204
- # Creates a job and returns it.
205
- # @param [Google::Apis::YoutubereportingV1::Job] job_object
206
- # @param [String] on_behalf_of_content_owner
207
- # The content owner's external ID on which behalf the user is acting on. If
208
- # not set, the user is acting for himself (his own channel).
209
- # @param [String] fields
210
- # Selector specifying which fields to include in a partial response.
211
- # @param [String] quota_user
212
- # Available to use for quota purposes for server-side applications. Can be any
213
- # arbitrary string assigned to a user, but should not exceed 40 characters.
214
- # @param [Google::Apis::RequestOptions] options
215
- # Request-specific options
216
- #
217
- # @yield [result, err] Result & error if block supplied
218
- # @yieldparam result [Google::Apis::YoutubereportingV1::Job] parsed result object
219
- # @yieldparam err [StandardError] error object if request failed
220
- #
221
- # @return [Google::Apis::YoutubereportingV1::Job]
222
- #
223
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
224
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
225
- # @raise [Google::Apis::AuthorizationError] Authorization is required
226
- def create_job(job_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block)
227
- command = make_simple_command(:post, 'v1/jobs', options)
228
- command.request_representation = Google::Apis::YoutubereportingV1::Job::Representation
229
- command.request_object = job_object
230
- command.response_representation = Google::Apis::YoutubereportingV1::Job::Representation
231
- command.response_class = Google::Apis::YoutubereportingV1::Job
232
- command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
233
195
  command.query['fields'] = fields unless fields.nil?
234
- command.query['quotaUser'] = quota_user unless quota_user.nil?
235
196
  execute_or_queue_command(command, &block)
236
197
  end
237
198
 
@@ -239,12 +200,6 @@ module Google
239
200
  # Returns NOT_FOUND if the job does not exist.
240
201
  # @param [String] job_id
241
202
  # The ID of the job.
242
- # @param [String] on_behalf_of_content_owner
243
- # The content owner's external ID on which behalf the user is acting on. If
244
- # not set, the user is acting for himself (his own channel).
245
- # @param [String] start_time_before
246
- # If set, only reports whose start time is smaller than the specified
247
- # date/time are returned.
248
203
  # @param [String] created_after
249
204
  # If set, only reports created after the specified date/time are returned.
250
205
  # @param [String] start_time_at_or_after
@@ -258,11 +213,17 @@ module Google
258
213
  # @param [Fixnum] page_size
259
214
  # Requested page size. Server may return fewer report types than requested.
260
215
  # If unspecified, server will pick an appropriate default.
261
- # @param [String] fields
262
- # Selector specifying which fields to include in a partial response.
216
+ # @param [String] on_behalf_of_content_owner
217
+ # The content owner's external ID on which behalf the user is acting on. If
218
+ # not set, the user is acting for himself (his own channel).
219
+ # @param [String] start_time_before
220
+ # If set, only reports whose start time is smaller than the specified
221
+ # date/time are returned.
263
222
  # @param [String] quota_user
264
223
  # Available to use for quota purposes for server-side applications. Can be any
265
224
  # arbitrary string assigned to a user, but should not exceed 40 characters.
225
+ # @param [String] fields
226
+ # Selector specifying which fields to include in a partial response.
266
227
  # @param [Google::Apis::RequestOptions] options
267
228
  # Request-specific options
268
229
  #
@@ -275,19 +236,19 @@ module Google
275
236
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
276
237
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
277
238
  # @raise [Google::Apis::AuthorizationError] Authorization is required
278
- def list_job_reports(job_id, on_behalf_of_content_owner: nil, start_time_before: nil, created_after: nil, start_time_at_or_after: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
239
+ def list_job_reports(job_id, created_after: nil, start_time_at_or_after: nil, page_token: nil, page_size: nil, on_behalf_of_content_owner: nil, start_time_before: nil, quota_user: nil, fields: nil, options: nil, &block)
279
240
  command = make_simple_command(:get, 'v1/jobs/{jobId}/reports', options)
280
241
  command.response_representation = Google::Apis::YoutubereportingV1::ListReportsResponse::Representation
281
242
  command.response_class = Google::Apis::YoutubereportingV1::ListReportsResponse
282
243
  command.params['jobId'] = job_id unless job_id.nil?
283
- command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
284
- command.query['startTimeBefore'] = start_time_before unless start_time_before.nil?
285
244
  command.query['createdAfter'] = created_after unless created_after.nil?
286
245
  command.query['startTimeAtOrAfter'] = start_time_at_or_after unless start_time_at_or_after.nil?
287
246
  command.query['pageToken'] = page_token unless page_token.nil?
288
247
  command.query['pageSize'] = page_size unless page_size.nil?
289
- command.query['fields'] = fields unless fields.nil?
248
+ command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
249
+ command.query['startTimeBefore'] = start_time_before unless start_time_before.nil?
290
250
  command.query['quotaUser'] = quota_user unless quota_user.nil?
251
+ command.query['fields'] = fields unless fields.nil?
291
252
  execute_or_queue_command(command, &block)
292
253
  end
293
254
 
@@ -299,11 +260,11 @@ module Google
299
260
  # @param [String] on_behalf_of_content_owner
300
261
  # The content owner's external ID on which behalf the user is acting on. If
301
262
  # not set, the user is acting for himself (his own channel).
302
- # @param [String] fields
303
- # Selector specifying which fields to include in a partial response.
304
263
  # @param [String] quota_user
305
264
  # Available to use for quota purposes for server-side applications. Can be any
306
265
  # arbitrary string assigned to a user, but should not exceed 40 characters.
266
+ # @param [String] fields
267
+ # Selector specifying which fields to include in a partial response.
307
268
  # @param [Google::Apis::RequestOptions] options
308
269
  # Request-specific options
309
270
  #
@@ -316,15 +277,15 @@ module Google
316
277
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
317
278
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
318
279
  # @raise [Google::Apis::AuthorizationError] Authorization is required
319
- def get_job_report(job_id, report_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block)
280
+ def get_job_report(job_id, report_id, on_behalf_of_content_owner: nil, quota_user: nil, fields: nil, options: nil, &block)
320
281
  command = make_simple_command(:get, 'v1/jobs/{jobId}/reports/{reportId}', options)
321
282
  command.response_representation = Google::Apis::YoutubereportingV1::Report::Representation
322
283
  command.response_class = Google::Apis::YoutubereportingV1::Report
323
284
  command.params['jobId'] = job_id unless job_id.nil?
324
285
  command.params['reportId'] = report_id unless report_id.nil?
325
286
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
326
- command.query['fields'] = fields unless fields.nil?
327
287
  command.query['quotaUser'] = quota_user unless quota_user.nil?
288
+ command.query['fields'] = fields unless fields.nil?
328
289
  execute_or_queue_command(command, &block)
329
290
  end
330
291
 
@@ -344,11 +305,11 @@ module Google
344
305
  # @param [String] on_behalf_of_content_owner
345
306
  # The content owner's external ID on which behalf the user is acting on. If
346
307
  # not set, the user is acting for himself (his own channel).
347
- # @param [String] fields
348
- # Selector specifying which fields to include in a partial response.
349
308
  # @param [String] quota_user
350
309
  # Available to use for quota purposes for server-side applications. Can be any
351
310
  # arbitrary string assigned to a user, but should not exceed 40 characters.
311
+ # @param [String] fields
312
+ # Selector specifying which fields to include in a partial response.
352
313
  # @param [Google::Apis::RequestOptions] options
353
314
  # Request-specific options
354
315
  #
@@ -361,7 +322,7 @@ module Google
361
322
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
362
323
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
363
324
  # @raise [Google::Apis::AuthorizationError] Authorization is required
364
- def list_report_types(page_token: nil, include_system_managed: nil, page_size: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block)
325
+ def list_report_types(page_token: nil, include_system_managed: nil, page_size: nil, on_behalf_of_content_owner: nil, quota_user: nil, fields: nil, options: nil, &block)
365
326
  command = make_simple_command(:get, 'v1/reportTypes', options)
366
327
  command.response_representation = Google::Apis::YoutubereportingV1::ListReportTypesResponse::Representation
367
328
  command.response_class = Google::Apis::YoutubereportingV1::ListReportTypesResponse
@@ -369,8 +330,47 @@ module Google
369
330
  command.query['includeSystemManaged'] = include_system_managed unless include_system_managed.nil?
370
331
  command.query['pageSize'] = page_size unless page_size.nil?
371
332
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
333
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
372
334
  command.query['fields'] = fields unless fields.nil?
335
+ execute_or_queue_command(command, &block)
336
+ end
337
+
338
+ # Method for media download. Download is supported
339
+ # on the URI `/v1/media/`+name`?alt=media`.
340
+ # @param [String] resource_name
341
+ # Name of the media that is being downloaded. See
342
+ # ReadRequest.resource_name.
343
+ # @param [String] quota_user
344
+ # Available to use for quota purposes for server-side applications. Can be any
345
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
346
+ # @param [String] fields
347
+ # Selector specifying which fields to include in a partial response.
348
+ # @param [IO, String] download_dest
349
+ # IO stream or filename to receive content download
350
+ # @param [Google::Apis::RequestOptions] options
351
+ # Request-specific options
352
+ #
353
+ # @yield [result, err] Result & error if block supplied
354
+ # @yieldparam result [Google::Apis::YoutubereportingV1::Media] parsed result object
355
+ # @yieldparam err [StandardError] error object if request failed
356
+ #
357
+ # @return [Google::Apis::YoutubereportingV1::Media]
358
+ #
359
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
360
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
361
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
362
+ def download_medium(resource_name, quota_user: nil, fields: nil, download_dest: nil, options: nil, &block)
363
+ if download_dest.nil?
364
+ command = make_simple_command(:get, 'v1/media/{+resourceName}', options)
365
+ else
366
+ command = make_download_command(:get, 'v1/media/{+resourceName}', options)
367
+ command.download_dest = download_dest
368
+ end
369
+ command.response_representation = Google::Apis::YoutubereportingV1::Media::Representation
370
+ command.response_class = Google::Apis::YoutubereportingV1::Media
371
+ command.params['resourceName'] = resource_name unless resource_name.nil?
373
372
  command.query['quotaUser'] = quota_user unless quota_user.nil?
373
+ command.query['fields'] = fields unless fields.nil?
374
374
  execute_or_queue_command(command, &block)
375
375
  end
376
376
 
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.email = ['sbazyl@google.com']
10
10
  spec.summary = %q{Client for accessing Google APIs}
11
11
  spec.homepage = 'https://github.com/google/google-api-ruby-client'
12
- spec.license = 'Apache 2.0'
12
+ spec.license = 'Apache-2.0'
13
13
 
14
14
  spec.files = `git ls-files -z`
15
15
  .split("\x0")
@@ -22,8 +22,8 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_runtime_dependency 'representable', '~> 3.0'
24
24
  spec.add_runtime_dependency 'retriable', '>= 2.0', '< 4.0'
25
- spec.add_runtime_dependency 'addressable', '>= 2.5.1'
26
- spec.add_runtime_dependency 'mime-types', '>= 3.0'
25
+ spec.add_runtime_dependency 'addressable', '~> 2.5', '>= 2.5.1'
26
+ spec.add_runtime_dependency 'mime-types', '~> 3.0'
27
27
  spec.add_runtime_dependency 'googleauth', '~> 0.5'
28
28
  spec.add_runtime_dependency 'httpclient', '>= 2.8.1', '< 3.0'
29
29
  spec.add_development_dependency 'thor', '~> 0.19'
@@ -69,6 +69,12 @@ module Google
69
69
  break if @max && item_count > @max
70
70
  yield item
71
71
  end
72
+ elsif items.kind_of?(Hash)
73
+ items.each do |key, val|
74
+ item_count = item_count + 1
75
+ break if @max && item_count > @max
76
+ yield key, val
77
+ end
72
78
  elsif items
73
79
  # yield singular non-nil items (for genomics API)
74
80
  yield items
@@ -233,9 +233,9 @@ module Google
233
233
  def annotate_resource(name, resource, parent_resource = nil)
234
234
  @strip_prefixes << name
235
235
  resource.parent = parent_resource unless parent_resource.nil?
236
- resource.api_methods.each do |_k, v|
236
+ resource.methods_prop.each do |_k, v|
237
237
  annotate_method(v, resource)
238
- end unless resource.api_methods.nil?
238
+ end unless resource.methods_prop.nil?
239
239
 
240
240
  resource.resources.each do |k, v|
241
241
  annotate_resource(k, v, resource)
@@ -94,7 +94,7 @@ module Google
94
94
 
95
95
  def all_methods
96
96
  m = []
97
- m << api_methods.values unless api_methods.nil?
97
+ m << methods_prop.values unless methods_prop.nil?
98
98
  m << resources.map { |_k, r| r.all_methods } unless resources.nil?
99
99
  m.flatten
100
100
  end
@@ -127,7 +127,7 @@ module Google
127
127
 
128
128
  def all_methods
129
129
  m = []
130
- m << api_methods.values unless api_methods.nil?
130
+ m << methods_prop.values unless methods_prop.nil?
131
131
  m << resources.map { |_k, r| r.all_methods } unless resources.nil?
132
132
  m.flatten
133
133
  end
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  # Client library version
18
- VERSION = '0.11.3'
18
+ VERSION = '0.12.0'
19
19
 
20
20
  # Current operating system
21
21
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.3
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2017-05-26 00:00:00.000000000 Z
14
+ date: 2017-06-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -51,6 +51,9 @@ dependencies:
51
51
  name: addressable
52
52
  requirement: !ruby/object:Gem::Requirement
53
53
  requirements:
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: '2.5'
54
57
  - - ">="
55
58
  - !ruby/object:Gem::Version
56
59
  version: 2.5.1
@@ -58,6 +61,9 @@ dependencies:
58
61
  prerelease: false
59
62
  version_requirements: !ruby/object:Gem::Requirement
60
63
  requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '2.5'
61
67
  - - ">="
62
68
  - !ruby/object:Gem::Version
63
69
  version: 2.5.1
@@ -65,14 +71,14 @@ dependencies:
65
71
  name: mime-types
66
72
  requirement: !ruby/object:Gem::Requirement
67
73
  requirements:
68
- - - ">="
74
+ - - "~>"
69
75
  - !ruby/object:Gem::Version
70
76
  version: '3.0'
71
77
  type: :runtime
72
78
  prerelease: false
73
79
  version_requirements: !ruby/object:Gem::Requirement
74
80
  requirements:
75
- - - ">="
81
+ - - "~>"
76
82
  - !ruby/object:Gem::Version
77
83
  version: '3.0'
78
84
  - !ruby/object:Gem::Dependency
@@ -166,7 +172,6 @@ files:
166
172
  - Rakefile
167
173
  - api_names.yaml
168
174
  - bin/generate-api
169
- - dl.rb
170
175
  - generated/google/apis/acceleratedmobilepageurl_v1.rb
171
176
  - generated/google/apis/acceleratedmobilepageurl_v1/classes.rb
172
177
  - generated/google/apis/acceleratedmobilepageurl_v1/representations.rb
@@ -175,10 +180,6 @@ files:
175
180
  - generated/google/apis/adexchangebuyer2_v2beta1/classes.rb
176
181
  - generated/google/apis/adexchangebuyer2_v2beta1/representations.rb
177
182
  - generated/google/apis/adexchangebuyer2_v2beta1/service.rb
178
- - generated/google/apis/adexchangebuyer_v1_3.rb
179
- - generated/google/apis/adexchangebuyer_v1_3/classes.rb
180
- - generated/google/apis/adexchangebuyer_v1_3/representations.rb
181
- - generated/google/apis/adexchangebuyer_v1_3/service.rb
182
183
  - generated/google/apis/adexchangebuyer_v1_4.rb
183
184
  - generated/google/apis/adexchangebuyer_v1_4/classes.rb
184
185
  - generated/google/apis/adexchangebuyer_v1_4/representations.rb
@@ -227,14 +228,6 @@ files:
227
228
  - generated/google/apis/appengine_v1/classes.rb
228
229
  - generated/google/apis/appengine_v1/representations.rb
229
230
  - generated/google/apis/appengine_v1/service.rb
230
- - generated/google/apis/appengine_v1beta4.rb
231
- - generated/google/apis/appengine_v1beta4/classes.rb
232
- - generated/google/apis/appengine_v1beta4/representations.rb
233
- - generated/google/apis/appengine_v1beta4/service.rb
234
- - generated/google/apis/appengine_v1beta5.rb
235
- - generated/google/apis/appengine_v1beta5/classes.rb
236
- - generated/google/apis/appengine_v1beta5/representations.rb
237
- - generated/google/apis/appengine_v1beta5/service.rb
238
231
  - generated/google/apis/appsactivity_v1.rb
239
232
  - generated/google/apis/appsactivity_v1/classes.rb
240
233
  - generated/google/apis/appsactivity_v1/representations.rb
@@ -247,10 +240,6 @@ files:
247
240
  - generated/google/apis/appstate_v1/classes.rb
248
241
  - generated/google/apis/appstate_v1/representations.rb
249
242
  - generated/google/apis/appstate_v1/service.rb
250
- - generated/google/apis/autoscaler_v1beta2.rb
251
- - generated/google/apis/autoscaler_v1beta2/classes.rb
252
- - generated/google/apis/autoscaler_v1beta2/representations.rb
253
- - generated/google/apis/autoscaler_v1beta2/service.rb
254
243
  - generated/google/apis/bigquery_v2.rb
255
244
  - generated/google/apis/bigquery_v2/classes.rb
256
245
  - generated/google/apis/bigquery_v2/representations.rb
@@ -275,10 +264,6 @@ files:
275
264
  - generated/google/apis/classroom_v1/classes.rb
276
265
  - generated/google/apis/classroom_v1/representations.rb
277
266
  - generated/google/apis/classroom_v1/service.rb
278
- - generated/google/apis/classroom_v1beta1.rb
279
- - generated/google/apis/classroom_v1beta1/classes.rb
280
- - generated/google/apis/classroom_v1beta1/representations.rb
281
- - generated/google/apis/classroom_v1beta1/service.rb
282
267
  - generated/google/apis/cloudbilling_v1.rb
283
268
  - generated/google/apis/cloudbilling_v1/classes.rb
284
269
  - generated/google/apis/cloudbilling_v1/representations.rb
@@ -303,14 +288,6 @@ files:
303
288
  - generated/google/apis/cloudkms_v1/classes.rb
304
289
  - generated/google/apis/cloudkms_v1/representations.rb
305
290
  - generated/google/apis/cloudkms_v1/service.rb
306
- - generated/google/apis/cloudkms_v1beta1.rb
307
- - generated/google/apis/cloudkms_v1beta1/classes.rb
308
- - generated/google/apis/cloudkms_v1beta1/representations.rb
309
- - generated/google/apis/cloudkms_v1beta1/service.rb
310
- - generated/google/apis/cloudlatencytest_v2.rb
311
- - generated/google/apis/cloudlatencytest_v2/classes.rb
312
- - generated/google/apis/cloudlatencytest_v2/representations.rb
313
- - generated/google/apis/cloudlatencytest_v2/service.rb
314
291
  - generated/google/apis/cloudmonitoring_v2beta2.rb
315
292
  - generated/google/apis/cloudmonitoring_v2beta2/classes.rb
316
293
  - generated/google/apis/cloudmonitoring_v2beta2/representations.rb
@@ -343,18 +320,10 @@ files:
343
320
  - generated/google/apis/container_v1/classes.rb
344
321
  - generated/google/apis/container_v1/representations.rb
345
322
  - generated/google/apis/container_v1/service.rb
346
- - generated/google/apis/container_v1beta1.rb
347
- - generated/google/apis/container_v1beta1/classes.rb
348
- - generated/google/apis/container_v1beta1/representations.rb
349
- - generated/google/apis/container_v1beta1/service.rb
350
323
  - generated/google/apis/content_v2.rb
351
324
  - generated/google/apis/content_v2/classes.rb
352
325
  - generated/google/apis/content_v2/representations.rb
353
326
  - generated/google/apis/content_v2/service.rb
354
- - generated/google/apis/coordinate_v1.rb
355
- - generated/google/apis/coordinate_v1/classes.rb
356
- - generated/google/apis/coordinate_v1/representations.rb
357
- - generated/google/apis/coordinate_v1/service.rb
358
327
  - generated/google/apis/customsearch_v1.rb
359
328
  - generated/google/apis/customsearch_v1/classes.rb
360
329
  - generated/google/apis/customsearch_v1/representations.rb
@@ -371,38 +340,10 @@ files:
371
340
  - generated/google/apis/datastore_v1/classes.rb
372
341
  - generated/google/apis/datastore_v1/representations.rb
373
342
  - generated/google/apis/datastore_v1/service.rb
374
- - generated/google/apis/datastore_v1beta2.rb
375
- - generated/google/apis/datastore_v1beta2/classes.rb
376
- - generated/google/apis/datastore_v1beta2/representations.rb
377
- - generated/google/apis/datastore_v1beta2/service.rb
378
- - generated/google/apis/datastore_v1beta3.rb
379
- - generated/google/apis/datastore_v1beta3/classes.rb
380
- - generated/google/apis/datastore_v1beta3/representations.rb
381
- - generated/google/apis/datastore_v1beta3/service.rb
382
343
  - generated/google/apis/deploymentmanager_v2.rb
383
344
  - generated/google/apis/deploymentmanager_v2/classes.rb
384
345
  - generated/google/apis/deploymentmanager_v2/representations.rb
385
346
  - generated/google/apis/deploymentmanager_v2/service.rb
386
- - generated/google/apis/deploymentmanager_v2beta2.rb
387
- - generated/google/apis/deploymentmanager_v2beta2/classes.rb
388
- - generated/google/apis/deploymentmanager_v2beta2/representations.rb
389
- - generated/google/apis/deploymentmanager_v2beta2/service.rb
390
- - generated/google/apis/dfareporting_v2_1.rb
391
- - generated/google/apis/dfareporting_v2_1/classes.rb
392
- - generated/google/apis/dfareporting_v2_1/representations.rb
393
- - generated/google/apis/dfareporting_v2_1/service.rb
394
- - generated/google/apis/dfareporting_v2_3.rb
395
- - generated/google/apis/dfareporting_v2_3/classes.rb
396
- - generated/google/apis/dfareporting_v2_3/representations.rb
397
- - generated/google/apis/dfareporting_v2_3/service.rb
398
- - generated/google/apis/dfareporting_v2_5.rb
399
- - generated/google/apis/dfareporting_v2_5/classes.rb
400
- - generated/google/apis/dfareporting_v2_5/representations.rb
401
- - generated/google/apis/dfareporting_v2_5/service.rb
402
- - generated/google/apis/dfareporting_v2_6.rb
403
- - generated/google/apis/dfareporting_v2_6/classes.rb
404
- - generated/google/apis/dfareporting_v2_6/representations.rb
405
- - generated/google/apis/dfareporting_v2_6/service.rb
406
347
  - generated/google/apis/dfareporting_v2_7.rb
407
348
  - generated/google/apis/dfareporting_v2_7/classes.rb
408
349
  - generated/google/apis/dfareporting_v2_7/representations.rb
@@ -467,18 +408,10 @@ files:
467
408
  - generated/google/apis/games_v1/classes.rb
468
409
  - generated/google/apis/games_v1/representations.rb
469
410
  - generated/google/apis/games_v1/service.rb
470
- - generated/google/apis/gan_v1beta1.rb
471
- - generated/google/apis/gan_v1beta1/classes.rb
472
- - generated/google/apis/gan_v1beta1/representations.rb
473
- - generated/google/apis/gan_v1beta1/service.rb
474
411
  - generated/google/apis/genomics_v1.rb
475
412
  - generated/google/apis/genomics_v1/classes.rb
476
413
  - generated/google/apis/genomics_v1/representations.rb
477
414
  - generated/google/apis/genomics_v1/service.rb
478
- - generated/google/apis/genomics_v1beta2.rb
479
- - generated/google/apis/genomics_v1beta2/classes.rb
480
- - generated/google/apis/genomics_v1beta2/representations.rb
481
- - generated/google/apis/genomics_v1beta2/service.rb
482
415
  - generated/google/apis/gmail_v1.rb
483
416
  - generated/google/apis/gmail_v1/classes.rb
484
417
  - generated/google/apis/gmail_v1/representations.rb
@@ -515,10 +448,6 @@ files:
515
448
  - generated/google/apis/licensing_v1/classes.rb
516
449
  - generated/google/apis/licensing_v1/representations.rb
517
450
  - generated/google/apis/licensing_v1/service.rb
518
- - generated/google/apis/logging_v1beta3.rb
519
- - generated/google/apis/logging_v1beta3/classes.rb
520
- - generated/google/apis/logging_v1beta3/representations.rb
521
- - generated/google/apis/logging_v1beta3/service.rb
522
451
  - generated/google/apis/logging_v2.rb
523
452
  - generated/google/apis/logging_v2/classes.rb
524
453
  - generated/google/apis/logging_v2/representations.rb
@@ -527,10 +456,6 @@ files:
527
456
  - generated/google/apis/logging_v2beta1/classes.rb
528
457
  - generated/google/apis/logging_v2beta1/representations.rb
529
458
  - generated/google/apis/logging_v2beta1/service.rb
530
- - generated/google/apis/manager_v1beta2.rb
531
- - generated/google/apis/manager_v1beta2/classes.rb
532
- - generated/google/apis/manager_v1beta2/representations.rb
533
- - generated/google/apis/manager_v1beta2/service.rb
534
459
  - generated/google/apis/manufacturers_v1.rb
535
460
  - generated/google/apis/manufacturers_v1/classes.rb
536
461
  - generated/google/apis/manufacturers_v1/representations.rb
@@ -587,10 +512,6 @@ files:
587
512
  - generated/google/apis/pubsub_v1/classes.rb
588
513
  - generated/google/apis/pubsub_v1/representations.rb
589
514
  - generated/google/apis/pubsub_v1/service.rb
590
- - generated/google/apis/pubsub_v1beta2.rb
591
- - generated/google/apis/pubsub_v1beta2/classes.rb
592
- - generated/google/apis/pubsub_v1beta2/representations.rb
593
- - generated/google/apis/pubsub_v1beta2/service.rb
594
515
  - generated/google/apis/qpx_express_v1.rb
595
516
  - generated/google/apis/qpx_express_v1/classes.rb
596
517
  - generated/google/apis/qpx_express_v1/representations.rb
@@ -695,10 +616,6 @@ files:
695
616
  - generated/google/apis/toolresults_v1beta3/classes.rb
696
617
  - generated/google/apis/toolresults_v1beta3/representations.rb
697
618
  - generated/google/apis/toolresults_v1beta3/service.rb
698
- - generated/google/apis/tracing_v1.rb
699
- - generated/google/apis/tracing_v1/classes.rb
700
- - generated/google/apis/tracing_v1/representations.rb
701
- - generated/google/apis/tracing_v1/service.rb
702
619
  - generated/google/apis/translate_v2.rb
703
620
  - generated/google/apis/translate_v2/classes.rb
704
621
  - generated/google/apis/translate_v2/representations.rb
@@ -803,7 +720,7 @@ files:
803
720
  - samples/web/views/layout.erb
804
721
  homepage: https://github.com/google/google-api-ruby-client
805
722
  licenses:
806
- - Apache 2.0
723
+ - Apache-2.0
807
724
  metadata: {}
808
725
  post_install_message:
809
726
  rdoc_options: []