google-api-client 0.9.8 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (320) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +15 -8
  3. data/CHANGELOG.md +84 -0
  4. data/Gemfile +10 -2
  5. data/README.md +10 -2
  6. data/api_names.yaml +37172 -135
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
  13. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
  14. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
  15. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  16. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  17. data/generated/google/apis/admin_directory_v1.rb +1 -1
  18. data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
  19. data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
  20. data/generated/google/apis/admin_directory_v1/service.rb +41 -2
  21. data/generated/google/apis/admin_reports_v1.rb +5 -5
  22. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  23. data/generated/google/apis/adsense_v1_4.rb +1 -1
  24. data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
  27. data/generated/google/apis/analytics_v3.rb +1 -1
  28. data/generated/google/apis/analytics_v3/classes.rb +379 -3
  29. data/generated/google/apis/analytics_v3/representations.rb +136 -0
  30. data/generated/google/apis/analytics_v3/service.rb +256 -0
  31. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  32. data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
  33. data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
  34. data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
  35. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
  38. data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
  39. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
  41. data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
  42. data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
  43. data/generated/google/apis/appengine_v1beta5.rb +7 -1
  44. data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
  45. data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
  46. data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
  47. data/generated/google/apis/appsactivity_v1.rb +3 -3
  48. data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
  49. data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
  50. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  51. data/generated/google/apis/appstate_v1.rb +1 -1
  52. data/generated/google/apis/bigquery_v2.rb +1 -1
  53. data/generated/google/apis/bigquery_v2/classes.rb +360 -38
  54. data/generated/google/apis/bigquery_v2/representations.rb +106 -0
  55. data/generated/google/apis/bigquery_v2/service.rb +18 -4
  56. data/generated/google/apis/books_v1.rb +2 -2
  57. data/generated/google/apis/books_v1/classes.rb +83 -0
  58. data/generated/google/apis/books_v1/representations.rb +35 -0
  59. data/generated/google/apis/books_v1/service.rb +7 -3
  60. data/generated/google/apis/calendar_v3.rb +1 -1
  61. data/generated/google/apis/calendar_v3/classes.rb +208 -5
  62. data/generated/google/apis/calendar_v3/representations.rb +97 -0
  63. data/generated/google/apis/civicinfo_v2.rb +3 -2
  64. data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
  65. data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
  66. data/generated/google/apis/civicinfo_v2/service.rb +27 -6
  67. data/generated/google/apis/classroom_v1.rb +22 -25
  68. data/generated/google/apis/classroom_v1/classes.rb +998 -761
  69. data/generated/google/apis/classroom_v1/representations.rb +263 -198
  70. data/generated/google/apis/classroom_v1/service.rb +1349 -672
  71. data/generated/google/apis/cloudbilling_v1.rb +3 -3
  72. data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
  73. data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
  74. data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
  75. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  76. data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
  77. data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
  78. data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
  79. data/generated/google/apis/clouddebugger_v2.rb +5 -8
  80. data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
  81. data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
  82. data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
  83. data/generated/google/apis/cloudkms_v1.rb +35 -0
  84. data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
  85. data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
  86. data/generated/google/apis/cloudkms_v1/service.rb +933 -0
  87. data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
  88. data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
  89. data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
  90. data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
  91. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  93. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
  94. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
  96. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
  98. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
  99. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
  100. data/generated/google/apis/cloudtrace_v1.rb +9 -9
  101. data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
  102. data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
  103. data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
  104. data/generated/google/apis/compute_beta.rb +1 -1
  105. data/generated/google/apis/compute_beta/classes.rb +7007 -3648
  106. data/generated/google/apis/compute_beta/representations.rb +1459 -120
  107. data/generated/google/apis/compute_beta/service.rb +7943 -3726
  108. data/generated/google/apis/compute_v1.rb +1 -1
  109. data/generated/google/apis/compute_v1/classes.rb +2567 -370
  110. data/generated/google/apis/compute_v1/representations.rb +855 -0
  111. data/generated/google/apis/compute_v1/service.rb +6388 -2908
  112. data/generated/google/apis/container_v1.rb +1 -1
  113. data/generated/google/apis/container_v1/classes.rb +287 -16
  114. data/generated/google/apis/container_v1/representations.rb +113 -2
  115. data/generated/google/apis/container_v1/service.rb +130 -0
  116. data/generated/google/apis/content_v2.rb +1 -1
  117. data/generated/google/apis/content_v2/classes.rb +778 -10
  118. data/generated/google/apis/content_v2/representations.rb +339 -0
  119. data/generated/google/apis/content_v2/service.rb +364 -49
  120. data/generated/google/apis/dataflow_v1b3.rb +37 -0
  121. data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
  122. data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
  123. data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
  124. data/generated/google/apis/dataproc_v1.rb +1 -1
  125. data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
  126. data/generated/google/apis/dataproc_v1/representations.rb +299 -225
  127. data/generated/google/apis/dataproc_v1/service.rb +277 -192
  128. data/generated/google/apis/datastore_v1.rb +38 -0
  129. data/generated/google/apis/datastore_v1/classes.rb +1289 -0
  130. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  131. data/generated/google/apis/datastore_v1/service.rb +259 -0
  132. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  133. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  134. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  135. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  136. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  137. data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
  138. data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
  139. data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
  140. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  141. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  142. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  143. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  144. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  145. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  146. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  147. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  148. data/generated/google/apis/dfareporting_v2_7.rb +40 -0
  149. data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
  150. data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
  151. data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
  152. data/generated/google/apis/dns_v1.rb +1 -1
  153. data/generated/google/apis/dns_v1/classes.rb +1 -1
  154. data/generated/google/apis/dns_v2beta1.rb +43 -0
  155. data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
  156. data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
  157. data/generated/google/apis/dns_v2beta1/service.rb +768 -0
  158. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  159. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  160. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  161. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  162. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  163. data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
  164. data/generated/google/apis/drive_v2.rb +1 -1
  165. data/generated/google/apis/drive_v2/classes.rb +595 -37
  166. data/generated/google/apis/drive_v2/representations.rb +140 -0
  167. data/generated/google/apis/drive_v2/service.rb +406 -40
  168. data/generated/google/apis/drive_v3.rb +1 -1
  169. data/generated/google/apis/drive_v3/classes.rb +507 -40
  170. data/generated/google/apis/drive_v3/representations.rb +105 -0
  171. data/generated/google/apis/drive_v3/service.rb +326 -29
  172. data/generated/google/apis/fitness_v1.rb +38 -2
  173. data/generated/google/apis/fitness_v1/classes.rb +65 -7
  174. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  175. data/generated/google/apis/fitness_v1/service.rb +17 -18
  176. data/generated/google/apis/fusiontables_v2.rb +1 -1
  177. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  178. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  179. data/generated/google/apis/games_management_v1management.rb +1 -1
  180. data/generated/google/apis/games_v1.rb +1 -1
  181. data/generated/google/apis/genomics_v1.rb +10 -12
  182. data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
  183. data/generated/google/apis/genomics_v1/representations.rb +468 -496
  184. data/generated/google/apis/genomics_v1/service.rb +978 -882
  185. data/generated/google/apis/gmail_v1.rb +11 -2
  186. data/generated/google/apis/gmail_v1/classes.rb +655 -5
  187. data/generated/google/apis/gmail_v1/representations.rb +261 -0
  188. data/generated/google/apis/gmail_v1/service.rb +1211 -48
  189. data/generated/google/apis/groupssettings_v1.rb +2 -2
  190. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  191. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  192. data/generated/google/apis/iam_v1.rb +2 -2
  193. data/generated/google/apis/iam_v1/classes.rb +446 -368
  194. data/generated/google/apis/iam_v1/representations.rb +109 -91
  195. data/generated/google/apis/iam_v1/service.rb +249 -162
  196. data/generated/google/apis/identitytoolkit_v3.rb +7 -1
  197. data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
  198. data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
  199. data/generated/google/apis/kgsearch_v1.rb +2 -3
  200. data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
  201. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  202. data/generated/google/apis/kgsearch_v1/service.rb +26 -24
  203. data/generated/google/apis/language_v1beta1.rb +36 -0
  204. data/generated/google/apis/language_v1beta1/classes.rb +757 -0
  205. data/generated/google/apis/language_v1beta1/representations.rb +339 -0
  206. data/generated/google/apis/language_v1beta1/service.rb +185 -0
  207. data/generated/google/apis/licensing_v1.rb +3 -3
  208. data/generated/google/apis/licensing_v1/classes.rb +14 -2
  209. data/generated/google/apis/licensing_v1/representations.rb +2 -0
  210. data/generated/google/apis/licensing_v1/service.rb +1 -1
  211. data/generated/google/apis/logging_v2beta1.rb +6 -6
  212. data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
  213. data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
  214. data/generated/google/apis/logging_v2beta1/service.rb +427 -155
  215. data/generated/google/apis/manufacturers_v1.rb +34 -0
  216. data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
  217. data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
  218. data/generated/google/apis/manufacturers_v1/service.rb +138 -0
  219. data/generated/google/apis/mirror_v1.rb +2 -2
  220. data/generated/google/apis/mirror_v1/service.rb +1 -1
  221. data/generated/google/apis/monitoring_v3.rb +45 -0
  222. data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
  223. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  224. data/generated/google/apis/monitoring_v3/service.rb +706 -0
  225. data/generated/google/apis/oauth2_v2.rb +1 -1
  226. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  227. data/generated/google/apis/partners_v2.rb +3 -3
  228. data/generated/google/apis/partners_v2/classes.rb +1831 -477
  229. data/generated/google/apis/partners_v2/representations.rb +571 -114
  230. data/generated/google/apis/partners_v2/service.rb +898 -167
  231. data/generated/google/apis/people_v1.rb +15 -16
  232. data/generated/google/apis/people_v1/classes.rb +1047 -859
  233. data/generated/google/apis/people_v1/representations.rb +252 -213
  234. data/generated/google/apis/people_v1/service.rb +75 -62
  235. data/generated/google/apis/plus_domains_v1.rb +1 -1
  236. data/generated/google/apis/plus_v1.rb +1 -1
  237. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  238. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
  239. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
  240. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
  241. data/generated/google/apis/pubsub_v1.rb +1 -1
  242. data/generated/google/apis/pubsub_v1/classes.rb +363 -310
  243. data/generated/google/apis/pubsub_v1/representations.rb +76 -76
  244. data/generated/google/apis/pubsub_v1/service.rb +464 -335
  245. data/generated/google/apis/qpx_express_v1.rb +1 -1
  246. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  247. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  248. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  249. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  250. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  251. data/generated/google/apis/reseller_v1.rb +1 -1
  252. data/generated/google/apis/reseller_v1/classes.rb +222 -61
  253. data/generated/google/apis/reseller_v1/representations.rb +28 -0
  254. data/generated/google/apis/reseller_v1/service.rb +240 -47
  255. data/generated/google/apis/script_v1.rb +19 -19
  256. data/generated/google/apis/script_v1/classes.rb +151 -137
  257. data/generated/google/apis/script_v1/representations.rb +26 -26
  258. data/generated/google/apis/script_v1/service.rb +9 -8
  259. data/generated/google/apis/sheets_v4.rb +7 -7
  260. data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
  261. data/generated/google/apis/sheets_v4/representations.rb +988 -737
  262. data/generated/google/apis/sheets_v4/service.rb +266 -99
  263. data/generated/google/apis/site_verification_v1.rb +1 -1
  264. data/generated/google/apis/slides_v1.rb +49 -0
  265. data/generated/google/apis/slides_v1/classes.rb +4480 -0
  266. data/generated/google/apis/slides_v1/representations.rb +1926 -0
  267. data/generated/google/apis/slides_v1/service.rb +245 -0
  268. data/generated/google/apis/speech_v1beta1.rb +34 -0
  269. data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
  270. data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
  271. data/generated/google/apis/speech_v1beta1/service.rb +270 -0
  272. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  273. data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
  274. data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
  275. data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
  276. data/generated/google/apis/storage_v1.rb +1 -1
  277. data/generated/google/apis/storage_v1/classes.rb +205 -21
  278. data/generated/google/apis/storage_v1/representations.rb +51 -1
  279. data/generated/google/apis/storage_v1/service.rb +263 -9
  280. data/generated/google/apis/tagmanager_v1.rb +5 -5
  281. data/generated/google/apis/translate_v2.rb +2 -2
  282. data/generated/google/apis/translate_v2/service.rb +1 -1
  283. data/generated/google/apis/vision_v1.rb +1 -1
  284. data/generated/google/apis/vision_v1/classes.rb +1275 -731
  285. data/generated/google/apis/vision_v1/representations.rb +378 -111
  286. data/generated/google/apis/vision_v1/service.rb +4 -4
  287. data/generated/google/apis/webmasters_v3.rb +1 -1
  288. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  289. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
  290. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
  291. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
  292. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  293. data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
  294. data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
  295. data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
  296. data/generated/google/apis/youtube_v3.rb +1 -1
  297. data/generated/google/apis/youtube_v3/classes.rb +430 -22
  298. data/generated/google/apis/youtube_v3/representations.rb +171 -4
  299. data/generated/google/apis/youtube_v3/service.rb +100 -9
  300. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  301. data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
  302. data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
  303. data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
  304. data/google-api-client.gemspec +4 -3
  305. data/lib/google/apis/core/api_command.rb +16 -6
  306. data/lib/google/apis/core/base_service.rb +17 -9
  307. data/lib/google/apis/core/download.rb +7 -2
  308. data/lib/google/apis/core/http_command.rb +5 -1
  309. data/lib/google/apis/core/json_representation.rb +2 -2
  310. data/lib/google/apis/core/upload.rb +7 -1
  311. data/lib/google/apis/errors.rb +6 -2
  312. data/lib/google/apis/generator/annotator.rb +6 -0
  313. data/lib/google/apis/version.rb +1 -1
  314. data/samples/cli/lib/samples/bigquery.rb +101 -0
  315. data/samples/cli/lib/samples/calendar.rb +1 -1
  316. data/samples/cli/lib/samples/gmail.rb +74 -0
  317. data/samples/cli/lib/samples/sheets.rb +61 -0
  318. data/samples/cli/lib/samples/you_tube.rb +4 -1
  319. data/sync.rb +71 -0
  320. metadata +86 -18
