google-api-client 0.10.3 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (385) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +12 -18
  3. data/CHANGELOG.md +22 -2
  4. data/Gemfile +5 -7
  5. data/MIGRATING.md +33 -0
  6. data/README.md +10 -2
  7. data/Rakefile +1 -0
  8. data/bin/generate-api +7 -1
  9. data/dl.rb +0 -0
  10. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +6 -6
  11. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +1 -1
  12. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -0
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +759 -759
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +152 -152
  16. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +376 -375
  17. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +58 -58
  18. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +45 -45
  19. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +22 -21
  20. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +5 -5
  21. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +5 -5
  22. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -0
  23. data/generated/google/apis/admin_datatransfer_v1/classes.rb +2 -2
  24. data/generated/google/apis/admin_datatransfer_v1/representations.rb +2 -2
  25. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -1
  26. data/generated/google/apis/admin_directory_v1/classes.rb +11 -11
  27. data/generated/google/apis/admin_directory_v1/representations.rb +11 -11
  28. data/generated/google/apis/admin_directory_v1/service.rb +1 -0
  29. data/generated/google/apis/admin_reports_v1/classes.rb +5 -5
  30. data/generated/google/apis/admin_reports_v1/representations.rb +4 -4
  31. data/generated/google/apis/admin_reports_v1/service.rb +1 -0
  32. data/generated/google/apis/adsense_v1_4.rb +1 -1
  33. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  34. data/generated/google/apis/adsense_v1_4/representations.rb +2 -2
  35. data/generated/google/apis/adsense_v1_4/service.rb +1 -0
  36. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  37. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -1
  38. data/generated/google/apis/adsensehost_v4_1/representations.rb +1 -1
  39. data/generated/google/apis/adsensehost_v4_1/service.rb +1 -0
  40. data/generated/google/apis/analytics_v3/classes.rb +10 -10
  41. data/generated/google/apis/analytics_v3/representations.rb +10 -10
  42. data/generated/google/apis/analytics_v3/service.rb +1 -0
  43. data/generated/google/apis/analyticsreporting_v4/classes.rb +933 -933
  44. data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
  45. data/generated/google/apis/analyticsreporting_v4/service.rb +5 -4
  46. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  47. data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
  48. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/service.rb +1 -0
  50. data/generated/google/apis/androidpublisher_v2/classes.rb +13 -13
  51. data/generated/google/apis/androidpublisher_v2/representations.rb +13 -13
  52. data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
  53. data/generated/google/apis/appengine_v1/classes.rb +2 -2
  54. data/generated/google/apis/appengine_v1/representations.rb +2 -2
  55. data/generated/google/apis/appengine_v1/service.rb +1 -0
  56. data/generated/google/apis/appsactivity_v1/classes.rb +1 -1
  57. data/generated/google/apis/appsactivity_v1/representations.rb +1 -1
  58. data/generated/google/apis/appsactivity_v1/service.rb +1 -0
  59. data/generated/google/apis/appsmarket_v2.rb +35 -0
  60. data/generated/google/apis/appsmarket_v2/classes.rb +396 -0
  61. data/generated/google/apis/appsmarket_v2/representations.rb +180 -0
  62. data/generated/google/apis/appsmarket_v2/service.rb +187 -0
  63. data/generated/google/apis/appstate_v1.rb +1 -1
  64. data/generated/google/apis/appstate_v1/service.rb +1 -0
  65. data/generated/google/apis/bigquery_v2/classes.rb +39 -39
  66. data/generated/google/apis/bigquery_v2/representations.rb +38 -38
  67. data/generated/google/apis/bigquery_v2/service.rb +3 -2
  68. data/generated/google/apis/blogger_v3/classes.rb +2 -2
  69. data/generated/google/apis/blogger_v3/representations.rb +2 -2
  70. data/generated/google/apis/blogger_v3/service.rb +1 -0
  71. data/generated/google/apis/books_v1/classes.rb +5 -5
  72. data/generated/google/apis/books_v1/representations.rb +4 -4
  73. data/generated/google/apis/books_v1/service.rb +1 -0
  74. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  75. data/generated/google/apis/calendar_v3/representations.rb +1 -1
  76. data/generated/google/apis/calendar_v3/service.rb +1 -0
  77. data/generated/google/apis/civicinfo_v2/classes.rb +6 -6
  78. data/generated/google/apis/civicinfo_v2/representations.rb +6 -6
  79. data/generated/google/apis/civicinfo_v2/service.rb +2 -1
  80. data/generated/google/apis/classroom_v1/service.rb +1 -0
  81. data/generated/google/apis/cloudbilling_v1/service.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1/classes.rb +626 -626
  84. data/generated/google/apis/cloudbuild_v1/representations.rb +109 -109
  85. data/generated/google/apis/cloudbuild_v1/service.rb +159 -158
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +358 -358
  87. data/generated/google/apis/clouddebugger_v2/representations.rb +99 -99
  88. data/generated/google/apis/clouddebugger_v2/service.rb +42 -41
  89. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  90. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +220 -220
  91. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +52 -52
  92. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +59 -58
  93. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -7
  94. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -1
  95. data/generated/google/apis/cloudfunctions_v1/service.rb +5 -4
  96. data/generated/google/apis/cloudkms_v1/classes.rb +311 -311
  97. data/generated/google/apis/cloudkms_v1/representations.rb +87 -87
  98. data/generated/google/apis/cloudkms_v1/service.rb +168 -167
  99. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +4 -4
  100. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +4 -4
  101. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -0
  102. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  103. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +341 -341
  104. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +62 -62
  105. data/generated/google/apis/cloudresourcemanager_v1/service.rb +458 -457
  106. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +327 -327
  107. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +71 -71
  108. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +237 -236
  109. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  110. data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
  111. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  112. data/generated/google/apis/cloudtrace_v1/service.rb +14 -13
  113. data/generated/google/apis/clouduseraccounts_beta/classes.rb +4 -4
  114. data/generated/google/apis/clouduseraccounts_beta/representations.rb +4 -4
  115. data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -0
  116. data/generated/google/apis/compute_beta/classes.rb +52 -52
  117. data/generated/google/apis/compute_beta/representations.rb +52 -52
  118. data/generated/google/apis/compute_beta/service.rb +2 -1
  119. data/generated/google/apis/compute_v1/classes.rb +48 -48
  120. data/generated/google/apis/compute_v1/representations.rb +48 -48
  121. data/generated/google/apis/compute_v1/service.rb +2 -1
  122. data/generated/google/apis/container_v1/service.rb +1 -0
  123. data/generated/google/apis/content_v2.rb +1 -1
  124. data/generated/google/apis/content_v2/classes.rb +38 -660
  125. data/generated/google/apis/content_v2/representations.rb +37 -303
  126. data/generated/google/apis/content_v2/service.rb +63 -279
  127. data/generated/google/apis/customsearch_v1/classes.rb +2 -2
  128. data/generated/google/apis/customsearch_v1/representations.rb +2 -2
  129. data/generated/google/apis/customsearch_v1/service.rb +1 -0
  130. data/generated/google/apis/dataflow_v1b3/classes.rb +3281 -3281
  131. data/generated/google/apis/dataflow_v1b3/representations.rb +777 -777
  132. data/generated/google/apis/dataflow_v1b3/service.rb +106 -105
  133. data/generated/google/apis/dataproc_v1/classes.rb +395 -395
  134. data/generated/google/apis/dataproc_v1/representations.rb +91 -91
  135. data/generated/google/apis/dataproc_v1/service.rb +356 -355
  136. data/generated/google/apis/datastore_v1/classes.rb +506 -506
  137. data/generated/google/apis/datastore_v1/representations.rb +147 -147
  138. data/generated/google/apis/datastore_v1/service.rb +46 -45
  139. data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
  140. data/generated/google/apis/deploymentmanager_v2/representations.rb +6 -6
  141. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -0
  142. data/generated/google/apis/dfareporting_v2_6/classes.rb +280 -280
  143. data/generated/google/apis/dfareporting_v2_6/representations.rb +266 -266
  144. data/generated/google/apis/dfareporting_v2_6/service.rb +421 -420
  145. data/generated/google/apis/dfareporting_v2_7/classes.rb +280 -280
  146. data/generated/google/apis/dfareporting_v2_7/representations.rb +266 -266
  147. data/generated/google/apis/dfareporting_v2_7/service.rb +423 -422
  148. data/generated/google/apis/discovery_v1/service.rb +1 -0
  149. data/generated/google/apis/dns_v1/classes.rb +2 -2
  150. data/generated/google/apis/dns_v1/representations.rb +2 -2
  151. data/generated/google/apis/dns_v1/service.rb +1 -0
  152. data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
  153. data/generated/google/apis/dns_v2beta1/representations.rb +2 -2
  154. data/generated/google/apis/dns_v2beta1/service.rb +1 -0
  155. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +15 -15
  156. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +13 -13
  157. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +5 -4
  158. data/generated/google/apis/doubleclicksearch_v2/classes.rb +28 -28
  159. data/generated/google/apis/doubleclicksearch_v2/representations.rb +28 -28
  160. data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -12
  161. data/generated/google/apis/drive_v2/classes.rb +17 -17
  162. data/generated/google/apis/drive_v2/representations.rb +17 -17
  163. data/generated/google/apis/drive_v2/service.rb +5 -4
  164. data/generated/google/apis/drive_v3/classes.rb +13 -13
  165. data/generated/google/apis/drive_v3/representations.rb +12 -12
  166. data/generated/google/apis/drive_v3/service.rb +1 -0
  167. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  168. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +81 -81
  169. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +24 -24
  170. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -0
  171. data/generated/google/apis/firebaserules_v1/classes.rb +201 -201
  172. data/generated/google/apis/firebaserules_v1/representations.rb +61 -61
  173. data/generated/google/apis/firebaserules_v1/service.rb +1 -0
  174. data/generated/google/apis/fitness_v1/classes.rb +18 -18
  175. data/generated/google/apis/fitness_v1/representations.rb +18 -18
  176. data/generated/google/apis/fitness_v1/service.rb +6 -5
  177. data/generated/google/apis/fusiontables_v2/classes.rb +2 -2
  178. data/generated/google/apis/fusiontables_v2/representations.rb +2 -2
  179. data/generated/google/apis/fusiontables_v2/service.rb +1 -0
  180. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  181. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  182. data/generated/google/apis/games_configuration_v1configuration/representations.rb +2 -2
  183. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -0
  184. data/generated/google/apis/games_management_v1management.rb +1 -1
  185. data/generated/google/apis/games_management_v1management/classes.rb +6 -6
  186. data/generated/google/apis/games_management_v1management/representations.rb +6 -6
  187. data/generated/google/apis/games_management_v1management/service.rb +1 -0
  188. data/generated/google/apis/games_v1.rb +1 -1
  189. data/generated/google/apis/games_v1/classes.rb +47 -47
  190. data/generated/google/apis/games_v1/representations.rb +47 -47
  191. data/generated/google/apis/games_v1/service.rb +58 -57
  192. data/generated/google/apis/genomics_v1.rb +6 -6
  193. data/generated/google/apis/genomics_v1/classes.rb +2354 -2354
  194. data/generated/google/apis/genomics_v1/representations.rb +487 -487
  195. data/generated/google/apis/genomics_v1/service.rb +1188 -1187
  196. data/generated/google/apis/gmail_v1/classes.rb +11 -11
  197. data/generated/google/apis/gmail_v1/representations.rb +11 -11
  198. data/generated/google/apis/gmail_v1/service.rb +2 -1
  199. data/generated/google/apis/groupsmigration_v1/service.rb +1 -0
  200. data/generated/google/apis/groupssettings_v1/service.rb +1 -0
  201. data/generated/google/apis/iam_v1/classes.rb +437 -437
  202. data/generated/google/apis/iam_v1/representations.rb +95 -95
  203. data/generated/google/apis/iam_v1/service.rb +87 -86
  204. data/generated/google/apis/identitytoolkit_v3/classes.rb +20 -20
  205. data/generated/google/apis/identitytoolkit_v3/representations.rb +20 -20
  206. data/generated/google/apis/identitytoolkit_v3/service.rb +1 -0
  207. data/generated/google/apis/kgsearch_v1/service.rb +9 -8
  208. data/generated/google/apis/language_v1.rb +1 -1
  209. data/generated/google/apis/language_v1/classes.rb +245 -245
  210. data/generated/google/apis/language_v1/representations.rb +65 -65
  211. data/generated/google/apis/language_v1/service.rb +1 -0
  212. data/generated/google/apis/language_v1beta1.rb +1 -1
  213. data/generated/google/apis/language_v1beta1/classes.rb +277 -277
  214. data/generated/google/apis/language_v1beta1/representations.rb +83 -83
  215. data/generated/google/apis/language_v1beta1/service.rb +31 -30
  216. data/generated/google/apis/licensing_v1/service.rb +1 -0
  217. data/generated/google/apis/logging_v2/classes.rb +408 -408
  218. data/generated/google/apis/logging_v2/representations.rb +93 -93
  219. data/generated/google/apis/logging_v2/service.rb +408 -407
  220. data/generated/google/apis/logging_v2beta1.rb +3 -3
  221. data/generated/google/apis/logging_v2beta1/classes.rb +892 -892
  222. data/generated/google/apis/logging_v2beta1/representations.rb +128 -128
  223. data/generated/google/apis/logging_v2beta1/service.rb +89 -88
  224. data/generated/google/apis/manufacturers_v1/classes.rb +309 -309
  225. data/generated/google/apis/manufacturers_v1/representations.rb +64 -64
  226. data/generated/google/apis/manufacturers_v1/service.rb +1 -0
  227. data/generated/google/apis/mirror_v1/service.rb +1 -0
  228. data/generated/google/apis/ml_v1/classes.rb +1185 -1185
  229. data/generated/google/apis/ml_v1/representations.rb +171 -171
  230. data/generated/google/apis/ml_v1/service.rb +282 -281
  231. data/generated/google/apis/monitoring_v3.rb +3 -3
  232. data/generated/google/apis/monitoring_v3/classes.rb +334 -334
  233. data/generated/google/apis/monitoring_v3/representations.rb +86 -86
  234. data/generated/google/apis/monitoring_v3/service.rb +344 -343
  235. data/generated/google/apis/mybusiness_v3/service.rb +1 -0
  236. data/generated/google/apis/oauth2_v2/service.rb +1 -0
  237. data/generated/google/apis/pagespeedonline_v2/classes.rb +8 -8
  238. data/generated/google/apis/pagespeedonline_v2/representations.rb +8 -8
  239. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -0
  240. data/generated/google/apis/partners_v2/classes.rb +1466 -1466
  241. data/generated/google/apis/partners_v2/representations.rb +371 -371
  242. data/generated/google/apis/partners_v2/service.rb +530 -529
  243. data/generated/google/apis/people_v1.rb +4 -4
  244. data/generated/google/apis/people_v1/classes.rb +1009 -1009
  245. data/generated/google/apis/people_v1/representations.rb +249 -249
  246. data/generated/google/apis/people_v1/service.rb +13 -12
  247. data/generated/google/apis/plus_domains_v1/classes.rb +2 -2
  248. data/generated/google/apis/plus_domains_v1/representations.rb +2 -2
  249. data/generated/google/apis/plus_domains_v1/service.rb +1 -0
  250. data/generated/google/apis/plus_v1/service.rb +1 -0
  251. data/generated/google/apis/prediction_v1_6/classes.rb +9 -9
  252. data/generated/google/apis/prediction_v1_6/representations.rb +9 -9
  253. data/generated/google/apis/prediction_v1_6/service.rb +1 -0
  254. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +221 -221
  255. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +55 -55
  256. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +378 -377
  257. data/generated/google/apis/pubsub_v1/classes.rb +99 -99
  258. data/generated/google/apis/pubsub_v1/representations.rb +25 -25
  259. data/generated/google/apis/pubsub_v1/service.rb +236 -235
  260. data/generated/google/apis/qpx_express_v1/service.rb +1 -0
  261. data/generated/google/apis/replicapool_v1beta2/classes.rb +3 -3
  262. data/generated/google/apis/replicapool_v1beta2/representations.rb +3 -3
  263. data/generated/google/apis/replicapool_v1beta2/service.rb +1 -0
  264. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +2 -2
  265. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +2 -2
  266. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -0
  267. data/generated/google/apis/reseller_v1/classes.rb +5 -5
  268. data/generated/google/apis/reseller_v1/representations.rb +5 -5
  269. data/generated/google/apis/reseller_v1/service.rb +1 -0
  270. data/generated/google/apis/resourceviews_v1beta2/classes.rb +2 -2
  271. data/generated/google/apis/resourceviews_v1beta2/representations.rb +2 -2
  272. data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -0
  273. data/generated/google/apis/runtimeconfig_v1.rb +3 -3
  274. data/generated/google/apis/runtimeconfig_v1/classes.rb +28 -28
  275. data/generated/google/apis/runtimeconfig_v1/representations.rb +3 -3
  276. data/generated/google/apis/runtimeconfig_v1/service.rb +53 -52
  277. data/generated/google/apis/script_v1.rb +18 -18
  278. data/generated/google/apis/script_v1/classes.rb +84 -84
  279. data/generated/google/apis/script_v1/representations.rb +18 -18
  280. data/generated/google/apis/script_v1/service.rb +11 -10
  281. data/generated/google/apis/searchconsole_v1/classes.rb +75 -75
  282. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  283. data/generated/google/apis/searchconsole_v1/service.rb +11 -10
  284. data/generated/google/apis/servicecontrol_v1/classes.rb +582 -582
  285. data/generated/google/apis/servicecontrol_v1/representations.rb +113 -113
  286. data/generated/google/apis/servicecontrol_v1/service.rb +71 -70
  287. data/generated/google/apis/servicemanagement_v1.rb +3 -3
  288. data/generated/google/apis/servicemanagement_v1/classes.rb +3725 -3725
  289. data/generated/google/apis/servicemanagement_v1/representations.rb +255 -255
  290. data/generated/google/apis/servicemanagement_v1/service.rb +179 -178
  291. data/generated/google/apis/serviceuser_v1.rb +3 -3
  292. data/generated/google/apis/serviceuser_v1/classes.rb +2845 -2845
  293. data/generated/google/apis/serviceuser_v1/representations.rb +228 -228
  294. data/generated/google/apis/serviceuser_v1/service.rb +47 -46
  295. data/generated/google/apis/sheets_v4.rb +1 -1
  296. data/generated/google/apis/sheets_v4/classes.rb +4456 -4456
  297. data/generated/google/apis/sheets_v4/representations.rb +859 -859
  298. data/generated/google/apis/sheets_v4/service.rb +180 -179
  299. data/generated/google/apis/site_verification_v1/service.rb +1 -0
  300. data/generated/google/apis/slides_v1.rb +1 -1
  301. data/generated/google/apis/slides_v1/classes.rb +2856 -2856
  302. data/generated/google/apis/slides_v1/representations.rb +683 -683
  303. data/generated/google/apis/slides_v1/service.rb +27 -26
  304. data/generated/google/apis/sourcerepo_v1/classes.rb +281 -281
  305. data/generated/google/apis/sourcerepo_v1/representations.rb +79 -79
  306. data/generated/google/apis/sourcerepo_v1/service.rb +112 -111
  307. data/generated/google/apis/spanner_v1/classes.rb +2177 -2177
  308. data/generated/google/apis/spanner_v1/representations.rb +325 -325
  309. data/generated/google/apis/spanner_v1/service.rb +374 -373
  310. data/generated/google/apis/speech_v1beta1/classes.rb +197 -197
  311. data/generated/google/apis/speech_v1beta1/representations.rb +36 -36
  312. data/generated/google/apis/speech_v1beta1/service.rb +27 -26
  313. data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -14
  314. data/generated/google/apis/sqladmin_v1beta4/representations.rb +14 -14
  315. data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -2
  316. data/generated/google/apis/storage_v1.rb +1 -1
  317. data/generated/google/apis/storage_v1/classes.rb +11 -11
  318. data/generated/google/apis/storage_v1/representations.rb +11 -11
  319. data/generated/google/apis/storage_v1/service.rb +65 -64
  320. data/generated/google/apis/storagetransfer_v1/classes.rb +239 -239
  321. data/generated/google/apis/storagetransfer_v1/representations.rb +79 -79
  322. data/generated/google/apis/storagetransfer_v1/service.rb +133 -132
  323. data/generated/google/apis/surveys_v2/classes.rb +4 -4
  324. data/generated/google/apis/surveys_v2/representations.rb +4 -4
  325. data/generated/google/apis/surveys_v2/service.rb +1 -0
  326. data/generated/google/apis/tagmanager_v1/classes.rb +7 -7
  327. data/generated/google/apis/tagmanager_v1/representations.rb +7 -7
  328. data/generated/google/apis/tagmanager_v1/service.rb +1 -0
  329. data/generated/google/apis/tagmanager_v2/classes.rb +6 -6
  330. data/generated/google/apis/tagmanager_v2/representations.rb +6 -6
  331. data/generated/google/apis/tagmanager_v2/service.rb +1 -0
  332. data/generated/google/apis/taskqueue_v1beta2/classes.rb +5 -5
  333. data/generated/google/apis/taskqueue_v1beta2/representations.rb +5 -5
  334. data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -0
  335. data/generated/google/apis/tasks_v1/service.rb +3 -2
  336. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  337. data/generated/google/apis/toolresults_v1beta3/classes.rb +4 -4
  338. data/generated/google/apis/toolresults_v1beta3/representations.rb +4 -4
  339. data/generated/google/apis/toolresults_v1beta3/service.rb +1 -0
  340. data/generated/google/apis/tracing_v1/classes.rb +421 -421
  341. data/generated/google/apis/tracing_v1/representations.rb +86 -86
  342. data/generated/google/apis/tracing_v1/service.rb +60 -59
  343. data/generated/google/apis/translate_v2/service.rb +1 -0
  344. data/generated/google/apis/urlshortener_v1/classes.rb +3 -3
  345. data/generated/google/apis/urlshortener_v1/representations.rb +3 -3
  346. data/generated/google/apis/urlshortener_v1/service.rb +1 -0
  347. data/generated/google/apis/vision_v1/classes.rb +1290 -1290
  348. data/generated/google/apis/vision_v1/representations.rb +184 -184
  349. data/generated/google/apis/vision_v1/service.rb +11 -10
  350. data/generated/google/apis/webfonts_v1/service.rb +1 -0
  351. data/generated/google/apis/webmasters_v3/classes.rb +5 -5
  352. data/generated/google/apis/webmasters_v3/representations.rb +5 -5
  353. data/generated/google/apis/webmasters_v3/service.rb +1 -0
  354. data/generated/google/apis/youtube_analytics_v1/classes.rb +1 -1
  355. data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -1
  356. data/generated/google/apis/youtube_analytics_v1/service.rb +1 -0
  357. data/generated/google/apis/youtube_partner_v1/classes.rb +13 -13
  358. data/generated/google/apis/youtube_partner_v1/representations.rb +13 -13
  359. data/generated/google/apis/youtube_partner_v1/service.rb +1 -0
  360. data/generated/google/apis/youtube_v3/classes.rb +31 -31
  361. data/generated/google/apis/youtube_v3/representations.rb +31 -31
  362. data/generated/google/apis/youtube_v3/service.rb +2 -1
  363. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  364. data/generated/google/apis/youtubereporting_v1/classes.rb +73 -73
  365. data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
  366. data/generated/google/apis/youtubereporting_v1/service.rb +77 -76
  367. data/google-api-client.gemspec +4 -6
  368. data/lib/google/apis/core/api_command.rb +8 -3
  369. data/lib/google/apis/core/base_service.rb +47 -18
  370. data/lib/google/apis/core/batch.rb +13 -18
  371. data/lib/google/apis/core/composite_io.rb +97 -0
  372. data/lib/google/apis/core/download.rb +24 -20
  373. data/lib/google/apis/core/http_command.rb +49 -38
  374. data/lib/google/apis/core/json_representation.rb +5 -1
  375. data/lib/google/apis/core/multipart.rb +43 -95
  376. data/lib/google/apis/core/upload.rb +59 -84
  377. data/lib/google/apis/generator/model.rb +2 -0
  378. data/lib/google/apis/generator/templates/_representation.tmpl +1 -1
  379. data/lib/google/apis/generator/templates/service.rb.tmpl +1 -0
  380. data/lib/google/apis/options.rb +24 -12
  381. data/lib/google/apis/version.rb +1 -1
  382. data/samples/web/Gemfile +0 -1
  383. metadata +39 -37
  384. data/lib/google/apis/core/http_client_adapter.rb +0 -82
  385. data/third_party/hurley_patches.rb +0 -103
