google-api-client 0.10.3 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -51,6 +51,7 @@ module Google
51
51
 
52
52
  def initialize
53
53
  super('https://www.googleapis.com/', 'content/v2/')
54
+ @batch_path = 'batch'
54
55
  end
55
56
 
56
57
  # Returns information about the authenticated user.
@@ -126,9 +127,9 @@ module Google
126
127
 
127
128
  # Deletes a Merchant Center sub-account. This method can only be called for
128
129
  # multi-client accounts.
129
- # @param [String] merchant_id
130
+ # @param [Fixnum] merchant_id
130
131
  # The ID of the managing account.
131
- # @param [String] account_id
132
+ # @param [Fixnum] account_id
132
133
  # The ID of the account.
133
134
  # @param [Boolean] dry_run
134
135
  # Flag to run the request in dry-run mode.
@@ -167,9 +168,9 @@ module Google
167
168
  # Retrieves a Merchant Center account. This method can only be called for
168
169
  # accounts to which the managing account has access: either the managing account
169
170
  # itself or sub-accounts if the managing account is a multi-client account.
170
- # @param [String] merchant_id
171
+ # @param [Fixnum] merchant_id
171
172
  # The ID of the managing account.
172
- # @param [String] account_id
173
+ # @param [Fixnum] account_id
173
174
  # The ID of the account.
174
175
  # @param [String] fields
175
176
  # Selector specifying which fields to include in a partial response.
@@ -206,7 +207,7 @@ module Google
206
207
 
207
208
  # Creates a Merchant Center sub-account. This method can only be called for
208
209
  # multi-client accounts.
209
- # @param [String] merchant_id
210
+ # @param [Fixnum] merchant_id
210
211
  # The ID of the managing account.
211
212
  # @param [Google::Apis::ContentV2::Account] account_object
212
213
  # @param [Boolean] dry_run
@@ -248,7 +249,7 @@ module Google
248
249
 
249
250
  # Lists the sub-accounts in your Merchant Center account. This method can only
250
251
  # be called for multi-client accounts.
251
- # @param [String] merchant_id
252
+ # @param [Fixnum] merchant_id
252
253
  # The ID of the managing account.
253
254
  # @param [Fixnum] max_results
254
255
  # The maximum number of accounts to return in the response, used for paging.
@@ -292,9 +293,9 @@ module Google
292
293
  # to which the managing account has access: either the managing account itself
293
294
  # or sub-accounts if the managing account is a multi-client account. This method
294
295
  # supports patch semantics.
295
- # @param [String] merchant_id
296
+ # @param [Fixnum] merchant_id
296
297
  # The ID of the managing account.
297
- # @param [String] account_id
298
+ # @param [Fixnum] account_id
298
299
  # The ID of the account.
299
300
  # @param [Google::Apis::ContentV2::Account] account_object
300
301
  # @param [Boolean] dry_run
@@ -338,9 +339,9 @@ module Google
338
339
  # Updates a Merchant Center account. This method can only be called for accounts
339
340
  # to which the managing account has access: either the managing account itself
340
341
  # or sub-accounts if the managing account is a multi-client account.
341
- # @param [String] merchant_id
342
+ # @param [Fixnum] merchant_id
342
343
  # The ID of the managing account.
343
- # @param [String] account_id
344
+ # @param [Fixnum] account_id
344
345
  # The ID of the account.
345
346
  # @param [Google::Apis::ContentV2::Account] account_object
346
347
  # @param [Boolean] dry_run
@@ -381,223 +382,6 @@ module Google
381
382
  execute_or_queue_command(command, &block)
382
383
  end
383
384
 
