google-api-client 0.8.6 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (537) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +20 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +7 -0
  5. data/.rubocop_todo.yml +63 -0
  6. data/.travis.yml +23 -0
  7. data/.yardopts +12 -0
  8. data/CHANGELOG.md +58 -2
  9. data/CONTRIBUTING.md +31 -0
  10. data/Gemfile +38 -2
  11. data/MIGRATING.md +171 -0
  12. data/README.md +189 -147
  13. data/Rakefile +1 -40
  14. data/api_names.yaml +1088 -0
  15. data/api_names_out.yaml +26978 -0
  16. data/bin/generate-api +109 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1335 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +446 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +872 -0
  20. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +3025 -0
  22. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1240 -0
  23. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1446 -0
  24. data/generated/google/apis/adexchangebuyer_v1_4.rb +35 -0
  25. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
  26. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +347 -0
  27. data/generated/google/apis/adexchangeseller_v2_0/service.rb +668 -0
  28. data/generated/google/apis/adexchangeseller_v2_0.rb +38 -0
  29. data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
  30. data/generated/google/apis/admin_datatransfer_v1/representations.rb +130 -0
  31. data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
  32. data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
  33. data/generated/google/apis/admin_directory_v1/classes.rb +3141 -0
  34. data/generated/google/apis/admin_directory_v1/representations.rb +1147 -0
  35. data/generated/google/apis/admin_directory_v1/service.rb +3818 -0
  36. data/generated/google/apis/admin_directory_v1.rb +113 -0
  37. data/generated/google/apis/admin_reports_v1/classes.rb +582 -0
  38. data/generated/google/apis/admin_reports_v1/representations.rb +257 -0
  39. data/generated/google/apis/admin_reports_v1/service.rb +336 -0
  40. data/generated/google/apis/admin_reports_v1.rb +38 -0
  41. data/generated/google/apis/adsense_v1_4/classes.rb +1280 -0
  42. data/generated/google/apis/adsense_v1_4/representations.rb +555 -0
  43. data/generated/google/apis/adsense_v1_4/service.rb +1714 -0
  44. data/generated/google/apis/adsense_v1_4.rb +38 -0
  45. data/generated/google/apis/adsensehost_v4_1/classes.rb +837 -0
  46. data/generated/google/apis/adsensehost_v4_1/representations.rb +367 -0
  47. data/generated/google/apis/adsensehost_v4_1/service.rb +1164 -0
  48. data/generated/google/apis/adsensehost_v4_1.rb +35 -0
  49. data/generated/google/apis/analytics_v3/classes.rb +5118 -0
  50. data/generated/google/apis/analytics_v3/representations.rb +1850 -0
  51. data/generated/google/apis/analytics_v3/service.rb +3568 -0
  52. data/generated/google/apis/analytics_v3.rb +49 -0
  53. data/generated/google/apis/androidenterprise_v1/classes.rb +1443 -0
  54. data/generated/google/apis/androidenterprise_v1/representations.rb +614 -0
  55. data/generated/google/apis/androidenterprise_v1/service.rb +2607 -0
  56. data/generated/google/apis/androidenterprise_v1.rb +35 -0
  57. data/generated/google/apis/androidpublisher_v2/classes.rb +1411 -0
  58. data/generated/google/apis/androidpublisher_v2/representations.rb +738 -0
  59. data/generated/google/apis/androidpublisher_v2/service.rb +2338 -0
  60. data/generated/google/apis/androidpublisher_v2.rb +34 -0
  61. data/generated/google/apis/appengine_v1beta4/classes.rb +1585 -0
  62. data/generated/google/apis/appengine_v1beta4/representations.rb +542 -0
  63. data/generated/google/apis/appengine_v1beta4/service.rb +477 -0
  64. data/generated/google/apis/appengine_v1beta4.rb +35 -0
  65. data/generated/google/apis/appengine_v1beta5/classes.rb +1544 -0
  66. data/generated/google/apis/appengine_v1beta5/representations.rb +594 -0
  67. data/generated/google/apis/appengine_v1beta5/service.rb +521 -0
  68. data/generated/google/apis/appengine_v1beta5.rb +35 -0
  69. data/generated/google/apis/appsactivity_v1/classes.rb +392 -0
  70. data/generated/google/apis/appsactivity_v1/representations.rb +206 -0
  71. data/generated/google/apis/appsactivity_v1/service.rb +128 -0
  72. data/generated/google/apis/appsactivity_v1.rb +46 -0
  73. data/generated/google/apis/appstate_v1/classes.rb +154 -0
  74. data/generated/google/apis/appstate_v1/representations.rb +87 -0
  75. data/generated/google/apis/appstate_v1/service.rb +260 -0
  76. data/generated/google/apis/appstate_v1.rb +34 -0
  77. data/generated/google/apis/autoscaler_v1beta2/classes.rb +747 -0
  78. data/generated/google/apis/autoscaler_v1beta2/representations.rb +313 -0
  79. data/generated/google/apis/autoscaler_v1beta2/service.rb +478 -0
  80. data/generated/google/apis/autoscaler_v1beta2.rb +38 -0
  81. data/generated/google/apis/bigquery_v2/classes.rb +2503 -0
  82. data/generated/google/apis/bigquery_v2/representations.rb +914 -0
  83. data/generated/google/apis/bigquery_v2/service.rb +982 -0
  84. data/generated/google/apis/bigquery_v2.rb +52 -0
  85. data/generated/google/apis/blogger_v3/classes.rb +1354 -0
  86. data/generated/google/apis/blogger_v3/representations.rb +632 -0
  87. data/generated/google/apis/blogger_v3/service.rb +1587 -0
  88. data/generated/google/apis/blogger_v3.rb +37 -0
  89. data/generated/google/apis/books_v1/classes.rb +4006 -0
  90. data/generated/google/apis/books_v1/representations.rb +1742 -0
  91. data/generated/google/apis/books_v1/service.rb +2293 -0
  92. data/generated/google/apis/books_v1.rb +34 -0
  93. data/generated/google/apis/calendar_v3/classes.rb +1742 -0
  94. data/generated/google/apis/calendar_v3/representations.rb +631 -0
  95. data/generated/google/apis/calendar_v3/service.rb +1968 -0
  96. data/generated/google/apis/calendar_v3.rb +37 -0
  97. data/generated/google/apis/civicinfo_v2/classes.rb +1127 -0
  98. data/generated/google/apis/civicinfo_v2/representations.rb +423 -0
  99. data/generated/google/apis/civicinfo_v2/service.rb +279 -0
  100. data/generated/google/apis/civicinfo_v2.rb +31 -0
  101. data/generated/google/apis/classroom_v1/classes.rb +512 -0
  102. data/generated/google/apis/classroom_v1/representations.rb +245 -0
  103. data/generated/google/apis/classroom_v1/service.rb +970 -0
  104. data/generated/google/apis/classroom_v1.rb +49 -0
  105. data/generated/google/apis/classroom_v1beta1/classes.rb +447 -0
  106. data/generated/google/apis/classroom_v1beta1/representations.rb +190 -0
  107. data/generated/google/apis/classroom_v1beta1/service.rb +791 -0
  108. data/generated/google/apis/classroom_v1beta1.rb +49 -0
  109. data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
  110. data/generated/google/apis/cloudbilling_v1/representations.rb +87 -0
  111. data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
  112. data/generated/google/apis/cloudbilling_v1.rb +35 -0
  113. data/generated/google/apis/cloudbuild_v1/classes.rb +521 -0
  114. data/generated/google/apis/cloudbuild_v1/representations.rb +214 -0
  115. data/generated/google/apis/cloudbuild_v1/service.rb +278 -0
  116. data/generated/google/apis/cloudbuild_v1.rb +35 -0
  117. data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
  118. data/generated/google/apis/clouddebugger_v2/representations.rb +464 -0
  119. data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
  120. data/generated/google/apis/clouddebugger_v2.rb +41 -0
  121. data/generated/google/apis/cloudlatencytest_v2/classes.rb +195 -0
  122. data/generated/google/apis/cloudlatencytest_v2/representations.rb +127 -0
  123. data/generated/google/apis/cloudlatencytest_v2/service.rb +135 -0
  124. data/generated/google/apis/cloudlatencytest_v2.rb +34 -0
  125. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +679 -0
  126. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +353 -0
  127. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +452 -0
  128. data/generated/google/apis/cloudmonitoring_v2beta2.rb +37 -0
  129. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +450 -0
  130. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +226 -0
  131. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +626 -0
  132. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
  133. data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
  134. data/generated/google/apis/cloudtrace_v1/representations.rb +102 -0
  135. data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
  136. data/generated/google/apis/cloudtrace_v1.rb +35 -0
  137. data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
  138. data/generated/google/apis/clouduseraccounts_beta/representations.rb +351 -0
  139. data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
  140. data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
  141. data/generated/google/apis/compute_beta/classes.rb +9741 -0
  142. data/generated/google/apis/compute_beta/representations.rb +3649 -0
  143. data/generated/google/apis/compute_beta/service.rb +10636 -0
  144. data/generated/google/apis/compute_beta.rb +49 -0
  145. data/generated/google/apis/compute_v1/classes.rb +9095 -0
  146. data/generated/google/apis/compute_v1/representations.rb +3389 -0
  147. data/generated/google/apis/compute_v1/service.rb +9627 -0
  148. data/generated/google/apis/compute_v1.rb +49 -0
  149. data/generated/google/apis/container_v1/classes.rb +463 -0
  150. data/generated/google/apis/container_v1/representations.rb +195 -0
  151. data/generated/google/apis/container_v1/service.rb +367 -0
  152. data/generated/google/apis/container_v1.rb +35 -0
  153. data/generated/google/apis/container_v1beta1/classes.rb +466 -0
  154. data/generated/google/apis/container_v1beta1/representations.rb +177 -0
  155. data/generated/google/apis/container_v1beta1/service.rb +394 -0
  156. data/generated/google/apis/container_v1beta1.rb +35 -0
  157. data/generated/google/apis/content_v2/classes.rb +6114 -0
  158. data/generated/google/apis/content_v2/representations.rb +2624 -0
  159. data/generated/google/apis/content_v2/service.rb +2338 -0
  160. data/generated/google/apis/content_v2.rb +35 -0
  161. data/generated/google/apis/coordinate_v1/classes.rb +669 -0
  162. data/generated/google/apis/coordinate_v1/representations.rb +321 -0
  163. data/generated/google/apis/coordinate_v1/service.rb +678 -0
  164. data/generated/google/apis/coordinate_v1.rb +37 -0
  165. data/generated/google/apis/customsearch_v1/classes.rb +771 -0
  166. data/generated/google/apis/customsearch_v1/representations.rb +302 -0
  167. data/generated/google/apis/customsearch_v1/service.rb +207 -0
  168. data/{lib/google/api_client/auth/compute_service_account.rb → generated/google/apis/customsearch_v1.rb} +13 -10
  169. data/generated/google/apis/dataproc_v1/classes.rb +1590 -0
  170. data/generated/google/apis/dataproc_v1/representations.rb +653 -0
  171. data/generated/google/apis/dataproc_v1/service.rb +719 -0
  172. data/generated/google/apis/dataproc_v1.rb +43 -0
  173. data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
  174. data/generated/google/apis/datastore_v1beta2/representations.rb +594 -0
  175. data/generated/google/apis/datastore_v1beta2/service.rb +294 -0
  176. data/generated/google/apis/datastore_v1beta2.rb +40 -0
  177. data/generated/google/apis/deploymentmanager_v2/classes.rb +1162 -0
  178. data/generated/google/apis/deploymentmanager_v2/representations.rb +508 -0
  179. data/generated/google/apis/deploymentmanager_v2/service.rb +862 -0
  180. data/generated/google/apis/deploymentmanager_v2.rb +44 -0
  181. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +843 -0
  182. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +306 -0
  183. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +689 -0
  184. data/generated/google/apis/deploymentmanager_v2beta2.rb +44 -0
  185. data/generated/google/apis/dfareporting_v2_1/classes.rb +10770 -0
  186. data/generated/google/apis/dfareporting_v2_1/representations.rb +3438 -0
  187. data/generated/google/apis/dfareporting_v2_1/service.rb +8585 -0
  188. data/generated/google/apis/dfareporting_v2_1.rb +37 -0
  189. data/generated/google/apis/dfareporting_v2_3/classes.rb +10830 -0
  190. data/generated/google/apis/dfareporting_v2_3/representations.rb +3829 -0
  191. data/generated/google/apis/dfareporting_v2_3/service.rb +8581 -0
  192. data/generated/google/apis/dfareporting_v2_3.rb +37 -0
  193. data/generated/google/apis/discovery_v1/classes.rb +961 -0
  194. data/generated/google/apis/discovery_v1/representations.rb +397 -0
  195. data/generated/google/apis/discovery_v1/service.rb +142 -0
  196. data/generated/google/apis/discovery_v1.rb +32 -0
  197. data/generated/google/apis/dns_v1/classes.rb +406 -0
  198. data/generated/google/apis/dns_v1/representations.rb +167 -0
  199. data/generated/google/apis/dns_v1/service.rb +454 -0
  200. data/generated/google/apis/dns_v1.rb +44 -0
  201. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +802 -0
  202. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +371 -0
  203. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +374 -0
  204. data/generated/google/apis/doubleclickbidmanager_v1.rb +31 -0
  205. data/generated/google/apis/doubleclicksearch_v2/classes.rb +958 -0
  206. data/generated/google/apis/doubleclicksearch_v2/representations.rb +350 -0
  207. data/generated/google/apis/doubleclicksearch_v2/service.rb +480 -0
  208. data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
  209. data/generated/google/apis/drive_v2/classes.rb +2569 -0
  210. data/generated/google/apis/drive_v2/representations.rb +878 -0
  211. data/generated/google/apis/drive_v2/service.rb +2740 -0
  212. data/generated/google/apis/drive_v2.rb +58 -0
  213. data/generated/google/apis/drive_v3/classes.rb +1541 -0
  214. data/generated/google/apis/drive_v3/representations.rb +548 -0
  215. data/generated/google/apis/drive_v3/service.rb +1542 -0
  216. data/generated/google/apis/drive_v3.rb +55 -0
  217. data/generated/google/apis/fitness_v1/classes.rb +885 -0
  218. data/generated/google/apis/fitness_v1/representations.rb +360 -0
  219. data/generated/google/apis/fitness_v1/service.rb +675 -0
  220. data/generated/google/apis/fitness_v1.rb +49 -0
  221. data/generated/google/apis/fusiontables_v2/classes.rb +1048 -0
  222. data/generated/google/apis/fusiontables_v2/representations.rb +457 -0
  223. data/generated/google/apis/fusiontables_v2/service.rb +1463 -0
  224. data/generated/google/apis/fusiontables_v2.rb +37 -0
  225. data/generated/google/apis/games_configuration_v1configuration/classes.rb +506 -0
  226. data/generated/google/apis/games_configuration_v1configuration/representations.rb +228 -0
  227. data/generated/google/apis/games_configuration_v1configuration/service.rb +565 -0
  228. data/generated/google/apis/games_configuration_v1configuration.rb +34 -0
  229. data/generated/google/apis/games_management_v1management/classes.rb +533 -0
  230. data/generated/google/apis/games_management_v1management/representations.rb +262 -0
  231. data/generated/google/apis/games_management_v1management/service.rb +994 -0
  232. data/generated/google/apis/games_management_v1management.rb +37 -0
  233. data/generated/google/apis/games_v1/classes.rb +4626 -0
  234. data/generated/google/apis/games_v1/representations.rb +1783 -0
  235. data/generated/google/apis/games_v1/service.rb +2290 -0
  236. data/generated/google/apis/games_v1.rb +40 -0
  237. data/generated/google/apis/gan_v1beta1/classes.rb +1428 -0
  238. data/generated/google/apis/gan_v1beta1/representations.rb +462 -0
  239. data/generated/google/apis/gan_v1beta1/service.rb +682 -0
  240. data/generated/google/apis/gan_v1beta1.rb +31 -0
  241. data/generated/google/apis/genomics_v1/classes.rb +2609 -0
  242. data/generated/google/apis/genomics_v1/representations.rb +1029 -0
  243. data/generated/google/apis/genomics_v1/service.rb +1676 -0
  244. data/generated/google/apis/genomics_v1.rb +49 -0
  245. data/generated/google/apis/genomics_v1beta2/classes.rb +3288 -0
  246. data/generated/google/apis/genomics_v1beta2/representations.rb +1194 -0
  247. data/generated/google/apis/genomics_v1beta2/service.rb +2392 -0
  248. data/generated/google/apis/genomics_v1beta2.rb +46 -0
  249. data/generated/google/apis/gmail_v1/classes.rb +794 -0
  250. data/generated/google/apis/gmail_v1/representations.rb +383 -0
  251. data/generated/google/apis/gmail_v1/service.rb +1470 -0
  252. data/generated/google/apis/gmail_v1.rb +52 -0
  253. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  254. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  255. data/generated/google/apis/groupsmigration_v1/service.rb +110 -0
  256. data/generated/google/apis/groupsmigration_v1.rb +34 -0
  257. data/generated/google/apis/groupssettings_v1/classes.rb +221 -0
  258. data/generated/google/apis/groupssettings_v1/representations.rb +66 -0
  259. data/generated/google/apis/groupssettings_v1/service.rb +179 -0
  260. data/generated/google/apis/groupssettings_v1.rb +34 -0
  261. data/generated/google/apis/identitytoolkit_v3/classes.rb +1637 -0
  262. data/generated/google/apis/identitytoolkit_v3/representations.rb +618 -0
  263. data/generated/google/apis/identitytoolkit_v3/service.rb +616 -0
  264. data/generated/google/apis/identitytoolkit_v3.rb +31 -0
  265. data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
  266. data/generated/google/apis/kgsearch_v1/representations.rb +41 -0
  267. data/generated/google/apis/kgsearch_v1/service.rb +111 -0
  268. data/{spec/google/api_client/request_spec.rb → generated/google/apis/kgsearch_v1.rb} +16 -13
  269. data/generated/google/apis/licensing_v1/classes.rb +132 -0
  270. data/generated/google/apis/licensing_v1/representations.rb +74 -0
  271. data/generated/google/apis/licensing_v1/service.rb +369 -0
  272. data/generated/google/apis/licensing_v1.rb +34 -0
  273. data/generated/google/apis/logging_v1beta3/classes.rb +1079 -0
  274. data/generated/google/apis/logging_v1beta3/representations.rb +366 -0
  275. data/generated/google/apis/logging_v1beta3/service.rb +1001 -0
  276. data/generated/google/apis/logging_v1beta3.rb +47 -0
  277. data/generated/google/apis/logging_v2beta1/classes.rb +990 -0
  278. data/generated/google/apis/logging_v2beta1/representations.rb +377 -0
  279. data/generated/google/apis/logging_v2beta1/service.rb +547 -0
  280. data/generated/google/apis/logging_v2beta1.rb +47 -0
  281. data/generated/google/apis/manager_v1beta2/classes.rb +1287 -0
  282. data/generated/google/apis/manager_v1beta2/representations.rb +606 -0
  283. data/generated/google/apis/manager_v1beta2/service.rb +372 -0
  284. data/generated/google/apis/manager_v1beta2.rb +53 -0
  285. data/generated/google/apis/mirror_v1/classes.rb +1072 -0
  286. data/generated/google/apis/mirror_v1/representations.rb +390 -0
  287. data/generated/google/apis/mirror_v1/service.rb +977 -0
  288. data/generated/google/apis/mirror_v1.rb +37 -0
  289. data/generated/google/apis/oauth2_v2/classes.rb +245 -0
  290. data/generated/google/apis/oauth2_v2/representations.rb +102 -0
  291. data/generated/google/apis/oauth2_v2/service.rb +199 -0
  292. data/generated/google/apis/oauth2_v2.rb +43 -0
  293. data/generated/google/apis/pagespeedonline_v2/classes.rb +614 -0
  294. data/generated/google/apis/pagespeedonline_v2/representations.rb +272 -0
  295. data/generated/google/apis/pagespeedonline_v2/service.rb +119 -0
  296. data/generated/google/apis/pagespeedonline_v2.rb +32 -0
  297. data/generated/google/apis/partners_v2/classes.rb +942 -0
  298. data/generated/google/apis/partners_v2/representations.rb +454 -0
  299. data/generated/google/apis/partners_v2/service.rb +400 -0
  300. data/generated/google/apis/partners_v2.rb +32 -0
  301. data/generated/google/apis/people_v1/classes.rb +1521 -0
  302. data/generated/google/apis/people_v1/representations.rb +663 -0
  303. data/generated/google/apis/people_v1/service.rb +189 -0
  304. data/generated/google/apis/people_v1.rb +59 -0
  305. data/generated/google/apis/plus_domains_v1/classes.rb +2609 -0
  306. data/generated/google/apis/plus_domains_v1/representations.rb +1111 -0
  307. data/generated/google/apis/plus_domains_v1/service.rb +904 -0
  308. data/generated/google/apis/plus_domains_v1.rb +61 -0
  309. data/generated/google/apis/plus_v1/classes.rb +2094 -0
  310. data/generated/google/apis/plus_v1/representations.rb +907 -0
  311. data/generated/google/apis/plus_v1/service.rb +470 -0
  312. data/generated/google/apis/plus_v1.rb +43 -0
  313. data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
  314. data/generated/google/apis/prediction_v1_6/representations.rb +369 -0
  315. data/generated/google/apis/prediction_v1_6/service.rb +380 -0
  316. data/generated/google/apis/prediction_v1_6.rb +44 -0
  317. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
  318. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +312 -0
  319. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
  320. data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
  321. data/generated/google/apis/pubsub_v1/classes.rb +614 -0
  322. data/generated/google/apis/pubsub_v1/representations.rb +323 -0
  323. data/generated/google/apis/pubsub_v1/service.rb +774 -0
  324. data/generated/google/apis/pubsub_v1.rb +37 -0
  325. data/generated/google/apis/pubsub_v1beta2/classes.rb +620 -0
  326. data/generated/google/apis/pubsub_v1beta2/representations.rb +282 -0
  327. data/generated/google/apis/pubsub_v1beta2/service.rb +774 -0
  328. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  329. data/generated/google/apis/qpx_express_v1/classes.rb +1268 -0
  330. data/generated/google/apis/qpx_express_v1/representations.rb +472 -0
  331. data/generated/google/apis/qpx_express_v1/service.rb +100 -0
  332. data/generated/google/apis/qpx_express_v1.rb +31 -0
  333. data/generated/google/apis/replicapool_v1beta2/classes.rb +631 -0
  334. data/generated/google/apis/replicapool_v1beta2/representations.rb +264 -0
  335. data/generated/google/apis/replicapool_v1beta2/service.rb +608 -0
  336. data/generated/google/apis/replicapool_v1beta2.rb +44 -0
  337. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +733 -0
  338. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +294 -0
  339. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +508 -0
  340. data/generated/google/apis/replicapoolupdater_v1beta1.rb +44 -0
  341. data/generated/google/apis/reseller_v1/classes.rb +526 -0
  342. data/generated/google/apis/reseller_v1/representations.rb +223 -0
  343. data/generated/google/apis/reseller_v1/service.rb +623 -0
  344. data/generated/google/apis/reseller_v1.rb +37 -0
  345. data/generated/google/apis/resourceviews_v1beta2/classes.rb +660 -0
  346. data/generated/google/apis/resourceviews_v1beta2/representations.rb +301 -0
  347. data/generated/google/apis/resourceviews_v1beta2/service.rb +563 -0
  348. data/generated/google/apis/resourceviews_v1beta2.rb +50 -0
  349. data/generated/google/apis/script_v1/classes.rb +259 -0
  350. data/generated/google/apis/script_v1/representations.rb +118 -0
  351. data/generated/google/apis/script_v1/service.rb +98 -0
  352. data/generated/google/apis/script_v1.rb +61 -0
  353. data/generated/google/apis/site_verification_v1/classes.rb +185 -0
  354. data/generated/google/apis/site_verification_v1/representations.rb +113 -0
  355. data/generated/google/apis/site_verification_v1/service.rb +315 -0
  356. data/generated/google/apis/site_verification_v1.rb +37 -0
  357. data/generated/google/apis/sqladmin_v1beta4/classes.rb +2030 -0
  358. data/generated/google/apis/sqladmin_v1beta4/representations.rb +856 -0
  359. data/generated/google/apis/sqladmin_v1beta4/service.rb +1625 -0
  360. data/generated/google/apis/sqladmin_v1beta4.rb +37 -0
  361. data/generated/google/apis/storage_v1/classes.rb +1222 -0
  362. data/generated/google/apis/storage_v1/representations.rb +497 -0
  363. data/generated/google/apis/storage_v1/service.rb +1903 -0
  364. data/generated/google/apis/storage_v1.rb +46 -0
  365. data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
  366. data/generated/google/apis/storagetransfer_v1/representations.rb +418 -0
  367. data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
  368. data/generated/google/apis/storagetransfer_v1.rb +35 -0
  369. data/generated/google/apis/tagmanager_v1/classes.rb +1494 -0
  370. data/generated/google/apis/tagmanager_v1/representations.rb +611 -0
  371. data/generated/google/apis/tagmanager_v1/service.rb +2119 -0
  372. data/generated/google/apis/tagmanager_v1.rb +52 -0
  373. data/generated/google/apis/taskqueue_v1beta2/classes.rb +254 -0
  374. data/generated/google/apis/taskqueue_v1beta2/representations.rb +126 -0
  375. data/generated/google/apis/taskqueue_v1beta2/service.rb +408 -0
  376. data/generated/google/apis/taskqueue_v1beta2.rb +37 -0
  377. data/generated/google/apis/tasks_v1/classes.rb +296 -0
  378. data/generated/google/apis/tasks_v1/representations.rb +125 -0
  379. data/generated/google/apis/tasks_v1/service.rb +643 -0
  380. data/generated/google/apis/tasks_v1.rb +37 -0
  381. data/generated/google/apis/translate_v2/classes.rb +168 -0
  382. data/generated/google/apis/translate_v2/representations.rb +121 -0
  383. data/generated/google/apis/translate_v2/service.rb +182 -0
  384. data/generated/google/apis/translate_v2.rb +31 -0
  385. data/generated/google/apis/urlshortener_v1/classes.rb +246 -0
  386. data/generated/google/apis/urlshortener_v1/representations.rb +121 -0
  387. data/generated/google/apis/urlshortener_v1/service.rb +176 -0
  388. data/generated/google/apis/urlshortener_v1.rb +34 -0
  389. data/generated/google/apis/vision_v1/classes.rb +1259 -0
  390. data/generated/google/apis/vision_v1/representations.rb +418 -0
  391. data/generated/google/apis/vision_v1/service.rb +91 -0
  392. data/generated/google/apis/vision_v1.rb +37 -0
  393. data/generated/google/apis/webmasters_v3/classes.rb +563 -0
  394. data/generated/google/apis/webmasters_v3/representations.rb +282 -0
  395. data/generated/google/apis/webmasters_v3/service.rb +573 -0
  396. data/generated/google/apis/webmasters_v3.rb +37 -0
  397. data/generated/google/apis/youtube_analytics_v1/classes.rb +546 -0
  398. data/generated/google/apis/youtube_analytics_v1/representations.rb +273 -0
  399. data/generated/google/apis/youtube_analytics_v1/service.rb +562 -0
  400. data/generated/google/apis/youtube_analytics_v1.rb +46 -0
  401. data/generated/google/apis/youtube_v3/classes.rb +8071 -0
  402. data/generated/google/apis/youtube_v3/representations.rb +3134 -0
  403. data/generated/google/apis/youtube_v3/service.rb +4403 -0
  404. data/generated/google/apis/youtube_v3.rb +49 -0
  405. data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
  406. data/generated/google/apis/youtubereporting_v1/representations.rb +144 -0
  407. data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
  408. data/generated/google/apis/youtubereporting_v1.rb +38 -0
  409. data/google-api-client.gemspec +25 -39
  410. data/lib/google/api_client/auth/installed_app.rb +7 -5
  411. data/lib/google/api_client/auth/key_utils.rb +1 -0
  412. data/lib/google/api_client/auth/storage.rb +4 -2
  413. data/lib/google/api_client/auth/storages/file_store.rb +2 -3
  414. data/lib/google/api_client/auth/storages/redis_store.rb +7 -2
  415. data/lib/google/api_client/client_secrets.rb +7 -9
  416. data/lib/google/apis/core/api_command.rb +136 -0
  417. data/lib/google/apis/core/base_service.rb +317 -0
  418. data/lib/google/apis/core/batch.rb +239 -0
  419. data/lib/google/apis/core/download.rb +94 -0
  420. data/lib/google/apis/core/hashable.rb +44 -0
  421. data/lib/google/apis/core/http_client_adapter.rb +82 -0
  422. data/lib/google/apis/core/http_command.rb +328 -0
  423. data/lib/google/apis/core/json_representation.rb +145 -0
  424. data/lib/google/{api_client/version.rb → apis/core/logging.rb} +12 -8
  425. data/lib/google/apis/core/multipart.rb +187 -0
  426. data/lib/google/apis/core/upload.rb +289 -0
  427. data/lib/google/{api_client → apis}/errors.rb +39 -28
  428. data/lib/google/apis/generator/annotator.rb +295 -0
  429. data/lib/google/apis/generator/helpers.rb +74 -0
  430. data/lib/google/apis/generator/model.rb +143 -0
  431. data/lib/google/apis/generator/template.rb +124 -0
  432. data/lib/google/apis/generator/templates/_class.tmpl +40 -0
  433. data/lib/google/apis/generator/templates/_method.tmpl +92 -0
  434. data/lib/google/apis/generator/templates/_representation.tmpl +51 -0
  435. data/lib/google/apis/generator/templates/_representation_stub.tmpl +17 -0
  436. data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
  437. data/lib/google/{api_client/reference.rb → apis/generator/templates/classes.rb.tmpl} +11 -9
  438. data/lib/google/apis/generator/templates/module.rb.tmpl +40 -0
  439. data/lib/google/apis/generator/templates/representations.rb.tmpl +32 -0
  440. data/lib/google/apis/generator/templates/service.rb.tmpl +60 -0
  441. data/lib/google/apis/generator.rb +70 -0
  442. data/lib/google/apis/options.rb +85 -0
  443. data/lib/google/apis/version.rb +39 -0
  444. data/lib/google/apis.rb +48 -0
  445. data/rakelib/metrics.rake +22 -0
  446. data/rakelib/rubocop.rake +10 -0
  447. data/rakelib/spec.rake +11 -0
  448. data/rakelib/yard.rake +11 -0
  449. data/samples/cli/Gemfile +7 -0
  450. data/samples/cli/README.md +51 -0
  451. data/samples/cli/google-api-samples +32 -0
  452. data/samples/cli/lib/base_cli.rb +95 -0
  453. data/samples/cli/lib/samples/analytics.rb +62 -0
  454. data/samples/cli/lib/samples/androidpublisher.rb +47 -0
  455. data/samples/cli/lib/samples/calendar.rb +83 -0
  456. data/samples/cli/lib/samples/drive.rb +82 -0
  457. data/samples/cli/lib/samples/gmail.rb +50 -0
  458. data/samples/cli/lib/samples/pubsub.rb +114 -0
  459. data/samples/cli/lib/samples/translate.rb +44 -0
  460. data/samples/cli/lib/samples/you_tube.rb +44 -0
  461. data/samples/web/Gemfile +7 -0
  462. data/samples/web/README.md +44 -0
  463. data/samples/web/app.rb +120 -0
  464. data/samples/web/views/calendar.erb +34 -0
  465. data/{lib/google/api_client/service_account.rb → samples/web/views/drive.erb} +20 -8
  466. data/samples/web/views/home.erb +35 -0
  467. data/samples/web/views/layout.erb +40 -0
  468. data/script/generate +100 -0
  469. data/script/package +8 -0
  470. data/script/release +15 -0
  471. data/spec/fixtures/files/api_names.yaml +3 -0
  472. data/spec/fixtures/files/auth_stored_credentials.json +8 -0
  473. data/spec/fixtures/files/child/.gitignore +0 -0
  474. data/spec/fixtures/files/client_secrets.json +1 -0
  475. data/spec/fixtures/files/invalid.json +1 -0
  476. data/spec/fixtures/files/test.blah +1 -0
  477. data/spec/fixtures/files/test.txt +1 -0
  478. data/spec/fixtures/files/test_api.json +440 -0
  479. data/spec/google/api_client/auth/storage_spec.rb +1 -3
  480. data/spec/google/api_client/auth/storages/file_store_spec.rb +1 -2
  481. data/spec/google/api_client/auth/storages/redis_store_spec.rb +1 -3
  482. data/spec/google/api_client/client_secrets_spec.rb +338 -2
  483. data/spec/google/apis/core/api_command_spec.rb +209 -0
  484. data/spec/google/apis/core/batch_spec.rb +142 -0
  485. data/spec/google/apis/core/download_spec.rb +103 -0
  486. data/spec/google/apis/core/hashable_spec.rb +60 -0
  487. data/spec/google/apis/core/http_command_spec.rb +303 -0
  488. data/spec/google/apis/core/json_representation_spec.rb +199 -0
  489. data/spec/google/apis/core/service_spec.rb +247 -0
  490. data/spec/google/apis/core/upload_spec.rb +300 -0
  491. data/{lib/google/api_client/discovery.rb → spec/google/apis/generated_spec.rb} +13 -5
  492. data/spec/google/apis/generator/generator_spec.rb +324 -0
  493. data/spec/google/apis/logging_spec.rb +45 -0
  494. data/spec/google/apis/options_spec.rb +40 -0
  495. data/spec/integration_tests/adsense_spec.rb +29 -0
  496. data/spec/integration_tests/drive_spec.rb +35 -0
  497. data/spec/integration_tests/pubsub_spec.rb +48 -0
  498. data/spec/integration_tests/url_shortener_spec.rb +45 -0
  499. data/spec/spec_helper/load_path_spec.rb +33 -0
  500. data/spec/spec_helper.rb +131 -44
  501. data/third_party/hurley_patches.rb +103 -0
  502. metadata +563 -188
  503. data/lib/compat/multi_json.rb +0 -19
  504. data/lib/google/api_client/auth/file_storage.rb +0 -59
  505. data/lib/google/api_client/auth/jwt_asserter.rb +0 -126
  506. data/lib/google/api_client/auth/pkcs12.rb +0 -41
  507. data/lib/google/api_client/batch.rb +0 -326
  508. data/lib/google/api_client/charset.rb +0 -33
  509. data/lib/google/api_client/discovery/api.rb +0 -310
  510. data/lib/google/api_client/discovery/media.rb +0 -77
  511. data/lib/google/api_client/discovery/method.rb +0 -363
  512. data/lib/google/api_client/discovery/resource.rb +0 -156
  513. data/lib/google/api_client/discovery/schema.rb +0 -117
  514. data/lib/google/api_client/environment.rb +0 -42
  515. data/lib/google/api_client/gzip.rb +0 -28
  516. data/lib/google/api_client/logging.rb +0 -32
  517. data/lib/google/api_client/media.rb +0 -259
  518. data/lib/google/api_client/railtie.rb +0 -18
  519. data/lib/google/api_client/request.rb +0 -350
  520. data/lib/google/api_client/result.rb +0 -255
  521. data/lib/google/api_client/service/batch.rb +0 -110
  522. data/lib/google/api_client/service/request.rb +0 -144
  523. data/lib/google/api_client/service/resource.rb +0 -40
  524. data/lib/google/api_client/service/result.rb +0 -162
  525. data/lib/google/api_client/service/simple_file_store.rb +0 -151
  526. data/lib/google/api_client/service/stub_generator.rb +0 -61
  527. data/lib/google/api_client/service.rb +0 -233
  528. data/lib/google/api_client.rb +0 -750
  529. data/spec/google/api_client/batch_spec.rb +0 -248
  530. data/spec/google/api_client/discovery_spec.rb +0 -708
  531. data/spec/google/api_client/gzip_spec.rb +0 -98
  532. data/spec/google/api_client/media_spec.rb +0 -178
  533. data/spec/google/api_client/result_spec.rb +0 -207
  534. data/spec/google/api_client/service_account_spec.rb +0 -169
  535. data/spec/google/api_client/service_spec.rb +0 -618
  536. data/spec/google/api_client/simple_file_store_spec.rb +0 -133
  537. data/spec/google/api_client_spec.rb +0 -352