@@ -22,153 +22,6 @@ module Google
22
22
  module Apis
23
23
  module ManufacturersV1
24
24
 
25
- # The number of products in a single package. For more information, see
26
- # https://support.google.com/manufacturers/answer/6124116#count.
27
- class Count
28
- include Google::Apis::Core::Hashable
29
-
30
- # The numeric value of the number of products in a package.
31
- # Corresponds to the JSON property `value`
32
- # @return [String]
33
- attr_accessor :value
34
-
35
- # The unit in which these products are counted.
36
- # Corresponds to the JSON property `unit`
37
- # @return [String]
38
- attr_accessor :unit
39
-
40
- def initialize(**args)
41
- update!(**args)
42
- end
43
-
44
- # Update properties of this object
45
- def update!(**args)
46
- @value = args[:value] if args.key?(:value)
47
- @unit = args[:unit] if args.key?(:unit)
48
- end
49
- end
50
-
51
- # Product data.
52
- class Product
53
- include Google::Apis::Core::Hashable
54
-
55
- # Names of the attributes of the product deleted manually via the
56
- # Manufacturer Center UI.
57
- # @OutputOnly
58
- # Corresponds to the JSON property `manuallyDeletedAttributes`
59
- # @return [Array<String>]
60
- attr_accessor :manually_deleted_attributes
61
-
62
- # A server-generated list of issues associated with the product.
63
- # @OutputOnly
64
- # Corresponds to the JSON property `issues`
65
- # @return [Array<Google::Apis::ManufacturersV1::Issue>]
66
- attr_accessor :issues
67
-
68
- # Attributes of the product. For more information, see
69
- # https://support.google.com/manufacturers/answer/6124116.
70
- # Corresponds to the JSON property `finalAttributes`
71
- # @return [Google::Apis::ManufacturersV1::Attributes]
72
- attr_accessor :final_attributes
73
-
74
- # The ID of the product. For more information, see
75
- # https://support.google.com/manufacturers/answer/6124116#id.
76
- # @OutputOnly
77
- # Corresponds to the JSON property `productId`
78
- # @return [String]
79
- attr_accessor :product_id
80
-
81
- # Attributes of the product. For more information, see
82
- # https://support.google.com/manufacturers/answer/6124116.
83
- # Corresponds to the JSON property `uploadedAttributes`
84
- # @return [Google::Apis::ManufacturersV1::Attributes]
85
- attr_accessor :uploaded_attributes
86
-
87
- # Parent ID in the format `accounts/`account_id``.
88
- # `account_id` - The ID of the Manufacturer Center account.
89
- # @OutputOnly
90
- # Corresponds to the JSON property `parent`
91
- # @return [String]
92
- attr_accessor :parent
93
-
94
- # Attributes of the product. For more information, see
95
- # https://support.google.com/manufacturers/answer/6124116.
96
- # Corresponds to the JSON property `manuallyProvidedAttributes`
97
- # @return [Google::Apis::ManufacturersV1::Attributes]
98
- attr_accessor :manually_provided_attributes
99
-
100
- # The content language of the product as a two-letter ISO 639-1 language code
101
- # (for example, en).
102
- # @OutputOnly
103
- # Corresponds to the JSON property `contentLanguage`
104
- # @return [String]
105
- attr_accessor :content_language
106
-
107
- # The target country of the product as a CLDR territory code (for example,
108
- # US).
109
- # @OutputOnly
110
- # Corresponds to the JSON property `targetCountry`
111
- # @return [String]
112
- attr_accessor :target_country
113
-
114
- # Name in the format ``target_country`:`content_language`:`product_id``.
115
- # `target_country` - The target country of the product as a CLDR territory
116
- # code (for example, US).
117
- # `content_language` - The content language of the product as a two-letter
118
- # ISO 639-1 language code (for example, en).
119
- # `product_id` - The ID of the product. For more information, see
120
- # https://support.google.com/manufacturers/answer/6124116#
121
- # id.
122
- # @OutputOnly
123
- # Corresponds to the JSON property `name`
124
- # @return [String]
125
- attr_accessor :name
126
-
127
- def initialize(**args)
128
- update!(**args)
129
- end
130
-
131
- # Update properties of this object
132
- def update!(**args)
133
- @manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes)
134
- @issues = args[:issues] if args.key?(:issues)
135
- @final_attributes = args[:final_attributes] if args.key?(:final_attributes)
136
- @product_id = args[:product_id] if args.key?(:product_id)
137
- @uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes)
138
- @parent = args[:parent] if args.key?(:parent)
139
- @manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes)
140
- @content_language = args[:content_language] if args.key?(:content_language)
141
- @target_country = args[:target_country] if args.key?(:target_country)
142
- @name = args[:name] if args.key?(:name)
143
- end
144
- end
145
-
146
- # The capacity of a product. For more information, see
147
- # https://support.google.com/manufacturers/answer/6124116#capacity.
148
- class Capacity
149
- include Google::Apis::Core::Hashable
150
-
151
- # The numeric value of the capacity.
152
- # Corresponds to the JSON property `value`
153
- # @return [String]
154
- attr_accessor :value
155
-
156
- # The unit of the capacity, i.e., MB, GB, or TB.
157
- # Corresponds to the JSON property `unit`
158
- # @return [String]
159
- attr_accessor :unit
160
-
161
- def initialize(**args)
162
- update!(**args)
163
- end
164
-
165
- # Update properties of this object
166
- def update!(**args)
167
- @value = args[:value] if args.key?(:value)
168
- @unit = args[:unit] if args.key?(:unit)
169
- end
170
- end
171
-
172
25
  #