@@ -0,0 +1,34 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/manufacturers_v1/service.rb'
16
+ require 'google/apis/manufacturers_v1/classes.rb'
17
+ require 'google/apis/manufacturers_v1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Manufacturer Center API
22
+ #
23
+ # Public API for managing Manufacturer Center related data.
24
+ #
25
+ # @see https://developers.google.com/manufacturers/
26
+ module ManufacturersV1
27
+ VERSION = 'V1'
28
+ REVISION = '20170322'
29
+
30
+ # Manage your product listings for Google Manufacturer Center
31
+ AUTH_MANUFACTURERCENTER = 'https://www.googleapis.com/auth/manufacturercenter'
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,605 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module ManufacturersV1
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
+ # The target country of the product as a CLDR territory code (for example,
56
+ # US).
57
+ # @OutputOnly
58
+ # Corresponds to the JSON property `targetCountry`
59
+ # @return [String]
60
+ attr_accessor :target_country
61
+
62
+ # The content language of the product as a two-letter ISO 639-1 language code
63
+ # (for example, en).
64
+ # @OutputOnly
65
+ # Corresponds to the JSON property `contentLanguage`
66
+ # @return [String]
67
+ attr_accessor :content_language
68
+
69
+ # Name in the format ``target_country`:`content_language`:`product_id``.
70
+ # `target_country` - The target country of the product as a CLDR territory
71
+ # code (for example, US).
72
+ # `content_language` - The content language of the product as a two-letter
73
+ # ISO 639-1 language code (for example, en).
74
+ # `product_id` - The ID of the product. For more information, see
75
+ # https://support.google.com/manufacturers/answer/6124116#
76
+ # id.
77
+ # @OutputOnly
78
+ # Corresponds to the JSON property `name`
79
+ # @return [String]
80
+ attr_accessor :name
81
+
82
+ # Names of the attributes of the product deleted manually via the
83
+ # Manufacturer Center UI.
84
+ # @OutputOnly
85
+ # Corresponds to the JSON property `manuallyDeletedAttributes`
86
+ # @return [Array<String>]
87
+ attr_accessor :manually_deleted_attributes
88
+
89
+ # A server-generated list of issues associated with the product.
90
+ # @OutputOnly
91
+ # Corresponds to the JSON property `issues`
92
+ # @return [Array<Google::Apis::ManufacturersV1::Issue>]
93
+ attr_accessor :issues
94
+
95
+ # Attributes of the product. For more information, see
96
+ # https://support.google.com/manufacturers/answer/6124116.
97
+ # Corresponds to the JSON property `finalAttributes`
98
+ # @return [Google::Apis::ManufacturersV1::Attributes]
99
+ attr_accessor :final_attributes
100
+
101
+ # The ID of the product. For more information, see
102
+ # https://support.google.com/manufacturers/answer/6124116#id.
103
+ # @OutputOnly
104
+ # Corresponds to the JSON property `productId`
105
+ # @return [String]
106
+ attr_accessor :product_id
107
+
108
+ # Attributes of the product. For more information, see
109
+ # https://support.google.com/manufacturers/answer/6124116.
110
+ # Corresponds to the JSON property `uploadedAttributes`
111
+ # @return [Google::Apis::ManufacturersV1::Attributes]
112
+ attr_accessor :uploaded_attributes
113
+
114
+ # Parent ID in the format `accounts/`account_id``.
115
+ # `account_id` - The ID of the Manufacturer Center account.
116
+ # @OutputOnly
117
+ # Corresponds to the JSON property `parent`
118
+ # @return [String]
119
+ attr_accessor :parent
120
+
121
+ # Attributes of the product. For more information, see
122
+ # https://support.google.com/manufacturers/answer/6124116.
123
+ # Corresponds to the JSON property `manuallyProvidedAttributes`
124
+ # @return [Google::Apis::ManufacturersV1::Attributes]
125
+ attr_accessor :manually_provided_attributes
126
+
127
+ def initialize(**args)
128
+ update!(**args)
129
+ end
130
+
131
+ # Update properties of this object
132
+ def update!(**args)
133
+ @target_country = args[:target_country] if args.key?(:target_country)
134
+ @content_language = args[:content_language] if args.key?(:content_language)
135
+ @name = args[:name] if args.key?(:name)
136
+ @manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes)
137
+ @issues = args[:issues] if args.key?(:issues)
138
+ @final_attributes = args[:final_attributes] if args.key?(:final_attributes)
139
+ @product_id = args[:product_id] if args.key?(:product_id)
140
+ @uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes)
141
+ @parent = args[:parent] if args.key?(:parent)
142
+ @manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes)
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
+ #
173
+ class ListProductsResponse
174
+ include Google::Apis::Core::Hashable
175
+
176
+ # List of the products.
177
+ # Corresponds to the JSON property `products`
178
+ # @return [Array<Google::Apis::ManufacturersV1::Product>]
179
+ attr_accessor :products
180
+
181
+ # The token for the retrieval of the next page of product statuses.
182
+ # Corresponds to the JSON property `nextPageToken`
183
+ # @return [String]
184
+ attr_accessor :next_page_token
185
+
186
+ def initialize(**args)
187
+ update!(**args)
188
+ end
189
+
190
+ # Update properties of this object
191
+ def update!(**args)
192
+ @products = args[:products] if args.key?(:products)
193
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
194
+ end
195
+ end
196
+
197
+ # A product detail of the product. For more information, see
198
+ # https://support.google.com/manufacturers/answer/6124116#productdetail.
199
+ class ProductDetail
200
+ include Google::Apis::Core::Hashable
201
+
202
+ # The value of the attribute.
203
+ # Corresponds to the JSON property `attributeValue`
204
+ # @return [String]
205
+ attr_accessor :attribute_value
206
+
207
+ # A short section name that can be reused between multiple product details.
208
+ # Corresponds to the JSON property `sectionName`
209
+ # @return [String]
210
+ attr_accessor :section_name
211
+
212
+ # The name of the attribute.
213
+ # Corresponds to the JSON property `attributeName`
214
+ # @return [String]
215
+ attr_accessor :attribute_name
216
+
217
+ def initialize(**args)
218
+ update!(**args)
219
+ end
220
+
221
+ # Update properties of this object
222
+ def update!(**args)
223
+ @attribute_value = args[:attribute_value] if args.key?(:attribute_value)
224
+ @section_name = args[:section_name] if args.key?(:section_name)
225
+ @attribute_name = args[:attribute_name] if args.key?(:attribute_name)
226
+ end
227
+ end
228
+
229
+ # A feature description of the product. For more information, see
230
+ # https://support.google.com/manufacturers/answer/6124116#featuredesc.
231
+ class FeatureDescription
232
+ include Google::Apis::Core::Hashable
233
+
234
+ # A detailed description of the feature.
235
+ # Corresponds to the JSON property `text`
236
+ # @return [String]
237
+ attr_accessor :text
238
+
239
+ # An image.
240
+ # Corresponds to the JSON property `image`
241
+ # @return [Google::Apis::ManufacturersV1::Image]
242
+ attr_accessor :image
243
+
244
+ # A short description of the feature.
245
+ # Corresponds to the JSON property `headline`
246
+ # @return [String]
247
+ attr_accessor :headline
248
+
249
+ def initialize(**args)
250
+ update!(**args)
251
+ end
252
+
253
+ # Update properties of this object
254
+ def update!(**args)
255
+ @text = args[:text] if args.key?(:text)
256
+ @image = args[:image] if args.key?(:image)
257
+ @headline = args[:headline] if args.key?(:headline)
258
+ end
259
+ end
260
+
261
+ # Product issue.
262
+ class Issue
263
+ include Google::Apis::Core::Hashable
264
+
265
+ # The timestamp when this issue appeared.
266
+ # Corresponds to the JSON property `timestamp`
267
+ # @return [String]
268
+ attr_accessor :timestamp
269
+
270
+ # The severity of the issue.
271
+ # Corresponds to the JSON property `severity`
272
+ # @return [String]
273
+ attr_accessor :severity
274
+
275
+ # Description of the issue.
276
+ # Corresponds to the JSON property `description`
277
+ # @return [String]
278
+ attr_accessor :description
279
+
280
+ # The server-generated type of the issue, for example,
281
+ # “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
282
+ # Corresponds to the JSON property `type`
283
+ # @return [String]
284
+ attr_accessor :type
285
+
286
+ # If present, the attribute that triggered the issue. For more information
287
+ # about attributes, see
288
+ # https://support.google.com/manufacturers/answer/6124116.
289
+ # Corresponds to the JSON property `attribute`
290
+ # @return [String]
291
+ attr_accessor :attribute
292
+
293
+ def initialize(**args)
294
+ update!(**args)
295
+ end
296
+
297
+ # Update properties of this object
298
+ def update!(**args)
299
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
300
+ @severity = args[:severity] if args.key?(:severity)
301
+ @description = args[:description] if args.key?(:description)
302
+ @type = args[:type] if args.key?(:type)
303
+ @attribute = args[:attribute] if args.key?(:attribute)
304
+ end
305
+ end
306
+
307
+ # A price.
308
+ class Price
309
+ include Google::Apis::Core::Hashable
310
+
311
+ # The numeric value of the price.
312
+ # Corresponds to the JSON property `amount`
313
+ # @return [String]
314
+ attr_accessor :amount
315
+
316
+ # The currency in which the price is denoted.
317
+ # Corresponds to the JSON property `currency`
318
+ # @return [String]
319
+ attr_accessor :currency
320
+
321
+ def initialize(**args)
322
+ update!(**args)
323
+ end
324
+
325
+ # Update properties of this object
326
+ def update!(**args)
327
+ @amount = args[:amount] if args.key?(:amount)
328
+ @currency = args[:currency] if args.key?(:currency)
329
+ end
330
+ end
331
+
332
+ # An image.
333
+ class Image
334
+ include Google::Apis::Core::Hashable
335
+
336
+ # The type of the image, i.e., crawled or uploaded.
337
+ # @OutputOnly
338
+ # Corresponds to the JSON property `type`
339
+ # @return [String]
340
+ attr_accessor :type
341
+
342
+ # The URL of the image. For crawled images, this is the provided URL. For
343
+ # uploaded images, this is a serving URL from Google if the image has been
344
+ # processed successfully.
345
+ # Corresponds to the JSON property `imageUrl`
346
+ # @return [String]
347
+ attr_accessor :image_url
348
+
349
+ # The status of the image.
350
+ # @OutputOnly
351
+ # Corresponds to the JSON property `status`
352
+ # @return [String]
353
+ attr_accessor :status
354
+
355
+ def initialize(**args)
356
+ update!(**args)
357
+ end
358
+
359
+ # Update properties of this object
360
+ def update!(**args)
361
+ @type = args[:type] if args.key?(:type)
362
+ @image_url = args[:image_url] if args.key?(:image_url)
363
+ @status = args[:status] if args.key?(:status)
364
+ end
365
+ end
366
+
367
+ # Attributes of the product. For more information, see
368
+ # https://support.google.com/manufacturers/answer/6124116.
369
+ class Attributes
370
+ include Google::Apis::Core::Hashable
371
+
372
+ # The size system of the product. For more information, see
373
+ # https://support.google.com/manufacturers/answer/6124116#sizesystem.
374
+ # Corresponds to the JSON property `sizeSystem`
375
+ # @return [String]
376
+ attr_accessor :size_system
377
+
378
+ # The theme of the product. For more information, see
379
+ # https://support.google.com/manufacturers/answer/6124116#theme.
380
+ # Corresponds to the JSON property `theme`
381
+ # @return [String]
382
+ attr_accessor :theme
383
+
384
+ # The pattern of the product. For more information, see
385
+ # https://support.google.com/manufacturers/answer/6124116#pattern.
386
+ # Corresponds to the JSON property `pattern`
387
+ # @return [String]
388
+ attr_accessor :pattern
389
+
390
+ # An image.
391
+ # Corresponds to the JSON property `imageLink`
392
+ # @return [Google::Apis::ManufacturersV1::Image]
393
+ attr_accessor :image_link
394
+
395
+ # The category of the product. For more information, see
396
+ # https://support.google.com/manufacturers/answer/6124116#producttype.
397
+ # Corresponds to the JSON property `productType`
398
+ # @return [Array<String>]
399
+ attr_accessor :product_type
400
+
401
+ # The format of the product. For more information, see
402
+ # https://support.google.com/manufacturers/answer/6124116#format.
403
+ # Corresponds to the JSON property `format`
404
+ # @return [String]
405
+ attr_accessor :format
406
+
407
+ # The additional images of the product. For more information, see
408
+ # https://support.google.com/manufacturers/answer/6124116#addlimage.
409
+ # Corresponds to the JSON property `additionalImageLink`
410
+ # @return [Array<Google::Apis::ManufacturersV1::Image>]
411
+ attr_accessor :additional_image_link
412
+
413
+ # The videos of the product. For more information, see
414
+ # https://support.google.com/manufacturers/answer/6124116#video.
415
+ # Corresponds to the JSON property `videoLink`
416
+ # @return [Array<String>]
417
+ attr_accessor :video_link
418
+
419
+ # The color of the product. For more information, see
420
+ # https://support.google.com/manufacturers/answer/6124116#color.
421
+ # Corresponds to the JSON property `color`
422
+ # @return [String]
423
+ attr_accessor :color
424
+
425
+ # The canonical name of the product. For more information, see
426
+ # https://support.google.com/manufacturers/answer/6124116#productname.
427
+ # Corresponds to the JSON property `productName`
428
+ # @return [String]
429
+ attr_accessor :product_name
430
+
431
+ # The size type of the product. For more information, see
432
+ # https://support.google.com/manufacturers/answer/6124116#sizetype.
433
+ # Corresponds to the JSON property `sizeType`
434
+ # @return [String]
435
+ attr_accessor :size_type
436
+
437
+ # A price.
438
+ # Corresponds to the JSON property `suggestedRetailPrice`
439
+ # @return [Google::Apis::ManufacturersV1::Price]
440
+ attr_accessor :suggested_retail_price
441
+
442
+ # The rich format description of the product. For more information, see
443
+ # https://support.google.com/manufacturers/answer/6124116#featuredesc.
444
+ # Corresponds to the JSON property `featureDescription`
445
+ # @return [Array<Google::Apis::ManufacturersV1::FeatureDescription>]
446
+ attr_accessor :feature_description
447
+
448
+ # The size of the product. For more information, see
449
+ # https://support.google.com/manufacturers/answer/6124116#size.
450
+ # Corresponds to the JSON property `size`
451
+ # @return [String]
452
+ attr_accessor :size
453
+
454
+ # The title of the product. For more information, see
455
+ # https://support.google.com/manufacturers/answer/6124116#title.
456
+ # Corresponds to the JSON property `title`
457
+ # @return [String]
458
+ attr_accessor :title
459
+
460
+ # The number of products in a single package. For more information, see
461
+ # https://support.google.com/manufacturers/answer/6124116#count.
462
+ # Corresponds to the JSON property `count`
463
+ # @return [Google::Apis::ManufacturersV1::Count]
464
+ attr_accessor :count
465
+
466
+ # The brand name of the product. For more information, see
467
+ # https://support.google.com/manufacturers/answer/6124116#brand.
468
+ # Corresponds to the JSON property `brand`
469
+ # @return [String]
470
+ attr_accessor :brand
471
+
472
+ # The disclosure date of the product. For more information, see
473
+ # https://support.google.com/manufacturers/answer/6124116#disclosure.
474
+ # Corresponds to the JSON property `disclosureDate`
475
+ # @return [String]
476
+ attr_accessor :disclosure_date
477
+
478
+ # The material of the product. For more information, see
479
+ # https://support.google.com/manufacturers/answer/6124116#material.
480
+ # Corresponds to the JSON property `material`
481
+ # @return [String]
482
+ attr_accessor :material
483
+
484
+ # The scent of the product. For more information, see
485
+ # https://support.google.com/manufacturers/answer/6124116#scent.
486
+ # Corresponds to the JSON property `scent`
487
+ # @return [String]
488
+ attr_accessor :scent
489
+
490
+ # The target age group of the product. For more information, see
491
+ # https://support.google.com/manufacturers/answer/6124116#agegroup.
492
+ # Corresponds to the JSON property `ageGroup`
493
+ # @return [String]
494
+ attr_accessor :age_group
495
+
496
+ # The details of the product. For more information, see
497
+ # https://support.google.com/manufacturers/answer/6124116#productdetail.
498
+ # Corresponds to the JSON property `productDetail`
499
+ # @return [Array<Google::Apis::ManufacturersV1::ProductDetail>]
500
+ attr_accessor :product_detail
501
+
502
+ # The flavor of the product. For more information, see
503
+ # https://support.google.com/manufacturers/answer/6124116#flavor.
504
+ # Corresponds to the JSON property `flavor`
505
+ # @return [String]
506
+ attr_accessor :flavor
507
+
508
+ # The URL of the detail page of the product. For more information, see
509
+ # https://support.google.com/manufacturers/answer/6124116#productpage.
510
+ # Corresponds to the JSON property `productPageUrl`
511
+ # @return [String]
512
+ attr_accessor :product_page_url
513
+
514
+ # The Manufacturer Part Number (MPN) of the product. For more information,
515
+ # see https://support.google.com/manufacturers/answer/6124116#mpn.
516
+ # Corresponds to the JSON property `mpn`
517
+ # @return [String]
518
+ attr_accessor :mpn
519
+
520
+ # The release date of the product. For more information, see
521
+ # https://support.google.com/manufacturers/answer/6124116#release.
522
+ # Corresponds to the JSON property `releaseDate`
523
+ # @return [String]
524
+ attr_accessor :release_date
525
+
526
+ # The Global Trade Item Number (GTIN) of the product. For more information,
527
+ # see https://support.google.com/manufacturers/answer/6124116#gtin.
528
+ # Corresponds to the JSON property `gtin`
529
+ # @return [Array<String>]
530
+ attr_accessor :gtin
531
+
532
+ # The item group id of the product. For more information, see
533
+ # https://support.google.com/manufacturers/answer/6124116#itemgroupid.
534
+ # Corresponds to the JSON property `itemGroupId`
535
+ # @return [String]
536
+ attr_accessor :item_group_id
537
+
538
+ # The name of the group of products related to the product. For more
539
+ # information, see
540
+ # https://support.google.com/manufacturers/answer/6124116#productline.
541
+ # Corresponds to the JSON property `productLine`
542
+ # @return [String]
543
+ attr_accessor :product_line
544
+
545
+ # The capacity of a product. For more information, see
546
+ # https://support.google.com/manufacturers/answer/6124116#capacity.
547
+ # Corresponds to the JSON property `capacity`
548
+ # @return [Google::Apis::ManufacturersV1::Capacity]
549
+ attr_accessor :capacity
550
+
551
+ # The description of the product. For more information, see
552
+ # https://support.google.com/manufacturers/answer/6124116#description.
553
+ # Corresponds to the JSON property `description`
554
+ # @return [String]
555
+ attr_accessor :description
556
+
557
+ # The target gender of the product. For more information, see
558
+ # https://support.google.com/manufacturers/answer/6124116#gender.
559
+ # Corresponds to the JSON property `gender`
560
+ # @return [String]
561
+ attr_accessor :gender
562
+
563
+ def initialize(**args)
564
+ update!(**args)
565
+ end
566
+
567
+ # Update properties of this object
568
+ def update!(**args)
569
+ @size_system = args[:size_system] if args.key?(:size_system)
570
+ @theme = args[:theme] if args.key?(:theme)
571
+ @pattern = args[:pattern] if args.key?(:pattern)
572
+ @image_link = args[:image_link] if args.key?(:image_link)
573
+ @product_type = args[:product_type] if args.key?(:product_type)
574
+ @format = args[:format] if args.key?(:format)
575
+ @additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link)
576
+ @video_link = args[:video_link] if args.key?(:video_link)
577
+ @color = args[:color] if args.key?(:color)
578
+ @product_name = args[:product_name] if args.key?(:product_name)
579
+ @size_type = args[:size_type] if args.key?(:size_type)
580
+ @suggested_retail_price = args[:suggested_retail_price] if args.key?(:suggested_retail_price)
581
+ @feature_description = args[:feature_description] if args.key?(:feature_description)
582
+ @size = args[:size] if args.key?(:size)
583
+ @title = args[:title] if args.key?(:title)
584
+ @count = args[:count] if args.key?(:count)
585
+ @brand = args[:brand] if args.key?(:brand)
586
+ @disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date)
587
+ @material = args[:material] if args.key?(:material)
588
+ @scent = args[:scent] if args.key?(:scent)
589
+ @age_group = args[:age_group] if args.key?(:age_group)
590
+ @product_detail = args[:product_detail] if args.key?(:product_detail)
591
+ @flavor = args[:flavor] if args.key?(:flavor)
592
+ @product_page_url = args[:product_page_url] if args.key?(:product_page_url)
593
+ @mpn = args[:mpn] if args.key?(:mpn)
594
+ @release_date = args[:release_date] if args.key?(:release_date)
595
+ @gtin = args[:gtin] if args.key?(:gtin)
596
+ @item_group_id = args[:item_group_id] if args.key?(:item_group_id)
597
+ @product_line = args[:product_line] if args.key?(:product_line)
598
+ @capacity = args[:capacity] if args.key?(:capacity)
599
+ @description = args[:description] if args.key?(:description)
600
+ @gender = args[:gender] if args.key?(:gender)
601
+ end
602
+ end
603
+ end
604
+ end
605
+ end