@@ -0,0 +1,2624 @@
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 ContentV2
24
+
25
+ class Account
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AccountAdwordsLink
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AccountIdentifier
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AccountShipping
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AccountShippingCarrierRate
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AccountShippingCondition
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class AccountShippingLocationGroup
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class AccountShippingPostalCodeRange
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class AccountShippingRateTable
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class AccountShippingRateTableCell
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class AccountShippingShippingService
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class AccountShippingShippingServiceCalculationMethod
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class AccountShippingShippingServiceCostRule
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class AccountStatus
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class AccountStatusDataQualityIssue
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class AccountStatusExampleItem
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class AccountTax
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class AccountTaxTaxRule
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class AccountUser
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class AccountsAuthInfoResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class BatchAccountsRequest
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class AccountsBatchRequestEntry
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class BatchAccountsResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class AccountsBatchResponseEntry
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class ListAccountsResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class BatchAccountShippingRequest
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class AccountShippingBatchRequestEntry
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class BatchAccountShippingResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class AccountShippingBatchResponseEntry
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class ListAccountShippingResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class BatchAccountStatusesRequest
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class AccountStatusesBatchRequestEntry
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class BatchAccountStatusesResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class AccountStatusesBatchResponseEntry
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ListAccountStatusesResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class BatchAccountTaxRequest
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class AccountTaxBatchRequestEntry
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class BatchAccountTaxResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class AccountTaxBatchResponseEntry
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ListAccountTaxResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class Datafeed
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class DatafeedFetchSchedule
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class DatafeedFormat
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class DatafeedStatus
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class DatafeedStatusError
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class DatafeedStatusExample
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class BatchDatafeedsRequest
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class DatafeedsBatchRequestEntry
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class BatchDatafeedsResponse
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class DatafeedsBatchResponseEntry
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class ListDatafeedsResponse
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class BatchDatafeedStatusesRequest
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class DatafeedStatusesBatchRequestEntry
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class BatchDatafeedStatusesResponse
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class DatafeedStatusesBatchResponseEntry
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class ListDatafeedStatusesResponse
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class Error
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class Errors
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class Installment
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class Inventory
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class BatchInventoryRequest
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class InventoryBatchRequestEntry
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class BatchInventoryResponse
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class InventoryBatchResponseEntry
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class SetInventoryRequest
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class SetInventoryResponse
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class LoyaltyPoints
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class Order
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class OrderAddress
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class OrderCancellation
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class OrderCustomer
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class OrderDeliveryDetails
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class OrderLineItem
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class OrderLineItemProduct
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class OrderLineItemProductVariantAttribute
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class OrderLineItemReturnInfo
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class OrderLineItemShippingDetails
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class OrderLineItemShippingDetailsMethod
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class OrderPaymentMethod
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class OrderPromotion
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class OrderPromotionBenefit
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class OrderRefund
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class OrderReturn
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class OrderShipment
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ class OrderShipmentLineItemShipment
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class OrdersAcknowledgeRequest
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
541
+ class OrdersAcknowledgeResponse
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
547
+ class OrdersAdvanceTestOrderResponse
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
553
+ class OrdersCancelLineItemRequest
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
559
+ class OrdersCancelLineItemResponse
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
565
+ class OrdersCancelRequest
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
571
+ class OrdersCancelResponse
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
577
+ class OrdersCreateTestOrderRequest
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
583
+ class OrdersCreateTestOrderResponse
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
589
+ class OrdersCustomBatchRequest
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
595
+ class OrdersCustomBatchRequestEntry
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
601
+ class OrdersCustomBatchRequestEntryCancel
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class OrdersCustomBatchRequestEntryCancelLineItem
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
613
+ class OrdersCustomBatchRequestEntryRefund
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
619
+ class OrdersCustomBatchRequestEntryReturnLineItem
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
625
+ class OrdersCustomBatchRequestEntryShipLineItems
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
631
+ class OrdersCustomBatchRequestEntryUpdateShipment
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
637
+ class OrdersCustomBatchResponse
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
643
+ class OrdersCustomBatchResponseEntry
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
649
+ class OrdersGetByMerchantOrderIdResponse
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
655
+ class OrdersGetTestOrderTemplateResponse
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
661
+ class OrdersListResponse
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
667
+ class OrdersRefundRequest
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
673
+ class OrdersRefundResponse
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
679
+ class OrdersReturnLineItemRequest
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
685
+ class OrdersReturnLineItemResponse
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
691
+ class OrdersShipLineItemsRequest
692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
693
+
694
+ include Google::Apis::Core::JsonObjectSupport
695
+ end
696
+
697
+ class OrdersShipLineItemsResponse
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
703
+ class OrdersUpdateMerchantOrderIdRequest
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
709
+ class OrdersUpdateMerchantOrderIdResponse
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
715
+ class OrdersUpdateShipmentRequest
716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
717
+
718
+ include Google::Apis::Core::JsonObjectSupport
719
+ end
720
+
721
+ class OrdersUpdateShipmentResponse
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
727
+ class Price
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
733
+ class Product
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
739
+ class ProductAspect
740
+ class Representation < Google::Apis::Core::JsonRepresentation; end
741
+
742
+ include Google::Apis::Core::JsonObjectSupport
743
+ end
744
+
745
+ class ProductCustomAttribute
746
+ class Representation < Google::Apis::Core::JsonRepresentation; end
747
+
748
+ include Google::Apis::Core::JsonObjectSupport
749
+ end
750
+
751
+ class ProductCustomGroup
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
757
+ class ProductDestination
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
763
+ class ProductShipping
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
769
+ class ProductShippingDimension
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
775
+ class ProductShippingWeight
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
781
+ class ProductStatus
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
787
+ class ProductStatusDataQualityIssue
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
793
+ class ProductStatusDestinationStatus
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
799
+ class ProductTax
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
805
+ class ProductUnitPricingBaseMeasure
806
+ class Representation < Google::Apis::Core::JsonRepresentation; end
807
+
808
+ include Google::Apis::Core::JsonObjectSupport
809
+ end
810
+
811
+ class ProductUnitPricingMeasure
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
817
+ class BatchProductsRequest
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
823
+ class ProductsBatchRequestEntry
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
829
+ class BatchProductsResponse
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
835
+ class ProductsBatchResponseEntry
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
841
+ class ListProductsResponse
842
+ class Representation < Google::Apis::Core::JsonRepresentation; end
843
+
844
+ include Google::Apis::Core::JsonObjectSupport
845
+ end
846
+
847
+ class BatchProductStatusesRequest
848
+ class Representation < Google::Apis::Core::JsonRepresentation; end
849
+
850
+ include Google::Apis::Core::JsonObjectSupport
851
+ end
852
+
853
+ class ProductStatusesBatchRequestEntry
854
+ class Representation < Google::Apis::Core::JsonRepresentation; end
855
+
856
+ include Google::Apis::Core::JsonObjectSupport
857
+ end
858
+
859
+ class BatchProductStatusesResponse
860
+ class Representation < Google::Apis::Core::JsonRepresentation; end
861
+
862
+ include Google::Apis::Core::JsonObjectSupport
863
+ end
864
+
865
+ class ProductStatusesBatchResponseEntry
866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
867
+
868
+ include Google::Apis::Core::JsonObjectSupport
869
+ end
870
+
871
+ class ListProductStatusesResponse
872
+ class Representation < Google::Apis::Core::JsonRepresentation; end
873
+
874
+ include Google::Apis::Core::JsonObjectSupport
875
+ end
876
+
877
+ class TestOrder
878
+ class Representation < Google::Apis::Core::JsonRepresentation; end
879
+
880
+ include Google::Apis::Core::JsonObjectSupport
881
+ end
882
+
883
+ class TestOrderCustomer
884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
885
+
886
+ include Google::Apis::Core::JsonObjectSupport
887
+ end
888
+
889
+ class TestOrderLineItem
890
+ class Representation < Google::Apis::Core::JsonRepresentation; end
891
+
892
+ include Google::Apis::Core::JsonObjectSupport
893
+ end
894
+
895
+ class TestOrderLineItemProduct
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
901
+ class TestOrderPaymentMethod
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
907
+ class Weight
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
913
+ class Account
914
+ # @private
915
+ class Representation < Google::Apis::Core::JsonRepresentation
916
+ property :adult_content, as: 'adultContent'
917
+ collection :adwords_links, as: 'adwordsLinks', class: Google::Apis::ContentV2::AccountAdwordsLink, decorator: Google::Apis::ContentV2::AccountAdwordsLink::Representation
918
+
919
+ property :id, as: 'id'
920
+ property :kind, as: 'kind'
921
+ property :name, as: 'name'
922
+ property :reviews_url, as: 'reviewsUrl'
923
+ property :seller_id, as: 'sellerId'
924
+ collection :users, as: 'users', class: Google::Apis::ContentV2::AccountUser, decorator: Google::Apis::ContentV2::AccountUser::Representation
925
+
926
+ property :website_url, as: 'websiteUrl'
927
+ end
928
+ end
929
+
930
+ class AccountAdwordsLink
931
+ # @private
932
+ class Representation < Google::Apis::Core::JsonRepresentation
933
+ property :adwords_id, as: 'adwordsId'
934
+ property :status, as: 'status'
935
+ end
936
+ end
937
+
938
+ class AccountIdentifier
939
+ # @private
940
+ class Representation < Google::Apis::Core::JsonRepresentation
941
+ property :aggregator_id, as: 'aggregatorId'
942
+ property :merchant_id, as: 'merchantId'
943
+ end
944
+ end
945
+
946
+ class AccountShipping
947
+ # @private
948
+ class Representation < Google::Apis::Core::JsonRepresentation
949
+ property :account_id, as: 'accountId'
950
+ collection :carrier_rates, as: 'carrierRates', class: Google::Apis::ContentV2::AccountShippingCarrierRate, decorator: Google::Apis::ContentV2::AccountShippingCarrierRate::Representation
951
+
952
+ property :kind, as: 'kind'
953
+ collection :location_groups, as: 'locationGroups', class: Google::Apis::ContentV2::AccountShippingLocationGroup, decorator: Google::Apis::ContentV2::AccountShippingLocationGroup::Representation
954
+
955
+ collection :rate_tables, as: 'rateTables', class: Google::Apis::ContentV2::AccountShippingRateTable, decorator: Google::Apis::ContentV2::AccountShippingRateTable::Representation
956
+
957
+ collection :services, as: 'services', class: Google::Apis::ContentV2::AccountShippingShippingService, decorator: Google::Apis::ContentV2::AccountShippingShippingService::Representation
958
+
959
+ end
960
+ end
961
+
962
+ class AccountShippingCarrierRate
963
+ # @private
964
+ class Representation < Google::Apis::Core::JsonRepresentation
965
+ property :carrier, as: 'carrier'
966
+ property :carrier_service, as: 'carrierService'
967
+ property :modifier_flat_rate, as: 'modifierFlatRate', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
968
+
969
+ property :modifier_percent, as: 'modifierPercent'
970
+ property :name, as: 'name'
971
+ property :sale_country, as: 'saleCountry'
972
+ property :shipping_origin, as: 'shippingOrigin'
973
+ end
974
+ end
975
+
976
+ class AccountShippingCondition
977
+ # @private
978
+ class Representation < Google::Apis::Core::JsonRepresentation
979
+ property :delivery_location_group, as: 'deliveryLocationGroup'
980
+ property :delivery_location_id, as: 'deliveryLocationId'
981
+ property :delivery_postal_code, as: 'deliveryPostalCode'
982
+ property :delivery_postal_code_range, as: 'deliveryPostalCodeRange', class: Google::Apis::ContentV2::AccountShippingPostalCodeRange, decorator: Google::Apis::ContentV2::AccountShippingPostalCodeRange::Representation
983
+
984
+ property :price_max, as: 'priceMax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
985
+
986
+ property :shipping_label, as: 'shippingLabel'
987
+ property :weight_max, as: 'weightMax', class: Google::Apis::ContentV2::Weight, decorator: Google::Apis::ContentV2::Weight::Representation
988
+
989
+ end
990
+ end
991
+
992
+ class AccountShippingLocationGroup
993
+ # @private
994
+ class Representation < Google::Apis::Core::JsonRepresentation
995
+ property :country, as: 'country'
996
+ collection :location_ids, as: 'locationIds'
997
+ property :name, as: 'name'
998
+ collection :postal_code_ranges, as: 'postalCodeRanges', class: Google::Apis::ContentV2::AccountShippingPostalCodeRange, decorator: Google::Apis::ContentV2::AccountShippingPostalCodeRange::Representation
999
+
1000
+ collection :postal_codes, as: 'postalCodes'
1001
+ end
1002
+ end
1003
+
1004
+ class AccountShippingPostalCodeRange
1005
+ # @private
1006
+ class Representation < Google::Apis::Core::JsonRepresentation
1007
+ property :end, as: 'end'
1008
+ property :start, as: 'start'
1009
+ end
1010
+ end
1011
+
1012
+ class AccountShippingRateTable
1013
+ # @private
1014
+ class Representation < Google::Apis::Core::JsonRepresentation
1015
+ collection :content, as: 'content', class: Google::Apis::ContentV2::AccountShippingRateTableCell, decorator: Google::Apis::ContentV2::AccountShippingRateTableCell::Representation
1016
+
1017
+ property :name, as: 'name'
1018
+ property :sale_country, as: 'saleCountry'
1019
+ end
1020
+ end
1021
+
1022
+ class AccountShippingRateTableCell
1023
+ # @private
1024
+ class Representation < Google::Apis::Core::JsonRepresentation
1025
+ property :condition, as: 'condition', class: Google::Apis::ContentV2::AccountShippingCondition, decorator: Google::Apis::ContentV2::AccountShippingCondition::Representation
1026
+
1027
+ property :rate, as: 'rate', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1028
+
1029
+ end
1030
+ end
1031
+
1032
+ class AccountShippingShippingService
1033
+ # @private
1034
+ class Representation < Google::Apis::Core::JsonRepresentation
1035
+ property :active, as: 'active'
1036
+ property :calculation_method, as: 'calculationMethod', class: Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod::Representation
1037
+
1038
+ property :cost_rule_tree, as: 'costRuleTree', class: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule::Representation
1039
+
1040
+ property :name, as: 'name'
1041
+ property :sale_country, as: 'saleCountry'
1042
+ end
1043
+ end
1044
+
1045
+ class AccountShippingShippingServiceCalculationMethod
1046
+ # @private
1047
+ class Representation < Google::Apis::Core::JsonRepresentation
1048
+ property :carrier_rate, as: 'carrierRate'
1049
+ property :excluded, as: 'excluded'
1050
+ property :flat_rate, as: 'flatRate', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1051
+
1052
+ property :percentage_rate, as: 'percentageRate'
1053
+ property :rate_table, as: 'rateTable'
1054
+ end
1055
+ end
1056
+
1057
+ class AccountShippingShippingServiceCostRule
1058
+ # @private
1059
+ class Representation < Google::Apis::Core::JsonRepresentation
1060
+ property :calculation_method, as: 'calculationMethod', class: Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod::Representation
1061
+
1062
+ collection :children, as: 'children', class: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule::Representation
1063
+
1064
+ property :condition, as: 'condition', class: Google::Apis::ContentV2::AccountShippingCondition, decorator: Google::Apis::ContentV2::AccountShippingCondition::Representation
1065
+
1066
+ end
1067
+ end
1068
+
1069
+ class AccountStatus
1070
+ # @private
1071
+ class Representation < Google::Apis::Core::JsonRepresentation
1072
+ property :account_id, as: 'accountId'
1073
+ collection :data_quality_issues, as: 'dataQualityIssues', class: Google::Apis::ContentV2::AccountStatusDataQualityIssue, decorator: Google::Apis::ContentV2::AccountStatusDataQualityIssue::Representation
1074
+
1075
+ property :kind, as: 'kind'
1076
+ end
1077
+ end
1078
+
1079
+ class AccountStatusDataQualityIssue
1080
+ # @private
1081
+ class Representation < Google::Apis::Core::JsonRepresentation
1082
+ property :country, as: 'country'
1083
+ property :displayed_value, as: 'displayedValue'
1084
+ collection :example_items, as: 'exampleItems', class: Google::Apis::ContentV2::AccountStatusExampleItem, decorator: Google::Apis::ContentV2::AccountStatusExampleItem::Representation
1085
+
1086
+ property :id, as: 'id'
1087
+ property :last_checked, as: 'lastChecked'
1088
+ property :num_items, as: 'numItems'
1089
+ property :severity, as: 'severity'
1090
+ property :submitted_value, as: 'submittedValue'
1091
+ end
1092
+ end
1093
+
1094
+ class AccountStatusExampleItem
1095
+ # @private
1096
+ class Representation < Google::Apis::Core::JsonRepresentation
1097
+ property :item_id, as: 'itemId'
1098
+ property :link, as: 'link'
1099
+ property :submitted_value, as: 'submittedValue'
1100
+ property :title, as: 'title'
1101
+ property :value_on_landing_page, as: 'valueOnLandingPage'
1102
+ end
1103
+ end
1104
+
1105
+ class AccountTax
1106
+ # @private
1107
+ class Representation < Google::Apis::Core::JsonRepresentation
1108
+ property :account_id, as: 'accountId'
1109
+ property :kind, as: 'kind'
1110
+ collection :rules, as: 'rules', class: Google::Apis::ContentV2::AccountTaxTaxRule, decorator: Google::Apis::ContentV2::AccountTaxTaxRule::Representation
1111
+
1112
+ end
1113
+ end
1114
+
1115
+ class AccountTaxTaxRule
1116
+ # @private
1117
+ class Representation < Google::Apis::Core::JsonRepresentation
1118
+ property :country, as: 'country'
1119
+ property :location_id, as: 'locationId'
1120
+ property :rate_percent, as: 'ratePercent'
1121
+ property :shipping_taxed, as: 'shippingTaxed'
1122
+ property :use_global_rate, as: 'useGlobalRate'
1123
+ end
1124
+ end
1125
+
1126
+ class AccountUser
1127
+ # @private
1128
+ class Representation < Google::Apis::Core::JsonRepresentation
1129
+ property :admin, as: 'admin'
1130
+ property :email_address, as: 'emailAddress'
1131
+ end
1132
+ end
1133
+
1134
+ class AccountsAuthInfoResponse
1135
+ # @private
1136
+ class Representation < Google::Apis::Core::JsonRepresentation
1137
+ collection :account_identifiers, as: 'accountIdentifiers', class: Google::Apis::ContentV2::AccountIdentifier, decorator: Google::Apis::ContentV2::AccountIdentifier::Representation
1138
+
1139
+ property :kind, as: 'kind'
1140
+ end
1141
+ end
1142
+
1143
+ class BatchAccountsRequest
1144
+ # @private
1145
+ class Representation < Google::Apis::Core::JsonRepresentation
1146
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountsBatchRequestEntry, decorator: Google::Apis::ContentV2::AccountsBatchRequestEntry::Representation
1147
+
1148
+ end
1149
+ end
1150
+
1151
+ class AccountsBatchRequestEntry
1152
+ # @private
1153
+ class Representation < Google::Apis::Core::JsonRepresentation
1154
+ property :account, as: 'account', class: Google::Apis::ContentV2::Account, decorator: Google::Apis::ContentV2::Account::Representation
1155
+
1156
+ property :account_id, as: 'accountId'
1157
+ property :batch_id, as: 'batchId'
1158
+ property :merchant_id, as: 'merchantId'
1159
+ property :request_method, as: 'method'
1160
+ end
1161
+ end
1162
+
1163
+ class BatchAccountsResponse
1164
+ # @private
1165
+ class Representation < Google::Apis::Core::JsonRepresentation
1166
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountsBatchResponseEntry, decorator: Google::Apis::ContentV2::AccountsBatchResponseEntry::Representation
1167
+
1168
+ property :kind, as: 'kind'
1169
+ end
1170
+ end
1171
+
1172
+ class AccountsBatchResponseEntry
1173
+ # @private
1174
+ class Representation < Google::Apis::Core::JsonRepresentation
1175
+ property :account, as: 'account', class: Google::Apis::ContentV2::Account, decorator: Google::Apis::ContentV2::Account::Representation
1176
+
1177
+ property :batch_id, as: 'batchId'
1178
+ property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
1179
+
1180
+ property :kind, as: 'kind'
1181
+ end
1182
+ end
1183
+
1184
+ class ListAccountsResponse
1185
+ # @private
1186
+ class Representation < Google::Apis::Core::JsonRepresentation
1187
+ property :kind, as: 'kind'
1188
+ property :next_page_token, as: 'nextPageToken'
1189
+ collection :resources, as: 'resources', class: Google::Apis::ContentV2::Account, decorator: Google::Apis::ContentV2::Account::Representation
1190
+
1191
+ end
1192
+ end
1193
+
1194
+ class BatchAccountShippingRequest
1195
+ # @private
1196
+ class Representation < Google::Apis::Core::JsonRepresentation
1197
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountShippingBatchRequestEntry, decorator: Google::Apis::ContentV2::AccountShippingBatchRequestEntry::Representation
1198
+
1199
+ end
1200
+ end
1201
+
1202
+ class AccountShippingBatchRequestEntry
1203
+ # @private
1204
+ class Representation < Google::Apis::Core::JsonRepresentation
1205
+ property :account_id, as: 'accountId'
1206
+ property :account_shipping, as: 'accountShipping', class: Google::Apis::ContentV2::AccountShipping, decorator: Google::Apis::ContentV2::AccountShipping::Representation
1207
+
1208
+ property :batch_id, as: 'batchId'
1209
+ property :merchant_id, as: 'merchantId'
1210
+ property :request_method, as: 'method'
1211
+ end
1212
+ end
1213
+
1214
+ class BatchAccountShippingResponse
1215
+ # @private
1216
+ class Representation < Google::Apis::Core::JsonRepresentation
1217
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountShippingBatchResponseEntry, decorator: Google::Apis::ContentV2::AccountShippingBatchResponseEntry::Representation
1218
+
1219
+ property :kind, as: 'kind'
1220
+ end
1221
+ end
1222
+
1223
+ class AccountShippingBatchResponseEntry
1224
+ # @private
1225
+ class Representation < Google::Apis::Core::JsonRepresentation
1226
+ property :account_shipping, as: 'accountShipping', class: Google::Apis::ContentV2::AccountShipping, decorator: Google::Apis::ContentV2::AccountShipping::Representation
1227
+
1228
+ property :batch_id, as: 'batchId'
1229
+ property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
1230
+
1231
+ property :kind, as: 'kind'
1232
+ end
1233
+ end
1234
+
1235
+ class ListAccountShippingResponse
1236
+ # @private
1237
+ class Representation < Google::Apis::Core::JsonRepresentation
1238
+ property :kind, as: 'kind'
1239
+ property :next_page_token, as: 'nextPageToken'
1240
+ collection :resources, as: 'resources', class: Google::Apis::ContentV2::AccountShipping, decorator: Google::Apis::ContentV2::AccountShipping::Representation
1241
+
1242
+ end
1243
+ end
1244
+
1245
+ class BatchAccountStatusesRequest
1246
+ # @private
1247
+ class Representation < Google::Apis::Core::JsonRepresentation
1248
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountStatusesBatchRequestEntry, decorator: Google::Apis::ContentV2::AccountStatusesBatchRequestEntry::Representation
1249
+
1250
+ end
1251
+ end
1252
+
1253
+ class AccountStatusesBatchRequestEntry
1254
+ # @private
1255
+ class Representation < Google::Apis::Core::JsonRepresentation
1256
+ property :account_id, as: 'accountId'
1257
+ property :batch_id, as: 'batchId'
1258
+ property :merchant_id, as: 'merchantId'
1259
+ property :request_method, as: 'method'
1260
+ end
1261
+ end
1262
+
1263
+ class BatchAccountStatusesResponse
1264
+ # @private
1265
+ class Representation < Google::Apis::Core::JsonRepresentation
1266
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountStatusesBatchResponseEntry, decorator: Google::Apis::ContentV2::AccountStatusesBatchResponseEntry::Representation
1267
+
1268
+ property :kind, as: 'kind'
1269
+ end
1270
+ end
1271
+
1272
+ class AccountStatusesBatchResponseEntry
1273
+ # @private
1274
+ class Representation < Google::Apis::Core::JsonRepresentation
1275
+ property :account_status, as: 'accountStatus', class: Google::Apis::ContentV2::AccountStatus, decorator: Google::Apis::ContentV2::AccountStatus::Representation
1276
+
1277
+ property :batch_id, as: 'batchId'
1278
+ property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
1279
+
1280
+ end
1281
+ end
1282
+
1283
+ class ListAccountStatusesResponse
1284
+ # @private
1285
+ class Representation < Google::Apis::Core::JsonRepresentation
1286
+ property :kind, as: 'kind'
1287
+ property :next_page_token, as: 'nextPageToken'
1288
+ collection :resources, as: 'resources', class: Google::Apis::ContentV2::AccountStatus, decorator: Google::Apis::ContentV2::AccountStatus::Representation
1289
+
1290
+ end
1291
+ end
1292
+
1293
+ class BatchAccountTaxRequest
1294
+ # @private
1295
+ class Representation < Google::Apis::Core::JsonRepresentation
1296
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountTaxBatchRequestEntry, decorator: Google::Apis::ContentV2::AccountTaxBatchRequestEntry::Representation
1297
+
1298
+ end
1299
+ end
1300
+
1301
+ class AccountTaxBatchRequestEntry
1302
+ # @private
1303
+ class Representation < Google::Apis::Core::JsonRepresentation
1304
+ property :account_id, as: 'accountId'
1305
+ property :account_tax, as: 'accountTax', class: Google::Apis::ContentV2::AccountTax, decorator: Google::Apis::ContentV2::AccountTax::Representation
1306
+
1307
+ property :batch_id, as: 'batchId'
1308
+ property :merchant_id, as: 'merchantId'
1309
+ property :request_method, as: 'method'
1310
+ end
1311
+ end
1312
+
1313
+ class BatchAccountTaxResponse
1314
+ # @private
1315
+ class Representation < Google::Apis::Core::JsonRepresentation
1316
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountTaxBatchResponseEntry, decorator: Google::Apis::ContentV2::AccountTaxBatchResponseEntry::Representation
1317
+
1318
+ property :kind, as: 'kind'
1319
+ end
1320
+ end
1321
+
1322
+ class AccountTaxBatchResponseEntry
1323
+ # @private
1324
+ class Representation < Google::Apis::Core::JsonRepresentation
1325
+ property :account_tax, as: 'accountTax', class: Google::Apis::ContentV2::AccountTax, decorator: Google::Apis::ContentV2::AccountTax::Representation
1326
+
1327
+ property :batch_id, as: 'batchId'
1328
+ property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
1329
+
1330
+ property :kind, as: 'kind'
1331
+ end
1332
+ end
1333
+
1334
+ class ListAccountTaxResponse
1335
+ # @private
1336
+ class Representation < Google::Apis::Core::JsonRepresentation
1337
+ property :kind, as: 'kind'
1338
+ property :next_page_token, as: 'nextPageToken'
1339
+ collection :resources, as: 'resources', class: Google::Apis::ContentV2::AccountTax, decorator: Google::Apis::ContentV2::AccountTax::Representation
1340
+
1341
+ end
1342
+ end
1343
+
1344
+ class Datafeed
1345
+ # @private
1346
+ class Representation < Google::Apis::Core::JsonRepresentation
1347
+ property :attribute_language, as: 'attributeLanguage'
1348
+ property :content_language, as: 'contentLanguage'
1349
+ property :content_type, as: 'contentType'
1350
+ property :fetch_schedule, as: 'fetchSchedule', class: Google::Apis::ContentV2::DatafeedFetchSchedule, decorator: Google::Apis::ContentV2::DatafeedFetchSchedule::Representation
1351
+
1352
+ property :file_name, as: 'fileName'
1353
+ property :format, as: 'format', class: Google::Apis::ContentV2::DatafeedFormat, decorator: Google::Apis::ContentV2::DatafeedFormat::Representation
1354
+
1355
+ property :id, as: 'id'
1356
+ collection :intended_destinations, as: 'intendedDestinations'
1357
+ property :kind, as: 'kind'
1358
+ property :name, as: 'name'
1359
+ property :target_country, as: 'targetCountry'
1360
+ end
1361
+ end
1362
+
1363
+ class DatafeedFetchSchedule
1364
+ # @private
1365
+ class Representation < Google::Apis::Core::JsonRepresentation
1366
+ property :day_of_month, as: 'dayOfMonth'
1367
+ property :fetch_url, as: 'fetchUrl'
1368
+ property :hour, as: 'hour'
1369
+ property :password, as: 'password'
1370
+ property :time_zone, as: 'timeZone'
1371
+ property :username, as: 'username'
1372
+ property :weekday, as: 'weekday'
1373
+ end
1374
+ end
1375
+
1376
+ class DatafeedFormat
1377
+ # @private
1378
+ class Representation < Google::Apis::Core::JsonRepresentation
1379
+ property :column_delimiter, as: 'columnDelimiter'
1380
+ property :file_encoding, as: 'fileEncoding'
1381
+ property :quoting_mode, as: 'quotingMode'
1382
+ end
1383
+ end
1384
+
1385
+ class DatafeedStatus
1386
+ # @private
1387
+ class Representation < Google::Apis::Core::JsonRepresentation
1388
+ property :datafeed_id, as: 'datafeedId'
1389
+ collection :errors, as: 'errors', class: Google::Apis::ContentV2::DatafeedStatusError, decorator: Google::Apis::ContentV2::DatafeedStatusError::Representation
1390
+
1391
+ property :items_total, as: 'itemsTotal'
1392
+ property :items_valid, as: 'itemsValid'
1393
+ property :kind, as: 'kind'
1394
+ property :last_upload_date, as: 'lastUploadDate'
1395
+ property :processing_status, as: 'processingStatus'
1396
+ collection :warnings, as: 'warnings', class: Google::Apis::ContentV2::DatafeedStatusError, decorator: Google::Apis::ContentV2::DatafeedStatusError::Representation
1397
+
1398
+ end
1399
+ end
1400
+
1401
+ class DatafeedStatusError
1402
+ # @private
1403
+ class Representation < Google::Apis::Core::JsonRepresentation
1404
+ property :code, as: 'code'
1405
+ property :count, as: 'count'
1406
+ collection :examples, as: 'examples', class: Google::Apis::ContentV2::DatafeedStatusExample, decorator: Google::Apis::ContentV2::DatafeedStatusExample::Representation
1407
+
1408
+ property :message, as: 'message'
1409
+ end
1410
+ end
1411
+
1412
+ class DatafeedStatusExample
1413
+ # @private
1414
+ class Representation < Google::Apis::Core::JsonRepresentation
1415
+ property :item_id, as: 'itemId'
1416
+ property :line_number, as: 'lineNumber'
1417
+ property :value, as: 'value'
1418
+ end
1419
+ end
1420
+
1421
+ class BatchDatafeedsRequest
1422
+ # @private
1423
+ class Representation < Google::Apis::Core::JsonRepresentation
1424
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::DatafeedsBatchRequestEntry, decorator: Google::Apis::ContentV2::DatafeedsBatchRequestEntry::Representation
1425
+
1426
+ end
1427
+ end
1428
+
1429
+ class DatafeedsBatchRequestEntry
1430
+ # @private
1431
+ class Representation < Google::Apis::Core::JsonRepresentation
1432
+ property :batch_id, as: 'batchId'
1433
+ property :datafeed, as: 'datafeed', class: Google::Apis::ContentV2::Datafeed, decorator: Google::Apis::ContentV2::Datafeed::Representation
1434
+
1435
+ property :datafeed_id, as: 'datafeedId'
1436
+ property :merchant_id, as: 'merchantId'
1437
+ property :request_method, as: 'method'
1438
+ end
1439
+ end
1440
+
1441
+ class BatchDatafeedsResponse
1442
+ # @private
1443
+ class Representation < Google::Apis::Core::JsonRepresentation
1444
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::DatafeedsBatchResponseEntry, decorator: Google::Apis::ContentV2::DatafeedsBatchResponseEntry::Representation
1445
+
1446
+ property :kind, as: 'kind'
1447
+ end
1448
+ end
1449
+
1450
+ class DatafeedsBatchResponseEntry
1451
+ # @private
1452
+ class Representation < Google::Apis::Core::JsonRepresentation
1453
+ property :batch_id, as: 'batchId'
1454
+ property :datafeed, as: 'datafeed', class: Google::Apis::ContentV2::Datafeed, decorator: Google::Apis::ContentV2::Datafeed::Representation
1455
+
1456
+ property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
1457
+
1458
+ end
1459
+ end
1460
+
1461
+ class ListDatafeedsResponse
1462
+ # @private
1463
+ class Representation < Google::Apis::Core::JsonRepresentation
1464
+ property :kind, as: 'kind'
1465
+ property :next_page_token, as: 'nextPageToken'
1466
+ collection :resources, as: 'resources', class: Google::Apis::ContentV2::Datafeed, decorator: Google::Apis::ContentV2::Datafeed::Representation
1467
+
1468
+ end
1469
+ end
1470
+
1471
+ class BatchDatafeedStatusesRequest
1472
+ # @private
1473
+ class Representation < Google::Apis::Core::JsonRepresentation
1474
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::DatafeedStatusesBatchRequestEntry, decorator: Google::Apis::ContentV2::DatafeedStatusesBatchRequestEntry::Representation
1475
+
1476
+ end
1477
+ end
1478
+
1479
+ class DatafeedStatusesBatchRequestEntry
1480
+ # @private
1481
+ class Representation < Google::Apis::Core::JsonRepresentation
1482
+ property :batch_id, as: 'batchId'
1483
+ property :datafeed_id, as: 'datafeedId'
1484
+ property :merchant_id, as: 'merchantId'
1485
+ property :request_method, as: 'method'
1486
+ end
1487
+ end
1488
+
1489
+ class BatchDatafeedStatusesResponse
1490
+ # @private
1491
+ class Representation < Google::Apis::Core::JsonRepresentation
1492
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::DatafeedStatusesBatchResponseEntry, decorator: Google::Apis::ContentV2::DatafeedStatusesBatchResponseEntry::Representation
1493
+
1494
+ property :kind, as: 'kind'
1495
+ end
1496
+ end
1497
+
1498
+ class DatafeedStatusesBatchResponseEntry
1499
+ # @private
1500
+ class Representation < Google::Apis::Core::JsonRepresentation
1501
+ property :batch_id, as: 'batchId'
1502
+ property :datafeed_status, as: 'datafeedStatus', class: Google::Apis::ContentV2::DatafeedStatus, decorator: Google::Apis::ContentV2::DatafeedStatus::Representation
1503
+
1504
+ property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
1505
+
1506
+ end
1507
+ end
1508
+
1509
+ class ListDatafeedStatusesResponse
1510
+ # @private
1511
+ class Representation < Google::Apis::Core::JsonRepresentation
1512
+ property :kind, as: 'kind'
1513
+ property :next_page_token, as: 'nextPageToken'
1514
+ collection :resources, as: 'resources', class: Google::Apis::ContentV2::DatafeedStatus, decorator: Google::Apis::ContentV2::DatafeedStatus::Representation
1515
+
1516
+ end
1517
+ end
1518
+
1519
+ class Error
1520
+ # @private
1521
+ class Representation < Google::Apis::Core::JsonRepresentation
1522
+ property :domain, as: 'domain'
1523
+ property :message, as: 'message'
1524
+ property :reason, as: 'reason'
1525
+ end
1526
+ end
1527
+
1528
+ class Errors
1529
+ # @private
1530
+ class Representation < Google::Apis::Core::JsonRepresentation
1531
+ property :code, as: 'code'
1532
+ collection :errors, as: 'errors', class: Google::Apis::ContentV2::Error, decorator: Google::Apis::ContentV2::Error::Representation
1533
+
1534
+ property :message, as: 'message'
1535
+ end
1536
+ end
1537
+
1538
+ class Installment
1539
+ # @private
1540
+ class Representation < Google::Apis::Core::JsonRepresentation
1541
+ property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1542
+
1543
+ property :months, as: 'months'
1544
+ end
1545
+ end
1546
+
1547
+ class Inventory
1548
+ # @private
1549
+ class Representation < Google::Apis::Core::JsonRepresentation
1550
+ property :availability, as: 'availability'
1551
+ property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
1552
+
1553
+ property :kind, as: 'kind'
1554
+ property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
1555
+
1556
+ property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1557
+
1558
+ property :quantity, as: 'quantity'
1559
+ property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1560
+
1561
+ property :sale_price_effective_date, as: 'salePriceEffectiveDate'
1562
+ property :sell_on_google_quantity, as: 'sellOnGoogleQuantity'
1563
+ end
1564
+ end
1565
+
1566
+ class BatchInventoryRequest
1567
+ # @private
1568
+ class Representation < Google::Apis::Core::JsonRepresentation
1569
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::InventoryBatchRequestEntry, decorator: Google::Apis::ContentV2::InventoryBatchRequestEntry::Representation
1570
+
1571
+ end
1572
+ end
1573
+
1574
+ class InventoryBatchRequestEntry
1575
+ # @private
1576
+ class Representation < Google::Apis::Core::JsonRepresentation
1577
+ property :batch_id, as: 'batchId'
1578
+ property :inventory, as: 'inventory', class: Google::Apis::ContentV2::Inventory, decorator: Google::Apis::ContentV2::Inventory::Representation
1579
+
1580
+ property :merchant_id, as: 'merchantId'
1581
+ property :product_id, as: 'productId'
1582
+ property :store_code, as: 'storeCode'
1583
+ end
1584
+ end
1585
+
1586
+ class BatchInventoryResponse
1587
+ # @private
1588
+ class Representation < Google::Apis::Core::JsonRepresentation
1589
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::InventoryBatchResponseEntry, decorator: Google::Apis::ContentV2::InventoryBatchResponseEntry::Representation
1590
+
1591
+ property :kind, as: 'kind'
1592
+ end
1593
+ end
1594
+
1595
+ class InventoryBatchResponseEntry
1596
+ # @private
1597
+ class Representation < Google::Apis::Core::JsonRepresentation
1598
+ property :batch_id, as: 'batchId'
1599
+ property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
1600
+
1601
+ property :kind, as: 'kind'
1602
+ end
1603
+ end
1604
+
1605
+ class SetInventoryRequest
1606
+ # @private
1607
+ class Representation < Google::Apis::Core::JsonRepresentation
1608
+ property :availability, as: 'availability'
1609
+ property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
1610
+
1611
+ property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
1612
+
1613
+ property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1614
+
1615
+ property :quantity, as: 'quantity'
1616
+ property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1617
+
1618
+ property :sale_price_effective_date, as: 'salePriceEffectiveDate'
1619
+ property :sell_on_google_quantity, as: 'sellOnGoogleQuantity'
1620
+ end
1621
+ end
1622
+
1623
+ class SetInventoryResponse
1624
+ # @private
1625
+ class Representation < Google::Apis::Core::JsonRepresentation
1626
+ property :kind, as: 'kind'
1627
+ end
1628
+ end
1629
+
1630
+ class LoyaltyPoints
1631
+ # @private
1632
+ class Representation < Google::Apis::Core::JsonRepresentation
1633
+ property :name, as: 'name'
1634
+ property :points_value, as: 'pointsValue'
1635
+ property :ratio, as: 'ratio'
1636
+ end
1637
+ end
1638
+
1639
+ class Order
1640
+ # @private
1641
+ class Representation < Google::Apis::Core::JsonRepresentation
1642
+ property :acknowledged, as: 'acknowledged'
1643
+ property :customer, as: 'customer', class: Google::Apis::ContentV2::OrderCustomer, decorator: Google::Apis::ContentV2::OrderCustomer::Representation
1644
+
1645
+ property :delivery_details, as: 'deliveryDetails', class: Google::Apis::ContentV2::OrderDeliveryDetails, decorator: Google::Apis::ContentV2::OrderDeliveryDetails::Representation
1646
+
1647
+ property :id, as: 'id'
1648
+ property :kind, as: 'kind'
1649
+ collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderLineItem, decorator: Google::Apis::ContentV2::OrderLineItem::Representation
1650
+
1651
+ property :merchant_id, as: 'merchantId'
1652
+ property :merchant_order_id, as: 'merchantOrderId'
1653
+ property :net_amount, as: 'netAmount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1654
+
1655
+ property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::OrderPaymentMethod, decorator: Google::Apis::ContentV2::OrderPaymentMethod::Representation
1656
+
1657
+ property :payment_status, as: 'paymentStatus'
1658
+ property :placed_date, as: 'placedDate'
1659
+ collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderPromotion, decorator: Google::Apis::ContentV2::OrderPromotion::Representation
1660
+
1661
+ collection :refunds, as: 'refunds', class: Google::Apis::ContentV2::OrderRefund, decorator: Google::Apis::ContentV2::OrderRefund::Representation
1662
+
1663
+ collection :shipments, as: 'shipments', class: Google::Apis::ContentV2::OrderShipment, decorator: Google::Apis::ContentV2::OrderShipment::Representation
1664
+
1665
+ property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1666
+
1667
+ property :shipping_cost_tax, as: 'shippingCostTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1668
+
1669
+ property :shipping_option, as: 'shippingOption'
1670
+ property :status, as: 'status'
1671
+ end
1672
+ end
1673
+
1674
+ class OrderAddress
1675
+ # @private
1676
+ class Representation < Google::Apis::Core::JsonRepresentation
1677
+ property :country, as: 'country'
1678
+ collection :full_address, as: 'fullAddress'
1679
+ property :is_post_office_box, as: 'isPostOfficeBox'
1680
+ property :locality, as: 'locality'
1681
+ property :postal_code, as: 'postalCode'
1682
+ property :recipient_name, as: 'recipientName'
1683
+ property :region, as: 'region'
1684
+ collection :street_address, as: 'streetAddress'
1685
+ end
1686
+ end
1687
+
1688
+ class OrderCancellation
1689
+ # @private
1690
+ class Representation < Google::Apis::Core::JsonRepresentation
1691
+ property :actor, as: 'actor'
1692
+ property :creation_date, as: 'creationDate'
1693
+ property :quantity, as: 'quantity'
1694
+ property :reason, as: 'reason'
1695
+ property :reason_text, as: 'reasonText'
1696
+ end
1697
+ end
1698
+
1699
+ class OrderCustomer
1700
+ # @private
1701
+ class Representation < Google::Apis::Core::JsonRepresentation
1702
+ property :email, as: 'email'
1703
+ property :explicit_marketing_preference, as: 'explicitMarketingPreference'
1704
+ property :full_name, as: 'fullName'
1705
+ end
1706
+ end
1707
+
1708
+ class OrderDeliveryDetails
1709
+ # @private
1710
+ class Representation < Google::Apis::Core::JsonRepresentation
1711
+ property :address, as: 'address', class: Google::Apis::ContentV2::OrderAddress, decorator: Google::Apis::ContentV2::OrderAddress::Representation
1712
+
1713
+ property :phone_number, as: 'phoneNumber'
1714
+ end
1715
+ end
1716
+
1717
+ class OrderLineItem
1718
+ # @private
1719
+ class Representation < Google::Apis::Core::JsonRepresentation
1720
+ collection :cancellations, as: 'cancellations', class: Google::Apis::ContentV2::OrderCancellation, decorator: Google::Apis::ContentV2::OrderCancellation::Representation
1721
+
1722
+ property :id, as: 'id'
1723
+ property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1724
+
1725
+ property :product, as: 'product', class: Google::Apis::ContentV2::OrderLineItemProduct, decorator: Google::Apis::ContentV2::OrderLineItemProduct::Representation
1726
+
1727
+ property :quantity_canceled, as: 'quantityCanceled'
1728
+ property :quantity_delivered, as: 'quantityDelivered'
1729
+ property :quantity_ordered, as: 'quantityOrdered'
1730
+ property :quantity_pending, as: 'quantityPending'
1731
+ property :quantity_returned, as: 'quantityReturned'
1732
+ property :quantity_shipped, as: 'quantityShipped'
1733
+ property :return_info, as: 'returnInfo', class: Google::Apis::ContentV2::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2::OrderLineItemReturnInfo::Representation
1734
+
1735
+ collection :returns, as: 'returns', class: Google::Apis::ContentV2::OrderReturn, decorator: Google::Apis::ContentV2::OrderReturn::Representation
1736
+
1737
+ property :shipping_details, as: 'shippingDetails', class: Google::Apis::ContentV2::OrderLineItemShippingDetails, decorator: Google::Apis::ContentV2::OrderLineItemShippingDetails::Representation
1738
+
1739
+ property :tax, as: 'tax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1740
+
1741
+ end
1742
+ end
1743
+
1744
+ class OrderLineItemProduct
1745
+ # @private
1746
+ class Representation < Google::Apis::Core::JsonRepresentation
1747
+ property :brand, as: 'brand'
1748
+ property :channel, as: 'channel'
1749
+ property :condition, as: 'condition'
1750
+ property :content_language, as: 'contentLanguage'
1751
+ property :gtin, as: 'gtin'
1752
+ property :id, as: 'id'
1753
+ property :image_link, as: 'imageLink'
1754
+ property :item_group_id, as: 'itemGroupId'
1755
+ property :mpn, as: 'mpn'
1756
+ property :offer_id, as: 'offerId'
1757
+ property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1758
+
1759
+ property :shown_image, as: 'shownImage'
1760
+ property :target_country, as: 'targetCountry'
1761
+ property :title, as: 'title'
1762
+ collection :variant_attributes, as: 'variantAttributes', class: Google::Apis::ContentV2::OrderLineItemProductVariantAttribute, decorator: Google::Apis::ContentV2::OrderLineItemProductVariantAttribute::Representation
1763
+
1764
+ end
1765
+ end
1766
+
1767
+ class OrderLineItemProductVariantAttribute
1768
+ # @private
1769
+ class Representation < Google::Apis::Core::JsonRepresentation
1770
+ property :dimension, as: 'dimension'
1771
+ property :value, as: 'value'
1772
+ end
1773
+ end
1774
+
1775
+ class OrderLineItemReturnInfo
1776
+ # @private
1777
+ class Representation < Google::Apis::Core::JsonRepresentation
1778
+ property :days_to_return, as: 'daysToReturn'
1779
+ property :is_returnable, as: 'isReturnable'
1780
+ property :policy_url, as: 'policyUrl'
1781
+ end
1782
+ end
1783
+
1784
+ class OrderLineItemShippingDetails
1785
+ # @private
1786
+ class Representation < Google::Apis::Core::JsonRepresentation
1787
+ property :deliver_by_date, as: 'deliverByDate'
1788
+ property :method_prop, as: 'method', class: Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod, decorator: Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod::Representation
1789
+
1790
+ property :ship_by_date, as: 'shipByDate'
1791
+ end
1792
+ end
1793
+
1794
+ class OrderLineItemShippingDetailsMethod
1795
+ # @private
1796
+ class Representation < Google::Apis::Core::JsonRepresentation
1797
+ property :carrier, as: 'carrier'
1798
+ property :max_days_in_transit, as: 'maxDaysInTransit'
1799
+ property :method_name, as: 'methodName'
1800
+ property :min_days_in_transit, as: 'minDaysInTransit'
1801
+ end
1802
+ end
1803
+
1804
+ class OrderPaymentMethod
1805
+ # @private
1806
+ class Representation < Google::Apis::Core::JsonRepresentation
1807
+ property :billing_address, as: 'billingAddress', class: Google::Apis::ContentV2::OrderAddress, decorator: Google::Apis::ContentV2::OrderAddress::Representation
1808
+
1809
+ property :expiration_month, as: 'expirationMonth'
1810
+ property :expiration_year, as: 'expirationYear'
1811
+ property :last_four_digits, as: 'lastFourDigits'
1812
+ property :phone_number, as: 'phoneNumber'
1813
+ property :type, as: 'type'
1814
+ end
1815
+ end
1816
+
1817
+ class OrderPromotion
1818
+ # @private
1819
+ class Representation < Google::Apis::Core::JsonRepresentation
1820
+ collection :benefits, as: 'benefits', class: Google::Apis::ContentV2::OrderPromotionBenefit, decorator: Google::Apis::ContentV2::OrderPromotionBenefit::Representation
1821
+
1822
+ property :effective_dates, as: 'effectiveDates'
1823
+ property :generic_redemption_code, as: 'genericRedemptionCode'
1824
+ property :id, as: 'id'
1825
+ property :long_title, as: 'longTitle'
1826
+ property :product_applicability, as: 'productApplicability'
1827
+ property :redemption_channel, as: 'redemptionChannel'
1828
+ end
1829
+ end
1830
+
1831
+ class OrderPromotionBenefit
1832
+ # @private
1833
+ class Representation < Google::Apis::Core::JsonRepresentation
1834
+ property :discount, as: 'discount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1835
+
1836
+ collection :offer_ids, as: 'offerIds'
1837
+ property :sub_type, as: 'subType'
1838
+ property :tax_impact, as: 'taxImpact', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1839
+
1840
+ property :type, as: 'type'
1841
+ end
1842
+ end
1843
+
1844
+ class OrderRefund
1845
+ # @private
1846
+ class Representation < Google::Apis::Core::JsonRepresentation
1847
+ property :actor, as: 'actor'
1848
+ property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1849
+
1850
+ property :creation_date, as: 'creationDate'
1851
+ property :reason, as: 'reason'
1852
+ property :reason_text, as: 'reasonText'
1853
+ end
1854
+ end
1855
+
1856
+ class OrderReturn
1857
+ # @private
1858
+ class Representation < Google::Apis::Core::JsonRepresentation
1859
+ property :actor, as: 'actor'
1860
+ property :creation_date, as: 'creationDate'
1861
+ property :quantity, as: 'quantity'
1862
+ property :reason, as: 'reason'
1863
+ property :reason_text, as: 'reasonText'
1864
+ end
1865
+ end
1866
+
1867
+ class OrderShipment
1868
+ # @private
1869
+ class Representation < Google::Apis::Core::JsonRepresentation
1870
+ property :carrier, as: 'carrier'
1871
+ property :creation_date, as: 'creationDate'
1872
+ property :delivery_date, as: 'deliveryDate'
1873
+ property :id, as: 'id'
1874
+ collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2::OrderShipmentLineItemShipment::Representation
1875
+
1876
+ property :status, as: 'status'
1877
+ property :tracking_id, as: 'trackingId'
1878
+ end
1879
+ end
1880
+
1881
+ class OrderShipmentLineItemShipment
1882
+ # @private
1883
+ class Representation < Google::Apis::Core::JsonRepresentation
1884
+ property :line_item_id, as: 'lineItemId'
1885
+ property :quantity, as: 'quantity'
1886
+ end
1887
+ end
1888
+
1889
+ class OrdersAcknowledgeRequest
1890
+ # @private
1891
+ class Representation < Google::Apis::Core::JsonRepresentation
1892
+ property :operation_id, as: 'operationId'
1893
+ end
1894
+ end
1895
+
1896
+ class OrdersAcknowledgeResponse
1897
+ # @private
1898
+ class Representation < Google::Apis::Core::JsonRepresentation
1899
+ property :execution_status, as: 'executionStatus'
1900
+ property :kind, as: 'kind'
1901
+ end
1902
+ end
1903
+
1904
+ class OrdersAdvanceTestOrderResponse
1905
+ # @private
1906
+ class Representation < Google::Apis::Core::JsonRepresentation
1907
+ property :kind, as: 'kind'
1908
+ end
1909
+ end
1910
+
1911
+ class OrdersCancelLineItemRequest
1912
+ # @private
1913
+ class Representation < Google::Apis::Core::JsonRepresentation
1914
+ property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1915
+
1916
+ property :line_item_id, as: 'lineItemId'
1917
+ property :operation_id, as: 'operationId'
1918
+ property :quantity, as: 'quantity'
1919
+ property :reason, as: 'reason'
1920
+ property :reason_text, as: 'reasonText'
1921
+ end
1922
+ end
1923
+
1924
+ class OrdersCancelLineItemResponse
1925
+ # @private
1926
+ class Representation < Google::Apis::Core::JsonRepresentation
1927
+ property :execution_status, as: 'executionStatus'
1928
+ property :kind, as: 'kind'
1929
+ end
1930
+ end
1931
+
1932
+ class OrdersCancelRequest
1933
+ # @private
1934
+ class Representation < Google::Apis::Core::JsonRepresentation
1935
+ property :operation_id, as: 'operationId'
1936
+ property :reason, as: 'reason'
1937
+ property :reason_text, as: 'reasonText'
1938
+ end
1939
+ end
1940
+
1941
+ class OrdersCancelResponse
1942
+ # @private
1943
+ class Representation < Google::Apis::Core::JsonRepresentation
1944
+ property :execution_status, as: 'executionStatus'
1945
+ property :kind, as: 'kind'
1946
+ end
1947
+ end
1948
+
1949
+ class OrdersCreateTestOrderRequest
1950
+ # @private
1951
+ class Representation < Google::Apis::Core::JsonRepresentation
1952
+ property :template_name, as: 'templateName'
1953
+ property :test_order, as: 'testOrder', class: Google::Apis::ContentV2::TestOrder, decorator: Google::Apis::ContentV2::TestOrder::Representation
1954
+
1955
+ end
1956
+ end
1957
+
1958
+ class OrdersCreateTestOrderResponse
1959
+ # @private
1960
+ class Representation < Google::Apis::Core::JsonRepresentation
1961
+ property :kind, as: 'kind'
1962
+ property :order_id, as: 'orderId'
1963
+ end
1964
+ end
1965
+
1966
+ class OrdersCustomBatchRequest
1967
+ # @private
1968
+ class Representation < Google::Apis::Core::JsonRepresentation
1969
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntry, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntry::Representation
1970
+
1971
+ end
1972
+ end
1973
+
1974
+ class OrdersCustomBatchRequestEntry
1975
+ # @private
1976
+ class Representation < Google::Apis::Core::JsonRepresentation
1977
+ property :batch_id, as: 'batchId'
1978
+ property :cancel, as: 'cancel', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancel, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancel::Representation
1979
+
1980
+ property :cancel_line_item, as: 'cancelLineItem', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancelLineItem, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancelLineItem::Representation
1981
+
1982
+ property :merchant_id, as: 'merchantId'
1983
+ property :merchant_order_id, as: 'merchantOrderId'
1984
+ property :method_prop, as: 'method'
1985
+ property :operation_id, as: 'operationId'
1986
+ property :order_id, as: 'orderId'
1987
+ property :refund, as: 'refund', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryRefund, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryRefund::Representation
1988
+
1989
+ property :return_line_item, as: 'returnLineItem', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnLineItem, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnLineItem::Representation
1990
+
1991
+ property :ship_line_items, as: 'shipLineItems', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItems, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItems::Representation
1992
+
1993
+ property :update_shipment, as: 'updateShipment', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateShipment, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateShipment::Representation
1994
+
1995
+ end
1996
+ end
1997
+
1998
+ class OrdersCustomBatchRequestEntryCancel
1999
+ # @private
2000
+ class Representation < Google::Apis::Core::JsonRepresentation
2001
+ property :reason, as: 'reason'
2002
+ property :reason_text, as: 'reasonText'
2003
+ end
2004
+ end
2005
+
2006
+ class OrdersCustomBatchRequestEntryCancelLineItem
2007
+ # @private
2008
+ class Representation < Google::Apis::Core::JsonRepresentation
2009
+ property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2010
+
2011
+ property :line_item_id, as: 'lineItemId'
2012
+ property :quantity, as: 'quantity'
2013
+ property :reason, as: 'reason'
2014
+ property :reason_text, as: 'reasonText'
2015
+ end
2016
+ end
2017
+
2018
+ class OrdersCustomBatchRequestEntryRefund
2019
+ # @private
2020
+ class Representation < Google::Apis::Core::JsonRepresentation
2021
+ property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2022
+
2023
+ property :reason, as: 'reason'
2024
+ property :reason_text, as: 'reasonText'
2025
+ end
2026
+ end
2027
+
2028
+ class OrdersCustomBatchRequestEntryReturnLineItem
2029
+ # @private
2030
+ class Representation < Google::Apis::Core::JsonRepresentation
2031
+ property :line_item_id, as: 'lineItemId'
2032
+ property :quantity, as: 'quantity'
2033
+ property :reason, as: 'reason'
2034
+ property :reason_text, as: 'reasonText'
2035
+ end
2036
+ end
2037
+
2038
+ class OrdersCustomBatchRequestEntryShipLineItems
2039
+ # @private
2040
+ class Representation < Google::Apis::Core::JsonRepresentation
2041
+ property :carrier, as: 'carrier'
2042
+ collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2::OrderShipmentLineItemShipment::Representation
2043
+
2044
+ property :shipment_id, as: 'shipmentId'
2045
+ property :tracking_id, as: 'trackingId'
2046
+ end
2047
+ end
2048
+
2049
+ class OrdersCustomBatchRequestEntryUpdateShipment
2050
+ # @private
2051
+ class Representation < Google::Apis::Core::JsonRepresentation
2052
+ property :carrier, as: 'carrier'
2053
+ property :shipment_id, as: 'shipmentId'
2054
+ property :status, as: 'status'
2055
+ property :tracking_id, as: 'trackingId'
2056
+ end
2057
+ end
2058
+
2059
+ class OrdersCustomBatchResponse
2060
+ # @private
2061
+ class Representation < Google::Apis::Core::JsonRepresentation
2062
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::OrdersCustomBatchResponseEntry, decorator: Google::Apis::ContentV2::OrdersCustomBatchResponseEntry::Representation
2063
+
2064
+ property :kind, as: 'kind'
2065
+ end
2066
+ end
2067
+
2068
+ class OrdersCustomBatchResponseEntry
2069
+ # @private
2070
+ class Representation < Google::Apis::Core::JsonRepresentation
2071
+ property :batch_id, as: 'batchId'
2072
+ property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
2073
+
2074
+ property :execution_status, as: 'executionStatus'
2075
+ property :kind, as: 'kind'
2076
+ property :order, as: 'order', class: Google::Apis::ContentV2::Order, decorator: Google::Apis::ContentV2::Order::Representation
2077
+
2078
+ end
2079
+ end
2080
+
2081
+ class OrdersGetByMerchantOrderIdResponse
2082
+ # @private
2083
+ class Representation < Google::Apis::Core::JsonRepresentation
2084
+ property :kind, as: 'kind'
2085
+ property :order, as: 'order', class: Google::Apis::ContentV2::Order, decorator: Google::Apis::ContentV2::Order::Representation
2086
+
2087
+ end
2088
+ end
2089
+
2090
+ class OrdersGetTestOrderTemplateResponse
2091
+ # @private
2092
+ class Representation < Google::Apis::Core::JsonRepresentation
2093
+ property :kind, as: 'kind'
2094
+ property :template, as: 'template', class: Google::Apis::ContentV2::TestOrder, decorator: Google::Apis::ContentV2::TestOrder::Representation
2095
+
2096
+ end
2097
+ end
2098
+
2099
+ class OrdersListResponse
2100
+ # @private
2101
+ class Representation < Google::Apis::Core::JsonRepresentation
2102
+ property :kind, as: 'kind'
2103
+ property :next_page_token, as: 'nextPageToken'
2104
+ collection :resources, as: 'resources', class: Google::Apis::ContentV2::Order, decorator: Google::Apis::ContentV2::Order::Representation
2105
+
2106
+ end
2107
+ end
2108
+
2109
+ class OrdersRefundRequest
2110
+ # @private
2111
+ class Representation < Google::Apis::Core::JsonRepresentation
2112
+ property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2113
+
2114
+ property :operation_id, as: 'operationId'
2115
+ property :reason, as: 'reason'
2116
+ property :reason_text, as: 'reasonText'
2117
+ end
2118
+ end
2119
+
2120
+ class OrdersRefundResponse
2121
+ # @private
2122
+ class Representation < Google::Apis::Core::JsonRepresentation
2123
+ property :execution_status, as: 'executionStatus'
2124
+ property :kind, as: 'kind'
2125
+ end
2126
+ end
2127
+
2128
+ class OrdersReturnLineItemRequest
2129
+ # @private
2130
+ class Representation < Google::Apis::Core::JsonRepresentation
2131
+ property :line_item_id, as: 'lineItemId'
2132
+ property :operation_id, as: 'operationId'
2133
+ property :quantity, as: 'quantity'
2134
+ property :reason, as: 'reason'
2135
+ property :reason_text, as: 'reasonText'
2136
+ end
2137
+ end
2138
+
2139
+ class OrdersReturnLineItemResponse
2140
+ # @private
2141
+ class Representation < Google::Apis::Core::JsonRepresentation
2142
+ property :execution_status, as: 'executionStatus'
2143
+ property :kind, as: 'kind'
2144
+ end
2145
+ end
2146
+
2147
+ class OrdersShipLineItemsRequest
2148
+ # @private
2149
+ class Representation < Google::Apis::Core::JsonRepresentation
2150
+ property :carrier, as: 'carrier'
2151
+ collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2::OrderShipmentLineItemShipment::Representation
2152
+
2153
+ property :operation_id, as: 'operationId'
2154
+ property :shipment_id, as: 'shipmentId'
2155
+ property :tracking_id, as: 'trackingId'
2156
+ end
2157
+ end
2158
+
2159
+ class OrdersShipLineItemsResponse
2160
+ # @private
2161
+ class Representation < Google::Apis::Core::JsonRepresentation
2162
+ property :execution_status, as: 'executionStatus'
2163
+ property :kind, as: 'kind'
2164
+ end
2165
+ end
2166
+
2167
+ class OrdersUpdateMerchantOrderIdRequest
2168
+ # @private
2169
+ class Representation < Google::Apis::Core::JsonRepresentation
2170
+ property :merchant_order_id, as: 'merchantOrderId'
2171
+ property :operation_id, as: 'operationId'
2172
+ end
2173
+ end
2174
+
2175
+ class OrdersUpdateMerchantOrderIdResponse
2176
+ # @private
2177
+ class Representation < Google::Apis::Core::JsonRepresentation
2178
+ property :execution_status, as: 'executionStatus'
2179
+ property :kind, as: 'kind'
2180
+ end
2181
+ end
2182
+
2183
+ class OrdersUpdateShipmentRequest
2184
+ # @private
2185
+ class Representation < Google::Apis::Core::JsonRepresentation
2186
+ property :carrier, as: 'carrier'
2187
+ property :operation_id, as: 'operationId'
2188
+ property :shipment_id, as: 'shipmentId'
2189
+ property :status, as: 'status'
2190
+ property :tracking_id, as: 'trackingId'
2191
+ end
2192
+ end
2193
+
2194
+ class OrdersUpdateShipmentResponse
2195
+ # @private
2196
+ class Representation < Google::Apis::Core::JsonRepresentation
2197
+ property :execution_status, as: 'executionStatus'
2198
+ property :kind, as: 'kind'
2199
+ end
2200
+ end
2201
+
2202
+ class Price
2203
+ # @private
2204
+ class Representation < Google::Apis::Core::JsonRepresentation
2205
+ property :currency, as: 'currency'
2206
+ property :value, as: 'value'
2207
+ end
2208
+ end
2209
+
2210
+ class Product
2211
+ # @private
2212
+ class Representation < Google::Apis::Core::JsonRepresentation
2213
+ collection :additional_image_links, as: 'additionalImageLinks'
2214
+ property :adult, as: 'adult'
2215
+ property :adwords_grouping, as: 'adwordsGrouping'
2216
+ collection :adwords_labels, as: 'adwordsLabels'
2217
+ property :adwords_redirect, as: 'adwordsRedirect'
2218
+ property :age_group, as: 'ageGroup'
2219
+ collection :aspects, as: 'aspects', class: Google::Apis::ContentV2::ProductAspect, decorator: Google::Apis::ContentV2::ProductAspect::Representation
2220
+
2221
+ property :availability, as: 'availability'
2222
+ property :availability_date, as: 'availabilityDate'
2223
+ property :brand, as: 'brand'
2224
+ property :channel, as: 'channel'
2225
+ property :color, as: 'color'
2226
+ property :condition, as: 'condition'
2227
+ property :content_language, as: 'contentLanguage'
2228
+ collection :custom_attributes, as: 'customAttributes', class: Google::Apis::ContentV2::ProductCustomAttribute, decorator: Google::Apis::ContentV2::ProductCustomAttribute::Representation
2229
+
2230
+ collection :custom_groups, as: 'customGroups', class: Google::Apis::ContentV2::ProductCustomGroup, decorator: Google::Apis::ContentV2::ProductCustomGroup::Representation
2231
+
2232
+ property :custom_label0, as: 'customLabel0'
2233
+ property :custom_label1, as: 'customLabel1'
2234
+ property :custom_label2, as: 'customLabel2'
2235
+ property :custom_label3, as: 'customLabel3'
2236
+ property :custom_label4, as: 'customLabel4'
2237
+ property :description, as: 'description'
2238
+ collection :destinations, as: 'destinations', class: Google::Apis::ContentV2::ProductDestination, decorator: Google::Apis::ContentV2::ProductDestination::Representation
2239
+
2240
+ property :display_ads_id, as: 'displayAdsId'
2241
+ property :display_ads_link, as: 'displayAdsLink'
2242
+ collection :display_ads_similar_ids, as: 'displayAdsSimilarIds'
2243
+ property :display_ads_title, as: 'displayAdsTitle'
2244
+ property :display_ads_value, as: 'displayAdsValue'
2245
+ property :energy_efficiency_class, as: 'energyEfficiencyClass'
2246
+ property :expiration_date, as: 'expirationDate'
2247
+ property :gender, as: 'gender'
2248
+ property :google_product_category, as: 'googleProductCategory'
2249
+ property :gtin, as: 'gtin'
2250
+ property :id, as: 'id'
2251
+ property :identifier_exists, as: 'identifierExists'
2252
+ property :image_link, as: 'imageLink'
2253
+ property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
2254
+
2255
+ property :is_bundle, as: 'isBundle'
2256
+ property :item_group_id, as: 'itemGroupId'
2257
+ property :kind, as: 'kind'
2258
+ property :link, as: 'link'
2259
+ property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
2260
+
2261
+ property :material, as: 'material'
2262
+ property :mobile_link, as: 'mobileLink'
2263
+ property :mpn, as: 'mpn'
2264
+ property :multipack, as: 'multipack'
2265
+ property :offer_id, as: 'offerId'
2266
+ property :online_only, as: 'onlineOnly'
2267
+ property :pattern, as: 'pattern'
2268
+ property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2269
+
2270
+ property :product_type, as: 'productType'
2271
+ collection :promotion_ids, as: 'promotionIds'
2272
+ property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2273
+
2274
+ property :sale_price_effective_date, as: 'salePriceEffectiveDate'
2275
+ property :sell_on_google_quantity, as: 'sellOnGoogleQuantity'
2276
+ collection :shipping, as: 'shipping', class: Google::Apis::ContentV2::ProductShipping, decorator: Google::Apis::ContentV2::ProductShipping::Representation
2277
+
2278
+ property :shipping_height, as: 'shippingHeight', class: Google::Apis::ContentV2::ProductShippingDimension, decorator: Google::Apis::ContentV2::ProductShippingDimension::Representation
2279
+
2280
+ property :shipping_label, as: 'shippingLabel'
2281
+ property :shipping_length, as: 'shippingLength', class: Google::Apis::ContentV2::ProductShippingDimension, decorator: Google::Apis::ContentV2::ProductShippingDimension::Representation
2282
+
2283
+ property :shipping_weight, as: 'shippingWeight', class: Google::Apis::ContentV2::ProductShippingWeight, decorator: Google::Apis::ContentV2::ProductShippingWeight::Representation
2284
+
2285
+ property :shipping_width, as: 'shippingWidth', class: Google::Apis::ContentV2::ProductShippingDimension, decorator: Google::Apis::ContentV2::ProductShippingDimension::Representation
2286
+
2287
+ property :size_system, as: 'sizeSystem'
2288
+ property :size_type, as: 'sizeType'
2289
+ collection :sizes, as: 'sizes'
2290
+ property :target_country, as: 'targetCountry'
2291
+ collection :taxes, as: 'taxes', class: Google::Apis::ContentV2::ProductTax, decorator: Google::Apis::ContentV2::ProductTax::Representation
2292
+
2293
+ property :title, as: 'title'
2294
+ property :unit_pricing_base_measure, as: 'unitPricingBaseMeasure', class: Google::Apis::ContentV2::ProductUnitPricingBaseMeasure, decorator: Google::Apis::ContentV2::ProductUnitPricingBaseMeasure::Representation
2295
+
2296
+ property :unit_pricing_measure, as: 'unitPricingMeasure', class: Google::Apis::ContentV2::ProductUnitPricingMeasure, decorator: Google::Apis::ContentV2::ProductUnitPricingMeasure::Representation
2297
+
2298
+ collection :validated_destinations, as: 'validatedDestinations'
2299
+ collection :warnings, as: 'warnings', class: Google::Apis::ContentV2::Error, decorator: Google::Apis::ContentV2::Error::Representation
2300
+
2301
+ end
2302
+ end
2303
+
2304
+ class ProductAspect
2305
+ # @private
2306
+ class Representation < Google::Apis::Core::JsonRepresentation
2307
+ property :aspect_name, as: 'aspectName'
2308
+ property :destination_name, as: 'destinationName'
2309
+ property :intention, as: 'intention'
2310
+ end
2311
+ end
2312
+
2313
+ class ProductCustomAttribute
2314
+ # @private
2315
+ class Representation < Google::Apis::Core::JsonRepresentation
2316
+ property :name, as: 'name'
2317
+ property :type, as: 'type'
2318
+ property :unit, as: 'unit'
2319
+ property :value, as: 'value'
2320
+ end
2321
+ end
2322
+
2323
+ class ProductCustomGroup
2324
+ # @private
2325
+ class Representation < Google::Apis::Core::JsonRepresentation
2326
+ collection :attributes, as: 'attributes', class: Google::Apis::ContentV2::ProductCustomAttribute, decorator: Google::Apis::ContentV2::ProductCustomAttribute::Representation
2327
+
2328
+ property :name, as: 'name'
2329
+ end
2330
+ end
2331
+
2332
+ class ProductDestination
2333
+ # @private
2334
+ class Representation < Google::Apis::Core::JsonRepresentation
2335
+ property :destination_name, as: 'destinationName'
2336
+ property :intention, as: 'intention'
2337
+ end
2338
+ end
2339
+
2340
+ class ProductShipping
2341
+ # @private
2342
+ class Representation < Google::Apis::Core::JsonRepresentation
2343
+ property :country, as: 'country'
2344
+ property :location_group_name, as: 'locationGroupName'
2345
+ property :location_id, as: 'locationId'
2346
+ property :postal_code, as: 'postalCode'
2347
+ property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2348
+
2349
+ property :region, as: 'region'
2350
+ property :service, as: 'service'
2351
+ end
2352
+ end
2353
+
2354
+ class ProductShippingDimension
2355
+ # @private
2356
+ class Representation < Google::Apis::Core::JsonRepresentation
2357
+ property :unit, as: 'unit'
2358
+ property :value, as: 'value'
2359
+ end
2360
+ end
2361
+
2362
+ class ProductShippingWeight
2363
+ # @private
2364
+ class Representation < Google::Apis::Core::JsonRepresentation
2365
+ property :unit, as: 'unit'
2366
+ property :value, as: 'value'
2367
+ end
2368
+ end
2369
+
2370
+ class ProductStatus
2371
+ # @private
2372
+ class Representation < Google::Apis::Core::JsonRepresentation
2373
+ property :creation_date, as: 'creationDate'
2374
+ collection :data_quality_issues, as: 'dataQualityIssues', class: Google::Apis::ContentV2::ProductStatusDataQualityIssue, decorator: Google::Apis::ContentV2::ProductStatusDataQualityIssue::Representation
2375
+
2376
+ collection :destination_statuses, as: 'destinationStatuses', class: Google::Apis::ContentV2::ProductStatusDestinationStatus, decorator: Google::Apis::ContentV2::ProductStatusDestinationStatus::Representation
2377
+
2378
+ property :google_expiration_date, as: 'googleExpirationDate'
2379
+ property :kind, as: 'kind'
2380
+ property :last_update_date, as: 'lastUpdateDate'
2381
+ property :link, as: 'link'
2382
+ property :product_id, as: 'productId'
2383
+ property :title, as: 'title'
2384
+ end
2385
+ end
2386
+
2387
+ class ProductStatusDataQualityIssue
2388
+ # @private
2389
+ class Representation < Google::Apis::Core::JsonRepresentation
2390
+ property :detail, as: 'detail'
2391
+ property :fetch_status, as: 'fetchStatus'
2392
+ property :id, as: 'id'
2393
+ property :location, as: 'location'
2394
+ property :severity, as: 'severity'
2395
+ property :timestamp, as: 'timestamp'
2396
+ property :value_on_landing_page, as: 'valueOnLandingPage'
2397
+ property :value_provided, as: 'valueProvided'
2398
+ end
2399
+ end
2400
+
2401
+ class ProductStatusDestinationStatus
2402
+ # @private
2403
+ class Representation < Google::Apis::Core::JsonRepresentation
2404
+ property :approval_status, as: 'approvalStatus'
2405
+ property :destination, as: 'destination'
2406
+ property :intention, as: 'intention'
2407
+ end
2408
+ end
2409
+
2410
+ class ProductTax
2411
+ # @private
2412
+ class Representation < Google::Apis::Core::JsonRepresentation
2413
+ property :country, as: 'country'
2414
+ property :location_id, as: 'locationId'
2415
+ property :postal_code, as: 'postalCode'
2416
+ property :rate, as: 'rate'
2417
+ property :region, as: 'region'
2418
+ property :tax_ship, as: 'taxShip'
2419
+ end
2420
+ end
2421
+
2422
+ class ProductUnitPricingBaseMeasure
2423
+ # @private
2424
+ class Representation < Google::Apis::Core::JsonRepresentation
2425
+ property :unit, as: 'unit'
2426
+ property :value, as: 'value'
2427
+ end
2428
+ end
2429
+
2430
+ class ProductUnitPricingMeasure
2431
+ # @private
2432
+ class Representation < Google::Apis::Core::JsonRepresentation
2433
+ property :unit, as: 'unit'
2434
+ property :value, as: 'value'
2435
+ end
2436
+ end
2437
+
2438
+ class BatchProductsRequest
2439
+ # @private
2440
+ class Representation < Google::Apis::Core::JsonRepresentation
2441
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::ProductsBatchRequestEntry, decorator: Google::Apis::ContentV2::ProductsBatchRequestEntry::Representation
2442
+
2443
+ end
2444
+ end
2445
+
2446
+ class ProductsBatchRequestEntry
2447
+ # @private
2448
+ class Representation < Google::Apis::Core::JsonRepresentation
2449
+ property :batch_id, as: 'batchId'
2450
+ property :merchant_id, as: 'merchantId'
2451
+ property :request_method, as: 'method'
2452
+ property :product, as: 'product', class: Google::Apis::ContentV2::Product, decorator: Google::Apis::ContentV2::Product::Representation
2453
+
2454
+ property :product_id, as: 'productId'
2455
+ end
2456
+ end
2457
+
2458
+ class BatchProductsResponse
2459
+ # @private
2460
+ class Representation < Google::Apis::Core::JsonRepresentation
2461
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::ProductsBatchResponseEntry, decorator: Google::Apis::ContentV2::ProductsBatchResponseEntry::Representation
2462
+
2463
+ property :kind, as: 'kind'
2464
+ end
2465
+ end
2466
+
2467
+ class ProductsBatchResponseEntry
2468
+ # @private
2469
+ class Representation < Google::Apis::Core::JsonRepresentation
2470
+ property :batch_id, as: 'batchId'
2471
+ property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
2472
+
2473
+ property :kind, as: 'kind'
2474
+ property :product, as: 'product', class: Google::Apis::ContentV2::Product, decorator: Google::Apis::ContentV2::Product::Representation
2475
+
2476
+ end
2477
+ end
2478
+
2479
+ class ListProductsResponse
2480
+ # @private
2481
+ class Representation < Google::Apis::Core::JsonRepresentation
2482
+ property :kind, as: 'kind'
2483
+ property :next_page_token, as: 'nextPageToken'
2484
+ collection :resources, as: 'resources', class: Google::Apis::ContentV2::Product, decorator: Google::Apis::ContentV2::Product::Representation
2485
+
2486
+ end
2487
+ end
2488
+
2489
+ class BatchProductStatusesRequest
2490
+ # @private
2491
+ class Representation < Google::Apis::Core::JsonRepresentation
2492
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::ProductStatusesBatchRequestEntry, decorator: Google::Apis::ContentV2::ProductStatusesBatchRequestEntry::Representation
2493
+
2494
+ end
2495
+ end
2496
+
2497
+ class ProductStatusesBatchRequestEntry
2498
+ # @private
2499
+ class Representation < Google::Apis::Core::JsonRepresentation
2500
+ property :batch_id, as: 'batchId'
2501
+ property :merchant_id, as: 'merchantId'
2502
+ property :request_method, as: 'method'
2503
+ property :product_id, as: 'productId'
2504
+ end
2505
+ end
2506
+
2507
+ class BatchProductStatusesResponse
2508
+ # @private
2509
+ class Representation < Google::Apis::Core::JsonRepresentation
2510
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::ProductStatusesBatchResponseEntry, decorator: Google::Apis::ContentV2::ProductStatusesBatchResponseEntry::Representation
2511
+
2512
+ property :kind, as: 'kind'
2513
+ end
2514
+ end
2515
+
2516
+ class ProductStatusesBatchResponseEntry
2517
+ # @private
2518
+ class Representation < Google::Apis::Core::JsonRepresentation
2519
+ property :batch_id, as: 'batchId'
2520
+ property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
2521
+
2522
+ property :kind, as: 'kind'
2523
+ property :product_status, as: 'productStatus', class: Google::Apis::ContentV2::ProductStatus, decorator: Google::Apis::ContentV2::ProductStatus::Representation
2524
+
2525
+ end
2526
+ end
2527
+
2528
+ class ListProductStatusesResponse
2529
+ # @private
2530
+ class Representation < Google::Apis::Core::JsonRepresentation
2531
+ property :kind, as: 'kind'
2532
+ property :next_page_token, as: 'nextPageToken'
2533
+ collection :resources, as: 'resources', class: Google::Apis::ContentV2::ProductStatus, decorator: Google::Apis::ContentV2::ProductStatus::Representation
2534
+
2535
+ end
2536
+ end
2537
+
2538
+ class TestOrder
2539
+ # @private
2540
+ class Representation < Google::Apis::Core::JsonRepresentation
2541
+ property :customer, as: 'customer', class: Google::Apis::ContentV2::TestOrderCustomer, decorator: Google::Apis::ContentV2::TestOrderCustomer::Representation
2542
+
2543
+ property :kind, as: 'kind'
2544
+ collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::TestOrderLineItem, decorator: Google::Apis::ContentV2::TestOrderLineItem::Representation
2545
+
2546
+ property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::TestOrderPaymentMethod, decorator: Google::Apis::ContentV2::TestOrderPaymentMethod::Representation
2547
+
2548
+ property :predefined_delivery_address, as: 'predefinedDeliveryAddress'
2549
+ collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderPromotion, decorator: Google::Apis::ContentV2::OrderPromotion::Representation
2550
+
2551
+ property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2552
+
2553
+ property :shipping_cost_tax, as: 'shippingCostTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2554
+
2555
+ property :shipping_option, as: 'shippingOption'
2556
+ end
2557
+ end
2558
+
2559
+ class TestOrderCustomer
2560
+ # @private
2561
+ class Representation < Google::Apis::Core::JsonRepresentation
2562
+ property :email, as: 'email'
2563
+ property :explicit_marketing_preference, as: 'explicitMarketingPreference'
2564
+ property :full_name, as: 'fullName'
2565
+ end
2566
+ end
2567
+
2568
+ class TestOrderLineItem
2569
+ # @private
2570
+ class Representation < Google::Apis::Core::JsonRepresentation
2571
+ property :product, as: 'product', class: Google::Apis::ContentV2::TestOrderLineItemProduct, decorator: Google::Apis::ContentV2::TestOrderLineItemProduct::Representation
2572
+
2573
+ property :quantity_ordered, as: 'quantityOrdered'
2574
+ property :return_info, as: 'returnInfo', class: Google::Apis::ContentV2::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2::OrderLineItemReturnInfo::Representation
2575
+
2576
+ property :shipping_details, as: 'shippingDetails', class: Google::Apis::ContentV2::OrderLineItemShippingDetails, decorator: Google::Apis::ContentV2::OrderLineItemShippingDetails::Representation
2577
+
2578
+ property :unit_tax, as: 'unitTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2579
+
2580
+ end
2581
+ end
2582
+
2583
+ class TestOrderLineItemProduct
2584
+ # @private
2585
+ class Representation < Google::Apis::Core::JsonRepresentation
2586
+ property :brand, as: 'brand'
2587
+ property :channel, as: 'channel'
2588
+ property :condition, as: 'condition'
2589
+ property :content_language, as: 'contentLanguage'
2590
+ property :gtin, as: 'gtin'
2591
+ property :image_link, as: 'imageLink'
2592
+ property :item_group_id, as: 'itemGroupId'
2593
+ property :mpn, as: 'mpn'
2594
+ property :offer_id, as: 'offerId'
2595
+ property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2596
+
2597
+ property :target_country, as: 'targetCountry'
2598
+ property :title, as: 'title'
2599
+ collection :variant_attributes, as: 'variantAttributes', class: Google::Apis::ContentV2::OrderLineItemProductVariantAttribute, decorator: Google::Apis::ContentV2::OrderLineItemProductVariantAttribute::Representation
2600
+
2601
+ end
2602
+ end
2603
+
2604
+ class TestOrderPaymentMethod
2605
+ # @private
2606
+ class Representation < Google::Apis::Core::JsonRepresentation
2607
+ property :expiration_month, as: 'expirationMonth'
2608
+ property :expiration_year, as: 'expirationYear'
2609
+ property :last_four_digits, as: 'lastFourDigits'
2610
+ property :predefined_billing_address, as: 'predefinedBillingAddress'
2611
+ property :type, as: 'type'
2612
+ end
2613
+ end
2614
+
2615
+ class Weight
2616
+ # @private
2617
+ class Representation < Google::Apis::Core::JsonRepresentation
2618
+ property :unit, as: 'unit'
2619
+ property :value, as: 'value'
2620
+ end
2621
+ end
2622
+ end
2623
+ end
2624
+ end