173
26
  class ListProductsResponse
174
27
  include Google::Apis::Core::Hashable
@@ -277,11 +130,6 @@ module Google
277
130
  class FeatureDescription
278
131
  include Google::Apis::Core::Hashable
279
132
 
280
- # A short description of the feature.
281
- # Corresponds to the JSON property `headline`
282
- # @return [String]
283
- attr_accessor :headline
284
-
285
133
  # A detailed description of the feature.
286
134
  # Corresponds to the JSON property `text`
287
135
  # @return [String]
@@ -292,15 +140,20 @@ module Google
292
140
  # @return [Google::Apis::ManufacturersV1::Image]
293
141
  attr_accessor :image
294
142
 
143
+ # A short description of the feature.
144
+ # Corresponds to the JSON property `headline`
145
+ # @return [String]
146
+ attr_accessor :headline
147
+
295
148
  def initialize(**args)
296
149
  update!(**args)
297
150
  end
298
151
 
299
152
  # Update properties of this object
300
153
  def update!(**args)
301
- @headline = args[:headline] if args.key?(:headline)
302
154
  @text = args[:text] if args.key?(:text)
303
155
  @image = args[:image] if args.key?(:image)
156
+ @headline = args[:headline] if args.key?(:headline)
304
157
  end
305
158
  end