384
- # Retrieves and updates the shipping settings of multiple accounts in a single
385
- # request.
386
- # @param [Google::Apis::ContentV2::BatchAccountShippingRequest] batch_account_shipping_request_object
387
- # @param [Boolean] dry_run
388
- # Flag to run the request in dry-run mode.
389
- # @param [String] fields
390
- # Selector specifying which fields to include in a partial response.
391
- # @param [String] quota_user
392
- # Available to use for quota purposes for server-side applications. Can be any
393
- # arbitrary string assigned to a user, but should not exceed 40 characters.
394
- # Overrides userIp if both are provided.
395
- # @param [String] user_ip
396
- # IP address of the site where the request originates. Use this if you want to
397
- # enforce per-user limits.
398
- # @param [Google::Apis::RequestOptions] options
399
- # Request-specific options
400
- #
401
- # @yield [result, err] Result & error if block supplied
402
- # @yieldparam result [Google::Apis::ContentV2::BatchAccountShippingResponse] parsed result object
403
- # @yieldparam err [StandardError] error object if request failed
404
- #
405
- # @return [Google::Apis::ContentV2::BatchAccountShippingResponse]
406
- #
407
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
408
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
409
- # @raise [Google::Apis::AuthorizationError] Authorization is required
410
- def batch_account_shipping(batch_account_shipping_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
411
- command = make_simple_command(:post, 'accountshipping/batch', options)
412
- command.request_representation = Google::Apis::ContentV2::BatchAccountShippingRequest::Representation
413
- command.request_object = batch_account_shipping_request_object
414
- command.response_representation = Google::Apis::ContentV2::BatchAccountShippingResponse::Representation
415
- command.response_class = Google::Apis::ContentV2::BatchAccountShippingResponse
416
- command.query['dryRun'] = dry_run unless dry_run.nil?
417
- command.query['fields'] = fields unless fields.nil?
418
- command.query['quotaUser'] = quota_user unless quota_user.nil?
419
- command.query['userIp'] = user_ip unless user_ip.nil?
420
- execute_or_queue_command(command, &block)
421
- end
422
-
423
- # Retrieves the shipping settings of the account. This method can only be called
424
- # for accounts to which the managing account has access: either the managing
425
- # account itself or sub-accounts if the managing account is a multi-client
426
- # account.
427
- # @param [String] merchant_id
428
- # The ID of the managing account.
429
- # @param [String] account_id
430
- # The ID of the account for which to get/update account shipping settings.
431
- # @param [String] fields
432
- # Selector specifying which fields to include in a partial response.
433
- # @param [String] quota_user
434
- # Available to use for quota purposes for server-side applications. Can be any
435
- # arbitrary string assigned to a user, but should not exceed 40 characters.
436
- # Overrides userIp if both are provided.
437
- # @param [String] user_ip
438
- # IP address of the site where the request originates. Use this if you want to
439
- # enforce per-user limits.
440
- # @param [Google::Apis::RequestOptions] options
441
- # Request-specific options
442
- #
443
- # @yield [result, err] Result & error if block supplied
444
- # @yieldparam result [Google::Apis::ContentV2::AccountShipping] parsed result object
445
- # @yieldparam err [StandardError] error object if request failed
446
- #
447
- # @return [Google::Apis::ContentV2::AccountShipping]
448
- #
449
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
450
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
451
- # @raise [Google::Apis::AuthorizationError] Authorization is required
452
- def get_account_shipping(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
453
- command = make_simple_command(:get, '{merchantId}/accountshipping/{accountId}', options)
454
- command.response_representation = Google::Apis::ContentV2::AccountShipping::Representation
455
- command.response_class = Google::Apis::ContentV2::AccountShipping
456
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
457
- command.params['accountId'] = account_id unless account_id.nil?
458
- command.query['fields'] = fields unless fields.nil?
459
- command.query['quotaUser'] = quota_user unless quota_user.nil?
460
- command.query['userIp'] = user_ip unless user_ip.nil?
461
- execute_or_queue_command(command, &block)
462
- end
463
-
464
- # Lists the shipping settings of the sub-accounts in your Merchant Center
465
- # account. This method can only be called for multi-client accounts.
466
- # @param [String] merchant_id
467
- # The ID of the managing account.
468
- # @param [Fixnum] max_results
469
- # The maximum number of shipping settings to return in the response, used for
470
- # paging.
471
- # @param [String] page_token
472
- # The token returned by the previous request.
473
- # @param [String] fields
474
- # Selector specifying which fields to include in a partial response.
475
- # @param [String] quota_user
476
- # Available to use for quota purposes for server-side applications. Can be any
477
- # arbitrary string assigned to a user, but should not exceed 40 characters.
478
- # Overrides userIp if both are provided.
479
- # @param [String] user_ip
480
- # IP address of the site where the request originates. Use this if you want to
481
- # enforce per-user limits.
482
- # @param [Google::Apis::RequestOptions] options
483
- # Request-specific options
484
- #
485
- # @yield [result, err] Result & error if block supplied
486
- # @yieldparam result [Google::Apis::ContentV2::ListAccountShippingResponse] parsed result object
487
- # @yieldparam err [StandardError] error object if request failed
488
- #
489
- # @return [Google::Apis::ContentV2::ListAccountShippingResponse]
490
- #
491
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
492
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
493
- # @raise [Google::Apis::AuthorizationError] Authorization is required
494
- def list_account_shippings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
495
- command = make_simple_command(:get, '{merchantId}/accountshipping', options)
496
- command.response_representation = Google::Apis::ContentV2::ListAccountShippingResponse::Representation
497
- command.response_class = Google::Apis::ContentV2::ListAccountShippingResponse
498
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
499
- command.query['maxResults'] = max_results unless max_results.nil?
500
- command.query['pageToken'] = page_token unless page_token.nil?
501
- command.query['fields'] = fields unless fields.nil?
502
- command.query['quotaUser'] = quota_user unless quota_user.nil?
503
- command.query['userIp'] = user_ip unless user_ip.nil?
504
- execute_or_queue_command(command, &block)
505
- end
506
-
507
- # Updates the shipping settings of the account. This method can only be called
508
- # for accounts to which the managing account has access: either the managing
509
- # account itself or sub-accounts if the managing account is a multi-client
510
- # account. This method supports patch semantics.
511
- # @param [String] merchant_id
512
- # The ID of the managing account.
513
- # @param [String] account_id
514
- # The ID of the account for which to get/update account shipping settings.
515
- # @param [Google::Apis::ContentV2::AccountShipping] account_shipping_object
516
- # @param [Boolean] dry_run
517
- # Flag to run the request in dry-run mode.
518
- # @param [String] fields
519
- # Selector specifying which fields to include in a partial response.
520
- # @param [String] quota_user
521
- # Available to use for quota purposes for server-side applications. Can be any
522
- # arbitrary string assigned to a user, but should not exceed 40 characters.
523
- # Overrides userIp if both are provided.
524
- # @param [String] user_ip
525
- # IP address of the site where the request originates. Use this if you want to
526
- # enforce per-user limits.
527
- # @param [Google::Apis::RequestOptions] options
528
- # Request-specific options
529
- #
530
- # @yield [result, err] Result & error if block supplied
531
- # @yieldparam result [Google::Apis::ContentV2::AccountShipping] parsed result object
532
- # @yieldparam err [StandardError] error object if request failed
533
- #
534
- # @return [Google::Apis::ContentV2::AccountShipping]
535
- #
536
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
537
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
538
- # @raise [Google::Apis::AuthorizationError] Authorization is required
539
- def patch_account_shipping(merchant_id, account_id, account_shipping_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
540
- command = make_simple_command(:patch, '{merchantId}/accountshipping/{accountId}', options)
541
- command.request_representation = Google::Apis::ContentV2::AccountShipping::Representation
542
- command.request_object = account_shipping_object
543
- command.response_representation = Google::Apis::ContentV2::AccountShipping::Representation
544
- command.response_class = Google::Apis::ContentV2::AccountShipping
545
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
546
- command.params['accountId'] = account_id unless account_id.nil?
547
- command.query['dryRun'] = dry_run unless dry_run.nil?
548
- command.query['fields'] = fields unless fields.nil?
549
- command.query['quotaUser'] = quota_user unless quota_user.nil?
550
- command.query['userIp'] = user_ip unless user_ip.nil?
551
- execute_or_queue_command(command, &block)
552
- end
553
-
554
- # Updates the shipping settings of the account. This method can only be called
555
- # for accounts to which the managing account has access: either the managing
556
- # account itself or sub-accounts if the managing account is a multi-client
557
- # account.
558
- # @param [String] merchant_id
559
- # The ID of the managing account.
560
- # @param [String] account_id
561
- # The ID of the account for which to get/update account shipping settings.
562
- # @param [Google::Apis::ContentV2::AccountShipping] account_shipping_object
563
- # @param [Boolean] dry_run
564
- # Flag to run the request in dry-run mode.
565
- # @param [String] fields
566
- # Selector specifying which fields to include in a partial response.
567
- # @param [String] quota_user
568
- # Available to use for quota purposes for server-side applications. Can be any
569
- # arbitrary string assigned to a user, but should not exceed 40 characters.
570
- # Overrides userIp if both are provided.
571
- # @param [String] user_ip
572
- # IP address of the site where the request originates. Use this if you want to
573
- # enforce per-user limits.
574
- # @param [Google::Apis::RequestOptions] options
575
- # Request-specific options
576
- #
577
- # @yield [result, err] Result & error if block supplied
578
- # @yieldparam result [Google::Apis::ContentV2::AccountShipping] parsed result object
579
- # @yieldparam err [StandardError] error object if request failed
580
- #
581
- # @return [Google::Apis::ContentV2::AccountShipping]
582
- #
583
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
584
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
585
- # @raise [Google::Apis::AuthorizationError] Authorization is required
586
- def update_account_shipping(merchant_id, account_id, account_shipping_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
587
- command = make_simple_command(:put, '{merchantId}/accountshipping/{accountId}', options)
588
- command.request_representation = Google::Apis::ContentV2::AccountShipping::Representation
589
- command.request_object = account_shipping_object
590
- command.response_representation = Google::Apis::ContentV2::AccountShipping::Representation
591
- command.response_class = Google::Apis::ContentV2::AccountShipping
592
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
593
- command.params['accountId'] = account_id unless account_id.nil?
594
- command.query['dryRun'] = dry_run unless dry_run.nil?
595
- command.query['fields'] = fields unless fields.nil?
596
- command.query['quotaUser'] = quota_user unless quota_user.nil?
597
- command.query['userIp'] = user_ip unless user_ip.nil?
598
- execute_or_queue_command(command, &block)
599
- end
600
-
601
385
  #
602
386
  # @param [Google::Apis::ContentV2::BatchAccountStatusesRequest] batch_account_statuses_request_object
603
387
  # @param [String] fields
@@ -637,9 +421,9 @@ module Google
637
421
  # called for accounts to which the managing account has access: either the
638
422
  # managing account itself or sub-accounts if the managing account is a multi-
639
423
  # client account.
640
- # @param [String] merchant_id
424
+ # @param [Fixnum] merchant_id
641
425
  # The ID of the managing account.
642
- # @param [String] account_id
426
+ # @param [Fixnum] account_id
643
427
  # The ID of the account.
644
428
  # @param [String] fields
645
429
  # Selector specifying which fields to include in a partial response.
@@ -676,7 +460,7 @@ module Google
676
460
 
677
461
  # Lists the statuses of the sub-accounts in your Merchant Center account. This
678
462
  # method can only be called for multi-client accounts.
679
- # @param [String] merchant_id
463
+ # @param [Fixnum] merchant_id
680
464
  # The ID of the managing account.
681
465
  # @param [Fixnum] max_results
682
466
  # The maximum number of account statuses to return in the response, used for
@@ -758,9 +542,9 @@ module Google
758
542
  # Retrieves the tax settings of the account. This method can only be called for
759
543
  # accounts to which the managing account has access: either the managing account
760
544
  # itself or sub-accounts if the managing account is a multi-client account.
761
- # @param [String] merchant_id
545
+ # @param [Fixnum] merchant_id
762
546
  # The ID of the managing account.
763
- # @param [String] account_id
547
+ # @param [Fixnum] account_id
764
548
  # The ID of the account for which to get/update account tax settings.
765
549
  # @param [String] fields
766
550
  # Selector specifying which fields to include in a partial response.
@@ -797,7 +581,7 @@ module Google
797
581
 
798
582
  # Lists the tax settings of the sub-accounts in your Merchant Center account.
799
583
  # This method can only be called for multi-client accounts.
800
- # @param [String] merchant_id
584
+ # @param [Fixnum] merchant_id
801
585
  # The ID of the managing account.
802
586
  # @param [Fixnum] max_results
803
587
  # The maximum number of tax settings to return in the response, used for paging.
@@ -841,9 +625,9 @@ module Google
841
625
  # accounts to which the managing account has access: either the managing account
842
626
  # itself or sub-accounts if the managing account is a multi-client account. This
843
627
  # method supports patch semantics.
844
- # @param [String] merchant_id
628
+ # @param [Fixnum] merchant_id
845
629
  # The ID of the managing account.
846
- # @param [String] account_id
630
+ # @param [Fixnum] account_id
847
631
  # The ID of the account for which to get/update account tax settings.
848
632
  # @param [Google::Apis::ContentV2::AccountTax] account_tax_object
849
633
  # @param [Boolean] dry_run
@@ -887,9 +671,9 @@ module Google
887
671
  # Updates the tax settings of the account. This method can only be called for
888
672
  # accounts to which the managing account has access: either the managing account
889
673
  # itself or sub-accounts if the managing account is a multi-client account.
890
- # @param [String] merchant_id
674
+ # @param [Fixnum] merchant_id
891
675
  # The ID of the managing account.
892
- # @param [String] account_id
676
+ # @param [Fixnum] account_id
893
677
  # The ID of the account for which to get/update account tax settings.
894
678
  # @param [Google::Apis::ContentV2::AccountTax] account_tax_object
895
679
  # @param [Boolean] dry_run
@@ -970,8 +754,8 @@ module Google
970
754
 
971
755
  # Deletes a datafeed from your Merchant Center account. This method can only be
972
756
  # called for non-multi-client accounts.
973
- # @param [String] merchant_id
974
- # @param [String] datafeed_id
757
+ # @param [Fixnum] merchant_id
758
+ # @param [Fixnum] datafeed_id
975
759
  # @param [Boolean] dry_run
976
760
  # Flag to run the request in dry-run mode.
977
761
  # @param [String] fields
@@ -1008,8 +792,8 @@ module Google
1008
792
 
1009
793
  # Retrieves a datafeed from your Merchant Center account. This method can only
1010
794
  # be called for non-multi-client accounts.
1011
- # @param [String] merchant_id
1012
- # @param [String] datafeed_id
795
+ # @param [Fixnum] merchant_id
796
+ # @param [Fixnum] datafeed_id
1013
797
  # @param [String] fields
1014
798
  # Selector specifying which fields to include in a partial response.
1015
799
  # @param [String] quota_user
@@ -1045,7 +829,7 @@ module Google
1045
829
 
1046
830
  # Registers a datafeed with your Merchant Center account. This method can only
1047
831
  # be called for non-multi-client accounts.
1048
- # @param [String] merchant_id
832
+ # @param [Fixnum] merchant_id
1049
833
  # @param [Google::Apis::ContentV2::Datafeed] datafeed_object
1050
834
  # @param [Boolean] dry_run
1051
835
  # Flag to run the request in dry-run mode.
@@ -1086,7 +870,7 @@ module Google
1086
870
 
1087
871
  # Lists the datafeeds in your Merchant Center account. This method can only be
1088
872
  # called for non-multi-client accounts.
1089
- # @param [String] merchant_id
873
+ # @param [Fixnum] merchant_id
1090
874
  # The ID of the managing account.
1091
875
  # @param [Fixnum] max_results
1092
876
  # The maximum number of products to return in the response, used for paging.
@@ -1128,8 +912,8 @@ module Google
1128
912
 
1129
913
  # Updates a datafeed of your Merchant Center account. This method can only be
1130
914
  # called for non-multi-client accounts. This method supports patch semantics.
1131
- # @param [String] merchant_id
1132
- # @param [String] datafeed_id
915
+ # @param [Fixnum] merchant_id
916
+ # @param [Fixnum] datafeed_id
1133
917
  # @param [Google::Apis::ContentV2::Datafeed] datafeed_object
1134
918
  # @param [Boolean] dry_run
1135
919
  # Flag to run the request in dry-run mode.
@@ -1171,8 +955,8 @@ module Google
1171
955
 
1172
956
  # Updates a datafeed of your Merchant Center account. This method can only be
1173
957
  # called for non-multi-client accounts.
1174
- # @param [String] merchant_id
1175
- # @param [String] datafeed_id
958
+ # @param [Fixnum] merchant_id
959
+ # @param [Fixnum] datafeed_id
1176
960
  # @param [Google::Apis::ContentV2::Datafeed] datafeed_object
1177
961
  # @param [Boolean] dry_run
1178
962
  # Flag to run the request in dry-run mode.
@@ -1249,8 +1033,8 @@ module Google
1249
1033
 
1250
1034
  # Retrieves the status of a datafeed from your Merchant Center account. This
1251
1035
  # method can only be called for non-multi-client accounts.
1252
- # @param [String] merchant_id
1253
- # @param [String] datafeed_id
1036
+ # @param [Fixnum] merchant_id
1037
+ # @param [Fixnum] datafeed_id
1254
1038
  # @param [String] fields
1255
1039
  # Selector specifying which fields to include in a partial response.
1256
1040
  # @param [String] quota_user
@@ -1286,7 +1070,7 @@ module Google
1286
1070
 
1287
1071
  # Lists the statuses of the datafeeds in your Merchant Center account. This
1288
1072
  # method can only be called for non-multi-client accounts.
1289
- # @param [String] merchant_id
1073
+ # @param [Fixnum] merchant_id
1290
1074
  # The ID of the managing account.
1291
1075
  # @param [Fixnum] max_results
1292
1076
  # The maximum number of products to return in the response, used for paging.
@@ -1369,7 +1153,7 @@ module Google
1369
1153
  # Updates price and availability of a product in your Merchant Center account.
1370
1154
  # This operation does not update the expiration date of the product. This method
1371
1155
  # can only be called for non-multi-client accounts.
1372
- # @param [String] merchant_id
1156
+ # @param [Fixnum] merchant_id
1373
1157
  # The ID of the managing account.
1374
1158
  # @param [String] store_code
1375
1159
  # The code of the store for which to update price and availability. Use online
@@ -1418,7 +1202,7 @@ module Google
1418
1202
 
1419
1203
  # Marks an order as acknowledged. This method can only be called for non-multi-
1420
1204
  # client accounts.
1421
- # @param [String] merchant_id
1205
+ # @param [Fixnum] merchant_id
1422
1206
  # The ID of the managing account.
1423
1207
  # @param [String] order_id
1424
1208
  # The ID of the order.
@@ -1460,7 +1244,7 @@ module Google
1460
1244
 
1461
1245
  # Sandbox only. Moves a test order from state "inProgress" to state "
1462
1246
  # pendingShipment". This method can only be called for non-multi-client accounts.
1463
- # @param [String] merchant_id
1247
+ # @param [Fixnum] merchant_id
1464
1248
  # The ID of the managing account.
1465
1249
  # @param [String] order_id
1466
1250
  # The ID of the test order to modify.
@@ -1499,7 +1283,7 @@ module Google
1499
1283
 
1500
1284
  # Cancels all line items in an order. This method can only be called for non-
1501
1285
  # multi-client accounts.
1502
- # @param [String] merchant_id
1286
+ # @param [Fixnum] merchant_id
1503
1287
  # The ID of the managing account.
1504
1288
  # @param [String] order_id
1505
1289
  # The ID of the order to cancel.
@@ -1541,7 +1325,7 @@ module Google
1541
1325
 
1542
1326
  # Cancels a line item. This method can only be called for non-multi-client
1543
1327
  # accounts.
1544
- # @param [String] merchant_id
1328
+ # @param [Fixnum] merchant_id
1545
1329
  # The ID of the managing account.
1546
1330
  # @param [String] order_id
1547
1331
  # The ID of the order.
@@ -1583,7 +1367,7 @@ module Google
1583
1367
 
1584
1368
  # Sandbox only. Creates a test order. This method can only be called for non-
1585
1369
  # multi-client accounts.
1586
- # @param [String] merchant_id
1370
+ # @param [Fixnum] merchant_id
1587
1371
  # The ID of the managing account.
1588
1372
  # @param [Google::Apis::ContentV2::OrdersCreateTestOrderRequest] orders_create_test_order_request_object
1589
1373
  # @param [String] fields
@@ -1658,7 +1442,7 @@ module Google
1658
1442
 
1659
1443
  # Retrieves an order from your Merchant Center account. This method can only be
1660
1444
  # called for non-multi-client accounts.
1661
- # @param [String] merchant_id
1445
+ # @param [Fixnum] merchant_id
1662
1446
  # The ID of the managing account.
1663
1447
  # @param [String] order_id
1664
1448
  # The ID of the order.
@@ -1697,7 +1481,7 @@ module Google
1697
1481
 
1698
1482
  # Retrieves an order using merchant order id. This method can only be called for
1699
1483
  # non-multi-client accounts.
1700
- # @param [String] merchant_id
1484
+ # @param [Fixnum] merchant_id
1701
1485
  # The ID of the managing account.
1702
1486
  # @param [String] merchant_order_id
1703
1487
  # The merchant order id to be looked for.
@@ -1737,7 +1521,7 @@ module Google
1737
1521
  # Sandbox only. Retrieves an order template that can be used to quickly create a
1738
1522
  # new order in sandbox. This method can only be called for non-multi-client
1739
1523
  # accounts.
1740
- # @param [String] merchant_id
1524
+ # @param [Fixnum] merchant_id
1741
1525
  # The ID of the managing account.
1742
1526
  # @param [String] template_name
1743
1527
  # The name of the template to retrieve.
@@ -1776,7 +1560,7 @@ module Google
1776
1560
 
1777
1561
  # Lists the orders in your Merchant Center account. This method can only be
1778
1562
  # called for non-multi-client accounts.
1779
- # @param [String] merchant_id
1563
+ # @param [Fixnum] merchant_id
1780
1564
  # The ID of the managing account.
1781
1565
  # @param [Boolean] acknowledged
1782
1566
  # Obtains orders that match the acknowledgement status. When set to true,
@@ -1850,7 +1634,7 @@ module Google
1850
1634
 
1851
1635
  # Refund a portion of the order, up to the full amount paid. This method can
1852
1636
  # only be called for non-multi-client accounts.
1853
- # @param [String] merchant_id
1637
+ # @param [Fixnum] merchant_id
1854
1638
  # The ID of the managing account.
1855
1639
  # @param [String] order_id
1856
1640
  # The ID of the order to refund.
@@ -1892,7 +1676,7 @@ module Google
1892
1676
 
1893
1677
  # Returns a line item. This method can only be called for non-multi-client
1894
1678
  # accounts.
1895
- # @param [String] merchant_id
1679
+ # @param [Fixnum] merchant_id
1896
1680
  # The ID of the managing account.
1897
1681
  # @param [String] order_id
1898
1682
  # The ID of the order.
@@ -1934,7 +1718,7 @@ module Google
1934
1718
 
1935
1719
  # Marks line item(s) as shipped. This method can only be called for non-multi-
1936
1720
  # client accounts.
1937
- # @param [String] merchant_id
1721
+ # @param [Fixnum] merchant_id
1938
1722
  # The ID of the managing account.
1939
1723
  # @param [String] order_id
1940
1724
  # The ID of the order.
@@ -1976,7 +1760,7 @@ module Google
1976
1760
 
1977
1761
  # Updates the merchant order ID for a given order. This method can only be
1978
1762
  # called for non-multi-client accounts.
1979
- # @param [String] merchant_id
1763
+ # @param [Fixnum] merchant_id
1980
1764
  # The ID of the managing account.
1981
1765
  # @param [String] order_id
1982
1766
  # The ID of the order.
@@ -2018,7 +1802,7 @@ module Google
2018
1802
 
2019
1803
  # Updates a shipment's status, carrier, and/or tracking ID. This method can only
2020
1804
  # be called for non-multi-client accounts.
2021
- # @param [String] merchant_id
1805
+ # @param [Fixnum] merchant_id
2022
1806
  # The ID of the managing account.
2023
1807
  # @param [String] order_id
2024
1808
  # The ID of the order.
@@ -2099,7 +1883,7 @@ module Google
2099
1883
 
2100
1884
  # Deletes a product from your Merchant Center account. This method can only be
2101
1885
  # called for non-multi-client accounts.
2102
- # @param [String] merchant_id
1886
+ # @param [Fixnum] merchant_id
2103
1887
  # The ID of the managing account.
2104
1888
  # @param [String] product_id
2105
1889
  # The ID of the product.
@@ -2139,7 +1923,7 @@ module Google
2139
1923
 
2140
1924
  # Retrieves a product from your Merchant Center account. This method can only be
2141
1925
  # called for non-multi-client accounts.
2142
- # @param [String] merchant_id
1926
+ # @param [Fixnum] merchant_id
2143
1927
  # The ID of the managing account.
2144
1928
  # @param [String] product_id
2145
1929
  # The ID of the product.
@@ -2180,7 +1964,7 @@ module Google
2180
1964
  # channel, contentLanguage, offerId, and targetCountry already exists, this
2181
1965
  # method updates that entry. This method can only be called for non-multi-client
2182
1966
  # accounts.
2183
- # @param [String] merchant_id
1967
+ # @param [Fixnum] merchant_id
2184
1968
  # The ID of the managing account.
2185
1969
  # @param [Google::Apis::ContentV2::Product] product_object
2186
1970
  # @param [Boolean] dry_run
@@ -2222,7 +2006,7 @@ module Google
2222
2006
 
2223
2007
  # Lists the products in your Merchant Center account. This method can only be
2224
2008
  # called for non-multi-client accounts.
2225
- # @param [String] merchant_id
2009
+ # @param [Fixnum] merchant_id
2226
2010
  # The ID of the managing account.
2227
2011
  # @param [Boolean] include_invalid_inserted_items
2228
2012
  # Flag to include the invalid inserted items in the result of the list request.
@@ -2304,7 +2088,7 @@ module Google
2304
2088
 
2305
2089
  # Gets the status of a product from your Merchant Center account. This method
2306
2090
  # can only be called for non-multi-client accounts.
2307
- # @param [String] merchant_id
2091
+ # @param [Fixnum] merchant_id
2308
2092
  # The ID of the managing account.
2309
2093
  # @param [String] product_id
2310
2094
  # The ID of the product.
@@ -2343,7 +2127,7 @@ module Google
2343
2127
 
2344
2128
  # Lists the statuses of the products in your Merchant Center account. This
2345
2129
  # method can only be called for non-multi-client accounts.
2346
- # @param [String] merchant_id
2130
+ # @param [Fixnum] merchant_id
2347
2131
  # The ID of the managing account.
2348
2132
  # @param [Boolean] include_invalid_inserted_items
2349
2133
  # Flag to include the invalid inserted items in the result of the list request.
@@ -2431,9 +2215,9 @@ module Google
2431
2215
  # for accounts to which the managing account has access: either the managing
2432
2216
  # account itself or sub-accounts if the managing account is a multi-client
2433
2217
  # account.
2434
- # @param [String] merchant_id
2218
+ # @param [Fixnum] merchant_id
2435
2219
  # The ID of the managing account.
2436
- # @param [String] account_id
2220
+ # @param [Fixnum] account_id
2437
2221
  # The ID of the account for which to get/update shipping settings.
2438
2222
  # @param [String] fields
2439
2223
  # Selector specifying which fields to include in a partial response.
@@ -2469,7 +2253,7 @@ module Google
2469
2253
  end
2470
2254
 
2471
2255
  # Retrieves supported carriers and carrier services for an account.
2472
- # @param [String] merchant_id
2256
+ # @param [Fixnum] merchant_id
2473
2257
  # The ID of the account for which to retrieve the supported carriers.
2474
2258
  # @param [String] fields
2475
2259
  # Selector specifying which fields to include in a partial response.
@@ -2505,7 +2289,7 @@ module Google
2505
2289
 
2506
2290
  # Lists the shipping settings of the sub-accounts in your Merchant Center
2507
2291
  # account. This method can only be called for multi-client accounts.
2508
- # @param [String] merchant_id
2292
+ # @param [Fixnum] merchant_id
2509
2293
  # The ID of the managing account.
2510
2294
  # @param [Fixnum] max_results
2511
2295
  # The maximum number of shipping settings to return in the response, used for
@@ -2550,9 +2334,9 @@ module Google
2550
2334
  # for accounts to which the managing account has access: either the managing
2551
2335
  # account itself or sub-accounts if the managing account is a multi-client
2552
2336
  # account. This method supports patch semantics.
2553
- # @param [String] merchant_id
2337
+ # @param [Fixnum] merchant_id
2554
2338
  # The ID of the managing account.
2555
- # @param [String] account_id
2339
+ # @param [Fixnum] account_id
2556
2340
  # The ID of the account for which to get/update shipping settings.
2557
2341
  # @param [Google::Apis::ContentV2::ShippingSettings] shipping_settings_object
2558
2342
  # @param [Boolean] dry_run
@@ -2597,9 +2381,9 @@ module Google
2597
2381
  # for accounts to which the managing account has access: either the managing
2598
2382
  # account itself or sub-accounts if the managing account is a multi-client
2599
2383
  # account.
2600
- # @param [String] merchant_id
2384
+ # @param [Fixnum] merchant_id
2601
2385
  # The ID of the managing account.
2602
- # @param [String] account_id
2386
+ # @param [Fixnum] account_id
2603
2387
  # The ID of the account for which to get/update shipping settings.
2604
2388
  # @param [Google::Apis::ContentV2::ShippingSettings] shipping_settings_object
2605
2389
  # @param [Boolean] dry_run