306
159
 
@@ -308,24 +161,24 @@ module Google
308
161
  class Price
309
162
  include Google::Apis::Core::Hashable
310
163
 
311
- # The numeric value of the price.
312
- # Corresponds to the JSON property `amount`
313
- # @return [String]
314
- attr_accessor :amount
315
-
316
164
  # The currency in which the price is denoted.
317
165
  # Corresponds to the JSON property `currency`
318
166
  # @return [String]
319
167
  attr_accessor :currency
320
168
 
169
+ # The numeric value of the price.
170
+ # Corresponds to the JSON property `amount`
171
+ # @return [String]
172
+ attr_accessor :amount
173
+
321
174
  def initialize(**args)
322
175
  update!(**args)
323
176
  end
324
177
 
325
178
  # Update properties of this object
326
179
  def update!(**args)
327
- @amount = args[:amount] if args.key?(:amount)
328
180
  @currency = args[:currency] if args.key?(:currency)
181
+ @amount = args[:amount] if args.key?(:amount)
329
182
  end
330
183
  end
331
184
 
@@ -333,6 +186,12 @@ module Google
333
186
  class Image
334
187
  include Google::Apis::Core::Hashable
335
188
 
189
+ # The status of the image.
190
+ # @OutputOnly
191
+ # Corresponds to the JSON property `status`
192
+ # @return [String]
193
+ attr_accessor :status
194
+
336
195
  # The type of the image, i.e., crawled or uploaded.
337
196
  # @OutputOnly
338
197
  # Corresponds to the JSON property `type`
@@ -346,21 +205,15 @@ module Google
346
205
  # @return [String]
347
206
  attr_accessor :image_url
348
207
 
349
- # The status of the image.
350
- # @OutputOnly
351
- # Corresponds to the JSON property `status`
352
- # @return [String]
353
- attr_accessor :status
354
-
355
208
  def initialize(**args)
356
209
  update!(**args)
357
210
  end
358
211
 
359
212
  # Update properties of this object
360
213
  def update!(**args)
214
+ @status = args[:status] if args.key?(:status)
361
215
  @type = args[:type] if args.key?(:type)
362
216
  @image_url = args[:image_url] if args.key?(:image_url)
363
- @status = args[:status] if args.key?(:status)
364
217
  end
365
218
  end
366
219
 
@@ -369,47 +222,147 @@ module Google
369
222
  class Attributes
370
223
  include Google::Apis::Core::Hashable
371
224
 
372
- # The flavor of the product. For more information, see
373
- # https://support.google.com/manufacturers/answer/6124116#flavor.
374
- # Corresponds to the JSON property `flavor`
225
+ # The pattern of the product. For more information, see
226
+ # https://support.google.com/manufacturers/answer/6124116#pattern.
227
+ # Corresponds to the JSON property `pattern`
375
228
  # @return [String]
376
- attr_accessor :flavor
229
+ attr_accessor :pattern
377
230
 
378
- # The details of the product. For more information, see
379
- # https://support.google.com/manufacturers/answer/6124116#productdetail.
380
- # Corresponds to the JSON property `productDetail`
381
- # @return [Array<Google::Apis::ManufacturersV1::ProductDetail>]
382
- attr_accessor :product_detail
231
+ # An image.
232
+ # Corresponds to the JSON property `imageLink`
233
+ # @return [Google::Apis::ManufacturersV1::Image]
234
+ attr_accessor :image_link
383
235
 
384
- # The target age group of the product. For more information, see
385
- # https://support.google.com/manufacturers/answer/6124116#agegroup.
386
- # Corresponds to the JSON property `ageGroup`
387
- # @return [String]
388
- attr_accessor :age_group
236
+ # The category of the product. For more information, see
237
+ # https://support.google.com/manufacturers/answer/6124116#producttype.
238
+ # Corresponds to the JSON property `productType`
239
+ # @return [Array<String>]
240
+ attr_accessor :product_type
389
241
 
390
- # The Manufacturer Part Number (MPN) of the product. For more information,
391
- # see https://support.google.com/manufacturers/answer/6124116#mpn.
392
- # Corresponds to the JSON property `mpn`
242
+ # The format of the product. For more information, see
243
+ # https://support.google.com/manufacturers/answer/6124116#format.
244
+ # Corresponds to the JSON property `format`
393
245
  # @return [String]
394
- attr_accessor :mpn
246
+ attr_accessor :format
395
247
 
396
- # The URL of the detail page of the product. For more information, see
397
- # https://support.google.com/manufacturers/answer/6124116#productpage.
398
- # Corresponds to the JSON property `productPageUrl`
248
+ # The additional images of the product. For more information, see
249
+ # https://support.google.com/manufacturers/answer/6124116#addlimage.
250
+ # Corresponds to the JSON property `additionalImageLink`
251
+ # @return [Array<Google::Apis::ManufacturersV1::Image>]
252
+ attr_accessor :additional_image_link
253
+
254
+ # The videos of the product. For more information, see
255
+ # https://support.google.com/manufacturers/answer/6124116#video.
256
+ # Corresponds to the JSON property `videoLink`
257
+ # @return [Array<String>]
258
+ attr_accessor :video_link
259
+
260
+ # The color of the product. For more information, see
261
+ # https://support.google.com/manufacturers/answer/6124116#color.
262
+ # Corresponds to the JSON property `color`
399
263
  # @return [String]
400
- attr_accessor :product_page_url
264
+ attr_accessor :color
401
265
 
402
- # The release date of the product. For more information, see
403
- # https://support.google.com/manufacturers/answer/6124116#release.
404
- # Corresponds to the JSON property `releaseDate`
266
+ # The canonical name of the product. For more information, see
267
+ # https://support.google.com/manufacturers/answer/6124116#productname.
268
+ # Corresponds to the JSON property `productName`
405
269
  # @return [String]
406
- attr_accessor :release_date
270
+ attr_accessor :product_name
407
271
 
408
- # The item group id of the product. For more information, see
409
- # https://support.google.com/manufacturers/answer/6124116#itemgroupid.
410
- # Corresponds to the JSON property `itemGroupId`
272
+ # The size type of the product. For more information, see
273
+ # https://support.google.com/manufacturers/answer/6124116#sizetype.
274
+ # Corresponds to the JSON property `sizeType`
411
275
  # @return [String]
412
- attr_accessor :item_group_id
276
+ attr_accessor :size_type
277
+
278
+ # A price.
279
+ # Corresponds to the JSON property `suggestedRetailPrice`
280
+ # @return [Google::Apis::ManufacturersV1::Price]
281
+ attr_accessor :suggested_retail_price
282
+
283
+ # The rich format description of the product. For more information, see
284
+ # https://support.google.com/manufacturers/answer/6124116#featuredesc.
285
+ # Corresponds to the JSON property `featureDescription`
286
+ # @return [Array<Google::Apis::ManufacturersV1::FeatureDescription>]
287
+ attr_accessor :feature_description
288
+
289
+ # The size of the product. For more information, see
290
+ # https://support.google.com/manufacturers/answer/6124116#size.
291
+ # Corresponds to the JSON property `size`
292
+ # @return [String]
293
+ attr_accessor :size
294
+
295
+ # The title of the product. For more information, see
296
+ # https://support.google.com/manufacturers/answer/6124116#title.
297
+ # Corresponds to the JSON property `title`
298
+ # @return [String]
299
+ attr_accessor :title
300
+
301
+ # The number of products in a single package. For more information, see
302
+ # https://support.google.com/manufacturers/answer/6124116#count.
303
+ # Corresponds to the JSON property `count`
304
+ # @return [Google::Apis::ManufacturersV1::Count]
305
+ attr_accessor :count
306
+
307
+ # The brand name of the product. For more information, see
308
+ # https://support.google.com/manufacturers/answer/6124116#brand.
309
+ # Corresponds to the JSON property `brand`
310
+ # @return [String]
311
+ attr_accessor :brand
312
+
313
+ # The material of the product. For more information, see
314
+ # https://support.google.com/manufacturers/answer/6124116#material.
315
+ # Corresponds to the JSON property `material`
316
+ # @return [String]
317
+ attr_accessor :material
318
+
319
+ # The disclosure date of the product. For more information, see
320
+ # https://support.google.com/manufacturers/answer/6124116#disclosure.
321
+ # Corresponds to the JSON property `disclosureDate`
322
+ # @return [String]
323
+ attr_accessor :disclosure_date
324
+
325
+ # The scent of the product. For more information, see
326
+ # https://support.google.com/manufacturers/answer/6124116#scent.
327
+ # Corresponds to the JSON property `scent`
328
+ # @return [String]
329
+ attr_accessor :scent
330
+
331
+ # The target age group of the product. For more information, see
332
+ # https://support.google.com/manufacturers/answer/6124116#agegroup.
333
+ # Corresponds to the JSON property `ageGroup`
334
+ # @return [String]
335
+ attr_accessor :age_group
336
+
337
+ # The flavor of the product. For more information, see
338
+ # https://support.google.com/manufacturers/answer/6124116#flavor.
339
+ # Corresponds to the JSON property `flavor`
340
+ # @return [String]
341
+ attr_accessor :flavor
342
+
343
+ # The details of the product. For more information, see
344
+ # https://support.google.com/manufacturers/answer/6124116#productdetail.
345
+ # Corresponds to the JSON property `productDetail`
346
+ # @return [Array<Google::Apis::ManufacturersV1::ProductDetail>]
347
+ attr_accessor :product_detail
348
+
349
+ # The Manufacturer Part Number (MPN) of the product. For more information,
350
+ # see https://support.google.com/manufacturers/answer/6124116#mpn.
351
+ # Corresponds to the JSON property `mpn`
352
+ # @return [String]
353
+ attr_accessor :mpn
354
+
355
+ # The URL of the detail page of the product. For more information, see
356
+ # https://support.google.com/manufacturers/answer/6124116#productpage.
357
+ # Corresponds to the JSON property `productPageUrl`
358
+ # @return [String]
359
+ attr_accessor :product_page_url
360
+
361
+ # The release date of the product. For more information, see
362
+ # https://support.google.com/manufacturers/answer/6124116#release.
363
+ # Corresponds to the JSON property `releaseDate`
364
+ # @return [String]
365
+ attr_accessor :release_date
413
366
 
414
367
  # The Global Trade Item Number (GTIN) of the product. For more information,
415
368
  # see https://support.google.com/manufacturers/answer/6124116#gtin.
@@ -417,6 +370,12 @@ module Google
417
370
  # @return [Array<String>]
418
371
  attr_accessor :gtin
419
372
 
373
+ # The item group id of the product. For more information, see
374
+ # https://support.google.com/manufacturers/answer/6124116#itemgroupid.
375
+ # Corresponds to the JSON property `itemGroupId`
376
+ # @return [String]
377
+ attr_accessor :item_group_id
378
+
420
379
  # The name of the group of products related to the product. For more
421
380
  # information, see
422
381
  # https://support.google.com/manufacturers/answer/6124116#productline.
@@ -454,111 +413,182 @@ module Google
454
413
  # @return [String]
455
414
  attr_accessor :theme
456
415
 
457
- # The pattern of the product. For more information, see
458
- # https://support.google.com/manufacturers/answer/6124116#pattern.
459
- # Corresponds to the JSON property `pattern`
460
- # @return [String]
461
- attr_accessor :pattern
416
+ def initialize(**args)
417
+ update!(**args)
418
+ end
462
419
 
463
- # An image.
464
- # Corresponds to the JSON property `imageLink`
465
- # @return [Google::Apis::ManufacturersV1::Image]
466
- attr_accessor :image_link
420
+ # Update properties of this object
421
+ def update!(**args)
422
+ @pattern = args[:pattern] if args.key?(:pattern)
423
+ @image_link = args[:image_link] if args.key?(:image_link)
424
+ @product_type = args[:product_type] if args.key?(:product_type)
425
+ @format = args[:format] if args.key?(:format)
426
+ @additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link)
427
+ @video_link = args[:video_link] if args.key?(:video_link)
428
+ @color = args[:color] if args.key?(:color)
429
+ @product_name = args[:product_name] if args.key?(:product_name)
430
+ @size_type = args[:size_type] if args.key?(:size_type)
431
+ @suggested_retail_price = args[:suggested_retail_price] if args.key?(:suggested_retail_price)
432
+ @feature_description = args[:feature_description] if args.key?(:feature_description)
433
+ @size = args[:size] if args.key?(:size)
434
+ @title = args[:title] if args.key?(:title)
435
+ @count = args[:count] if args.key?(:count)
436
+ @brand = args[:brand] if args.key?(:brand)
437
+ @material = args[:material] if args.key?(:material)
438
+ @disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date)
439
+ @scent = args[:scent] if args.key?(:scent)
440
+ @age_group = args[:age_group] if args.key?(:age_group)
441
+ @flavor = args[:flavor] if args.key?(:flavor)
442
+ @product_detail = args[:product_detail] if args.key?(:product_detail)
443
+ @mpn = args[:mpn] if args.key?(:mpn)
444
+ @product_page_url = args[:product_page_url] if args.key?(:product_page_url)
445
+ @release_date = args[:release_date] if args.key?(:release_date)
446
+ @gtin = args[:gtin] if args.key?(:gtin)
447
+ @item_group_id = args[:item_group_id] if args.key?(:item_group_id)
448
+ @product_line = args[:product_line] if args.key?(:product_line)
449
+ @capacity = args[:capacity] if args.key?(:capacity)
450
+ @description = args[:description] if args.key?(:description)
451
+ @gender = args[:gender] if args.key?(:gender)
452
+ @size_system = args[:size_system] if args.key?(:size_system)
453
+ @theme = args[:theme] if args.key?(:theme)
454
+ end
455
+ end
467
456
 
468
- # The category of the product. For more information, see
469
- # https://support.google.com/manufacturers/answer/6124116#producttype.
470
- # Corresponds to the JSON property `productType`
471
- # @return [Array<String>]
472
- attr_accessor :product_type
457
+ # The number of products in a single package. For more information, see
458
+ # https://support.google.com/manufacturers/answer/6124116#count.
459
+ class Count
460
+ include Google::Apis::Core::Hashable
473
461
 
474
- # The format of the product. For more information, see
475
- # https://support.google.com/manufacturers/answer/6124116#format.
476
- # Corresponds to the JSON property `format`
462
+ # The numeric value of the number of products in a package.
463
+ # Corresponds to the JSON property `value`
464
+ # @return [Fixnum]
465
+ attr_accessor :value
466
+
467
+ # The unit in which these products are counted.
468
+ # Corresponds to the JSON property `unit`
477
469
  # @return [String]
478
- attr_accessor :format
470
+ attr_accessor :unit
479
471
 
480
- # The additional images of the product. For more information, see
481
- # https://support.google.com/manufacturers/answer/6124116#addlimage.
482
- # Corresponds to the JSON property `additionalImageLink`
483
- # @return [Array<Google::Apis::ManufacturersV1::Image>]
484
- attr_accessor :additional_image_link
472
+ def initialize(**args)
473
+ update!(**args)
474
+ end
485
475
 
486
- # The videos of the product. For more information, see
487
- # https://support.google.com/manufacturers/answer/6124116#video.
488
- # Corresponds to the JSON property `videoLink`
476
+ # Update properties of this object
477
+ def update!(**args)
478
+ @value = args[:value] if args.key?(:value)
479
+ @unit = args[:unit] if args.key?(:unit)
480
+ end
481
+ end
482
+
483
+ # Product data.
484
+ class Product
485
+ include Google::Apis::Core::Hashable
486
+
487
+ # A server-generated list of issues associated with the product.
488
+ # @OutputOnly
489
+ # Corresponds to the JSON property `issues`
490
+ # @return [Array<Google::Apis::ManufacturersV1::Issue>]
491
+ attr_accessor :issues
492
+
493
+ # Names of the attributes of the product deleted manually via the
494
+ # Manufacturer Center UI.
495
+ # @OutputOnly
496
+ # Corresponds to the JSON property `manuallyDeletedAttributes`
489
497
  # @return [Array<String>]
490
- attr_accessor :video_link
498
+ attr_accessor :manually_deleted_attributes
491
499
 
492
- # The color of the product. For more information, see
493
- # https://support.google.com/manufacturers/answer/6124116#color.
494
- # Corresponds to the JSON property `color`
495
- # @return [String]
496
- attr_accessor :color
500
+ # Attributes of the product. For more information, see
501
+ # https://support.google.com/manufacturers/answer/6124116.
502
+ # Corresponds to the JSON property `finalAttributes`
503
+ # @return [Google::Apis::ManufacturersV1::Attributes]
504
+ attr_accessor :final_attributes
497
505
 
498
- # The canonical name of the product. For more information, see
499
- # https://support.google.com/manufacturers/answer/6124116#productname.
500
- # Corresponds to the JSON property `productName`
506
+ # The ID of the product. For more information, see
507
+ # https://support.google.com/manufacturers/answer/6124116#id.
508
+ # @OutputOnly
509
+ # Corresponds to the JSON property `productId`
501
510
  # @return [String]
502
- attr_accessor :product_name
511
+ attr_accessor :product_id
503
512
 
504
- # The size type of the product. For more information, see
505
- # https://support.google.com/manufacturers/answer/6124116#sizetype.
506
- # Corresponds to the JSON property `sizeType`
513
+ # Attributes of the product. For more information, see
514
+ # https://support.google.com/manufacturers/answer/6124116.
515
+ # Corresponds to the JSON property `uploadedAttributes`
516
+ # @return [Google::Apis::ManufacturersV1::Attributes]
517
+ attr_accessor :uploaded_attributes
518
+
519
+ # Parent ID in the format `accounts/`account_id``.
520
+ # `account_id` - The ID of the Manufacturer Center account.
521
+ # @OutputOnly
522
+ # Corresponds to the JSON property `parent`
507
523
  # @return [String]
508
- attr_accessor :size_type
524
+ attr_accessor :parent
509
525
 
510
- # A price.
511
- # Corresponds to the JSON property `suggestedRetailPrice`
512
- # @return [Google::Apis::ManufacturersV1::Price]
513
- attr_accessor :suggested_retail_price
526
+ # Attributes of the product. For more information, see
527
+ # https://support.google.com/manufacturers/answer/6124116.
528
+ # Corresponds to the JSON property `manuallyProvidedAttributes`
529
+ # @return [Google::Apis::ManufacturersV1::Attributes]
530
+ attr_accessor :manually_provided_attributes
514
531
 
515
- # The rich format description of the product. For more information, see
516
- # https://support.google.com/manufacturers/answer/6124116#featuredesc.
517
- # Corresponds to the JSON property `featureDescription`
518
- # @return [Array<Google::Apis::ManufacturersV1::FeatureDescription>]
519
- attr_accessor :feature_description
532
+ # The content language of the product as a two-letter ISO 639-1 language code
533
+ # (for example, en).
534
+ # @OutputOnly
535
+ # Corresponds to the JSON property `contentLanguage`
536
+ # @return [String]
537
+ attr_accessor :content_language
520
538
 
521
- # The size of the product. For more information, see
522
- # https://support.google.com/manufacturers/answer/6124116#size.
523
- # Corresponds to the JSON property `size`
539
+ # The target country of the product as a CLDR territory code (for example,
540
+ # US).
541
+ # @OutputOnly
542
+ # Corresponds to the JSON property `targetCountry`
524
543
  # @return [String]
525
- attr_accessor :size
544
+ attr_accessor :target_country
526
545
 
527
- # The title of the product. For more information, see
528
- # https://support.google.com/manufacturers/answer/6124116#title.
529
- # Corresponds to the JSON property `title`
546
+ # Name in the format ``target_country`:`content_language`:`product_id``.
547
+ # `target_country` - The target country of the product as a CLDR territory
548
+ # code (for example, US).
549
+ # `content_language` - The content language of the product as a two-letter
550
+ # ISO 639-1 language code (for example, en).
551
+ # `product_id` - The ID of the product. For more information, see
552
+ # https://support.google.com/manufacturers/answer/6124116#
553
+ # id.
554
+ # @OutputOnly
555
+ # Corresponds to the JSON property `name`
530
556
  # @return [String]
531
- attr_accessor :title
557
+ attr_accessor :name
532
558
 
533
- # The number of products in a single package. For more information, see
534
- # https://support.google.com/manufacturers/answer/6124116#count.
535
- # Corresponds to the JSON property `count`
536
- # @return [Google::Apis::ManufacturersV1::Count]
537
- attr_accessor :count
559
+ def initialize(**args)
560
+ update!(**args)
561
+ end
538
562
 
539
- # The brand name of the product. For more information, see
540
- # https://support.google.com/manufacturers/answer/6124116#brand.
541
- # Corresponds to the JSON property `brand`
542
- # @return [String]
543
- attr_accessor :brand
563
+ # Update properties of this object
564
+ def update!(**args)
565
+ @issues = args[:issues] if args.key?(:issues)
566
+ @manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes)
567
+ @final_attributes = args[:final_attributes] if args.key?(:final_attributes)
568
+ @product_id = args[:product_id] if args.key?(:product_id)
569
+ @uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes)
570
+ @parent = args[:parent] if args.key?(:parent)
571
+ @manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes)
572
+ @content_language = args[:content_language] if args.key?(:content_language)
573
+ @target_country = args[:target_country] if args.key?(:target_country)
574
+ @name = args[:name] if args.key?(:name)
575
+ end
576
+ end
544
577
 
545
- # The disclosure date of the product. For more information, see
546
- # https://support.google.com/manufacturers/answer/6124116#disclosure.
547
- # Corresponds to the JSON property `disclosureDate`
548
- # @return [String]
549
- attr_accessor :disclosure_date
578
+ # The capacity of a product. For more information, see
579
+ # https://support.google.com/manufacturers/answer/6124116#capacity.
580
+ class Capacity
581
+ include Google::Apis::Core::Hashable
550
582
 
551
- # The material of the product. For more information, see
552
- # https://support.google.com/manufacturers/answer/6124116#material.
553
- # Corresponds to the JSON property `material`
554
- # @return [String]
555
- attr_accessor :material
583
+ # The numeric value of the capacity.
584
+ # Corresponds to the JSON property `value`
585
+ # @return [Fixnum]
586
+ attr_accessor :value
556
587
 
557
- # The scent of the product. For more information, see
558
- # https://support.google.com/manufacturers/answer/6124116#scent.
559
- # Corresponds to the JSON property `scent`
588
+ # The unit of the capacity, i.e., MB, GB, or TB.
589
+ # Corresponds to the JSON property `unit`
560
590
  # @return [String]
561
- attr_accessor :scent
591
+ attr_accessor :unit
562
592
 
563
593
  def initialize(**args)
564
594
  update!(**args)
@@ -566,38 +596,8 @@ module Google
566
596
 
567
597
  # Update properties of this object
568
598
  def update!(**args)
569
- @flavor = args[:flavor] if args.key?(:flavor)
570
- @product_detail = args[:product_detail] if args.key?(:product_detail)
571
- @age_group = args[:age_group] if args.key?(:age_group)
572
- @mpn = args[:mpn] if args.key?(:mpn)
573
- @product_page_url = args[:product_page_url] if args.key?(:product_page_url)
574
- @release_date = args[:release_date] if args.key?(:release_date)
575
- @item_group_id = args[:item_group_id] if args.key?(:item_group_id)
576
- @gtin = args[:gtin] if args.key?(:gtin)
577
- @product_line = args[:product_line] if args.key?(:product_line)
578
- @capacity = args[:capacity] if args.key?(:capacity)
579
- @description = args[:description] if args.key?(:description)
580
- @gender = args[:gender] if args.key?(:gender)
581
- @size_system = args[:size_system] if args.key?(:size_system)
582
- @theme = args[:theme] if args.key?(:theme)
583
- @pattern = args[:pattern] if args.key?(:pattern)
584
- @image_link = args[:image_link] if args.key?(:image_link)
585
- @product_type = args[:product_type] if args.key?(:product_type)
586
- @format = args[:format] if args.key?(:format)
587
- @additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link)
588
- @video_link = args[:video_link] if args.key?(:video_link)
589
- @color = args[:color] if args.key?(:color)
590
- @product_name = args[:product_name] if args.key?(:product_name)
591
- @size_type = args[:size_type] if args.key?(:size_type)
592
- @suggested_retail_price = args[:suggested_retail_price] if args.key?(:suggested_retail_price)
593
- @feature_description = args[:feature_description] if args.key?(:feature_description)
594
- @size = args[:size] if args.key?(:size)
595
- @title = args[:title] if args.key?(:title)
596
- @count = args[:count] if args.key?(:count)
597
- @brand = args[:brand] if args.key?(:brand)
598
- @disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date)
599
- @material = args[:material] if args.key?(:material)
600
- @scent = args[:scent] if args.key?(:scent)
599
+ @value = args[:value] if args.key?(:value)
600
+ @unit = args[:unit] if args.key?(:unit)
601
601
  end
602
602
  end
603
603
  end