google-api-client 0.38.0 → 0.39.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (329) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +124 -0
  3. data/api_list_config.yaml +1 -2
  4. data/bin/generate-api +1 -1
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +22 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +3 -0
  8. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  9. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
  10. data/generated/google/apis/androidpublisher_v1.rb +1 -4
  11. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
  12. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
  13. data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
  14. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  15. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
  16. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
  17. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
  18. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v2/classes.rb +36 -1661
  20. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -739
  21. data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/classes.rb +3 -2
  24. data/generated/google/apis/androidpublisher_v3/service.rb +4 -3
  25. data/generated/google/apis/apigee_v1.rb +40 -0
  26. data/generated/google/apis/apigee_v1/classes.rb +5205 -0
  27. data/generated/google/apis/apigee_v1/representations.rb +1944 -0
  28. data/generated/google/apis/apigee_v1/service.rb +6068 -0
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +51 -19
  31. data/generated/google/apis/bigquery_v2/representations.rb +21 -4
  32. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  33. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +1 -2
  34. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +2 -2
  35. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  36. data/generated/google/apis/bigqueryreservation_v1/classes.rb +12 -12
  37. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  38. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +12 -12
  39. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  40. data/generated/google/apis/binaryauthorization_v1/classes.rb +23 -10
  41. data/generated/google/apis/binaryauthorization_v1/service.rb +10 -4
  42. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  43. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +23 -10
  44. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -4
  45. data/generated/google/apis/calendar_v3.rb +1 -1
  46. data/generated/google/apis/calendar_v3/classes.rb +5 -5
  47. data/generated/google/apis/classroom_v1.rb +1 -1
  48. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  49. data/generated/google/apis/classroom_v1/service.rb +11 -11
  50. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  51. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +2 -0
  52. data/generated/google/apis/{osconfig_v1beta.rb → cloudasset_v1p4beta1.rb} +8 -9
  53. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
  54. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
  55. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
  56. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  57. data/generated/google/apis/cloudbilling_v1/classes.rb +24 -12
  58. data/generated/google/apis/cloudbilling_v1/service.rb +3 -0
  59. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  60. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
  61. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  62. data/generated/google/apis/clouddebugger_v2/classes.rb +26 -0
  63. data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
  64. data/generated/google/apis/clouddebugger_v2/service.rb +9 -2
  65. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  66. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +214 -66
  67. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +64 -10
  68. data/generated/google/apis/cloudiot_v1.rb +1 -1
  69. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  70. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -2
  71. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  72. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -2
  73. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  74. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -2
  75. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -2
  77. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  78. data/generated/google/apis/cloudscheduler_v1/classes.rb +1 -1
  79. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  80. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +1 -1
  81. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  82. data/generated/google/apis/cloudsearch_v1/classes.rb +6 -4
  83. data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
  84. data/generated/google/apis/cloudshell_v1.rb +1 -1
  85. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
  87. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
  88. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  89. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -9
  90. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  91. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -9
  92. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  93. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -9
  94. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  95. data/generated/google/apis/cloudtrace_v2/classes.rb +3 -4
  96. data/generated/google/apis/composer_v1beta1.rb +1 -1
  97. data/generated/google/apis/composer_v1beta1/classes.rb +1 -2
  98. data/generated/google/apis/compute_alpha.rb +1 -1
  99. data/generated/google/apis/compute_alpha/classes.rb +414 -29
  100. data/generated/google/apis/compute_alpha/representations.rb +141 -0
  101. data/generated/google/apis/compute_alpha/service.rb +351 -1
  102. data/generated/google/apis/compute_beta.rb +1 -1
  103. data/generated/google/apis/compute_beta/classes.rb +34 -29
  104. data/generated/google/apis/compute_beta/service.rb +3 -1
  105. data/generated/google/apis/compute_v1.rb +1 -1
  106. data/generated/google/apis/compute_v1/classes.rb +129 -10
  107. data/generated/google/apis/compute_v1/representations.rb +38 -0
  108. data/generated/google/apis/compute_v1/service.rb +3 -1
  109. data/generated/google/apis/container_v1.rb +1 -1
  110. data/generated/google/apis/container_v1/classes.rb +145 -132
  111. data/generated/google/apis/container_v1/service.rb +168 -159
  112. data/generated/google/apis/container_v1beta1.rb +1 -1
  113. data/generated/google/apis/container_v1beta1/classes.rb +186 -134
  114. data/generated/google/apis/container_v1beta1/representations.rb +16 -0
  115. data/generated/google/apis/container_v1beta1/service.rb +169 -160
  116. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  117. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -10
  118. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  119. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +360 -10
  120. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
  121. data/generated/google/apis/content_v2.rb +1 -1
  122. data/generated/google/apis/content_v2/classes.rb +1176 -1094
  123. data/generated/google/apis/content_v2/representations.rb +31 -0
  124. data/generated/google/apis/content_v2/service.rb +45 -45
  125. data/generated/google/apis/content_v2_1.rb +1 -1
  126. data/generated/google/apis/content_v2_1/classes.rb +1801 -931
  127. data/generated/google/apis/content_v2_1/representations.rb +351 -0
  128. data/generated/google/apis/content_v2_1/service.rb +299 -47
  129. data/generated/google/apis/customsearch_v1.rb +1 -1
  130. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  131. data/generated/google/apis/datacatalog_v1beta1/classes.rb +67 -7
  132. data/generated/google/apis/datacatalog_v1beta1/representations.rb +3 -0
  133. data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -33
  134. data/generated/google/apis/dataproc_v1.rb +1 -1
  135. data/generated/google/apis/dataproc_v1/classes.rb +69 -36
  136. data/generated/google/apis/dataproc_v1/service.rb +14 -14
  137. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  138. data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -26
  139. data/generated/google/apis/dialogflow_v2.rb +1 -1
  140. data/generated/google/apis/dialogflow_v2/classes.rb +203 -35
  141. data/generated/google/apis/dialogflow_v2/representations.rb +46 -0
  142. data/generated/google/apis/dialogflow_v2/service.rb +39 -0
  143. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  144. data/generated/google/apis/dialogflow_v2beta1/classes.rb +261 -36
  145. data/generated/google/apis/dialogflow_v2beta1/representations.rb +64 -0
  146. data/generated/google/apis/dialogflow_v2beta1/service.rb +88 -10
  147. data/generated/google/apis/displayvideo_v1.rb +1 -1
  148. data/generated/google/apis/displayvideo_v1/classes.rb +7216 -220
  149. data/generated/google/apis/displayvideo_v1/representations.rb +2846 -55
  150. data/generated/google/apis/displayvideo_v1/service.rb +2665 -0
  151. data/generated/google/apis/dlp_v2.rb +1 -1
  152. data/generated/google/apis/dlp_v2/classes.rb +6 -1
  153. data/generated/google/apis/drive_v2.rb +1 -1
  154. data/generated/google/apis/drive_v2/classes.rb +1 -0
  155. data/generated/google/apis/drive_v2/service.rb +51 -57
  156. data/generated/google/apis/drive_v3.rb +1 -1
  157. data/generated/google/apis/drive_v3/service.rb +28 -29
  158. data/generated/google/apis/driveactivity_v2.rb +1 -1
  159. data/generated/google/apis/driveactivity_v2/classes.rb +9 -5
  160. data/generated/google/apis/file_v1.rb +1 -1
  161. data/generated/google/apis/file_v1/classes.rb +1 -1
  162. data/generated/google/apis/file_v1/service.rb +5 -5
  163. data/generated/google/apis/file_v1beta1.rb +1 -1
  164. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  165. data/generated/google/apis/file_v1beta1/service.rb +10 -7
  166. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  167. data/generated/google/apis/firebase_v1beta1/service.rb +5 -2
  168. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  169. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +8 -58
  170. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +1 -31
  171. data/generated/google/apis/firebasehosting_v1beta1/service.rb +0 -70
  172. data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
  173. data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
  174. data/generated/google/apis/firebaseml_v1beta2/representations.rb +154 -0
  175. data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
  176. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  177. data/generated/google/apis/games_configuration_v1configuration/classes.rb +9 -10
  178. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  179. data/generated/google/apis/games_management_v1management.rb +1 -1
  180. data/generated/google/apis/games_management_v1management/classes.rb +0 -6
  181. data/generated/google/apis/games_management_v1management/representations.rb +0 -1
  182. data/generated/google/apis/games_v1.rb +1 -1
  183. data/generated/google/apis/games_v1/classes.rb +1 -7
  184. data/generated/google/apis/games_v1/representations.rb +0 -1
  185. data/generated/google/apis/games_v1/service.rb +3 -12
  186. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  187. data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
  188. data/generated/google/apis/gameservices_v1beta/service.rb +2 -2
  189. data/generated/google/apis/healthcare_v1.rb +1 -1
  190. data/generated/google/apis/healthcare_v1/classes.rb +0 -1
  191. data/generated/google/apis/healthcare_v1/service.rb +9 -7
  192. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  193. data/generated/google/apis/healthcare_v1beta1/service.rb +124 -1
  194. data/generated/google/apis/homegraph_v1.rb +1 -1
  195. data/generated/google/apis/homegraph_v1/classes.rb +8 -6
  196. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  197. data/generated/google/apis/iamcredentials_v1/classes.rb +9 -4
  198. data/generated/google/apis/managedidentities_v1.rb +1 -1
  199. data/generated/google/apis/managedidentities_v1/service.rb +2 -2
  200. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  201. data/generated/google/apis/managedidentities_v1alpha1/service.rb +2 -2
  202. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  203. data/generated/google/apis/managedidentities_v1beta1/service.rb +2 -2
  204. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  205. data/generated/google/apis/memcache_v1beta2/classes.rb +7 -7
  206. data/generated/google/apis/memcache_v1beta2/service.rb +1 -1
  207. data/generated/google/apis/ml_v1.rb +1 -1
  208. data/generated/google/apis/ml_v1/classes.rb +41 -38
  209. data/generated/google/apis/ml_v1/service.rb +17 -11
  210. data/generated/google/apis/monitoring_v3.rb +1 -1
  211. data/generated/google/apis/monitoring_v3/classes.rb +27 -38
  212. data/generated/google/apis/monitoring_v3/representations.rb +3 -16
  213. data/generated/google/apis/monitoring_v3/service.rb +6 -5
  214. data/generated/google/apis/people_v1.rb +7 -1
  215. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  216. data/generated/google/apis/policytroubleshooter_v1/classes.rb +23 -10
  217. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  218. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +23 -10
  219. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  220. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +13 -0
  221. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +2 -0
  222. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +6 -0
  223. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  224. data/generated/google/apis/remotebuildexecution_v1/classes.rb +57 -1
  225. data/generated/google/apis/remotebuildexecution_v1/representations.rb +19 -0
  226. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  227. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +57 -1
  228. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +19 -0
  229. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  230. data/generated/google/apis/remotebuildexecution_v2/classes.rb +57 -1
  231. data/generated/google/apis/remotebuildexecution_v2/representations.rb +19 -0
  232. data/generated/google/apis/run_v1.rb +1 -1
  233. data/generated/google/apis/run_v1/classes.rb +22 -46
  234. data/generated/google/apis/run_v1/representations.rb +5 -19
  235. data/generated/google/apis/run_v1alpha1.rb +1 -1
  236. data/generated/google/apis/run_v1alpha1/classes.rb +1 -2
  237. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  238. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +23 -10
  239. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
  240. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  241. data/generated/google/apis/sasportal_v1alpha1/classes.rb +13 -0
  242. data/generated/google/apis/sasportal_v1alpha1/representations.rb +2 -0
  243. data/generated/google/apis/sasportal_v1alpha1/service.rb +6 -0
  244. data/generated/google/apis/script_v1.rb +1 -1
  245. data/generated/google/apis/script_v1/classes.rb +4 -22
  246. data/generated/google/apis/secretmanager_v1.rb +1 -1
  247. data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
  248. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  249. data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
  250. data/generated/google/apis/securitycenter_v1.rb +1 -1
  251. data/generated/google/apis/securitycenter_v1/classes.rb +0 -12
  252. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  253. data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -8
  254. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  255. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +0 -8
  256. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  257. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -8
  258. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  259. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +34 -14
  260. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  261. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +34 -14
  262. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  263. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  264. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  265. data/generated/google/apis/servicemanagement_v1/service.rb +6 -1
  266. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  267. data/generated/google/apis/servicenetworking_v1/classes.rb +34 -14
  268. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  269. data/generated/google/apis/servicenetworking_v1beta/classes.rb +34 -14
  270. data/generated/google/apis/serviceusage_v1.rb +1 -1
  271. data/generated/google/apis/serviceusage_v1/classes.rb +34 -14
  272. data/generated/google/apis/serviceusage_v1/service.rb +1 -1
  273. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  274. data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -14
  275. data/generated/google/apis/sheets_v4.rb +1 -1
  276. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  277. data/generated/google/apis/slides_v1.rb +1 -1
  278. data/generated/google/apis/slides_v1/classes.rb +1 -1
  279. data/generated/google/apis/slides_v1/service.rb +1 -1
  280. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  281. data/generated/google/apis/sourcerepo_v1/classes.rb +1 -2
  282. data/generated/google/apis/speech_v1.rb +1 -1
  283. data/generated/google/apis/speech_v1/classes.rb +2 -1
  284. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  285. data/generated/google/apis/speech_v1p1beta1/classes.rb +182 -1
  286. data/generated/google/apis/speech_v1p1beta1/representations.rb +77 -0
  287. data/generated/google/apis/storage_v1.rb +1 -1
  288. data/generated/google/apis/storage_v1/classes.rb +21 -0
  289. data/generated/google/apis/storage_v1/representations.rb +5 -0
  290. data/generated/google/apis/tagmanager_v1.rb +1 -1
  291. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  292. data/generated/google/apis/tagmanager_v2.rb +1 -1
  293. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  294. data/generated/google/apis/testing_v1.rb +1 -1
  295. data/generated/google/apis/testing_v1/classes.rb +9 -0
  296. data/generated/google/apis/testing_v1/representations.rb +1 -0
  297. data/generated/google/apis/toolresults_v1beta3.rb +2 -2
  298. data/generated/google/apis/toolresults_v1beta3/classes.rb +1431 -1231
  299. data/generated/google/apis/toolresults_v1beta3/representations.rb +442 -2
  300. data/generated/google/apis/toolresults_v1beta3/service.rb +647 -720
  301. data/generated/google/apis/vault_v1.rb +1 -1
  302. data/generated/google/apis/vault_v1/classes.rb +6 -6
  303. data/generated/google/apis/vault_v1/service.rb +7 -7
  304. data/generated/google/apis/videointelligence_v1.rb +1 -1
  305. data/generated/google/apis/videointelligence_v1/classes.rb +215 -76
  306. data/generated/google/apis/videointelligence_v1/representations.rb +23 -0
  307. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  308. data/generated/google/apis/videointelligence_v1beta2/classes.rb +215 -76
  309. data/generated/google/apis/videointelligence_v1beta2/representations.rb +23 -0
  310. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  311. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +215 -76
  312. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +23 -0
  313. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  314. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +215 -76
  315. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +23 -0
  316. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  317. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +222 -83
  318. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +23 -0
  319. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  320. data/generated/google/apis/youtube_v3.rb +1 -1
  321. data/lib/google/apis/version.rb +1 -1
  322. metadata +15 -11
  323. data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
  324. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -480
  325. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
  326. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
  327. data/generated/google/apis/osconfig_v1beta/classes.rb +0 -2365
  328. data/generated/google/apis/osconfig_v1beta/representations.rb +0 -966
  329. data/generated/google/apis/osconfig_v1beta/service.rb +0 -605
@@ -646,6 +646,18 @@ module Google
646
646
  include Google::Apis::Core::JsonObjectSupport
647
647
  end
648
648
 
649
+ class MinimumOrderValueTable
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
655
+ class MinimumOrderValueTableStoreCodeSetWithMov
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
649
661
  class Order
650
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
663
 
@@ -2760,6 +2772,23 @@ module Google
2760
2772
  end
2761
2773
  end
2762
2774
 
2775
+ class MinimumOrderValueTable
2776
+ # @private
2777
+ class Representation < Google::Apis::Core::JsonRepresentation
2778
+ collection :store_code_set_with_movs, as: 'storeCodeSetWithMovs', class: Google::Apis::ContentV2::MinimumOrderValueTableStoreCodeSetWithMov, decorator: Google::Apis::ContentV2::MinimumOrderValueTableStoreCodeSetWithMov::Representation
2779
+
2780
+ end
2781
+ end
2782
+
2783
+ class MinimumOrderValueTableStoreCodeSetWithMov
2784
+ # @private
2785
+ class Representation < Google::Apis::Core::JsonRepresentation
2786
+ collection :store_codes, as: 'storeCodes'
2787
+ property :value, as: 'value', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2788
+
2789
+ end
2790
+ end
2791
+
2763
2792
  class Order
2764
2793
  # @private
2765
2794
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4398,6 +4427,8 @@ module Google
4398
4427
  property :eligibility, as: 'eligibility'
4399
4428
  property :minimum_order_value, as: 'minimumOrderValue', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
4400
4429
 
4430
+ property :minimum_order_value_table, as: 'minimumOrderValueTable', class: Google::Apis::ContentV2::MinimumOrderValueTable, decorator: Google::Apis::ContentV2::MinimumOrderValueTable::Representation
4431
+
4401
4432
  property :name, as: 'name'
4402
4433
  property :pickup_service, as: 'pickupService', class: Google::Apis::ContentV2::PickupCarrierService, decorator: Google::Apis::ContentV2::PickupCarrierService::Representation
4403
4434
 
@@ -85,13 +85,13 @@ module Google
85
85
  # Claims the website of a Merchant Center sub-account.
86
86
  # @param [Fixnum] merchant_id
87
87
  # The ID of the managing account. If this parameter is not the same as accountId,
88
- # then this account must be a multi-client account and accountId must be the ID
89
- # of a sub-account of this account.
88
+ # then this account must be a multi-client account and `accountId` must be the
89
+ # ID of a sub-account of this account.
90
90
  # @param [Fixnum] account_id
91
91
  # The ID of the account whose website is claimed.
92
92
  # @param [Boolean] overwrite
93
- # Only available to selected merchants. When set to True, this flag removes any
94
- # existing claim on the requested website by another account and replaces it
93
+ # Only available to selected merchants. When set to `True`, this flag removes
94
+ # any existing claim on the requested website by another account and replaces it
95
95
  # with a claim from this account.
96
96
  # @param [String] fields
97
97
  # Selector specifying which fields to include in a partial response.
@@ -208,8 +208,8 @@ module Google
208
208
  # Retrieves a Merchant Center account.
209
209
  # @param [Fixnum] merchant_id
210
210
  # The ID of the managing account. If this parameter is not the same as accountId,
211
- # then this account must be a multi-client account and accountId must be the ID
212
- # of a sub-account of this account.
211
+ # then this account must be a multi-client account and `accountId` must be the
212
+ # ID of a sub-account of this account.
213
213
  # @param [Fixnum] account_id
214
214
  # The ID of the account.
215
215
  # @param [String] fields
@@ -287,8 +287,8 @@ module Google
287
287
  # accountId and linkedAccountId.
288
288
  # @param [Fixnum] merchant_id
289
289
  # The ID of the managing account. If this parameter is not the same as accountId,
290
- # then this account must be a multi-client account and accountId must be the ID
291
- # of a sub-account of this account.
290
+ # then this account must be a multi-client account and `accountId` must be the
291
+ # ID of a sub-account of this account.
292
292
  # @param [Fixnum] account_id
293
293
  # The ID of the account that should be linked.
294
294
  # @param [Google::Apis::ContentV2::AccountsLinkRequest] accounts_link_request_object
@@ -367,8 +367,8 @@ module Google
367
367
  # Updates a Merchant Center account.
368
368
  # @param [Fixnum] merchant_id
369
369
  # The ID of the managing account. If this parameter is not the same as accountId,
370
- # then this account must be a multi-client account and accountId must be the ID
371
- # of a sub-account of this account.
370
+ # then this account must be a multi-client account and `accountId` must be the
371
+ # ID of a sub-account of this account.
372
372
  # @param [Fixnum] account_id
373
373
  # The ID of the account.
374
374
  # @param [Google::Apis::ContentV2::Account] account_object
@@ -446,8 +446,8 @@ module Google
446
446
  # returned for multi-client accounts.
447
447
  # @param [Fixnum] merchant_id
448
448
  # The ID of the managing account. If this parameter is not the same as accountId,
449
- # then this account must be a multi-client account and accountId must be the ID
450
- # of a sub-account of this account.
449
+ # then this account must be a multi-client account and `accountId` must be the
450
+ # ID of a sub-account of this account.
451
451
  # @param [Fixnum] account_id
452
452
  # The ID of the account.
453
453
  # @param [Array<String>, String] destinations
@@ -569,8 +569,8 @@ module Google
569
569
  # Retrieves the tax settings of the account.
570
570
  # @param [Fixnum] merchant_id
571
571
  # The ID of the managing account. If this parameter is not the same as accountId,
572
- # then this account must be a multi-client account and accountId must be the ID
573
- # of a sub-account of this account.
572
+ # then this account must be a multi-client account and `accountId` must be the
573
+ # ID of a sub-account of this account.
574
574
  # @param [Fixnum] account_id
575
575
  # The ID of the account for which to get/update account tax settings.
576
576
  # @param [String] fields
@@ -646,8 +646,8 @@ module Google
646
646
  # Updates the tax settings of the account.
647
647
  # @param [Fixnum] merchant_id
648
648
  # The ID of the managing account. If this parameter is not the same as accountId,
649
- # then this account must be a multi-client account and accountId must be the ID
650
- # of a sub-account of this account.
649
+ # then this account must be a multi-client account and `accountId` must be the
650
+ # ID of a sub-account of this account.
651
651
  # @param [Fixnum] account_id
652
652
  # The ID of the account for which to get/update account tax settings.
653
653
  # @param [Google::Apis::ContentV2::AccountTax] account_tax_object
@@ -1133,7 +1133,7 @@ module Google
1133
1133
  # The ID of the account that contains the product. This account cannot be a
1134
1134
  # multi-client account.
1135
1135
  # @param [String] store_code
1136
- # The code of the store for which to update price and availability. Use online
1136
+ # The code of the store for which to update price and availability. Use `online`
1137
1137
  # to update price and availability of an online product.
1138
1138
  # @param [String] product_id
1139
1139
  # The REST ID of the product for which to update price and availability.
@@ -1217,8 +1217,8 @@ module Google
1217
1217
  # Retrieves the LIA settings of the account.
1218
1218
  # @param [Fixnum] merchant_id
1219
1219
  # The ID of the managing account. If this parameter is not the same as accountId,
1220
- # then this account must be a multi-client account and accountId must be the ID
1221
- # of a sub-account of this account.
1220
+ # then this account must be a multi-client account and `accountId` must be the
1221
+ # ID of a sub-account of this account.
1222
1222
  # @param [Fixnum] account_id
1223
1223
  # The ID of the account for which to get or update LIA settings.
1224
1224
  # @param [String] fields
@@ -1255,8 +1255,8 @@ module Google
1255
1255
  # Retrieves the list of accessible Google My Business accounts.
1256
1256
  # @param [Fixnum] merchant_id
1257
1257
  # The ID of the managing account. If this parameter is not the same as accountId,
1258
- # then this account must be a multi-client account and accountId must be the ID
1259
- # of a sub-account of this account.
1258
+ # then this account must be a multi-client account and `accountId` must be the
1259
+ # ID of a sub-account of this account.
1260
1260
  # @param [Fixnum] account_id
1261
1261
  # The ID of the account for which to retrieve accessible Google My Business
1262
1262
  # accounts.
@@ -1364,8 +1364,8 @@ module Google
1364
1364
  # Requests access to a specified Google My Business account.
1365
1365
  # @param [Fixnum] merchant_id
1366
1366
  # The ID of the managing account. If this parameter is not the same as accountId,
1367
- # then this account must be a multi-client account and accountId must be the ID
1368
- # of a sub-account of this account.
1367
+ # then this account must be a multi-client account and `accountId` must be the
1368
+ # ID of a sub-account of this account.
1369
1369
  # @param [Fixnum] account_id
1370
1370
  # The ID of the account for which GMB access is requested.
1371
1371
  # @param [String] gmb_email
@@ -1405,8 +1405,8 @@ module Google
1405
1405
  # Requests inventory validation for the specified country.
1406
1406
  # @param [Fixnum] merchant_id
1407
1407
  # The ID of the managing account. If this parameter is not the same as accountId,
1408
- # then this account must be a multi-client account and accountId must be the ID
1409
- # of a sub-account of this account.
1408
+ # then this account must be a multi-client account and `accountId` must be the
1409
+ # ID of a sub-account of this account.
1410
1410
  # @param [Fixnum] account_id
1411
1411
  # The ID of the account that manages the order. This cannot be a multi-client
1412
1412
  # account.
@@ -1447,8 +1447,8 @@ module Google
1447
1447
  # Sets the inventory verification contract for the specified country.
1448
1448
  # @param [Fixnum] merchant_id
1449
1449
  # The ID of the managing account. If this parameter is not the same as accountId,
1450
- # then this account must be a multi-client account and accountId must be the ID
1451
- # of a sub-account of this account.
1450
+ # then this account must be a multi-client account and `accountId` must be the
1451
+ # ID of a sub-account of this account.
1452
1452
  # @param [Fixnum] account_id
1453
1453
  # The ID of the account that manages the order. This cannot be a multi-client
1454
1454
  # account.
@@ -1498,8 +1498,8 @@ module Google
1498
1498
  # Sets the POS data provider for the specified country.
1499
1499
  # @param [Fixnum] merchant_id
1500
1500
  # The ID of the managing account. If this parameter is not the same as accountId,
1501
- # then this account must be a multi-client account and accountId must be the ID
1502
- # of a sub-account of this account.
1501
+ # then this account must be a multi-client account and `accountId` must be the
1502
+ # ID of a sub-account of this account.
1503
1503
  # @param [Fixnum] account_id
1504
1504
  # The ID of the account for which to retrieve accessible Google My Business
1505
1505
  # accounts.
@@ -1546,8 +1546,8 @@ module Google
1546
1546
  # Updates the LIA settings of the account.
1547
1547
  # @param [Fixnum] merchant_id
1548
1548
  # The ID of the managing account. If this parameter is not the same as accountId,
1549
- # then this account must be a multi-client account and accountId must be the ID
1550
- # of a sub-account of this account.
1549
+ # then this account must be a multi-client account and `accountId` must be the
1550
+ # ID of a sub-account of this account.
1551
1551
  # @param [Fixnum] account_id
1552
1552
  # The ID of the account for which to get or update LIA settings.
1553
1553
  # @param [Google::Apis::ContentV2::LiaSettings] lia_settings_object
@@ -1631,7 +1631,7 @@ module Google
1631
1631
 
1632
1632
  # Creates a refund invoice for one or more shipment groups, and triggers a
1633
1633
  # refund for orderinvoice enabled orders. This can only be used for line items
1634
- # that have previously been charged using createChargeInvoice. All amounts (
1634
+ # that have previously been charged using `createChargeInvoice`. All amounts (
1635
1635
  # except for the summary) are incremental with respect to the previous invoice.
1636
1636
  # @param [Fixnum] merchant_id
1637
1637
  # The ID of the account that manages the order. This cannot be a multi-client
@@ -1900,8 +1900,8 @@ module Google
1900
1900
  execute_or_queue_command(command, &block)
1901
1901
  end
1902
1902
 
1903
- # Sandbox only. Moves a test order from state "inProgress" to state "
1904
- # pendingShipment".
1903
+ # Sandbox only. Moves a test order from state "`inProgress`" to state "`
1904
+ # pendingShipment`".
1905
1905
  # @param [Fixnum] merchant_id
1906
1906
  # The ID of the account that manages the order. This cannot be a multi-client
1907
1907
  # account.
@@ -2250,7 +2250,7 @@ module Google
2250
2250
  # @param [String] template_name
2251
2251
  # The name of the template to retrieve.
2252
2252
  # @param [String] country
2253
- # The country of the template to retrieve. Defaults to US.
2253
+ # The country of the template to retrieve. Defaults to `US`.
2254
2254
  # @param [String] fields
2255
2255
  # Selector specifying which fields to include in a partial response.
2256
2256
  # @param [String] quota_user
@@ -2339,8 +2339,8 @@ module Google
2339
2339
  # Obtains orders that match the acknowledgement status. When set to true,
2340
2340
  # obtains orders that have been acknowledged. When false, obtains orders that
2341
2341
  # have not been acknowledged.
2342
- # We recommend using this filter set to false, in conjunction with the
2343
- # acknowledge call, such that only un-acknowledged orders are returned.
2342
+ # We recommend using this filter set to `false`, in conjunction with the `
2343
+ # acknowledge` call, such that only un-acknowledged orders are returned.
2344
2344
  # @param [Fixnum] max_results
2345
2345
  # The maximum number of orders to return in the response, used for paging. The
2346
2346
  # default value is 25 orders per page, and the maximum allowed value is 250
@@ -2357,10 +2357,10 @@ module Google
2357
2357
  # @param [String] placed_date_start
2358
2358
  # Obtains orders placed after this date (inclusively), in ISO 8601 format.
2359
2359
  # @param [Array<String>, String] statuses
2360
- # Obtains orders that match any of the specified statuses. Please note that
2361
- # active is a shortcut for pendingShipment and partiallyShipped, and completed
2362
- # is a shortcut for shipped, partiallyDelivered, delivered, partiallyReturned,
2363
- # returned, and canceled.
2360
+ # Obtains orders that match any of the specified statuses. Please note that `
2361
+ # active` is a shortcut for `pendingShipment` and `partiallyShipped`, and `
2362
+ # completed` is a shortcut for `shipped`, `partiallyDelivered`, `delivered`, `
2363
+ # partiallyReturned`, `returned`, and `canceled`.
2364
2364
  # @param [String] fields
2365
2365
  # Selector specifying which fields to include in a partial response.
2366
2366
  # @param [String] quota_user
@@ -3423,8 +3423,8 @@ module Google
3423
3423
  # Retrieves the shipping settings of the account.
3424
3424
  # @param [Fixnum] merchant_id
3425
3425
  # The ID of the managing account. If this parameter is not the same as accountId,
3426
- # then this account must be a multi-client account and accountId must be the ID
3427
- # of a sub-account of this account.
3426
+ # then this account must be a multi-client account and `accountId` must be the
3427
+ # ID of a sub-account of this account.
3428
3428
  # @param [Fixnum] account_id
3429
3429
  # The ID of the account for which to get/update shipping settings.
3430
3430
  # @param [String] fields
@@ -3601,8 +3601,8 @@ module Google
3601
3601
  # Updates the shipping settings of the account.
3602
3602
  # @param [Fixnum] merchant_id
3603
3603
  # The ID of the managing account. If this parameter is not the same as accountId,
3604
- # then this account must be a multi-client account and accountId must be the ID
3605
- # of a sub-account of this account.
3604
+ # then this account must be a multi-client account and `accountId` must be the
3605
+ # ID of a sub-account of this account.
3606
3606
  # @param [Fixnum] account_id
3607
3607
  # The ID of the account for which to get/update shipping settings.
3608
3608
  # @param [Google::Apis::ContentV2::ShippingSettings] shipping_settings_object
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2_1
28
28
  VERSION = 'V2_1'
29
- REVISION = '20200310'
29
+ REVISION = '20200421'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -29,8 +29,8 @@ module Google
29
29
  include Google::Apis::Core::Hashable
30
30
 
31
31
  # List of linked Ads accounts that are active or pending approval. To create a
32
- # new link request, add a new link with status active to the list. It will
33
- # remain in a pending state until approved or rejected either in the Ads
32
+ # new link request, add a new link with status `active` to the list. It will
33
+ # remain in a `pending` state until approved or rejected either in the Ads
34
34
  # interface or through the AdWords API. To delete an active link, or to cancel a
35
35
  # link request, remove it from the list.
36
36
  # Corresponds to the JSON property `adsLinks`
@@ -59,8 +59,8 @@ module Google
59
59
  # @return [Fixnum]
60
60
  attr_accessor :id
61
61
 
62
- # Identifies what kind of resource this is. Value: the fixed string "content#
63
- # account".
62
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
63
+ # account`"
64
64
  # Corresponds to the JSON property `kind`
65
65
  # @return [String]
66
66
  attr_accessor :kind
@@ -87,10 +87,10 @@ module Google
87
87
  attr_accessor :website_url
88
88
 
89
89
  # List of linked YouTube channels that are active or pending approval. To create
90
- # a new link request, add a new link with status active to the list. It will
91
- # remain in a pending state until approved or rejected in the YT Creator Studio
92
- # interface. To delete an active link, or to cancel a link request, remove it
93
- # from the list.
90
+ # a new link request, add a new link with status `active` to the list. It will
91
+ # remain in a `pending` state until approved or rejected in the YT Creator
92
+ # Studio interface. To delete an active link, or to cancel a link request,
93
+ # remove it from the list.
94
94
  # Corresponds to the JSON property `youtubeChannelLinks`
95
95
  # @return [Array<Google::Apis::ContentV2_1::AccountYouTubeChannelLink>]
96
96
  attr_accessor :youtube_channel_links
@@ -170,17 +170,17 @@ module Google
170
170
  attr_accessor :ads_id
171
171
 
172
172
  # Status of the link between this Merchant Center account and the Ads account.
173
- # Upon retrieval, it represents the actual status of the link and can be either
174
- # active if it was approved in Google Ads or pending if it's pending approval.
173
+ # Upon retrieval, it represents the actual status of the link and can be either `
174
+ # active` if it was approved in Google Ads or `pending` if it's pending approval.
175
175
  # Upon insertion, it represents the intended status of the link. Re-uploading a
176
- # link with status active when it's still pending or with status pending when it'
177
- # s already active will have no effect: the status will remain unchanged. Re-
178
- # uploading a link with deprecated status inactive is equivalent to not
176
+ # link with status `active` when it's still pending or with status `pending`
177
+ # when it's already active will have no effect: the status will remain unchanged.
178
+ # Re-uploading a link with deprecated status `inactive` is equivalent to not
179
179
  # submitting the link at all and will delete the link if it was active or cancel
180
180
  # the link request if it was pending.
181
181
  # Acceptable values are:
182
- # - "active"
183
- # - "pending"
182
+ # - "`active`"
183
+ # - "`pending`"
184
184
  # Corresponds to the JSON property `status`
185
185
  # @return [String]
186
186
  attr_accessor :status
@@ -262,6 +262,12 @@ module Google
262
262
  class AccountGoogleMyBusinessLink
263
263
  include Google::Apis::Core::Hashable
264
264
 
265
+ # The ID of the GMB account. If this is provided, then `gmbEmail` is ignored.
266
+ # The value of this field should match the `accountId` used by the GMB API.
267
+ # Corresponds to the JSON property `gmbAccountId`
268
+ # @return [String]
269
+ attr_accessor :gmb_account_id
270
+
265
271
  # The GMB email address of which a specific account within a GMB account. A
266
272
  # sample account within a GMB account could be a business account with set of
267
273
  # locations, managed under the GMB account.
@@ -271,8 +277,8 @@ module Google
271
277
 
272
278
  # Status of the link between this Merchant Center account and the GMB account.
273
279
  # Acceptable values are:
274
- # - "active"
275
- # - "pending"
280
+ # - "`active`"
281
+ # - "`pending`"
276
282
  # Corresponds to the JSON property `status`
277
283
  # @return [String]
278
284
  attr_accessor :status
@@ -283,6 +289,7 @@ module Google
283
289
 
284
290
  # Update properties of this object
285
291
  def update!(**args)
292
+ @gmb_account_id = args[:gmb_account_id] if args.key?(:gmb_account_id)
286
293
  @gmb_email = args[:gmb_email] if args.key?(:gmb_email)
287
294
  @status = args[:status] if args.key?(:status)
288
295
  end
@@ -329,8 +336,8 @@ module Google
329
336
  # @return [Array<Google::Apis::ContentV2_1::AccountStatusAccountLevelIssue>]
330
337
  attr_accessor :account_level_issues
331
338
 
332
- # Identifies what kind of resource this is. Value: the fixed string "content#
333
- # accountStatus".
339
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
340
+ # accountStatus`"
334
341
  # Corresponds to the JSON property `kind`
335
342
  # @return [String]
336
343
  attr_accessor :kind
@@ -392,9 +399,9 @@ module Google
392
399
 
393
400
  # Severity of the issue.
394
401
  # Acceptable values are:
395
- # - "critical"
396
- # - "error"
397
- # - "suggestion"
402
+ # - "`critical`"
403
+ # - "`error`"
404
+ # - "`suggestion`"
398
405
  # Corresponds to the JSON property `severity`
399
406
  # @return [String]
400
407
  attr_accessor :severity
@@ -487,8 +494,8 @@ module Google
487
494
 
488
495
  # The channel the data applies to.
489
496
  # Acceptable values are:
490
- # - "local"
491
- # - "online"
497
+ # - "`local`"
498
+ # - "`online`"
492
499
  # Corresponds to the JSON property `channel`
493
500
  # @return [String]
494
501
  attr_accessor :channel
@@ -702,11 +709,11 @@ module Google
702
709
 
703
710
  # Status of the link between this Merchant Center account and the YouTube
704
711
  # channel. Upon retrieval, it represents the actual status of the link and can
705
- # be either active if it was approved in YT Creator Studio or pending if it's
706
- # pending approval. Upon insertion, it represents the intended status of the
707
- # link. Re-uploading a link with status active when it's still pending or with
708
- # status pending when it's already active will have no effect: the status will
709
- # remain unchanged. Re-uploading a link with deprecated status inactive is
712
+ # be either `active` if it was approved in YT Creator Studio or `pending` if it'
713
+ # s pending approval. Upon insertion, it represents the intended status of the
714
+ # link. Re-uploading a link with status `active` when it's still pending or with
715
+ # status `pending` when it's already active will have no effect: the status will
716
+ # remain unchanged. Re-uploading a link with deprecated status `inactive` is
710
717
  # equivalent to not submitting the link at all and will delete the link if it
711
718
  # was active or cancel the link request if it was pending.
712
719
  # Corresponds to the JSON property `status`
@@ -804,7 +811,7 @@ module Google
804
811
  # @return [Google::Apis::ContentV2_1::Account]
805
812
  attr_accessor :account
806
813
 
807
- # The ID of the targeted account. Only defined if the method is not insert.
814
+ # The ID of the targeted account. Only defined if the method is not `insert`.
808
815
  # Corresponds to the JSON property `accountId`
809
816
  # @return [Fixnum]
810
817
  attr_accessor :account_id
@@ -815,13 +822,13 @@ module Google
815
822
  attr_accessor :batch_id
816
823
 
817
824
  # Whether the account should be deleted if the account has offers. Only
818
- # applicable if the method is delete.
825
+ # applicable if the method is `delete`.
819
826
  # Corresponds to the JSON property `force`
820
827
  # @return [Boolean]
821
828
  attr_accessor :force
822
829
  alias_method :force?, :force
823
830
 
824
- # Details about the link request.
831
+ # Details about the `link` request.
825
832
  # Corresponds to the JSON property `linkRequest`
826
833
  # @return [Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntryLinkRequest]
827
834
  attr_accessor :link_request
@@ -833,17 +840,17 @@ module Google
833
840
 
834
841
  # The method of the batch entry.
835
842
  # Acceptable values are:
836
- # - "claimWebsite"
837
- # - "delete"
838
- # - "get"
839
- # - "insert"
840
- # - "link"
841
- # - "update"
843
+ # - "`claimWebsite`"
844
+ # - "`delete`"
845
+ # - "`get`"
846
+ # - "`insert`"
847
+ # - "`link`"
848
+ # - "`update`"
842
849
  # Corresponds to the JSON property `method`
843
850
  # @return [String]
844
851
  attr_accessor :method_prop
845
852
 
846
- # Only applicable if the method is claimwebsite. Indicates whether or not to
853
+ # Only applicable if the method is `claimwebsite`. Indicates whether or not to
847
854
  # take the claim from another account in case there is a conflict.
848
855
  # Corresponds to the JSON property `overwrite`
849
856
  # @return [Boolean]
@@ -871,20 +878,20 @@ module Google
871
878
  class AccountsCustomBatchRequestEntryLinkRequest
872
879
  include Google::Apis::Core::Hashable
873
880
 
874
- # Action to perform for this link. The "request" action is only available to
881
+ # Action to perform for this link. The `"request"` action is only available to
875
882
  # select merchants.
876
883
  # Acceptable values are:
877
- # - "approve"
878
- # - "remove"
879
- # - "request"
884
+ # - "`approve`"
885
+ # - "`remove`"
886
+ # - "`request`"
880
887
  # Corresponds to the JSON property `action`
881
888
  # @return [String]
882
889
  attr_accessor :action
883
890
 
884
891
  # Type of the link between the two accounts.
885
892
  # Acceptable values are:
886
- # - "channelPartner"
887
- # - "eCommercePlatform"
893
+ # - "`channelPartner`"
894
+ # - "`eCommercePlatform`"
888
895
  # Corresponds to the JSON property `linkType`
889
896
  # @return [String]
890
897
  attr_accessor :link_type
@@ -959,8 +966,8 @@ module Google
959
966
  # @return [Google::Apis::ContentV2_1::Errors]
960
967
  attr_accessor :errors
961
968
 
962
- # Identifies what kind of resource this is. Value: the fixed string "content#
963
- # accountsCustomBatchResponseEntry".
969
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
970
+ # accountsCustomBatchResponseEntry`"
964
971
  # Corresponds to the JSON property `kind`
965
972
  # @return [String]
966
973
  attr_accessor :kind
@@ -982,20 +989,20 @@ module Google
982
989
  class AccountsLinkRequest
983
990
  include Google::Apis::Core::Hashable
984
991
 
985
- # Action to perform for this link. The "request" action is only available to
992
+ # Action to perform for this link. The `"request"` action is only available to
986
993
  # select merchants.
987
994
  # Acceptable values are:
988
- # - "approve"
989
- # - "remove"
990
- # - "request"
995
+ # - "`approve`"
996
+ # - "`remove`"
997
+ # - "`request`"
991
998
  # Corresponds to the JSON property `action`
992
999
  # @return [String]
993
1000
  attr_accessor :action
994
1001
 
995
1002
  # Type of the link between the two accounts.
996
1003
  # Acceptable values are:
997
- # - "channelPartner"
998
- # - "eCommercePlatform"
1004
+ # - "`channelPartner`"
1005
+ # - "`eCommercePlatform`"
999
1006
  # Corresponds to the JSON property `linkType`
1000
1007
  # @return [String]
1001
1008
  attr_accessor :link_type
@@ -1153,7 +1160,7 @@ module Google
1153
1160
 
1154
1161
  # The method of the batch entry.
1155
1162
  # Acceptable values are:
1156
- # - "get"
1163
+ # - "`get`"
1157
1164
  # Corresponds to the JSON property `method`
1158
1165
  # @return [String]
1159
1166
  attr_accessor :method_prop
@@ -1307,8 +1314,8 @@ module Google
1307
1314
 
1308
1315
  # The method of the batch entry.
1309
1316
  # Acceptable values are:
1310
- # - "get"
1311
- # - "update"
1317
+ # - "`get`"
1318
+ # - "`update`"
1312
1319
  # Corresponds to the JSON property `method`
1313
1320
  # @return [String]
1314
1321
  attr_accessor :method_prop
@@ -1372,8 +1379,8 @@ module Google
1372
1379
  # @return [Google::Apis::ContentV2_1::Errors]
1373
1380
  attr_accessor :errors
1374
1381
 
1375
- # Identifies what kind of resource this is. Value: the fixed string "content#
1376
- # accounttaxCustomBatchResponseEntry".
1382
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
1383
+ # accounttaxCustomBatchResponseEntry`"
1377
1384
  # Corresponds to the JSON property `kind`
1378
1385
  # @return [String]
1379
1386
  attr_accessor :kind
@@ -1472,21 +1479,22 @@ module Google
1472
1479
  class CarrierRate
1473
1480
  include Google::Apis::Core::Hashable
1474
1481
 
1475
- # Carrier service, such as "UPS" or "Fedex". The list of supported carriers can
1476
- # be retrieved via the getSupportedCarriers method. Required.
1482
+ # Carrier service, such as `"UPS"` or `"Fedex"`. The list of supported carriers
1483
+ # can be retrieved via the `getSupportedCarriers` method. Required.
1477
1484
  # Corresponds to the JSON property `carrierName`
1478
1485
  # @return [String]
1479
1486
  attr_accessor :carrier_name
1480
1487
 
1481
- # Carrier service, such as "ground" or "2 days". The list of supported services
1482
- # for a carrier can be retrieved via the getSupportedCarriers method. Required.
1488
+ # Carrier service, such as `"ground"` or `"2 days"`. The list of supported
1489
+ # services for a carrier can be retrieved via the `getSupportedCarriers` method.
1490
+ # Required.
1483
1491
  # Corresponds to the JSON property `carrierService`
1484
1492
  # @return [String]
1485
1493
  attr_accessor :carrier_service
1486
1494
 
1487
- # Additive shipping rate modifier. Can be negative. For example ` "value": "1", "
1488
- # currency" : "USD" ` adds $1 to the rate, ` "value": "-3", "currency" : "USD" `
1489
- # removes $3 from the rate. Optional.
1495
+ # Additive shipping rate modifier. Can be negative. For example `` "value": "1",
1496
+ # "currency" : "USD" `` adds $1 to the rate, `` "value": "-3", "currency" : "USD"
1497
+ # `` removes $3 from the rate. Optional.
1490
1498
  # Corresponds to the JSON property `flatAdjustment`
1491
1499
  # @return [Google::Apis::ContentV2_1::Price]
1492
1500
  attr_accessor :flat_adjustment
@@ -1502,7 +1510,7 @@ module Google
1502
1510
  attr_accessor :origin_postal_code
1503
1511
 
1504
1512
  # Multiplicative shipping rate modifier as a number in decimal notation. Can be
1505
- # negative. For example "5.4" increases the rate by 5.4%, "-3" decreases the
1513
+ # negative. For example `"5.4"` increases the rate by 5.4%, `"-3"` decreases the
1506
1514
  # rate by 3%. Optional.
1507
1515
  # Corresponds to the JSON property `percentageAdjustment`
1508
1516
  # @return [String]
@@ -1532,12 +1540,12 @@ module Google
1532
1540
  # @return [String]
1533
1541
  attr_accessor :country
1534
1542
 
1535
- # The name of the carrier (e.g., "UPS"). Always present.
1543
+ # The name of the carrier (e.g., `"UPS"`). Always present.
1536
1544
  # Corresponds to the JSON property `name`
1537
1545
  # @return [String]
1538
1546
  attr_accessor :name
1539
1547
 
1540
- # A list of supported services (e.g., "ground") for that carrier. Contains at
1548
+ # A list of supported services (e.g., `"ground"`) for that carrier. Contains at
1541
1549
  # least one service.
1542
1550
  # Corresponds to the JSON property `services`
1543
1551
  # @return [Array<String>]
@@ -1599,20 +1607,20 @@ module Google
1599
1607
 
1600
1608
  # Code of the return reason.
1601
1609
  # Acceptable values are:
1602
- # - "betterPriceFound"
1603
- # - "changedMind"
1604
- # - "damagedOrDefectiveItem"
1605
- # - "didNotMatchDescription"
1606
- # - "doesNotFit"
1607
- # - "expiredItem"
1608
- # - "incorrectItemReceived"
1609
- # - "noLongerNeeded"
1610
- # - "notSpecified"
1611
- # - "orderedWrongItem"
1612
- # - "other"
1613
- # - "qualityNotExpected"
1614
- # - "receivedTooLate"
1615
- # - "undeliverable"
1610
+ # - "`betterPriceFound`"
1611
+ # - "`changedMind`"
1612
+ # - "`damagedOrDefectiveItem`"
1613
+ # - "`didNotMatchDescription`"
1614
+ # - "`doesNotFit`"
1615
+ # - "`expiredItem`"
1616
+ # - "`incorrectItemReceived`"
1617
+ # - "`noLongerNeeded`"
1618
+ # - "`notSpecified`"
1619
+ # - "`orderedWrongItem`"
1620
+ # - "`other`"
1621
+ # - "`qualityNotExpected`"
1622
+ # - "`receivedTooLate`"
1623
+ # - "`undeliverable`"
1616
1624
  # Corresponds to the JSON property `reasonCode`
1617
1625
  # @return [String]
1618
1626
  attr_accessor :reason_code
@@ -1675,9 +1683,9 @@ module Google
1675
1683
  # Required. The type of data feed. For product inventory feeds, only feeds for
1676
1684
  # local stores, not online stores, are supported.
1677
1685
  # Acceptable values are:
1678
- # - "local products"
1679
- # - "product inventory"
1680
- # - "products"
1686
+ # - "`local products`"
1687
+ # - "`product inventory`"
1688
+ # - "`products`"
1681
1689
  # Corresponds to the JSON property `contentType`
1682
1690
  # @return [String]
1683
1691
  attr_accessor :content_type
@@ -1705,8 +1713,8 @@ module Google
1705
1713
  # @return [Fixnum]
1706
1714
  attr_accessor :id
1707
1715
 
1708
- # Identifies what kind of resource this is. Value: the fixed string "content#
1709
- # datafeed".
1716
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
1717
+ # datafeed`"
1710
1718
  # Corresponds to the JSON property `kind`
1711
1719
  # @return [String]
1712
1720
  attr_accessor :kind
@@ -1792,13 +1800,13 @@ module Google
1792
1800
 
1793
1801
  # The day of the week the feed file should be fetched.
1794
1802
  # Acceptable values are:
1795
- # - "monday"
1796
- # - "tuesday"
1797
- # - "wednesday"
1798
- # - "thursday"
1799
- # - "friday"
1800
- # - "saturday"
1801
- # - "sunday"
1803
+ # - "`monday`"
1804
+ # - "`tuesday`"
1805
+ # - "`wednesday`"
1806
+ # - "`thursday`"
1807
+ # - "`friday`"
1808
+ # - "`saturday`"
1809
+ # - "`sunday`"
1802
1810
  # Corresponds to the JSON property `weekday`
1803
1811
  # @return [String]
1804
1812
  attr_accessor :weekday
@@ -1829,9 +1837,9 @@ module Google
1829
1837
  # If not specified, the delimiter will be auto-detected. Ignored for non-DSV
1830
1838
  # data feeds.
1831
1839
  # Acceptable values are:
1832
- # - "pipe"
1833
- # - "tab"
1834
- # - "tilde"
1840
+ # - "`pipe`"
1841
+ # - "`tab`"
1842
+ # - "`tilde`"
1835
1843
  # Corresponds to the JSON property `columnDelimiter`
1836
1844
  # @return [String]
1837
1845
  attr_accessor :column_delimiter
@@ -1839,11 +1847,11 @@ module Google
1839
1847
  # Character encoding scheme of the data feed. If not specified, the encoding
1840
1848
  # will be auto-detected.
1841
1849
  # Acceptable values are:
1842
- # - "latin-1"
1843
- # - "utf-16be"
1844
- # - "utf-16le"
1845
- # - "utf-8"
1846
- # - "windows-1252"
1850
+ # - "`latin-1`"
1851
+ # - "`utf-16be`"
1852
+ # - "`utf-16le`"
1853
+ # - "`utf-8`"
1854
+ # - "`windows-1252`"
1847
1855
  # Corresponds to the JSON property `fileEncoding`
1848
1856
  # @return [String]
1849
1857
  attr_accessor :file_encoding
@@ -1851,8 +1859,8 @@ module Google
1851
1859
  # Specifies how double quotes are interpreted. If not specified, the mode will
1852
1860
  # be auto-detected. Ignored for non-DSV data feeds.
1853
1861
  # Acceptable values are:
1854
- # - "normal character"
1855
- # - "value quoting"
1862
+ # - "`normal character`"
1863
+ # - "`value quoting`"
1856
1864
  # Corresponds to the JSON property `quotingMode`
1857
1865
  # @return [String]
1858
1866
  attr_accessor :quoting_mode
@@ -1900,8 +1908,8 @@ module Google
1900
1908
  # @return [Fixnum]
1901
1909
  attr_accessor :items_valid
1902
1910
 
1903
- # Identifies what kind of resource this is. Value: the fixed string "content#
1904
- # datafeedStatus".
1911
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
1912
+ # datafeedStatus`"
1905
1913
  # Corresponds to the JSON property `kind`
1906
1914
  # @return [String]
1907
1915
  attr_accessor :kind
@@ -1918,12 +1926,12 @@ module Google
1918
1926
 
1919
1927
  # The processing status of the feed.
1920
1928
  # Acceptable values are:
1921
- # - ""failure": The feed could not be processed or all items had errors."
1922
- # - "in progress": The feed is being processed.
1923
- # - "none": The feed has not yet been processed. For example, a feed that has
1929
+ # - "`"`failure`": The feed could not be processed or all items had errors.`"
1930
+ # - "`in progress`": The feed is being processed.
1931
+ # - "`none`": The feed has not yet been processed. For example, a feed that has
1924
1932
  # never been uploaded will have this processing status.
1925
- # - "success": The feed was processed successfully, though some items might have
1926
- # had errors.
1933
+ # - "`success`": The feed was processed successfully, though some items might
1934
+ # have had errors.
1927
1935
  # Corresponds to the JSON property `processingStatus`
1928
1936
  # @return [String]
1929
1937
  attr_accessor :processing_status
@@ -2038,7 +2046,7 @@ module Google
2038
2046
 
2039
2047
  # The list of destinations to include for this target (corresponds to checked
2040
2048
  # check boxes in Merchant Center). Default destinations are always included
2041
- # unless provided in excludedDestinations.
2049
+ # unless provided in `excludedDestinations`.
2042
2050
  # List of supported destinations (if available to the account):
2043
2051
  # - DisplayAds
2044
2052
  # - Shopping
@@ -2049,7 +2057,7 @@ module Google
2049
2057
  attr_accessor :included_destinations
2050
2058
 
2051
2059
  # The two-letter ISO 639-1 language of the items in the feed. Must be a valid
2052
- # language for targets[].country.
2060
+ # language for `targets[].country`.
2053
2061
  # Corresponds to the JSON property `language`
2054
2062
  # @return [String]
2055
2063
  attr_accessor :language
@@ -2112,11 +2120,11 @@ module Google
2112
2120
 
2113
2121
  # The method of the batch entry.
2114
2122
  # Acceptable values are:
2115
- # - "delete"
2116
- # - "fetchNow"
2117
- # - "get"
2118
- # - "insert"
2119
- # - "update"
2123
+ # - "`delete`"
2124
+ # - "`fetchNow`"
2125
+ # - "`get`"
2126
+ # - "`insert`"
2127
+ # - "`update`"
2120
2128
  # Corresponds to the JSON property `method`
2121
2129
  # @return [String]
2122
2130
  attr_accessor :method_prop
@@ -2298,7 +2306,7 @@ module Google
2298
2306
 
2299
2307
  # The method of the batch entry.
2300
2308
  # Acceptable values are:
2301
- # - "get"
2309
+ # - "`get`"
2302
2310
  # Corresponds to the JSON property `method`
2303
2311
  # @return [String]
2304
2312
  attr_accessor :method_prop
@@ -2431,15 +2439,15 @@ module Google
2431
2439
  attr_accessor :holiday_cutoffs
2432
2440
 
2433
2441
  # Maximum number of business days spent before an order is shipped. 0 means same
2434
- # day shipped, 1 means next day shipped. Must be greater than or equal to
2435
- # minHandlingTimeInDays.
2442
+ # day shipped, 1 means next day shipped. Must be greater than or equal to `
2443
+ # minHandlingTimeInDays`.
2436
2444
  # Corresponds to the JSON property `maxHandlingTimeInDays`
2437
2445
  # @return [Fixnum]
2438
2446
  attr_accessor :max_handling_time_in_days
2439
2447
 
2440
2448
  # Maximum number of business days that is spent in transit. 0 means same day
2441
- # delivery, 1 means next day delivery. Must be greater than or equal to
2442
- # minTransitTimeInDays.
2449
+ # delivery, 1 means next day delivery. Must be greater than or equal to `
2450
+ # minTransitTimeInDays`.
2443
2451
  # Corresponds to the JSON property `maxTransitTimeInDays`
2444
2452
  # @return [Fixnum]
2445
2453
  attr_accessor :max_transit_time_in_days
@@ -2451,8 +2459,8 @@ module Google
2451
2459
  attr_accessor :min_handling_time_in_days
2452
2460
 
2453
2461
  # Minimum number of business days that is spent in transit. 0 means same day
2454
- # delivery, 1 means next day delivery. Either `min,max`TransitTimeInDays or
2455
- # transitTimeTable must be set, but not both.
2462
+ # delivery, 1 means next day delivery. Either ``min,max`TransitTimeInDays` or `
2463
+ # transitTimeTable` must be set, but not both.
2456
2464
  # Corresponds to the JSON property `minTransitTimeInDays`
2457
2465
  # @return [Fixnum]
2458
2466
  attr_accessor :min_transit_time_in_days
@@ -2464,8 +2472,8 @@ module Google
2464
2472
  attr_accessor :transit_business_day_config
2465
2473
 
2466
2474
  # Transit time table, number of business days spent in transit based on row and
2467
- # column dimensions. Either `min,max`TransitTimeInDays or transitTimeTable can
2468
- # be set, but not both.
2475
+ # column dimensions. Either ``min,max`TransitTimeInDays` or `transitTimeTable`
2476
+ # can be set, but not both.
2469
2477
  # Corresponds to the JSON property `transitTimeTable`
2470
2478
  # @return [Google::Apis::ContentV2_1::TransitTable]
2471
2479
  attr_accessor :transit_time_table
@@ -2523,7 +2531,7 @@ module Google
2523
2531
  class Errors
2524
2532
  include Google::Apis::Core::Hashable
2525
2533
 
2526
- # The HTTP status of the first error in errors.
2534
+ # The HTTP status of the first error in `errors`.
2527
2535
  # Corresponds to the JSON property `code`
2528
2536
  # @return [Fixnum]
2529
2537
  attr_accessor :code
@@ -2533,7 +2541,7 @@ module Google
2533
2541
  # @return [Array<Google::Apis::ContentV2_1::Error>]
2534
2542
  attr_accessor :errors
2535
2543
 
2536
- # The message of the first error in errors.
2544
+ # The message of the first error in `errors`.
2537
2545
  # Corresponds to the JSON property `message`
2538
2546
  # @return [String]
2539
2547
  attr_accessor :message
@@ -2554,7 +2562,7 @@ module Google
2554
2562
  class GmbAccounts
2555
2563
  include Google::Apis::Core::Hashable
2556
2564
 
2557
- # The ID of the account.
2565
+ # The ID of the Merchant Center account.
2558
2566
  # Corresponds to the JSON property `accountId`
2559
2567
  # @return [Fixnum]
2560
2568
  attr_accessor :account_id
@@ -2612,8 +2620,8 @@ module Google
2612
2620
  end
2613
2621
  end
2614
2622
 
2615
- # A non-empty list of row or column headers for a table. Exactly one of prices,
2616
- # weights, numItems, postalCodeGroupNames, or location must be set.
2623
+ # A non-empty list of row or column headers for a table. Exactly one of `prices`,
2624
+ # `weights`, `numItems`, `postalCodeGroupNames`, or `location` must be set.
2617
2625
  class Headers
2618
2626
  include Google::Apis::Core::Hashable
2619
2627
 
@@ -2623,36 +2631,36 @@ module Google
2623
2631
  # @return [Array<Google::Apis::ContentV2_1::LocationIdSet>]
2624
2632
  attr_accessor :locations
2625
2633
 
2626
- # A list of inclusive number of items upper bounds. The last value can be "
2627
- # infinity". For example ["10", "50", "infinity"] represents the headers "<= 10
2628
- # items", " 50 items". Must be non-empty. Can only be set if all other fields
2634
+ # A list of inclusive number of items upper bounds. The last value can be `"
2635
+ # infinity"`. For example `["10", "50", "infinity"]` represents the headers "<=
2636
+ # 10 items", " 50 items". Must be non-empty. Can only be set if all other fields
2629
2637
  # are not set.
2630
2638
  # Corresponds to the JSON property `numberOfItems`
2631
2639
  # @return [Array<String>]
2632
2640
  attr_accessor :number_of_items
2633
2641
 
2634
- # A list of postal group names. The last value can be "all other locations".
2635
- # Example: ["zone 1", "zone 2", "all other locations"]. The referred postal code
2636
- # groups must match the delivery country of the service. Must be non-empty. Can
2637
- # only be set if all other fields are not set.
2642
+ # A list of postal group names. The last value can be `"all other locations"`.
2643
+ # Example: `["zone 1", "zone 2", "all other locations"]`. The referred postal
2644
+ # code groups must match the delivery country of the service. Must be non-empty.
2645
+ # Can only be set if all other fields are not set.
2638
2646
  # Corresponds to the JSON property `postalCodeGroupNames`
2639
2647
  # @return [Array<String>]
2640
2648
  attr_accessor :postal_code_group_names
2641
2649
 
2642
- # A list of inclusive order price upper bounds. The last price's value can be "
2643
- # infinity". For example [`"value": "10", "currency": "USD"`, `"value": "500", "
2644
- # currency": "USD"`, `"value": "infinity", "currency": "USD"`] represents the
2650
+ # A list of inclusive order price upper bounds. The last price's value can be `"
2651
+ # infinity"`. For example `[`"value": "10", "currency": "USD"`, `"value": "500",
2652
+ # "currency": "USD"`, `"value": "infinity", "currency": "USD"`]` represents the
2645
2653
  # headers "<= $10", " $500". All prices within a service must have the same
2646
2654
  # currency. Must be non-empty. Can only be set if all other fields are not set.
2647
2655
  # Corresponds to the JSON property `prices`
2648
2656
  # @return [Array<Google::Apis::ContentV2_1::Price>]
2649
2657
  attr_accessor :prices
2650
2658
 
2651
- # A list of inclusive order weight upper bounds. The last weight's value can be "
2652
- # infinity". For example [`"value": "10", "unit": "kg"`, `"value": "50", "unit":
2653
- # "kg"`, `"value": "infinity", "unit": "kg"`] represents the headers "<= 10kg", "
2654
- # 50kg". All weights within a service must have the same unit. Must be non-
2655
- # empty. Can only be set if all other fields are not set.
2659
+ # A list of inclusive order weight upper bounds. The last weight's value can be `
2660
+ # "infinity"`. For example `[`"value": "10", "unit": "kg"`, `"value": "50", "
2661
+ # unit": "kg"`, `"value": "infinity", "unit": "kg"`]` represents the headers "<=
2662
+ # 10kg", " 50kg". All weights within a service must have the same unit. Must be
2663
+ # non-empty. Can only be set if all other fields are not set.
2656
2664
  # Corresponds to the JSON property `weights`
2657
2665
  # @return [Array<Google::Apis::ContentV2_1::Weight>]
2658
2666
  attr_accessor :weights
@@ -2757,14 +2765,14 @@ module Google
2757
2765
 
2758
2766
  # The holiday type. Always present.
2759
2767
  # Acceptable values are:
2760
- # - "Christmas"
2761
- # - "Easter"
2762
- # - "Father's Day"
2763
- # - "Halloween"
2764
- # - "Independence Day (USA)"
2765
- # - "Mother's Day"
2766
- # - "Thanksgiving"
2767
- # - "Valentine's Day"
2768
+ # - "`Christmas`"
2769
+ # - "`Easter`"
2770
+ # - "`Father's Day`"
2771
+ # - "`Halloween`"
2772
+ # - "`Independence Day (USA)`"
2773
+ # - "`Mother's Day`"
2774
+ # - "`Thanksgiving`"
2775
+ # - "`Valentine's Day`"
2768
2776
  # Corresponds to the JSON property `type`
2769
2777
  # @return [String]
2770
2778
  attr_accessor :type
@@ -2845,7 +2853,7 @@ module Google
2845
2853
 
2846
2854
  # [required] Type of the additional charge.
2847
2855
  # Acceptable values are:
2848
- # - "shipping"
2856
+ # - "`shipping`"
2849
2857
  # Corresponds to the JSON property `type`
2850
2858
  # @return [String]
2851
2859
  attr_accessor :type
@@ -2867,9 +2875,9 @@ module Google
2867
2875
 
2868
2876
  # The status of the verification process for the About page.
2869
2877
  # Acceptable values are:
2870
- # - "active"
2871
- # - "inactive"
2872
- # - "pending"
2878
+ # - "`active`"
2879
+ # - "`inactive`"
2880
+ # - "`pending`"
2873
2881
  # Corresponds to the JSON property `status`
2874
2882
  # @return [String]
2875
2883
  attr_accessor :status
@@ -2963,18 +2971,18 @@ module Google
2963
2971
 
2964
2972
  # The status of the verification contact.
2965
2973
  # Acceptable values are:
2966
- # - "active"
2967
- # - "inactive"
2968
- # - "pending"
2974
+ # - "`active`"
2975
+ # - "`inactive`"
2976
+ # - "`pending`"
2969
2977
  # Corresponds to the JSON property `inventoryVerificationContactStatus`
2970
2978
  # @return [String]
2971
2979
  attr_accessor :inventory_verification_contact_status
2972
2980
 
2973
2981
  # The status of the inventory verification process.
2974
2982
  # Acceptable values are:
2975
- # - "active"
2976
- # - "inactive"
2977
- # - "pending"
2983
+ # - "`active`"
2984
+ # - "`inactive`"
2985
+ # - "`pending`"
2978
2986
  # Corresponds to the JSON property `status`
2979
2987
  # @return [String]
2980
2988
  attr_accessor :status
@@ -3003,9 +3011,9 @@ module Google
3003
3011
 
3004
3012
  # The status of the ?On display to order? feature.
3005
3013
  # Acceptable values are:
3006
- # - "active"
3007
- # - "inactive"
3008
- # - "pending"
3014
+ # - "`active`"
3015
+ # - "`inactive`"
3016
+ # - "`pending`"
3009
3017
  # Corresponds to the JSON property `status`
3010
3018
  # @return [String]
3011
3019
  attr_accessor :status
@@ -3062,8 +3070,8 @@ module Google
3062
3070
  # @return [Array<Google::Apis::ContentV2_1::LiaCountrySettings>]
3063
3071
  attr_accessor :country_settings
3064
3072
 
3065
- # Identifies what kind of resource this is. Value: the fixed string "content#
3066
- # liaSettings".
3073
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
3074
+ # liaSettings`"
3067
3075
  # Corresponds to the JSON property `kind`
3068
3076
  # @return [String]
3069
3077
  attr_accessor :kind
@@ -3103,7 +3111,7 @@ module Google
3103
3111
  class LiasettingsCustomBatchRequestEntry
3104
3112
  include Google::Apis::Core::Hashable
3105
3113
 
3106
- # The ID of the account for which to get/update account shipping settings.
3114
+ # The ID of the account for which to get/update account LIA settings.
3107
3115
  # Corresponds to the JSON property `accountId`
3108
3116
  # @return [Fixnum]
3109
3117
  attr_accessor :account_id
@@ -3148,12 +3156,12 @@ module Google
3148
3156
 
3149
3157
  # The method of the batch entry.
3150
3158
  # Acceptable values are:
3151
- # - "get"
3152
- # - "getAccessibleGmbAccounts"
3153
- # - "requestGmbAccess"
3154
- # - "requestInventoryVerification"
3155
- # - "setInventoryVerificationContact"
3156
- # - "update"
3159
+ # - "`get`"
3160
+ # - "`getAccessibleGmbAccounts`"
3161
+ # - "`requestGmbAccess`"
3162
+ # - "`requestInventoryVerification`"
3163
+ # - "`setInventoryVerificationContact`"
3164
+ # - "`update`"
3157
3165
  # Corresponds to the JSON property `method`
3158
3166
  # @return [String]
3159
3167
  attr_accessor :method_prop
@@ -3233,8 +3241,8 @@ module Google
3233
3241
  # @return [Google::Apis::ContentV2_1::GmbAccounts]
3234
3242
  attr_accessor :gmb_accounts
3235
3243
 
3236
- # Identifies what kind of resource this is. Value: the fixed string "content#
3237
- # liasettingsCustomBatchResponseEntry".
3244
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
3245
+ # liasettingsCustomBatchResponseEntry`"
3238
3246
  # Corresponds to the JSON property `kind`
3239
3247
  # @return [String]
3240
3248
  attr_accessor :kind
@@ -3269,7 +3277,7 @@ module Google
3269
3277
  class LiasettingsGetAccessibleGmbAccountsResponse
3270
3278
  include Google::Apis::Core::Hashable
3271
3279
 
3272
- # The ID of the account.
3280
+ # The ID of the Merchant Center account.
3273
3281
  # Corresponds to the JSON property `accountId`
3274
3282
  # @return [Fixnum]
3275
3283
  attr_accessor :account_id
@@ -3441,18 +3449,18 @@ module Google
3441
3449
 
3442
3450
  # Service provided to or by the linked account.
3443
3451
  # Acceptable values are:
3444
- # - "shoppingActionsOrderManagement"
3445
- # - "shoppingActionsProductManagement"
3446
- # - "shoppingAdsProductManagement"
3452
+ # - "`shoppingActionsOrderManagement`"
3453
+ # - "`shoppingActionsProductManagement`"
3454
+ # - "`shoppingAdsProductManagement`"
3447
3455
  # Corresponds to the JSON property `service`
3448
3456
  # @return [String]
3449
3457
  attr_accessor :service
3450
3458
 
3451
3459
  # Status of the link
3452
3460
  # Acceptable values are:
3453
- # - "active"
3454
- # - "inactive"
3455
- # - "pending"
3461
+ # - "`active`"
3462
+ # - "`inactive`"
3463
+ # - "`pending`"
3456
3464
  # Corresponds to the JSON property `status`
3457
3465
  # @return [String]
3458
3466
  attr_accessor :status
@@ -3508,20 +3516,20 @@ module Google
3508
3516
  # @return [String]
3509
3517
  attr_accessor :instore_product_location
3510
3518
 
3511
- # Identifies what kind of resource this is. Value: the fixed string "content#
3512
- # localInventory".
3519
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
3520
+ # localInventory`"
3513
3521
  # Corresponds to the JSON property `kind`
3514
3522
  # @return [String]
3515
3523
  attr_accessor :kind
3516
3524
 
3517
3525
  # Supported pickup method for this offer. Unless the value is "not supported",
3518
- # this field must be submitted together with pickupSla.
3526
+ # this field must be submitted together with `pickupSla`.
3519
3527
  # Corresponds to the JSON property `pickupMethod`
3520
3528
  # @return [String]
3521
3529
  attr_accessor :pickup_method
3522
3530
 
3523
3531
  # Expected date that an order will be ready for pickup relative to the order
3524
- # date. Must be submitted together with pickupMethod.
3532
+ # date. Must be submitted together with `pickupMethod`.
3525
3533
  # Corresponds to the JSON property `pickupSla`
3526
3534
  # @return [String]
3527
3535
  attr_accessor :pickup_sla
@@ -3536,7 +3544,7 @@ module Google
3536
3544
  # @return [Fixnum]
3537
3545
  attr_accessor :quantity
3538
3546
 
3539
- # Sale price of the product. Mandatory if sale_price_effective_date is defined.
3547
+ # Sale price of the product. Mandatory if `sale_price_effective_date` is defined.
3540
3548
  # Corresponds to the JSON property `salePrice`
3541
3549
  # @return [Google::Apis::ContentV2_1::Price]
3542
3550
  attr_accessor :sale_price
@@ -3612,7 +3620,7 @@ module Google
3612
3620
 
3613
3621
  # Method of the batch request entry.
3614
3622
  # Acceptable values are:
3615
- # - "insert"
3623
+ # - "`insert`"
3616
3624
  # Corresponds to the JSON property `method`
3617
3625
  # @return [String]
3618
3626
  attr_accessor :method_prop
@@ -3676,8 +3684,8 @@ module Google
3676
3684
  # @return [Google::Apis::ContentV2_1::Errors]
3677
3685
  attr_accessor :errors
3678
3686
 
3679
- # Identifies what kind of resource this is. Value: the fixed string "content#
3680
- # localinventoryCustomBatchResponseEntry".
3687
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
3688
+ # localinventoryCustomBatchResponseEntry`"
3681
3689
  # Corresponds to the JSON property `kind`
3682
3690
  # @return [String]
3683
3691
  attr_accessor :kind
@@ -3777,6 +3785,11 @@ module Google
3777
3785
  # @return [Array<Google::Apis::ContentV2_1::MerchantOrderReturnItem>]
3778
3786
  attr_accessor :return_items
3779
3787
 
3788
+ # Information about shipping costs.
3789
+ # Corresponds to the JSON property `returnPricingInfo`
3790
+ # @return [Google::Apis::ContentV2_1::ReturnPricingInfo]
3791
+ attr_accessor :return_pricing_info
3792
+
3780
3793
  # Shipments of the return.
3781
3794
  # Corresponds to the JSON property `returnShipments`
3782
3795
  # @return [Array<Google::Apis::ContentV2_1::ReturnShipment>]
@@ -3793,6 +3806,7 @@ module Google
3793
3806
  @order_id = args[:order_id] if args.key?(:order_id)
3794
3807
  @order_return_id = args[:order_return_id] if args.key?(:order_return_id)
3795
3808
  @return_items = args[:return_items] if args.key?(:return_items)
3809
+ @return_pricing_info = args[:return_pricing_info] if args.key?(:return_pricing_info)
3796
3810
  @return_shipments = args[:return_shipments] if args.key?(:return_shipments)
3797
3811
  end
3798
3812
  end
@@ -3812,6 +3826,11 @@ module Google
3812
3826
  # @return [String]
3813
3827
  attr_accessor :item_id
3814
3828
 
3829
+ # The reason that the merchant chose to reject an item return.
3830
+ # Corresponds to the JSON property `merchantRejectionReason`
3831
+ # @return [Google::Apis::ContentV2_1::MerchantRejectionReason]
3832
+ attr_accessor :merchant_rejection_reason
3833
+
3815
3834
  # The reason that merchant chooses to accept a return item.
3816
3835
  # Corresponds to the JSON property `merchantReturnReason`
3817
3836
  # @return [Google::Apis::ContentV2_1::RefundReason]
@@ -3822,18 +3841,40 @@ module Google
3822
3841
  # @return [Google::Apis::ContentV2_1::OrderLineItemProduct]
3823
3842
  attr_accessor :product
3824
3843
 
3844
+ # Maximum amount that can be refunded for this return item.
3845
+ # Corresponds to the JSON property `refundableAmount`
3846
+ # @return [Google::Apis::ContentV2_1::MonetaryAmount]
3847
+ attr_accessor :refundable_amount
3848
+
3849
+ # Unit level ID for the return item. Different units of the same product will
3850
+ # have different IDs.
3851
+ # Corresponds to the JSON property `returnItemId`
3852
+ # @return [String]
3853
+ attr_accessor :return_item_id
3854
+
3825
3855
  # IDs of the return shipments that this return item belongs to.
3826
3856
  # Corresponds to the JSON property `returnShipmentIds`
3827
3857
  # @return [Array<String>]
3828
3858
  attr_accessor :return_shipment_ids
3829
3859
 
3860
+ # ID of the original shipment group. Provided for shipments with invoice support.
3861
+ # Corresponds to the JSON property `shipmentGroupId`
3862
+ # @return [String]
3863
+ attr_accessor :shipment_group_id
3864
+
3865
+ # ID of the shipment unit assigned by the merchant. Provided for shipments with
3866
+ # invoice support.
3867
+ # Corresponds to the JSON property `shipmentUnitId`
3868
+ # @return [String]
3869
+ attr_accessor :shipment_unit_id
3870
+
3830
3871
  # State of the item.
3831
3872
  # Acceptable values are:
3832
- # - "canceled"
3833
- # - "new"
3834
- # - "received"
3835
- # - "refunded"
3836
- # - "rejected"
3873
+ # - "`canceled`"
3874
+ # - "`new`"
3875
+ # - "`received`"
3876
+ # - "`refunded`"
3877
+ # - "`rejected`"
3837
3878
  # Corresponds to the JSON property `state`
3838
3879
  # @return [String]
3839
3880
  attr_accessor :state
@@ -3846,15 +3887,122 @@ module Google
3846
3887
  def update!(**args)
3847
3888
  @customer_return_reason = args[:customer_return_reason] if args.key?(:customer_return_reason)
3848
3889
  @item_id = args[:item_id] if args.key?(:item_id)
3890
+ @merchant_rejection_reason = args[:merchant_rejection_reason] if args.key?(:merchant_rejection_reason)
3849
3891
  @merchant_return_reason = args[:merchant_return_reason] if args.key?(:merchant_return_reason)
3850
3892
  @product = args[:product] if args.key?(:product)
3893
+ @refundable_amount = args[:refundable_amount] if args.key?(:refundable_amount)
3894
+ @return_item_id = args[:return_item_id] if args.key?(:return_item_id)
3851
3895
  @return_shipment_ids = args[:return_shipment_ids] if args.key?(:return_shipment_ids)
3896
+ @shipment_group_id = args[:shipment_group_id] if args.key?(:shipment_group_id)
3897
+ @shipment_unit_id = args[:shipment_unit_id] if args.key?(:shipment_unit_id)
3852
3898
  @state = args[:state] if args.key?(:state)
3853
3899
  end
3854
3900
  end
3855
3901
 
3902
+ #
3903
+ class MerchantRejectionReason
3904
+ include Google::Apis::Core::Hashable
3905
+
3906
+ # Description of the reason.
3907
+ # Corresponds to the JSON property `description`
3908
+ # @return [String]
3909
+ attr_accessor :description
3910
+
3911
+ # Code of the rejection reason.
3912
+ # Corresponds to the JSON property `reasonCode`
3913
+ # @return [String]
3914
+ attr_accessor :reason_code
3915
+
3916
+ def initialize(**args)
3917
+ update!(**args)
3918
+ end
3919
+
3920
+ # Update properties of this object
3921
+ def update!(**args)
3922
+ @description = args[:description] if args.key?(:description)
3923
+ @reason_code = args[:reason_code] if args.key?(:reason_code)
3924
+ end
3925
+ end
3926
+
3927
+ #
3928
+ class MinimumOrderValueTable
3929
+ include Google::Apis::Core::Hashable
3930
+
3931
+ #
3932
+ # Corresponds to the JSON property `storeCodeSetWithMovs`
3933
+ # @return [Array<Google::Apis::ContentV2_1::MinimumOrderValueTableStoreCodeSetWithMov>]
3934
+ attr_accessor :store_code_set_with_movs
3935
+
3936
+ def initialize(**args)
3937
+ update!(**args)
3938
+ end
3939
+
3940
+ # Update properties of this object
3941
+ def update!(**args)
3942
+ @store_code_set_with_movs = args[:store_code_set_with_movs] if args.key?(:store_code_set_with_movs)
3943
+ end
3944
+ end
3945
+
3946
+ # A list of store code sets sharing the same minimum order value. At least two
3947
+ # sets are required and the last one must be empty, which signifies 'MOV for all
3948
+ # other stores'. Each store code can only appear once across all the sets. All
3949
+ # prices within a service must have the same currency.
3950
+ class MinimumOrderValueTableStoreCodeSetWithMov
3951
+ include Google::Apis::Core::Hashable
3952
+
3953
+ # A list of unique store codes or empty for the catch all.
3954
+ # Corresponds to the JSON property `storeCodes`
3955
+ # @return [Array<String>]
3956
+ attr_accessor :store_codes
3957
+
3958
+ # The minimum order value for the given stores.
3959
+ # Corresponds to the JSON property `value`
3960
+ # @return [Google::Apis::ContentV2_1::Price]
3961
+ attr_accessor :value
3962
+
3963
+ def initialize(**args)
3964
+ update!(**args)
3965
+ end
3966
+
3967
+ # Update properties of this object
3968
+ def update!(**args)
3969
+ @store_codes = args[:store_codes] if args.key?(:store_codes)
3970
+ @value = args[:value] if args.key?(:value)
3971
+ end
3972
+ end
3973
+
3974
+ #
3975
+ class MonetaryAmount
3976
+ include Google::Apis::Core::Hashable
3977
+
3978
+ # The pre-tax or post-tax price depends on the location of the order. - For
3979
+ # countries (e.g. US) where price attribute excludes tax, this field corresponds
3980
+ # to the pre-tax value. - For coutries (e.g. France) where price attribute
3981
+ # includes tax, this field corresponds to the post-tax value .
3982
+ # Corresponds to the JSON property `priceAmount`
3983
+ # @return [Google::Apis::ContentV2_1::Price]
3984
+ attr_accessor :price_amount
3985
+
3986
+ # Tax value, present only for countries where price attribute excludes tax (e.g.
3987
+ # US). No tax is referenced as 0 value with the corresponding `currency`.
3988
+ # Corresponds to the JSON property `taxAmount`
3989
+ # @return [Google::Apis::ContentV2_1::Price]
3990
+ attr_accessor :tax_amount
3991
+
3992
+ def initialize(**args)
3993
+ update!(**args)
3994
+ end
3995
+
3996
+ # Update properties of this object
3997
+ def update!(**args)
3998
+ @price_amount = args[:price_amount] if args.key?(:price_amount)
3999
+ @tax_amount = args[:tax_amount] if args.key?(:tax_amount)
4000
+ end
4001
+ end
4002
+
3856
4003
  # Order. Production access (all methods) requires the order manager role.
3857
- # Sandbox access does not.
4004
+ # Sandbox access does not. (== resource_for v2.orders ==) (== resource_for v2.1.
4005
+ # orders ==)
3858
4006
  class Order
3859
4007
  include Google::Apis::Core::Hashable
3860
4008
 
@@ -3874,7 +4022,7 @@ module Google
3874
4022
  # @return [Google::Apis::ContentV2_1::OrderCustomer]
3875
4023
  attr_accessor :customer
3876
4024
 
3877
- # Delivery details for shipments of type delivery.
4025
+ # Delivery details for shipments of type `delivery`.
3878
4026
  # Corresponds to the JSON property `deliveryDetails`
3879
4027
  # @return [Google::Apis::ContentV2_1::OrderDeliveryDetails]
3880
4028
  attr_accessor :delivery_details
@@ -3884,8 +4032,8 @@ module Google
3884
4032
  # @return [String]
3885
4033
  attr_accessor :id
3886
4034
 
3887
- # Identifies what kind of resource this is. Value: the fixed string "content#
3888
- # order".
4035
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
4036
+ # order`"
3889
4037
  # Corresponds to the JSON property `kind`
3890
4038
  # @return [String]
3891
4039
  attr_accessor :kind
@@ -3913,7 +4061,7 @@ module Google
3913
4061
  attr_accessor :net_price_amount
3914
4062
 
3915
4063
  # The net amount for the order (tax part). Note that in certain cases due to
3916
- # taxable base adjustment netTaxAmount might not match to a sum of tax field
4064
+ # taxable base adjustment `netTaxAmount` might not match to a sum of tax field
3917
4065
  # across all lineItems and refunds.
3918
4066
  # Corresponds to the JSON property `netTaxAmount`
3919
4067
  # @return [Google::Apis::ContentV2_1::Price]
@@ -3921,15 +4069,15 @@ module Google
3921
4069
 
3922
4070
  # The status of the payment.
3923
4071
  # Acceptable values are:
3924
- # - "paymentCaptured"
3925
- # - "paymentRejected"
3926
- # - "paymentSecured"
3927
- # - "pendingAuthorization"
4072
+ # - "`paymentCaptured`"
4073
+ # - "`paymentRejected`"
4074
+ # - "`paymentSecured`"
4075
+ # - "`pendingAuthorization`"
3928
4076
  # Corresponds to the JSON property `paymentStatus`
3929
4077
  # @return [String]
3930
4078
  attr_accessor :payment_status
3931
4079
 
3932
- # Pickup details for shipments of type pickup.
4080
+ # Pickup details for shipments of type `pickup`.
3933
4081
  # Corresponds to the JSON property `pickupDetails`
3934
4082
  # @return [Google::Apis::ContentV2_1::OrderPickupDetails]
3935
4083
  attr_accessor :pickup_details
@@ -3940,20 +4088,20 @@ module Google
3940
4088
  attr_accessor :placed_date
3941
4089
 
3942
4090
  # Promotions associated with the order.
3943
- # To determine which promotions apply to which products, check the Promotions[].
3944
- # appliedItems[].lineItemId field against the LineItems[].id field for each
4091
+ # To determine which promotions apply to which products, check the `Promotions[].
4092
+ # appliedItems[].lineItemId` field against the `LineItems[].id` field for each
3945
4093
  # promotion. If a promotion is applied to more than 1 offerId, divide the
3946
4094
  # discount value by the number of affected offers to determine how much discount
3947
4095
  # to apply to each offerId.
3948
4096
  # Examples:
3949
4097
  # - To calculate price paid by the customer for a single line item including the
3950
- # discount: For each promotion, subtract the LineItems[].adjustments[].
3951
- # priceAdjustment.value amount from the LineItems[].Price.value.
4098
+ # discount: For each promotion, subtract the `LineItems[].adjustments[].
4099
+ # priceAdjustment.value` amount from the `LineItems[].Price.value`.
3952
4100
  # - To calculate price paid by the customer for a single line item including the
3953
- # discount in case of multiple quantity: For each promotion, divide the
3954
- # LineItems[].adjustments[].priceAdjustment.value by the quantity of products
3955
- # then subtract the resulting value from the LineItems[].Product.Price.value for
3956
- # each quantity item.
4101
+ # discount in case of multiple quantity: For each promotion, divide the `
4102
+ # LineItems[].adjustments[].priceAdjustment.value` by the quantity of products
4103
+ # then subtract the resulting value from the `LineItems[].Product.Price.value`
4104
+ # for each quantity item.
3957
4105
  # Only 1 promotion can be applied to an offerId in a given order. To refund an
3958
4106
  # item which had a promotion applied to it, make sure to refund the amount after
3959
4107
  # first subtracting the promotion discount from the item price.
@@ -3984,23 +4132,23 @@ module Google
3984
4132
 
3985
4133
  # The status of the order.
3986
4134
  # Acceptable values are:
3987
- # - "canceled"
3988
- # - "delivered"
3989
- # - "inProgress"
3990
- # - "partiallyDelivered"
3991
- # - "partiallyReturned"
3992
- # - "partiallyShipped"
3993
- # - "pendingShipment"
3994
- # - "returned"
3995
- # - "shipped"
4135
+ # - "`canceled`"
4136
+ # - "`delivered`"
4137
+ # - "`inProgress`"
4138
+ # - "`partiallyDelivered`"
4139
+ # - "`partiallyReturned`"
4140
+ # - "`partiallyShipped`"
4141
+ # - "`pendingShipment`"
4142
+ # - "`returned`"
4143
+ # - "`shipped`"
3996
4144
  # Corresponds to the JSON property `status`
3997
4145
  # @return [String]
3998
4146
  attr_accessor :status
3999
4147
 
4000
4148
  # The party responsible for collecting and remitting taxes.
4001
4149
  # Acceptable values are:
4002
- # - "marketplaceFacilitator"
4003
- # - "merchant"
4150
+ # - "`marketplaceFacilitator`"
4151
+ # - "`merchant`"
4004
4152
  # Corresponds to the JSON property `taxCollector`
4005
4153
  # @return [String]
4006
4154
  attr_accessor :tax_collector
@@ -4110,12 +4258,12 @@ module Google
4110
4258
 
4111
4259
  # The actor that created the cancellation.
4112
4260
  # Acceptable values are:
4113
- # - "customer"
4114
- # - "googleBot"
4115
- # - "googleCustomerService"
4116
- # - "googlePayments"
4117
- # - "googleSabre"
4118
- # - "merchant"
4261
+ # - "`customer`"
4262
+ # - "`googleBot`"
4263
+ # - "`googleCustomerService`"
4264
+ # - "`googlePayments`"
4265
+ # - "`googleSabre`"
4266
+ # - "`merchant`"
4119
4267
  # Corresponds to the JSON property `actor`
4120
4268
  # @return [String]
4121
4269
  attr_accessor :actor
@@ -4134,34 +4282,34 @@ module Google
4134
4282
  # reason will lead to the removal of the product from Shopping Actions until you
4135
4283
  # make an update to that product. This will not affect your Shopping ads.
4136
4284
  # Acceptable values are:
4137
- # - "autoPostInternal"
4138
- # - "autoPostInvalidBillingAddress"
4139
- # - "autoPostNoInventory"
4140
- # - "autoPostPriceError"
4141
- # - "autoPostUndeliverableShippingAddress"
4142
- # - "couponAbuse"
4143
- # - "customerCanceled"
4144
- # - "customerInitiatedCancel"
4145
- # - "customerSupportRequested"
4146
- # - "failToPushOrderGoogleError"
4147
- # - "failToPushOrderMerchantError"
4148
- # - "failToPushOrderMerchantFulfillmentError"
4149
- # - "failToPushOrderToMerchant"
4150
- # - "failToPushOrderToMerchantOutOfStock"
4151
- # - "invalidCoupon"
4152
- # - "malformedShippingAddress"
4153
- # - "merchantDidNotShipOnTime"
4154
- # - "noInventory"
4155
- # - "orderTimeout"
4156
- # - "other"
4157
- # - "paymentAbuse"
4158
- # - "paymentDeclined"
4159
- # - "priceError"
4160
- # - "returnRefundAbuse"
4161
- # - "shippingPriceError"
4162
- # - "taxError"
4163
- # - "undeliverableShippingAddress"
4164
- # - "unsupportedPoBoxAddress"
4285
+ # - "`autoPostInternal`"
4286
+ # - "`autoPostInvalidBillingAddress`"
4287
+ # - "`autoPostNoInventory`"
4288
+ # - "`autoPostPriceError`"
4289
+ # - "`autoPostUndeliverableShippingAddress`"
4290
+ # - "`couponAbuse`"
4291
+ # - "`customerCanceled`"
4292
+ # - "`customerInitiatedCancel`"
4293
+ # - "`customerSupportRequested`"
4294
+ # - "`failToPushOrderGoogleError`"
4295
+ # - "`failToPushOrderMerchantError`"
4296
+ # - "`failToPushOrderMerchantFulfillmentError`"
4297
+ # - "`failToPushOrderToMerchant`"
4298
+ # - "`failToPushOrderToMerchantOutOfStock`"
4299
+ # - "`invalidCoupon`"
4300
+ # - "`malformedShippingAddress`"
4301
+ # - "`merchantDidNotShipOnTime`"
4302
+ # - "`noInventory`"
4303
+ # - "`orderTimeout`"
4304
+ # - "`other`"
4305
+ # - "`paymentAbuse`"
4306
+ # - "`paymentDeclined`"
4307
+ # - "`priceError`"
4308
+ # - "`returnRefundAbuse`"
4309
+ # - "`shippingPriceError`"
4310
+ # - "`taxError`"
4311
+ # - "`undeliverableShippingAddress`"
4312
+ # - "`unsupportedPoBoxAddress`"
4165
4313
  # Corresponds to the JSON property `reason`
4166
4314
  # @return [String]
4167
4315
  attr_accessor :reason
@@ -4195,8 +4343,9 @@ module Google
4195
4343
  attr_accessor :full_name
4196
4344
 
4197
4345
  # Email address for the merchant to send value-added tax or invoice
4198
- # documentation of the order. This documentation is made available to the
4199
- # customer.
4346
+ # documentation of the order. Only the last document sent is made available to
4347
+ # the customer. For more information, see About automated VAT invoicing for
4348
+ # Shopping Actions.
4200
4349
  # Corresponds to the JSON property `invoiceReceivingEmail`
4201
4350
  # @return [String]
4202
4351
  attr_accessor :invoice_receiving_email
@@ -4258,12 +4407,12 @@ module Google
4258
4407
 
4259
4408
  # Last known customer selection regarding marketing preferences. In certain
4260
4409
  # cases this selection might not be known, so this field would be empty. If a
4261
- # customer selected granted in their most recent order, they can be subscribed
4262
- # to marketing emails. Customers who have chosen denied must not be subscribed,
4410
+ # customer selected `granted` in their most recent order, they can be subscribed
4411
+ # to marketing emails. Customers who have chosen `denied` must not be subscribed,
4263
4412
  # or must be unsubscribed if already opted-in.
4264
4413
  # Acceptable values are:
4265
- # - "denied"
4266
- # - "granted"
4414
+ # - "`denied`"
4415
+ # - "`granted`"
4267
4416
  # Corresponds to the JSON property `explicitMarketingPreference`
4268
4417
  # @return [String]
4269
4418
  attr_accessor :explicit_marketing_preference
@@ -4275,8 +4424,8 @@ module Google
4275
4424
  attr_accessor :last_updated_timestamp
4276
4425
 
4277
4426
  # Email address that can be used for marketing purposes. The field may be empty
4278
- # even if explicitMarketingPreference is 'granted'. This happens when retrieving
4279
- # an old order from the customer who deleted their account.
4427
+ # even if `explicitMarketingPreference` is 'granted'. This happens when
4428
+ # retrieving an old order from the customer who deleted their account.
4280
4429
  # Corresponds to the JSON property `marketingEmailAddress`
4281
4430
  # @return [String]
4282
4431
  attr_accessor :marketing_email_address
@@ -4459,7 +4608,7 @@ module Google
4459
4608
 
4460
4609
  # Type of this adjustment.
4461
4610
  # Acceptable values are:
4462
- # - "promotion"
4611
+ # - "`promotion`"
4463
4612
  # Corresponds to the JSON property `type`
4464
4613
  # @return [String]
4465
4614
  attr_accessor :type
@@ -4487,9 +4636,9 @@ module Google
4487
4636
 
4488
4637
  # Condition or state of the item.
4489
4638
  # Acceptable values are:
4490
- # - "new"
4491
- # - "refurbished"
4492
- # - "used"
4639
+ # - "`new`"
4640
+ # - "`refurbished`"
4641
+ # - "`used`"
4493
4642
  # Corresponds to the JSON property `condition`
4494
4643
  # @return [String]
4495
4644
  attr_accessor :condition
@@ -4686,11 +4835,11 @@ module Google
4686
4835
  # @return [String]
4687
4836
  attr_accessor :ship_by_date
4688
4837
 
4689
- # Type of shipment. Indicates whether deliveryDetails or pickupDetails is
4838
+ # Type of shipment. Indicates whether `deliveryDetails` or `pickupDetails` is
4690
4839
  # applicable for this shipment.
4691
4840
  # Acceptable values are:
4692
- # - "delivery"
4693
- # - "pickup"
4841
+ # - "`delivery`"
4842
+ # - "`pickup`"
4694
4843
  # Corresponds to the JSON property `type`
4695
4844
  # @return [String]
4696
4845
  attr_accessor :type
@@ -4712,8 +4861,8 @@ module Google
4712
4861
  class OrderLineItemShippingDetailsMethod
4713
4862
  include Google::Apis::Core::Hashable
4714
4863
 
4715
- # The carrier for the shipping. Optional. See shipments[].carrier for a list of
4716
- # acceptable values.
4864
+ # The carrier for the shipping. Optional. See `shipments[].carrier` for a list
4865
+ # of acceptable values.
4717
4866
  # Corresponds to the JSON property `carrier`
4718
4867
  # @return [String]
4719
4868
  attr_accessor :carrier
@@ -4777,8 +4926,8 @@ module Google
4777
4926
  class OrderPickupDetails
4778
4927
  include Google::Apis::Core::Hashable
4779
4928
 
4780
- # Address of the pickup location where the shipment should be sent. Note that
4781
- # recipientName in the address is the name of the business at the pickup
4929
+ # Address of the pickup location where the shipment should be sent. Note that `
4930
+ # recipientName` in the address is the name of the business at the pickup
4782
4931
  # location.
4783
4932
  # Corresponds to the JSON property `address`
4784
4933
  # @return [Google::Apis::ContentV2_1::OrderAddress]
@@ -4841,8 +4990,8 @@ module Google
4841
4990
  # @return [Array<Google::Apis::ContentV2_1::OrderPromotionItem>]
4842
4991
  attr_accessor :applicable_items
4843
4992
 
4844
- # Items which this promotion have been applied to. Do not provide for orders.
4845
- # createtestorder.
4993
+ # Items which this promotion have been applied to. Do not provide for `orders.
4994
+ # createtestorder`.
4846
4995
  # Corresponds to the JSON property `appliedItems`
4847
4996
  # @return [Array<Google::Apis::ContentV2_1::OrderPromotionItem>]
4848
4997
  attr_accessor :applied_items
@@ -4853,11 +5002,11 @@ module Google
4853
5002
  # @return [String]
4854
5003
  attr_accessor :end_time
4855
5004
 
4856
- # Required. The party funding the promotion. Only merchant is supported for
4857
- # orders.createtestorder.
5005
+ # Required. The party funding the promotion. Only `merchant` is supported for `
5006
+ # orders.createtestorder`.
4858
5007
  # Acceptable values are:
4859
- # - "google"
4860
- # - "merchant"
5008
+ # - "`google`"
5009
+ # - "`merchant`"
4861
5010
  # Corresponds to the JSON property `funder`
4862
5011
  # @return [String]
4863
5012
  attr_accessor :funder
@@ -4875,7 +5024,7 @@ module Google
4875
5024
  attr_accessor :price_value
4876
5025
 
4877
5026
  # A short title of the promotion to be shown on the checkout page. Do not
4878
- # provide for orders.createtestorder.
5027
+ # provide for `orders.createtestorder`.
4879
5028
  # Corresponds to the JSON property `shortTitle`
4880
5029
  # @return [String]
4881
5030
  attr_accessor :short_title
@@ -4886,29 +5035,29 @@ module Google
4886
5035
  # @return [String]
4887
5036
  attr_accessor :start_time
4888
5037
 
4889
- # Required. The category of the promotion. Only moneyOff is supported for orders.
4890
- # createtestorder.
5038
+ # Required. The category of the promotion. Only `moneyOff` is supported for `
5039
+ # orders.createtestorder`.
4891
5040
  # Acceptable values are:
4892
- # - "buyMGetMoneyOff"
4893
- # - "buyMGetNMoneyOff"
4894
- # - "buyMGetNPercentOff"
4895
- # - "buyMGetPercentOff"
4896
- # - "freeGift"
4897
- # - "freeGiftWithItemId"
4898
- # - "freeGiftWithValue"
4899
- # - "freeShippingOvernight"
4900
- # - "freeShippingStandard"
4901
- # - "freeShippingTwoDay"
4902
- # - "moneyOff"
4903
- # - "percentOff"
4904
- # - "rewardPoints"
4905
- # - "salePrice"
5041
+ # - "`buyMGetMoneyOff`"
5042
+ # - "`buyMGetNMoneyOff`"
5043
+ # - "`buyMGetNPercentOff`"
5044
+ # - "`buyMGetPercentOff`"
5045
+ # - "`freeGift`"
5046
+ # - "`freeGiftWithItemId`"
5047
+ # - "`freeGiftWithValue`"
5048
+ # - "`freeShippingOvernight`"
5049
+ # - "`freeShippingStandard`"
5050
+ # - "`freeShippingTwoDay`"
5051
+ # - "`moneyOff`"
5052
+ # - "`percentOff`"
5053
+ # - "`rewardPoints`"
5054
+ # - "`salePrice`"
4906
5055
  # Corresponds to the JSON property `subtype`
4907
5056
  # @return [String]
4908
5057
  attr_accessor :subtype
4909
5058
 
4910
- # Estimated discount applied to tax (if allowed by law). Do not provide for
4911
- # orders.createtestorder.
5059
+ # Estimated discount applied to tax (if allowed by law). Do not provide for `
5060
+ # orders.createtestorder`.
4912
5061
  # Corresponds to the JSON property `taxValue`
4913
5062
  # @return [Google::Apis::ContentV2_1::Price]
4914
5063
  attr_accessor :tax_value
@@ -4918,11 +5067,11 @@ module Google
4918
5067
  # @return [String]
4919
5068
  attr_accessor :title
4920
5069
 
4921
- # Required. The scope of the promotion. Only product is supported for orders.
4922
- # createtestorder.
5070
+ # Required. The scope of the promotion. Only `product` is supported for `orders.
5071
+ # createtestorder`.
4923
5072
  # Acceptable values are:
4924
- # - "product"
4925
- # - "shipping"
5073
+ # - "`product`"
5074
+ # - "`shipping`"
4926
5075
  # Corresponds to the JSON property `type`
4927
5076
  # @return [String]
4928
5077
  attr_accessor :type
@@ -4952,23 +5101,23 @@ module Google
4952
5101
  class OrderPromotionItem
4953
5102
  include Google::Apis::Core::Hashable
4954
5103
 
4955
- # The line item ID of a product. Do not provide for orders.createtestorder.
5104
+ # The line item ID of a product. Do not provide for `orders.createtestorder`.
4956
5105
  # Corresponds to the JSON property `lineItemId`
4957
5106
  # @return [String]
4958
5107
  attr_accessor :line_item_id
4959
5108
 
4960
- # Required. Offer ID of a product. Only for orders.createtestorder.
5109
+ # Required. Offer ID of a product. Only for `orders.createtestorder`.
4961
5110
  # Corresponds to the JSON property `offerId`
4962
5111
  # @return [String]
4963
5112
  attr_accessor :offer_id
4964
5113
 
4965
- # orders.createtestorder.
5114
+ # `orders.createtestorder`.
4966
5115
  # Corresponds to the JSON property `productId`
4967
5116
  # @return [String]
4968
5117
  attr_accessor :product_id
4969
5118
 
4970
- # The quantity of the associated product. Do not provide for orders.
4971
- # createtestorder.
5119
+ # The quantity of the associated product. Do not provide for `orders.
5120
+ # createtestorder`.
4972
5121
  # Corresponds to the JSON property `quantity`
4973
5122
  # @return [Fixnum]
4974
5123
  attr_accessor :quantity
@@ -4992,12 +5141,12 @@ module Google
4992
5141
 
4993
5142
  # The actor that created the refund.
4994
5143
  # Acceptable values are:
4995
- # - "customer"
4996
- # - "googleBot"
4997
- # - "googleCustomerService"
4998
- # - "googlePayments"
4999
- # - "googleSabre"
5000
- # - "merchant"
5144
+ # - "`customer`"
5145
+ # - "`googleBot`"
5146
+ # - "`googleCustomerService`"
5147
+ # - "`googlePayments`"
5148
+ # - "`googleSabre`"
5149
+ # - "`merchant`"
5001
5150
  # Corresponds to the JSON property `actor`
5002
5151
  # @return [String]
5003
5152
  attr_accessor :actor
@@ -5014,50 +5163,50 @@ module Google
5014
5163
 
5015
5164
  # The reason for the refund.
5016
5165
  # Acceptable values are:
5017
- # - "adjustment"
5018
- # - "autoPostInternal"
5019
- # - "autoPostInvalidBillingAddress"
5020
- # - "autoPostNoInventory"
5021
- # - "autoPostPriceError"
5022
- # - "autoPostUndeliverableShippingAddress"
5023
- # - "couponAbuse"
5024
- # - "courtesyAdjustment"
5025
- # - "customerCanceled"
5026
- # - "customerDiscretionaryReturn"
5027
- # - "customerInitiatedMerchantCancel"
5028
- # - "customerSupportRequested"
5029
- # - "deliveredLateByCarrier"
5030
- # - "deliveredTooLate"
5031
- # - "expiredItem"
5032
- # - "failToPushOrderGoogleError"
5033
- # - "failToPushOrderMerchantError"
5034
- # - "failToPushOrderMerchantFulfillmentError"
5035
- # - "failToPushOrderToMerchant"
5036
- # - "failToPushOrderToMerchantOutOfStock"
5037
- # - "feeAdjustment"
5038
- # - "invalidCoupon"
5039
- # - "lateShipmentCredit"
5040
- # - "malformedShippingAddress"
5041
- # - "merchantDidNotShipOnTime"
5042
- # - "noInventory"
5043
- # - "orderTimeout"
5044
- # - "other"
5045
- # - "paymentAbuse"
5046
- # - "paymentDeclined"
5047
- # - "priceAdjustment"
5048
- # - "priceError"
5049
- # - "productArrivedDamaged"
5050
- # - "productNotAsDescribed"
5051
- # - "promoReallocation"
5052
- # - "qualityNotAsExpected"
5053
- # - "returnRefundAbuse"
5054
- # - "shippingCostAdjustment"
5055
- # - "shippingPriceError"
5056
- # - "taxAdjustment"
5057
- # - "taxError"
5058
- # - "undeliverableShippingAddress"
5059
- # - "unsupportedPoBoxAddress"
5060
- # - "wrongProductShipped"
5166
+ # - "`adjustment`"
5167
+ # - "`autoPostInternal`"
5168
+ # - "`autoPostInvalidBillingAddress`"
5169
+ # - "`autoPostNoInventory`"
5170
+ # - "`autoPostPriceError`"
5171
+ # - "`autoPostUndeliverableShippingAddress`"
5172
+ # - "`couponAbuse`"
5173
+ # - "`courtesyAdjustment`"
5174
+ # - "`customerCanceled`"
5175
+ # - "`customerDiscretionaryReturn`"
5176
+ # - "`customerInitiatedMerchantCancel`"
5177
+ # - "`customerSupportRequested`"
5178
+ # - "`deliveredLateByCarrier`"
5179
+ # - "`deliveredTooLate`"
5180
+ # - "`expiredItem`"
5181
+ # - "`failToPushOrderGoogleError`"
5182
+ # - "`failToPushOrderMerchantError`"
5183
+ # - "`failToPushOrderMerchantFulfillmentError`"
5184
+ # - "`failToPushOrderToMerchant`"
5185
+ # - "`failToPushOrderToMerchantOutOfStock`"
5186
+ # - "`feeAdjustment`"
5187
+ # - "`invalidCoupon`"
5188
+ # - "`lateShipmentCredit`"
5189
+ # - "`malformedShippingAddress`"
5190
+ # - "`merchantDidNotShipOnTime`"
5191
+ # - "`noInventory`"
5192
+ # - "`orderTimeout`"
5193
+ # - "`other`"
5194
+ # - "`paymentAbuse`"
5195
+ # - "`paymentDeclined`"
5196
+ # - "`priceAdjustment`"
5197
+ # - "`priceError`"
5198
+ # - "`productArrivedDamaged`"
5199
+ # - "`productNotAsDescribed`"
5200
+ # - "`promoReallocation`"
5201
+ # - "`qualityNotAsExpected`"
5202
+ # - "`returnRefundAbuse`"
5203
+ # - "`shippingCostAdjustment`"
5204
+ # - "`shippingPriceError`"
5205
+ # - "`taxAdjustment`"
5206
+ # - "`taxError`"
5207
+ # - "`undeliverableShippingAddress`"
5208
+ # - "`unsupportedPoBoxAddress`"
5209
+ # - "`wrongProductShipped`"
5061
5210
  # Corresponds to the JSON property `reason`
5062
5211
  # @return [String]
5063
5212
  attr_accessor :reason
@@ -5081,7 +5230,8 @@ module Google
5081
5230
  end
5082
5231
  end
5083
5232
 
5084
- # Order disbursement. All methods require the payment analyst role.
5233
+ # Order disbursement. All methods require the payment analyst role. (==
5234
+ # resource_for v2.orderreports ==) (== resource_for v2.1.orderreports ==)
5085
5235
  class OrderReportDisbursement
5086
5236
  include Google::Apis::Core::Hashable
5087
5237
 
@@ -5197,12 +5347,12 @@ module Google
5197
5347
 
5198
5348
  # The actor that created the refund.
5199
5349
  # Acceptable values are:
5200
- # - "customer"
5201
- # - "googleBot"
5202
- # - "googleCustomerService"
5203
- # - "googlePayments"
5204
- # - "googleSabre"
5205
- # - "merchant"
5350
+ # - "`customer`"
5351
+ # - "`googleBot`"
5352
+ # - "`googleCustomerService`"
5353
+ # - "`googlePayments`"
5354
+ # - "`googleSabre`"
5355
+ # - "`merchant`"
5206
5356
  # Corresponds to the JSON property `actor`
5207
5357
  # @return [String]
5208
5358
  attr_accessor :actor
@@ -5219,19 +5369,19 @@ module Google
5219
5369
 
5220
5370
  # The reason for the return.
5221
5371
  # Acceptable values are:
5222
- # - "customerDiscretionaryReturn"
5223
- # - "customerInitiatedMerchantCancel"
5224
- # - "deliveredTooLate"
5225
- # - "expiredItem"
5226
- # - "invalidCoupon"
5227
- # - "malformedShippingAddress"
5228
- # - "other"
5229
- # - "productArrivedDamaged"
5230
- # - "productNotAsDescribed"
5231
- # - "qualityNotAsExpected"
5232
- # - "undeliverableShippingAddress"
5233
- # - "unsupportedPoBoxAddress"
5234
- # - "wrongProductShipped"
5372
+ # - "`customerDiscretionaryReturn`"
5373
+ # - "`customerInitiatedMerchantCancel`"
5374
+ # - "`deliveredTooLate`"
5375
+ # - "`expiredItem`"
5376
+ # - "`invalidCoupon`"
5377
+ # - "`malformedShippingAddress`"
5378
+ # - "`other`"
5379
+ # - "`productArrivedDamaged`"
5380
+ # - "`productNotAsDescribed`"
5381
+ # - "`qualityNotAsExpected`"
5382
+ # - "`undeliverableShippingAddress`"
5383
+ # - "`unsupportedPoBoxAddress`"
5384
+ # - "`wrongProductShipped`"
5235
5385
  # Corresponds to the JSON property `reason`
5236
5386
  # @return [String]
5237
5387
  attr_accessor :reason
@@ -5267,42 +5417,42 @@ module Google
5267
5417
  # carrier name or tracking URL, and there will be no automatic order status
5268
5418
  # updates.
5269
5419
  # Supported carriers for US are:
5270
- # - "ups" (United Parcel Service) automatic status updates
5271
- # - "usps" (United States Postal Service) automatic status updates
5272
- # - "fedex" (FedEx) automatic status updates
5273
- # - "dhl" (DHL eCommerce) automatic status updates (US only)
5274
- # - "ontrac" (OnTrac) automatic status updates
5275
- # - "dhl express" (DHL Express)
5276
- # - "deliv" (Deliv)
5277
- # - "dynamex" (TForce)
5278
- # - "lasership" (LaserShip)
5279
- # - "mpx" (Military Parcel Xpress)
5280
- # - "uds" (United Delivery Service)
5281
- # - "efw" (Estes Forwarding Worldwide)
5282
- # - "jd logistics" (JD Logistics)
5283
- # - "yunexpress" (YunExpress)
5284
- # - "china post" (China Post)
5285
- # - "china ems" (China Post Express Mail Service)
5286
- # - "singapore post" (Singapore Post)
5287
- # - "pos malaysia" (Pos Malaysia)
5288
- # - "postnl" (PostNL)
5289
- # - "ptt" (PTT Turkish Post)
5290
- # - "eub" (ePacket)
5291
- # - "chukou1" (Chukou1 Logistics)
5420
+ # - "`ups`" (United Parcel Service) automatic status updates
5421
+ # - "`usps`" (United States Postal Service) automatic status updates
5422
+ # - "`fedex`" (FedEx) automatic status updates
5423
+ # - "`dhl`" (DHL eCommerce) automatic status updates (US only)
5424
+ # - "`ontrac`" (OnTrac) automatic status updates
5425
+ # - "`dhl express`" (DHL Express)
5426
+ # - "`deliv`" (Deliv)
5427
+ # - "`dynamex`" (TForce)
5428
+ # - "`lasership`" (LaserShip)
5429
+ # - "`mpx`" (Military Parcel Xpress)
5430
+ # - "`uds`" (United Delivery Service)
5431
+ # - "`efw`" (Estes Forwarding Worldwide)
5432
+ # - "`jd logistics`" (JD Logistics)
5433
+ # - "`yunexpress`" (YunExpress)
5434
+ # - "`china post`" (China Post)
5435
+ # - "`china ems`" (China Post Express Mail Service)
5436
+ # - "`singapore post`" (Singapore Post)
5437
+ # - "`pos malaysia`" (Pos Malaysia)
5438
+ # - "`postnl`" (PostNL)
5439
+ # - "`ptt`" (PTT Turkish Post)
5440
+ # - "`eub`" (ePacket)
5441
+ # - "`chukou1`" (Chukou1 Logistics)
5292
5442
  # Supported carriers for FR are:
5293
- # - "la poste" (La Poste) automatic status updates
5294
- # - "colissimo" (Colissimo by La Poste) automatic status updates
5295
- # - "ups" (United Parcel Service) automatic status updates
5296
- # - "chronopost" (Chronopost by La Poste)
5297
- # - "gls" (General Logistics Systems France)
5298
- # - "dpd" (DPD Group by GeoPost)
5299
- # - "bpost" (Belgian Post Group)
5300
- # - "colis prive" (Colis Privé)
5301
- # - "boxtal" (Boxtal)
5302
- # - "geodis" (GEODIS)
5303
- # - "tnt" (TNT)
5304
- # - "db schenker" (DB Schenker)
5305
- # - "aramex" (Aramex)
5443
+ # - "`la poste`" (La Poste) automatic status updates
5444
+ # - "`colissimo`" (Colissimo by La Poste) automatic status updates
5445
+ # - "`ups`" (United Parcel Service) automatic status updates
5446
+ # - "`chronopost`" (Chronopost by La Poste)
5447
+ # - "`gls`" (General Logistics Systems France)
5448
+ # - "`dpd`" (DPD Group by GeoPost)
5449
+ # - "`bpost`" (Belgian Post Group)
5450
+ # - "`colis prive`" (Colis Privé)
5451
+ # - "`boxtal`" (Boxtal)
5452
+ # - "`geodis`" (GEODIS)
5453
+ # - "`tnt`" (TNT)
5454
+ # - "`db schenker`" (DB Schenker)
5455
+ # - "`aramex`" (Aramex)
5306
5456
  # Corresponds to the JSON property `carrier`
5307
5457
  # @return [String]
5308
5458
  attr_accessor :carrier
@@ -5313,7 +5463,7 @@ module Google
5313
5463
  attr_accessor :creation_date
5314
5464
 
5315
5465
  # Date on which the shipment has been delivered, in ISO 8601 format. Present
5316
- # only if status is delivered
5466
+ # only if `status` is `delivered`
5317
5467
  # Corresponds to the JSON property `deliveryDate`
5318
5468
  # @return [String]
5319
5469
  attr_accessor :delivery_date
@@ -5335,10 +5485,10 @@ module Google
5335
5485
 
5336
5486
  # The status of the shipment.
5337
5487
  # Acceptable values are:
5338
- # - "delivered"
5339
- # - "readyForPickup"
5340
- # - "shipped"
5341
- # - "undeliverable"
5488
+ # - "`delivered`"
5489
+ # - "`readyForPickup`"
5490
+ # - "`shipped`"
5491
+ # - "`undeliverable`"
5342
5492
  # Corresponds to the JSON property `status`
5343
5493
  # @return [String]
5344
5494
  attr_accessor :status
@@ -5423,8 +5573,8 @@ module Google
5423
5573
  # @return [String]
5424
5574
  attr_accessor :operation_id
5425
5575
 
5426
- # [required] ID of the shipment group. It is assigned by the merchant in the
5427
- # shipLineItems method and is used to group multiple line items that have the
5576
+ # [required] ID of the shipment group. It is assigned by the merchant in the `
5577
+ # shipLineItems` method and is used to group multiple line items that have the
5428
5578
  # same kind of shipping charges.
5429
5579
  # Corresponds to the JSON property `shipmentGroupId`
5430
5580
  # @return [String]
@@ -5450,8 +5600,8 @@ module Google
5450
5600
 
5451
5601
  # The status of the execution.
5452
5602
  # Acceptable values are:
5453
- # - "duplicate"
5454
- # - "executed"
5603
+ # - "`duplicate`"
5604
+ # - "`executed`"
5455
5605
  # Corresponds to the JSON property `executionStatus`
5456
5606
  # @return [String]
5457
5607
  attr_accessor :execution_status
@@ -5488,14 +5638,15 @@ module Google
5488
5638
  # @return [String]
5489
5639
  attr_accessor :operation_id
5490
5640
 
5491
- # Option to create a refund-only invoice. Exactly one of refundOnlyOption or
5492
- # returnOption must be provided.
5641
+ # Option to create a refund-only invoice. Exactly one of `refundOnlyOption` or `
5642
+ # returnOption` must be provided.
5493
5643
  # Corresponds to the JSON property `refundOnlyOption`
5494
5644
  # @return [Google::Apis::ContentV2_1::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption]
5495
5645
  attr_accessor :refund_only_option
5496
5646
 
5497
5647
  # Option to create an invoice for a refund and mark all items within the invoice
5498
- # as returned. Exactly one of refundOnlyOption or returnOption must be provided.
5648
+ # as returned. Exactly one of `refundOnlyOption` or `returnOption` must be
5649
+ # provided.
5499
5650
  # Corresponds to the JSON property `returnOption`
5500
5651
  # @return [Google::Apis::ContentV2_1::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption]
5501
5652
  attr_accessor :return_option
@@ -5525,8 +5676,8 @@ module Google
5525
5676
 
5526
5677
  # The status of the execution.
5527
5678
  # Acceptable values are:
5528
- # - "duplicate"
5529
- # - "executed"
5679
+ # - "`duplicate`"
5680
+ # - "`executed`"
5530
5681
  # Corresponds to the JSON property `executionStatus`
5531
5682
  # @return [String]
5532
5683
  attr_accessor :execution_status
@@ -5559,50 +5710,50 @@ module Google
5559
5710
 
5560
5711
  # [required] Reason for the refund.
5561
5712
  # Acceptable values are:
5562
- # - "adjustment"
5563
- # - "autoPostInternal"
5564
- # - "autoPostInvalidBillingAddress"
5565
- # - "autoPostNoInventory"
5566
- # - "autoPostPriceError"
5567
- # - "autoPostUndeliverableShippingAddress"
5568
- # - "couponAbuse"
5569
- # - "courtesyAdjustment"
5570
- # - "customerCanceled"
5571
- # - "customerDiscretionaryReturn"
5572
- # - "customerInitiatedMerchantCancel"
5573
- # - "customerSupportRequested"
5574
- # - "deliveredLateByCarrier"
5575
- # - "deliveredTooLate"
5576
- # - "expiredItem"
5577
- # - "failToPushOrderGoogleError"
5578
- # - "failToPushOrderMerchantError"
5579
- # - "failToPushOrderMerchantFulfillmentError"
5580
- # - "failToPushOrderToMerchant"
5581
- # - "failToPushOrderToMerchantOutOfStock"
5582
- # - "feeAdjustment"
5583
- # - "invalidCoupon"
5584
- # - "lateShipmentCredit"
5585
- # - "malformedShippingAddress"
5586
- # - "merchantDidNotShipOnTime"
5587
- # - "noInventory"
5588
- # - "orderTimeout"
5589
- # - "other"
5590
- # - "paymentAbuse"
5591
- # - "paymentDeclined"
5592
- # - "priceAdjustment"
5593
- # - "priceError"
5594
- # - "productArrivedDamaged"
5595
- # - "productNotAsDescribed"
5596
- # - "promoReallocation"
5597
- # - "qualityNotAsExpected"
5598
- # - "returnRefundAbuse"
5599
- # - "shippingCostAdjustment"
5600
- # - "shippingPriceError"
5601
- # - "taxAdjustment"
5602
- # - "taxError"
5603
- # - "undeliverableShippingAddress"
5604
- # - "unsupportedPoBoxAddress"
5605
- # - "wrongProductShipped"
5713
+ # - "`adjustment`"
5714
+ # - "`autoPostInternal`"
5715
+ # - "`autoPostInvalidBillingAddress`"
5716
+ # - "`autoPostNoInventory`"
5717
+ # - "`autoPostPriceError`"
5718
+ # - "`autoPostUndeliverableShippingAddress`"
5719
+ # - "`couponAbuse`"
5720
+ # - "`courtesyAdjustment`"
5721
+ # - "`customerCanceled`"
5722
+ # - "`customerDiscretionaryReturn`"
5723
+ # - "`customerInitiatedMerchantCancel`"
5724
+ # - "`customerSupportRequested`"
5725
+ # - "`deliveredLateByCarrier`"
5726
+ # - "`deliveredTooLate`"
5727
+ # - "`expiredItem`"
5728
+ # - "`failToPushOrderGoogleError`"
5729
+ # - "`failToPushOrderMerchantError`"
5730
+ # - "`failToPushOrderMerchantFulfillmentError`"
5731
+ # - "`failToPushOrderToMerchant`"
5732
+ # - "`failToPushOrderToMerchantOutOfStock`"
5733
+ # - "`feeAdjustment`"
5734
+ # - "`invalidCoupon`"
5735
+ # - "`lateShipmentCredit`"
5736
+ # - "`malformedShippingAddress`"
5737
+ # - "`merchantDidNotShipOnTime`"
5738
+ # - "`noInventory`"
5739
+ # - "`orderTimeout`"
5740
+ # - "`other`"
5741
+ # - "`paymentAbuse`"
5742
+ # - "`paymentDeclined`"
5743
+ # - "`priceAdjustment`"
5744
+ # - "`priceError`"
5745
+ # - "`productArrivedDamaged`"
5746
+ # - "`productNotAsDescribed`"
5747
+ # - "`promoReallocation`"
5748
+ # - "`qualityNotAsExpected`"
5749
+ # - "`returnRefundAbuse`"
5750
+ # - "`shippingCostAdjustment`"
5751
+ # - "`shippingPriceError`"
5752
+ # - "`taxAdjustment`"
5753
+ # - "`taxError`"
5754
+ # - "`undeliverableShippingAddress`"
5755
+ # - "`unsupportedPoBoxAddress`"
5756
+ # - "`wrongProductShipped`"
5606
5757
  # Corresponds to the JSON property `reason`
5607
5758
  # @return [String]
5608
5759
  attr_accessor :reason
@@ -5629,19 +5780,19 @@ module Google
5629
5780
 
5630
5781
  # [required] Reason for the return.
5631
5782
  # Acceptable values are:
5632
- # - "customerDiscretionaryReturn"
5633
- # - "customerInitiatedMerchantCancel"
5634
- # - "deliveredTooLate"
5635
- # - "expiredItem"
5636
- # - "invalidCoupon"
5637
- # - "malformedShippingAddress"
5638
- # - "other"
5639
- # - "productArrivedDamaged"
5640
- # - "productNotAsDescribed"
5641
- # - "qualityNotAsExpected"
5642
- # - "undeliverableShippingAddress"
5643
- # - "unsupportedPoBoxAddress"
5644
- # - "wrongProductShipped"
5783
+ # - "`customerDiscretionaryReturn`"
5784
+ # - "`customerInitiatedMerchantCancel`"
5785
+ # - "`deliveredTooLate`"
5786
+ # - "`expiredItem`"
5787
+ # - "`invalidCoupon`"
5788
+ # - "`malformedShippingAddress`"
5789
+ # - "`other`"
5790
+ # - "`productArrivedDamaged`"
5791
+ # - "`productNotAsDescribed`"
5792
+ # - "`qualityNotAsExpected`"
5793
+ # - "`undeliverableShippingAddress`"
5794
+ # - "`unsupportedPoBoxAddress`"
5795
+ # - "`wrongProductShipped`"
5645
5796
  # Corresponds to the JSON property `reason`
5646
5797
  # @return [String]
5647
5798
  attr_accessor :reason
@@ -5722,42 +5873,11 @@ module Google
5722
5873
  end
5723
5874
 
5724
5875
  #
5725
- class OrderreturnsListResponse
5726
- include Google::Apis::Core::Hashable
5727
-
5728
- # Identifies what kind of resource this is. Value: the fixed string "content#
5729
- # orderreturnsListResponse".
5730
- # Corresponds to the JSON property `kind`
5731
- # @return [String]
5732
- attr_accessor :kind
5733
-
5734
- # The token for the retrieval of the next page of returns.
5735
- # Corresponds to the JSON property `nextPageToken`
5736
- # @return [String]
5737
- attr_accessor :next_page_token
5738
-
5739
- #
5740
- # Corresponds to the JSON property `resources`
5741
- # @return [Array<Google::Apis::ContentV2_1::MerchantOrderReturn>]
5742
- attr_accessor :resources
5743
-
5744
- def initialize(**args)
5745
- update!(**args)
5746
- end
5747
-
5748
- # Update properties of this object
5749
- def update!(**args)
5750
- @kind = args[:kind] if args.key?(:kind)
5751
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5752
- @resources = args[:resources] if args.key?(:resources)
5753
- end
5754
- end
5755
-
5756
- #
5757
- class OrdersAcknowledgeRequest
5876
+ class OrderreturnsAcknowledgeRequest
5758
5877
  include Google::Apis::Core::Hashable
5759
5878
 
5760
- # The ID of the operation. Unique across all operations for a given order.
5879
+ # [required] The ID of the operation, unique across all operations for a given
5880
+ # order return.
5761
5881
  # Corresponds to the JSON property `operationId`
5762
5882
  # @return [String]
5763
5883
  attr_accessor :operation_id
@@ -5773,19 +5893,19 @@ module Google
5773
5893
  end
5774
5894
 
5775
5895
  #
5776
- class OrdersAcknowledgeResponse
5896
+ class OrderreturnsAcknowledgeResponse
5777
5897
  include Google::Apis::Core::Hashable
5778
5898
 
5779
5899
  # The status of the execution.
5780
5900
  # Acceptable values are:
5781
- # - "duplicate"
5782
- # - "executed"
5901
+ # - "`duplicate`"
5902
+ # - "`executed`"
5783
5903
  # Corresponds to the JSON property `executionStatus`
5784
5904
  # @return [String]
5785
5905
  attr_accessor :execution_status
5786
5906
 
5787
5907
  # Identifies what kind of resource this is. Value: the fixed string "content#
5788
- # ordersAcknowledgeResponse".
5908
+ # orderreturnsAcknowledgeResponse".
5789
5909
  # Corresponds to the JSON property `kind`
5790
5910
  # @return [String]
5791
5911
  attr_accessor :kind
@@ -5802,15 +5922,25 @@ module Google
5802
5922
  end
5803
5923
 
5804
5924
  #
5805
- class OrdersAdvanceTestOrderResponse
5925
+ class OrderreturnsListResponse
5806
5926
  include Google::Apis::Core::Hashable
5807
5927
 
5808
5928
  # Identifies what kind of resource this is. Value: the fixed string "content#
5809
- # ordersAdvanceTestOrderResponse".
5929
+ # orderreturnsListResponse".
5810
5930
  # Corresponds to the JSON property `kind`
5811
5931
  # @return [String]
5812
5932
  attr_accessor :kind
5813
5933
 
5934
+ # The token for the retrieval of the next page of returns.
5935
+ # Corresponds to the JSON property `nextPageToken`
5936
+ # @return [String]
5937
+ attr_accessor :next_page_token
5938
+
5939
+ #
5940
+ # Corresponds to the JSON property `resources`
5941
+ # @return [Array<Google::Apis::ContentV2_1::MerchantOrderReturn>]
5942
+ attr_accessor :resources
5943
+
5814
5944
  def initialize(**args)
5815
5945
  update!(**args)
5816
5946
  end
@@ -5818,54 +5948,63 @@ module Google
5818
5948
  # Update properties of this object
5819
5949
  def update!(**args)
5820
5950
  @kind = args[:kind] if args.key?(:kind)
5951
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5952
+ @resources = args[:resources] if args.key?(:resources)
5821
5953
  end
5822
5954
  end
5823
5955
 
5824
5956
  #
5825
- class OrdersCancelLineItemRequest
5957
+ class OrderreturnsPartialRefund
5826
5958
  include Google::Apis::Core::Hashable
5827
5959
 
5828
- # The ID of the line item to cancel. Either lineItemId or productId is required.
5829
- # Corresponds to the JSON property `lineItemId`
5830
- # @return [String]
5831
- attr_accessor :line_item_id
5960
+ # The pre-tax or post-tax amount to be refunded, depending on the location of
5961
+ # the order.
5962
+ # Corresponds to the JSON property `priceAmount`
5963
+ # @return [Google::Apis::ContentV2_1::Price]
5964
+ attr_accessor :price_amount
5832
5965
 
5833
- # The ID of the operation. Unique across all operations for a given order.
5834
- # Corresponds to the JSON property `operationId`
5835
- # @return [String]
5836
- attr_accessor :operation_id
5966
+ # Tax amount to be refunded. Note: This has different meaning depending on the
5967
+ # location of the order.
5968
+ # Corresponds to the JSON property `taxAmount`
5969
+ # @return [Google::Apis::ContentV2_1::Price]
5970
+ attr_accessor :tax_amount
5837
5971
 
5838
- # The ID of the product to cancel. This is the REST ID used in the products
5839
- # service. Either lineItemId or productId is required.
5840
- # Corresponds to the JSON property `productId`
5841
- # @return [String]
5842
- attr_accessor :product_id
5972
+ def initialize(**args)
5973
+ update!(**args)
5974
+ end
5843
5975
 
5844
- # The quantity to cancel.
5845
- # Corresponds to the JSON property `quantity`
5846
- # @return [Fixnum]
5847
- attr_accessor :quantity
5976
+ # Update properties of this object
5977
+ def update!(**args)
5978
+ @price_amount = args[:price_amount] if args.key?(:price_amount)
5979
+ @tax_amount = args[:tax_amount] if args.key?(:tax_amount)
5980
+ end
5981
+ end
5848
5982
 
5849
- # The reason for the cancellation.
5850
- # Acceptable values are:
5851
- # - "customerInitiatedCancel"
5852
- # - "invalidCoupon"
5853
- # - "malformedShippingAddress"
5854
- # - "noInventory"
5855
- # - "other"
5856
- # - "priceError"
5857
- # - "shippingPriceError"
5858
- # - "taxError"
5859
- # - "undeliverableShippingAddress"
5860
- # - "unsupportedPoBoxAddress"
5861
- # Corresponds to the JSON property `reason`
5862
- # @return [String]
5863
- attr_accessor :reason
5983
+ #
5984
+ class OrderreturnsProcessRequest
5985
+ include Google::Apis::Core::Hashable
5864
5986
 
5865
- # The explanation of the reason.
5866
- # Corresponds to the JSON property `reasonText`
5987
+ # Option to charge the customer return shipping cost.
5988
+ # Corresponds to the JSON property `fullChargeReturnShippingCost`
5989
+ # @return [Boolean]
5990
+ attr_accessor :full_charge_return_shipping_cost
5991
+ alias_method :full_charge_return_shipping_cost?, :full_charge_return_shipping_cost
5992
+
5993
+ # [required] The ID of the operation, unique across all operations for a given
5994
+ # order return.
5995
+ # Corresponds to the JSON property `operationId`
5867
5996
  # @return [String]
5868
- attr_accessor :reason_text
5997
+ attr_accessor :operation_id
5998
+
5999
+ # Refunds for original shipping fee.
6000
+ # Corresponds to the JSON property `refundShippingFee`
6001
+ # @return [Google::Apis::ContentV2_1::OrderreturnsRefundOperation]
6002
+ attr_accessor :refund_shipping_fee
6003
+
6004
+ # The list of items to return.
6005
+ # Corresponds to the JSON property `returnItems`
6006
+ # @return [Array<Google::Apis::ContentV2_1::OrderreturnsReturnItem>]
6007
+ attr_accessor :return_items
5869
6008
 
5870
6009
  def initialize(**args)
5871
6010
  update!(**args)
@@ -5873,29 +6012,27 @@ module Google
5873
6012
 
5874
6013
  # Update properties of this object
5875
6014
  def update!(**args)
5876
- @line_item_id = args[:line_item_id] if args.key?(:line_item_id)
6015
+ @full_charge_return_shipping_cost = args[:full_charge_return_shipping_cost] if args.key?(:full_charge_return_shipping_cost)
5877
6016
  @operation_id = args[:operation_id] if args.key?(:operation_id)
5878
- @product_id = args[:product_id] if args.key?(:product_id)
5879
- @quantity = args[:quantity] if args.key?(:quantity)
5880
- @reason = args[:reason] if args.key?(:reason)
5881
- @reason_text = args[:reason_text] if args.key?(:reason_text)
6017
+ @refund_shipping_fee = args[:refund_shipping_fee] if args.key?(:refund_shipping_fee)
6018
+ @return_items = args[:return_items] if args.key?(:return_items)
5882
6019
  end
5883
6020
  end
5884
6021
 
5885
6022
  #
5886
- class OrdersCancelLineItemResponse
6023
+ class OrderreturnsProcessResponse
5887
6024
  include Google::Apis::Core::Hashable
5888
6025
 
5889
6026
  # The status of the execution.
5890
6027
  # Acceptable values are:
5891
- # - "duplicate"
5892
- # - "executed"
6028
+ # - "`duplicate`"
6029
+ # - "`executed`"
5893
6030
  # Corresponds to the JSON property `executionStatus`
5894
6031
  # @return [String]
5895
6032
  attr_accessor :execution_status
5896
6033
 
5897
6034
  # Identifies what kind of resource this is. Value: the fixed string "content#
5898
- # ordersCancelLineItemResponse".
6035
+ # orderreturnsProcessResponse".
5899
6036
  # Corresponds to the JSON property `kind`
5900
6037
  # @return [String]
5901
6038
  attr_accessor :kind
@@ -5912,64 +6049,56 @@ module Google
5912
6049
  end
5913
6050
 
5914
6051
  #
5915
- class OrdersCancelRequest
6052
+ class OrderreturnsRefundOperation
5916
6053
  include Google::Apis::Core::Hashable
5917
6054
 
5918
- # The ID of the operation. Unique across all operations for a given order.
5919
- # Corresponds to the JSON property `operationId`
5920
- # @return [String]
5921
- attr_accessor :operation_id
6055
+ # If true, the item will be fully refunded.
6056
+ # Corresponds to the JSON property `fullRefund`
6057
+ # @return [Boolean]
6058
+ attr_accessor :full_refund
6059
+ alias_method :full_refund?, :full_refund
5922
6060
 
5923
- # The reason for the cancellation.
5924
- # Acceptable values are:
5925
- # - "customerInitiatedCancel"
5926
- # - "invalidCoupon"
5927
- # - "malformedShippingAddress"
5928
- # - "noInventory"
5929
- # - "other"
5930
- # - "priceError"
5931
- # - "shippingPriceError"
5932
- # - "taxError"
5933
- # - "undeliverableShippingAddress"
5934
- # - "unsupportedPoBoxAddress"
5935
- # Corresponds to the JSON property `reason`
5936
- # @return [String]
5937
- attr_accessor :reason
6061
+ # If this is set, the item will be partially refunded.
6062
+ # Corresponds to the JSON property `partialRefund`
6063
+ # @return [Google::Apis::ContentV2_1::OrderreturnsPartialRefund]
6064
+ attr_accessor :partial_refund
5938
6065
 
5939
6066
  # The explanation of the reason.
5940
6067
  # Corresponds to the JSON property `reasonText`
5941
6068
  # @return [String]
5942
6069
  attr_accessor :reason_text
5943
6070
 
6071
+ # Code of the refund reason.
6072
+ # Corresponds to the JSON property `returnRefundReason`
6073
+ # @return [String]
6074
+ attr_accessor :return_refund_reason
6075
+
5944
6076
  def initialize(**args)
5945
6077
  update!(**args)
5946
6078
  end
5947
6079
 
5948
6080
  # Update properties of this object
5949
6081
  def update!(**args)
5950
- @operation_id = args[:operation_id] if args.key?(:operation_id)
5951
- @reason = args[:reason] if args.key?(:reason)
6082
+ @full_refund = args[:full_refund] if args.key?(:full_refund)
6083
+ @partial_refund = args[:partial_refund] if args.key?(:partial_refund)
5952
6084
  @reason_text = args[:reason_text] if args.key?(:reason_text)
6085
+ @return_refund_reason = args[:return_refund_reason] if args.key?(:return_refund_reason)
5953
6086
  end
5954
6087
  end
5955
6088
 
5956
6089
  #
5957
- class OrdersCancelResponse
6090
+ class OrderreturnsRejectOperation
5958
6091
  include Google::Apis::Core::Hashable
5959
6092
 
5960
- # The status of the execution.
5961
- # Acceptable values are:
5962
- # - "duplicate"
5963
- # - "executed"
5964
- # Corresponds to the JSON property `executionStatus`
6093
+ # The reason for the return.
6094
+ # Corresponds to the JSON property `reason`
5965
6095
  # @return [String]
5966
- attr_accessor :execution_status
6096
+ attr_accessor :reason
5967
6097
 
5968
- # Identifies what kind of resource this is. Value: the fixed string "content#
5969
- # ordersCancelResponse".
5970
- # Corresponds to the JSON property `kind`
6098
+ # The explanation of the reason.
6099
+ # Corresponds to the JSON property `reasonText`
5971
6100
  # @return [String]
5972
- attr_accessor :kind
6101
+ attr_accessor :reason_text
5973
6102
 
5974
6103
  def initialize(**args)
5975
6104
  update!(**args)
@@ -5977,8 +6106,269 @@ module Google
5977
6106
 
5978
6107
  # Update properties of this object
5979
6108
  def update!(**args)
5980
- @execution_status = args[:execution_status] if args.key?(:execution_status)
5981
- @kind = args[:kind] if args.key?(:kind)
6109
+ @reason = args[:reason] if args.key?(:reason)
6110
+ @reason_text = args[:reason_text] if args.key?(:reason_text)
6111
+ end
6112
+ end
6113
+
6114
+ #
6115
+ class OrderreturnsReturnItem
6116
+ include Google::Apis::Core::Hashable
6117
+
6118
+ # Refunds the item.
6119
+ # Corresponds to the JSON property `refund`
6120
+ # @return [Google::Apis::ContentV2_1::OrderreturnsRefundOperation]
6121
+ attr_accessor :refund
6122
+
6123
+ # Rejects the item.
6124
+ # Corresponds to the JSON property `reject`
6125
+ # @return [Google::Apis::ContentV2_1::OrderreturnsRejectOperation]
6126
+ attr_accessor :reject
6127
+
6128
+ # Unit level ID for the return item. Different units of the same product will
6129
+ # have different IDs.
6130
+ # Corresponds to the JSON property `returnItemId`
6131
+ # @return [String]
6132
+ attr_accessor :return_item_id
6133
+
6134
+ def initialize(**args)
6135
+ update!(**args)
6136
+ end
6137
+
6138
+ # Update properties of this object
6139
+ def update!(**args)
6140
+ @refund = args[:refund] if args.key?(:refund)
6141
+ @reject = args[:reject] if args.key?(:reject)
6142
+ @return_item_id = args[:return_item_id] if args.key?(:return_item_id)
6143
+ end
6144
+ end
6145
+
6146
+ #
6147
+ class OrdersAcknowledgeRequest
6148
+ include Google::Apis::Core::Hashable
6149
+
6150
+ # The ID of the operation. Unique across all operations for a given order.
6151
+ # Corresponds to the JSON property `operationId`
6152
+ # @return [String]
6153
+ attr_accessor :operation_id
6154
+
6155
+ def initialize(**args)
6156
+ update!(**args)
6157
+ end
6158
+
6159
+ # Update properties of this object
6160
+ def update!(**args)
6161
+ @operation_id = args[:operation_id] if args.key?(:operation_id)
6162
+ end
6163
+ end
6164
+
6165
+ #
6166
+ class OrdersAcknowledgeResponse
6167
+ include Google::Apis::Core::Hashable
6168
+
6169
+ # The status of the execution.
6170
+ # Acceptable values are:
6171
+ # - "`duplicate`"
6172
+ # - "`executed`"
6173
+ # Corresponds to the JSON property `executionStatus`
6174
+ # @return [String]
6175
+ attr_accessor :execution_status
6176
+
6177
+ # Identifies what kind of resource this is. Value: the fixed string "content#
6178
+ # ordersAcknowledgeResponse".
6179
+ # Corresponds to the JSON property `kind`
6180
+ # @return [String]
6181
+ attr_accessor :kind
6182
+
6183
+ def initialize(**args)
6184
+ update!(**args)
6185
+ end
6186
+
6187
+ # Update properties of this object
6188
+ def update!(**args)
6189
+ @execution_status = args[:execution_status] if args.key?(:execution_status)
6190
+ @kind = args[:kind] if args.key?(:kind)
6191
+ end
6192
+ end
6193
+
6194
+ #
6195
+ class OrdersAdvanceTestOrderResponse
6196
+ include Google::Apis::Core::Hashable
6197
+
6198
+ # Identifies what kind of resource this is. Value: the fixed string "content#
6199
+ # ordersAdvanceTestOrderResponse".
6200
+ # Corresponds to the JSON property `kind`
6201
+ # @return [String]
6202
+ attr_accessor :kind
6203
+
6204
+ def initialize(**args)
6205
+ update!(**args)
6206
+ end
6207
+
6208
+ # Update properties of this object
6209
+ def update!(**args)
6210
+ @kind = args[:kind] if args.key?(:kind)
6211
+ end
6212
+ end
6213
+
6214
+ #
6215
+ class OrdersCancelLineItemRequest
6216
+ include Google::Apis::Core::Hashable
6217
+
6218
+ # The ID of the line item to cancel. Either lineItemId or productId is required.
6219
+ # Corresponds to the JSON property `lineItemId`
6220
+ # @return [String]
6221
+ attr_accessor :line_item_id
6222
+
6223
+ # The ID of the operation. Unique across all operations for a given order.
6224
+ # Corresponds to the JSON property `operationId`
6225
+ # @return [String]
6226
+ attr_accessor :operation_id
6227
+
6228
+ # The ID of the product to cancel. This is the REST ID used in the products
6229
+ # service. Either lineItemId or productId is required.
6230
+ # Corresponds to the JSON property `productId`
6231
+ # @return [String]
6232
+ attr_accessor :product_id
6233
+
6234
+ # The quantity to cancel.
6235
+ # Corresponds to the JSON property `quantity`
6236
+ # @return [Fixnum]
6237
+ attr_accessor :quantity
6238
+
6239
+ # The reason for the cancellation.
6240
+ # Acceptable values are:
6241
+ # - "`customerInitiatedCancel`"
6242
+ # - "`invalidCoupon`"
6243
+ # - "`malformedShippingAddress`"
6244
+ # - "`noInventory`"
6245
+ # - "`other`"
6246
+ # - "`priceError`"
6247
+ # - "`shippingPriceError`"
6248
+ # - "`taxError`"
6249
+ # - "`undeliverableShippingAddress`"
6250
+ # - "`unsupportedPoBoxAddress`"
6251
+ # Corresponds to the JSON property `reason`
6252
+ # @return [String]
6253
+ attr_accessor :reason
6254
+
6255
+ # The explanation of the reason.
6256
+ # Corresponds to the JSON property `reasonText`
6257
+ # @return [String]
6258
+ attr_accessor :reason_text
6259
+
6260
+ def initialize(**args)
6261
+ update!(**args)
6262
+ end
6263
+
6264
+ # Update properties of this object
6265
+ def update!(**args)
6266
+ @line_item_id = args[:line_item_id] if args.key?(:line_item_id)
6267
+ @operation_id = args[:operation_id] if args.key?(:operation_id)
6268
+ @product_id = args[:product_id] if args.key?(:product_id)
6269
+ @quantity = args[:quantity] if args.key?(:quantity)
6270
+ @reason = args[:reason] if args.key?(:reason)
6271
+ @reason_text = args[:reason_text] if args.key?(:reason_text)
6272
+ end
6273
+ end
6274
+
6275
+ #
6276
+ class OrdersCancelLineItemResponse
6277
+ include Google::Apis::Core::Hashable
6278
+
6279
+ # The status of the execution.
6280
+ # Acceptable values are:
6281
+ # - "`duplicate`"
6282
+ # - "`executed`"
6283
+ # Corresponds to the JSON property `executionStatus`
6284
+ # @return [String]
6285
+ attr_accessor :execution_status
6286
+
6287
+ # Identifies what kind of resource this is. Value: the fixed string "content#
6288
+ # ordersCancelLineItemResponse".
6289
+ # Corresponds to the JSON property `kind`
6290
+ # @return [String]
6291
+ attr_accessor :kind
6292
+
6293
+ def initialize(**args)
6294
+ update!(**args)
6295
+ end
6296
+
6297
+ # Update properties of this object
6298
+ def update!(**args)
6299
+ @execution_status = args[:execution_status] if args.key?(:execution_status)
6300
+ @kind = args[:kind] if args.key?(:kind)
6301
+ end
6302
+ end
6303
+
6304
+ #
6305
+ class OrdersCancelRequest
6306
+ include Google::Apis::Core::Hashable
6307
+
6308
+ # The ID of the operation. Unique across all operations for a given order.
6309
+ # Corresponds to the JSON property `operationId`
6310
+ # @return [String]
6311
+ attr_accessor :operation_id
6312
+
6313
+ # The reason for the cancellation.
6314
+ # Acceptable values are:
6315
+ # - "`customerInitiatedCancel`"
6316
+ # - "`invalidCoupon`"
6317
+ # - "`malformedShippingAddress`"
6318
+ # - "`noInventory`"
6319
+ # - "`other`"
6320
+ # - "`priceError`"
6321
+ # - "`shippingPriceError`"
6322
+ # - "`taxError`"
6323
+ # - "`undeliverableShippingAddress`"
6324
+ # - "`unsupportedPoBoxAddress`"
6325
+ # Corresponds to the JSON property `reason`
6326
+ # @return [String]
6327
+ attr_accessor :reason
6328
+
6329
+ # The explanation of the reason.
6330
+ # Corresponds to the JSON property `reasonText`
6331
+ # @return [String]
6332
+ attr_accessor :reason_text
6333
+
6334
+ def initialize(**args)
6335
+ update!(**args)
6336
+ end
6337
+
6338
+ # Update properties of this object
6339
+ def update!(**args)
6340
+ @operation_id = args[:operation_id] if args.key?(:operation_id)
6341
+ @reason = args[:reason] if args.key?(:reason)
6342
+ @reason_text = args[:reason_text] if args.key?(:reason_text)
6343
+ end
6344
+ end
6345
+
6346
+ #
6347
+ class OrdersCancelResponse
6348
+ include Google::Apis::Core::Hashable
6349
+
6350
+ # The status of the execution.
6351
+ # Acceptable values are:
6352
+ # - "`duplicate`"
6353
+ # - "`executed`"
6354
+ # Corresponds to the JSON property `executionStatus`
6355
+ # @return [String]
6356
+ attr_accessor :execution_status
6357
+
6358
+ # Identifies what kind of resource this is. Value: the fixed string "content#
6359
+ # ordersCancelResponse".
6360
+ # Corresponds to the JSON property `kind`
6361
+ # @return [String]
6362
+ attr_accessor :kind
6363
+
6364
+ def initialize(**args)
6365
+ update!(**args)
6366
+ end
6367
+
6368
+ # Update properties of this object
6369
+ def update!(**args)
6370
+ @execution_status = args[:execution_status] if args.key?(:execution_status)
6371
+ @kind = args[:kind] if args.key?(:kind)
5982
6372
  end
5983
6373
  end
5984
6374
 
@@ -5988,9 +6378,9 @@ module Google
5988
6378
 
5989
6379
  # The reason for the cancellation.
5990
6380
  # Acceptable values are:
5991
- # - "changedMind"
5992
- # - "orderedWrongItem"
5993
- # - "other"
6381
+ # - "`changedMind`"
6382
+ # - "`orderedWrongItem`"
6383
+ # - "`other`"
5994
6384
  # Corresponds to the JSON property `reason`
5995
6385
  # @return [String]
5996
6386
  attr_accessor :reason
@@ -6030,24 +6420,24 @@ module Google
6030
6420
  include Google::Apis::Core::Hashable
6031
6421
 
6032
6422
  # The CLDR territory code of the country of the test order to create. Affects
6033
- # the currency and addresses of orders created via template_name, or the
6034
- # addresses of orders created via test_order.
6423
+ # the currency and addresses of orders created via `template_name`, or the
6424
+ # addresses of orders created via `test_order`.
6035
6425
  # Acceptable values are:
6036
- # - "US"
6037
- # - "FR" Defaults to US.
6426
+ # - "`US`"
6427
+ # - "`FR`" Defaults to `US`.
6038
6428
  # Corresponds to the JSON property `country`
6039
6429
  # @return [String]
6040
6430
  attr_accessor :country
6041
6431
 
6042
- # The test order template to use. Specify as an alternative to testOrder as a
6432
+ # The test order template to use. Specify as an alternative to `testOrder` as a
6043
6433
  # shortcut for retrieving a template and then creating an order using that
6044
6434
  # template.
6045
6435
  # Acceptable values are:
6046
- # - "template1"
6047
- # - "template1a"
6048
- # - "template1b"
6049
- # - "template2"
6050
- # - "template3"
6436
+ # - "`template1`"
6437
+ # - "`template1a`"
6438
+ # - "`template1b`"
6439
+ # - "`template2`"
6440
+ # - "`template3`"
6051
6441
  # Corresponds to the JSON property `templateName`
6052
6442
  # @return [String]
6053
6443
  attr_accessor :template_name
@@ -6169,7 +6559,7 @@ module Google
6169
6559
  class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
6170
6560
  include Google::Apis::Core::Hashable
6171
6561
 
6172
- # The carrier handling the shipment. See shipments[].carrier in the Orders
6562
+ # The carrier handling the shipment. See `shipments[].carrier` in the Orders
6173
6563
  # resource representation for a list of acceptable values.
6174
6564
  # Corresponds to the JSON property `carrier`
6175
6565
  # @return [String]
@@ -6209,7 +6599,8 @@ module Google
6209
6599
  attr_accessor :kind
6210
6600
 
6211
6601
  # Order. Production access (all methods) requires the order manager role.
6212
- # Sandbox access does not.
6602
+ # Sandbox access does not. (== resource_for v2.orders ==) (== resource_for v2.1.
6603
+ # orders ==)
6213
6604
  # Corresponds to the JSON property `order`
6214
6605
  # @return [Google::Apis::ContentV2_1::Order]
6215
6606
  attr_accessor :order
@@ -6284,19 +6675,19 @@ module Google
6284
6675
 
6285
6676
  # The reason for the return.
6286
6677
  # Acceptable values are:
6287
- # - "customerDiscretionaryReturn"
6288
- # - "customerInitiatedMerchantCancel"
6289
- # - "deliveredTooLate"
6290
- # - "expiredItem"
6291
- # - "invalidCoupon"
6292
- # - "malformedShippingAddress"
6293
- # - "other"
6294
- # - "productArrivedDamaged"
6295
- # - "productNotAsDescribed"
6296
- # - "qualityNotAsExpected"
6297
- # - "undeliverableShippingAddress"
6298
- # - "unsupportedPoBoxAddress"
6299
- # - "wrongProductShipped"
6678
+ # - "`customerDiscretionaryReturn`"
6679
+ # - "`customerInitiatedMerchantCancel`"
6680
+ # - "`deliveredTooLate`"
6681
+ # - "`expiredItem`"
6682
+ # - "`invalidCoupon`"
6683
+ # - "`malformedShippingAddress`"
6684
+ # - "`other`"
6685
+ # - "`productArrivedDamaged`"
6686
+ # - "`productNotAsDescribed`"
6687
+ # - "`qualityNotAsExpected`"
6688
+ # - "`undeliverableShippingAddress`"
6689
+ # - "`unsupportedPoBoxAddress`"
6690
+ # - "`wrongProductShipped`"
6300
6691
  # Corresponds to the JSON property `reason`
6301
6692
  # @return [String]
6302
6693
  attr_accessor :reason
@@ -6334,8 +6725,8 @@ module Google
6334
6725
 
6335
6726
  # The status of the execution.
6336
6727
  # Acceptable values are:
6337
- # - "duplicate"
6338
- # - "executed"
6728
+ # - "`duplicate`"
6729
+ # - "`executed`"
6339
6730
  # Corresponds to the JSON property `executionStatus`
6340
6731
  # @return [String]
6341
6732
  attr_accessor :execution_status
@@ -6416,11 +6807,11 @@ module Google
6416
6807
 
6417
6808
  # The reason for the return.
6418
6809
  # Acceptable values are:
6419
- # - "damagedOrUsed"
6420
- # - "missingComponent"
6421
- # - "notEligible"
6422
- # - "other"
6423
- # - "outOfReturnWindow"
6810
+ # - "`damagedOrUsed`"
6811
+ # - "`missingComponent`"
6812
+ # - "`notEligible`"
6813
+ # - "`other`"
6814
+ # - "`outOfReturnWindow`"
6424
6815
  # Corresponds to the JSON property `reason`
6425
6816
  # @return [String]
6426
6817
  attr_accessor :reason
@@ -6451,8 +6842,8 @@ module Google
6451
6842
 
6452
6843
  # The status of the execution.
6453
6844
  # Acceptable values are:
6454
- # - "duplicate"
6455
- # - "executed"
6845
+ # - "`duplicate`"
6846
+ # - "`executed`"
6456
6847
  # Corresponds to the JSON property `executionStatus`
6457
6848
  # @return [String]
6458
6849
  attr_accessor :execution_status
@@ -6507,19 +6898,19 @@ module Google
6507
6898
 
6508
6899
  # The reason for the return.
6509
6900
  # Acceptable values are:
6510
- # - "customerDiscretionaryReturn"
6511
- # - "customerInitiatedMerchantCancel"
6512
- # - "deliveredTooLate"
6513
- # - "expiredItem"
6514
- # - "invalidCoupon"
6515
- # - "malformedShippingAddress"
6516
- # - "other"
6517
- # - "productArrivedDamaged"
6518
- # - "productNotAsDescribed"
6519
- # - "qualityNotAsExpected"
6520
- # - "undeliverableShippingAddress"
6521
- # - "unsupportedPoBoxAddress"
6522
- # - "wrongProductShipped"
6901
+ # - "`customerDiscretionaryReturn`"
6902
+ # - "`customerInitiatedMerchantCancel`"
6903
+ # - "`deliveredTooLate`"
6904
+ # - "`expiredItem`"
6905
+ # - "`invalidCoupon`"
6906
+ # - "`malformedShippingAddress`"
6907
+ # - "`other`"
6908
+ # - "`productArrivedDamaged`"
6909
+ # - "`productNotAsDescribed`"
6910
+ # - "`qualityNotAsExpected`"
6911
+ # - "`undeliverableShippingAddress`"
6912
+ # - "`unsupportedPoBoxAddress`"
6913
+ # - "`wrongProductShipped`"
6523
6914
  # Corresponds to the JSON property `reason`
6524
6915
  # @return [String]
6525
6916
  attr_accessor :reason
@@ -6558,8 +6949,8 @@ module Google
6558
6949
 
6559
6950
  # The status of the execution.
6560
6951
  # Acceptable values are:
6561
- # - "duplicate"
6562
- # - "executed"
6952
+ # - "`duplicate`"
6953
+ # - "`executed`"
6563
6954
  # Corresponds to the JSON property `executionStatus`
6564
6955
  # @return [String]
6565
6956
  attr_accessor :execution_status
@@ -6626,8 +7017,8 @@ module Google
6626
7017
 
6627
7018
  # The status of the execution.
6628
7019
  # Acceptable values are:
6629
- # - "duplicate"
6630
- # - "executed"
7020
+ # - "`duplicate`"
7021
+ # - "`executed`"
6631
7022
  # Corresponds to the JSON property `executionStatus`
6632
7023
  # @return [String]
6633
7024
  attr_accessor :execution_status
@@ -6694,8 +7085,8 @@ module Google
6694
7085
 
6695
7086
  # The status of the execution.
6696
7087
  # Acceptable values are:
6697
- # - "duplicate"
6698
- # - "executed"
7088
+ # - "`duplicate`"
7089
+ # - "`executed`"
6699
7090
  # Corresponds to the JSON property `executionStatus`
6700
7091
  # @return [String]
6701
7092
  attr_accessor :execution_status
@@ -6774,8 +7165,8 @@ module Google
6774
7165
 
6775
7166
  # The status of the execution.
6776
7167
  # Acceptable values are:
6777
- # - "duplicate"
6778
- # - "executed"
7168
+ # - "`duplicate`"
7169
+ # - "`executed`"
6779
7170
  # Corresponds to the JSON property `executionStatus`
6780
7171
  # @return [String]
6781
7172
  attr_accessor :execution_status
@@ -6828,8 +7219,8 @@ module Google
6828
7219
 
6829
7220
  # The status of the execution.
6830
7221
  # Acceptable values are:
6831
- # - "duplicate"
6832
- # - "executed"
7222
+ # - "`duplicate`"
7223
+ # - "`executed`"
6833
7224
  # Corresponds to the JSON property `executionStatus`
6834
7225
  # @return [String]
6835
7226
  attr_accessor :execution_status
@@ -6855,14 +7246,15 @@ module Google
6855
7246
  class OrdersUpdateShipmentRequest
6856
7247
  include Google::Apis::Core::Hashable
6857
7248
 
6858
- # The carrier handling the shipment. Not updated if missing. See shipments[].
6859
- # carrier in the Orders resource representation for a list of acceptable values.
7249
+ # The carrier handling the shipment. Not updated if missing. See `shipments[].
7250
+ # carrier` in the Orders resource representation for a list of acceptable
7251
+ # values.
6860
7252
  # Corresponds to the JSON property `carrier`
6861
7253
  # @return [String]
6862
7254
  attr_accessor :carrier
6863
7255
 
6864
7256
  # Date on which the shipment has been delivered, in ISO 8601 format. Optional
6865
- # and can be provided only if status is delivered.
7257
+ # and can be provided only if `status` is `delivered`.
6866
7258
  # Corresponds to the JSON property `deliveryDate`
6867
7259
  # @return [String]
6868
7260
  attr_accessor :delivery_date
@@ -6879,8 +7271,8 @@ module Google
6879
7271
 
6880
7272
  # New status for the shipment. Not updated if missing.
6881
7273
  # Acceptable values are:
6882
- # - "delivered"
6883
- # - "undeliverable"
7274
+ # - "`delivered`"
7275
+ # - "`undeliverable`"
6884
7276
  # Corresponds to the JSON property `status`
6885
7277
  # @return [String]
6886
7278
  attr_accessor :status
@@ -6911,8 +7303,8 @@ module Google
6911
7303
 
6912
7304
  # The status of the execution.
6913
7305
  # Acceptable values are:
6914
- # - "duplicate"
6915
- # - "executed"
7306
+ # - "`duplicate`"
7307
+ # - "`executed`"
6916
7308
  # Corresponds to the JSON property `executionStatus`
6917
7309
  # @return [String]
6918
7310
  attr_accessor :execution_status
@@ -6938,12 +7330,12 @@ module Google
6938
7330
  class PickupCarrierService
6939
7331
  include Google::Apis::Core::Hashable
6940
7332
 
6941
- # The name of the pickup carrier (e.g., "UPS"). Required.
7333
+ # The name of the pickup carrier (e.g., `"UPS"`). Required.
6942
7334
  # Corresponds to the JSON property `carrierName`
6943
7335
  # @return [String]
6944
7336
  attr_accessor :carrier_name
6945
7337
 
6946
- # The name of the pickup service (e.g., "Access point"). Required.
7338
+ # The name of the pickup service (e.g., `"Access point"`). Required.
6947
7339
  # Corresponds to the JSON property `serviceName`
6948
7340
  # @return [String]
6949
7341
  attr_accessor :service_name
@@ -6963,7 +7355,7 @@ module Google
6963
7355
  class PickupServicesPickupService
6964
7356
  include Google::Apis::Core::Hashable
6965
7357
 
6966
- # The name of the carrier (e.g., "UPS"). Always present.
7358
+ # The name of the carrier (e.g., `"UPS"`). Always present.
6967
7359
  # Corresponds to the JSON property `carrierName`
6968
7360
  # @return [String]
6969
7361
  attr_accessor :carrier_name
@@ -6973,7 +7365,7 @@ module Google
6973
7365
  # @return [String]
6974
7366
  attr_accessor :country
6975
7367
 
6976
- # The name of the pickup service (e.g., "Access point"). Always present.
7368
+ # The name of the pickup service (e.g., `"Access point"`). Always present.
6977
7369
  # Corresponds to the JSON property `serviceName`
6978
7370
  # @return [String]
6979
7371
  attr_accessor :service_name
@@ -7030,11 +7422,11 @@ module Google
7030
7422
 
7031
7423
  # The method of the batch entry.
7032
7424
  # Acceptable values are:
7033
- # - "delete"
7034
- # - "get"
7035
- # - "insert"
7036
- # - "inventory"
7037
- # - "sale"
7425
+ # - "`delete`"
7426
+ # - "`get`"
7427
+ # - "`insert`"
7428
+ # - "`inventory`"
7429
+ # - "`sale`"
7038
7430
  # Corresponds to the JSON property `method`
7039
7431
  # @return [String]
7040
7432
  attr_accessor :method_prop
@@ -7049,7 +7441,7 @@ module Google
7049
7441
  # @return [Google::Apis::ContentV2_1::PosStore]
7050
7442
  attr_accessor :store
7051
7443
 
7052
- # The store code. Set this only if the method is delete or get.
7444
+ # The store code. Set this only if the method is `delete` or `get`.
7053
7445
  # Corresponds to the JSON property `storeCode`
7054
7446
  # @return [String]
7055
7447
  attr_accessor :store_code
@@ -7121,8 +7513,8 @@ module Google
7121
7513
  # @return [Google::Apis::ContentV2_1::PosInventory]
7122
7514
  attr_accessor :inventory
7123
7515
 
7124
- # Identifies what kind of resource this is. Value: the fixed string "content#
7125
- # posCustomBatchResponseEntry".
7516
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7517
+ # posCustomBatchResponseEntry`"
7126
7518
  # Corresponds to the JSON property `kind`
7127
7519
  # @return [String]
7128
7520
  attr_accessor :kind
@@ -7227,8 +7619,8 @@ module Google
7227
7619
  # @return [String]
7228
7620
  attr_accessor :item_id
7229
7621
 
7230
- # Identifies what kind of resource this is. Value: the fixed string "content#
7231
- # posInventory".
7622
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7623
+ # posInventory`"
7232
7624
  # Corresponds to the JSON property `kind`
7233
7625
  # @return [String]
7234
7626
  attr_accessor :kind
@@ -7243,8 +7635,8 @@ module Google
7243
7635
  # @return [Fixnum]
7244
7636
  attr_accessor :quantity
7245
7637
 
7246
- # Required. The identifier of the merchant's store. Either a storeCode inserted
7247
- # via the API or the code of the store in Google My Business.
7638
+ # Required. The identifier of the merchant's store. Either a `storeCode`
7639
+ # inserted via the API or the code of the store in Google My Business.
7248
7640
  # Corresponds to the JSON property `storeCode`
7249
7641
  # @return [String]
7250
7642
  attr_accessor :store_code
@@ -7306,8 +7698,8 @@ module Google
7306
7698
  # @return [Fixnum]
7307
7699
  attr_accessor :quantity
7308
7700
 
7309
- # Required. The identifier of the merchant's store. Either a storeCode inserted
7310
- # via the API or the code of the store in Google My Business.
7701
+ # Required. The identifier of the merchant's store. Either a `storeCode`
7702
+ # inserted via the API or the code of the store in Google My Business.
7311
7703
  # Corresponds to the JSON property `storeCode`
7312
7704
  # @return [String]
7313
7705
  attr_accessor :store_code
@@ -7374,8 +7766,8 @@ module Google
7374
7766
  # @return [Fixnum]
7375
7767
  attr_accessor :quantity
7376
7768
 
7377
- # Required. The identifier of the merchant's store. Either a storeCode inserted
7378
- # via the API or the code of the store in Google My Business.
7769
+ # Required. The identifier of the merchant's store. Either a `storeCode`
7770
+ # inserted via the API or the code of the store in Google My Business.
7379
7771
  # Corresponds to the JSON property `storeCode`
7380
7772
  # @return [String]
7381
7773
  attr_accessor :store_code
@@ -7453,8 +7845,8 @@ module Google
7453
7845
  # @return [String]
7454
7846
  attr_accessor :item_id
7455
7847
 
7456
- # Identifies what kind of resource this is. Value: the fixed string "content#
7457
- # posSale".
7848
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7849
+ # posSale`"
7458
7850
  # Corresponds to the JSON property `kind`
7459
7851
  # @return [String]
7460
7852
  attr_accessor :kind
@@ -7475,8 +7867,8 @@ module Google
7475
7867
  # @return [String]
7476
7868
  attr_accessor :sale_id
7477
7869
 
7478
- # Required. The identifier of the merchant's store. Either a storeCode inserted
7479
- # via the API or the code of the store in Google My Business.
7870
+ # Required. The identifier of the merchant's store. Either a `storeCode`
7871
+ # inserted via the API or the code of the store in Google My Business.
7480
7872
  # Corresponds to the JSON property `storeCode`
7481
7873
  # @return [String]
7482
7874
  attr_accessor :store_code
@@ -7545,8 +7937,8 @@ module Google
7545
7937
  # @return [String]
7546
7938
  attr_accessor :sale_id
7547
7939
 
7548
- # Required. The identifier of the merchant's store. Either a storeCode inserted
7549
- # via the API or the code of the store in Google My Business.
7940
+ # Required. The identifier of the merchant's store. Either a `storeCode`
7941
+ # inserted via the API or the code of the store in Google My Business.
7550
7942
  # Corresponds to the JSON property `storeCode`
7551
7943
  # @return [String]
7552
7944
  attr_accessor :store_code
@@ -7620,8 +8012,8 @@ module Google
7620
8012
  # @return [String]
7621
8013
  attr_accessor :sale_id
7622
8014
 
7623
- # Required. The identifier of the merchant's store. Either a storeCode inserted
7624
- # via the API or the code of the store in Google My Business.
8015
+ # Required. The identifier of the merchant's store. Either a `storeCode`
8016
+ # inserted via the API or the code of the store in Google My Business.
7625
8017
  # Corresponds to the JSON property `storeCode`
7626
8018
  # @return [String]
7627
8019
  attr_accessor :store_code
@@ -7659,8 +8051,8 @@ module Google
7659
8051
  class PosStore
7660
8052
  include Google::Apis::Core::Hashable
7661
8053
 
7662
- # Identifies what kind of resource this is. Value: the fixed string "content#
7663
- # posStore".
8054
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8055
+ # posStore`"
7664
8056
  # Corresponds to the JSON property `kind`
7665
8057
  # @return [String]
7666
8058
  attr_accessor :kind
@@ -7723,20 +8115,20 @@ module Google
7723
8115
  class PostalCodeRange
7724
8116
  include Google::Apis::Core::Hashable
7725
8117
 
7726
- # A postal code or a pattern of the form prefix* denoting the inclusive lower
7727
- # bound of the range defining the area. Examples values: "94108", "9410*", "9*".
7728
- # Required.
8118
+ # A postal code or a pattern of the form `prefix*` denoting the inclusive lower
8119
+ # bound of the range defining the area. Examples values: `"94108"`, `"9410*"`, `"
8120
+ # 9*"`. Required.
7729
8121
  # Corresponds to the JSON property `postalCodeRangeBegin`
7730
8122
  # @return [String]
7731
8123
  attr_accessor :postal_code_range_begin
7732
8124
 
7733
- # A postal code or a pattern of the form prefix* denoting the inclusive upper
7734
- # bound of the range defining the area. It must have the same length as
7735
- # postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then
7736
- # postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a
7737
- # pattern then postalCodeRangeEnd must be a pattern with the same prefix length.
7738
- # Optional: if not set, then the area is defined as being all the postal codes
7739
- # matching postalCodeRangeBegin.
8125
+ # A postal code or a pattern of the form `prefix*` denoting the inclusive upper
8126
+ # bound of the range defining the area. It must have the same length as `
8127
+ # postalCodeRangeBegin`: if `postalCodeRangeBegin` is a postal code then `
8128
+ # postalCodeRangeEnd` must be a postal code too; if `postalCodeRangeBegin` is a
8129
+ # pattern then `postalCodeRangeEnd` must be a pattern with the same prefix
8130
+ # length. Optional: if not set, then the area is defined as being all the postal
8131
+ # codes matching `postalCodeRangeBegin`.
7740
8132
  # Corresponds to the JSON property `postalCodeRangeEnd`
7741
8133
  # @return [String]
7742
8134
  attr_accessor :postal_code_range_end
@@ -7777,6 +8169,11 @@ module Google
7777
8169
  end
7778
8170
  end
7779
8171
 
8172
+ # Required product attributes are primarily defined by the products data
8173
+ # specification. See the Products Data Specification Help Center article for
8174
+ # information.
8175
+ # Some attributes are country-specific, so make sure you select the appropriate
8176
+ # country in the drop-down selector at the top of the page.
7780
8177
  # Product data. After inserting, updating, or deleting a product, it may take
7781
8178
  # several minutes before changes take effect.
7782
8179
  class Product
@@ -7832,8 +8229,8 @@ module Google
7832
8229
 
7833
8230
  # Required. The item's channel (online or local).
7834
8231
  # Acceptable values are:
7835
- # - "local"
7836
- # - "online"
8232
+ # - "`local`"
8233
+ # - "`online`"
7837
8234
  # Corresponds to the JSON property `channel`
7838
8235
  # @return [String]
7839
8236
  attr_accessor :channel
@@ -7860,7 +8257,7 @@ module Google
7860
8257
 
7861
8258
  # A list of custom (merchant-provided) attributes. It can also be used for
7862
8259
  # submitting any attribute of the feed specification in its generic form (e.g., `
7863
- # "name": "size type", "value": "regular" `). This is useful for submitting
8260
+ # ` "name": "size type", "value": "regular" ``). This is useful for submitting
7864
8261
  # attributes not explicitly exposed by the API, such as additional attributes
7865
8262
  # used for Shopping Actions.
7866
8263
  # Corresponds to the JSON property `customAttributes`
@@ -7934,9 +8331,9 @@ module Google
7934
8331
  attr_accessor :excluded_destinations
7935
8332
 
7936
8333
  # Date on which the item should expire, as specified upon insertion, in ISO 8601
7937
- # format. The actual expiration date in Google Shopping is exposed in
7938
- # productstatuses as googleExpirationDate and might be earlier if expirationDate
7939
- # is too far in the future.
8334
+ # format. The actual expiration date in Google Shopping is exposed in `
8335
+ # productstatuses` as `googleExpirationDate` and might be earlier if `
8336
+ # expirationDate` is too far in the future.
7940
8337
  # Corresponds to the JSON property `expirationDate`
7941
8338
  # @return [String]
7942
8339
  attr_accessor :expiration_date
@@ -7957,7 +8354,7 @@ module Google
7957
8354
  attr_accessor :gtin
7958
8355
 
7959
8356
  # The REST ID of the product. Content API methods that operate on products take
7960
- # this as their productId parameter.
8357
+ # this as their `productId` parameter.
7961
8358
  # The REST ID for a product is of the form channel:contentLanguage:targetCountry:
7962
8359
  # offerId.
7963
8360
  # Corresponds to the JSON property `id`
@@ -7979,7 +8376,7 @@ module Google
7979
8376
 
7980
8377
  # The list of destinations to include for this target (corresponds to checked
7981
8378
  # check boxes in Merchant Center). Default destinations are always included
7982
- # unless provided in excludedDestinations.
8379
+ # unless provided in `excludedDestinations`.
7983
8380
  # Corresponds to the JSON property `includedDestinations`
7984
8381
  # @return [Array<String>]
7985
8382
  attr_accessor :included_destinations
@@ -8001,8 +8398,8 @@ module Google
8001
8398
  # @return [String]
8002
8399
  attr_accessor :item_group_id
8003
8400
 
8004
- # Identifies what kind of resource this is. Value: the fixed string "content#
8005
- # product".
8401
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8402
+ # product`"
8006
8403
  # Corresponds to the JSON property `kind`
8007
8404
  # @return [String]
8008
8405
  attr_accessor :kind
@@ -8145,17 +8542,17 @@ module Google
8145
8542
  attr_accessor :size_type
8146
8543
 
8147
8544
  # Size of the item. Only one value is allowed. For variants with different sizes,
8148
- # insert a separate product for each size with the same itemGroupId value (see
8149
- # size definition).
8545
+ # insert a separate product for each size with the same `itemGroupId` value (
8546
+ # see size definition).
8150
8547
  # Corresponds to the JSON property `sizes`
8151
8548
  # @return [Array<String>]
8152
8549
  attr_accessor :sizes
8153
8550
 
8154
8551
  # The source of the offer, i.e., how the offer was created.
8155
8552
  # Acceptable values are:
8156
- # - "api"
8157
- # - "crawl"
8158
- # - "feed"
8553
+ # - "`api`"
8554
+ # - "`crawl`"
8555
+ # - "`feed`"
8159
8556
  # Corresponds to the JSON property `source`
8160
8557
  # @return [String]
8161
8558
  attr_accessor :source
@@ -8446,8 +8843,8 @@ module Google
8446
8843
  # @return [Array<Google::Apis::ContentV2_1::ProductStatusItemLevelIssue>]
8447
8844
  attr_accessor :item_level_issues
8448
8845
 
8449
- # Identifies what kind of resource this is. Value: the fixed string "content#
8450
- # productStatus".
8846
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8847
+ # productStatus`"
8451
8848
  # Corresponds to the JSON property `kind`
8452
8849
  # @return [String]
8453
8850
  attr_accessor :kind
@@ -8719,21 +9116,26 @@ module Google
8719
9116
 
8720
9117
  # The method of the batch entry.
8721
9118
  # Acceptable values are:
8722
- # - "delete"
8723
- # - "get"
8724
- # - "insert"
9119
+ # - "`delete`"
9120
+ # - "`get`"
9121
+ # - "`insert`"
8725
9122
  # Corresponds to the JSON property `method`
8726
9123
  # @return [String]
8727
9124
  attr_accessor :method_prop
8728
9125
 
9126
+ # Required product attributes are primarily defined by the products data
9127
+ # specification. See the Products Data Specification Help Center article for
9128
+ # information.
9129
+ # Some attributes are country-specific, so make sure you select the appropriate
9130
+ # country in the drop-down selector at the top of the page.
8729
9131
  # Product data. After inserting, updating, or deleting a product, it may take
8730
9132
  # several minutes before changes take effect.
8731
9133
  # Corresponds to the JSON property `product`
8732
9134
  # @return [Google::Apis::ContentV2_1::Product]
8733
9135
  attr_accessor :product
8734
9136
 
8735
- # The ID of the product to get or delete. Only defined if the method is get or
8736
- # delete.
9137
+ # The ID of the product to get or delete. Only defined if the method is `get` or
9138
+ # `delete`.
8737
9139
  # Corresponds to the JSON property `productId`
8738
9140
  # @return [String]
8739
9141
  attr_accessor :product_id
@@ -8793,12 +9195,17 @@ module Google
8793
9195
  # @return [Google::Apis::ContentV2_1::Errors]
8794
9196
  attr_accessor :errors
8795
9197
 
8796
- # Identifies what kind of resource this is. Value: the fixed string "content#
8797
- # productsCustomBatchResponseEntry".
9198
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
9199
+ # productsCustomBatchResponseEntry`"
8798
9200
  # Corresponds to the JSON property `kind`
8799
9201
  # @return [String]
8800
9202
  attr_accessor :kind
8801
9203
 
9204
+ # Required product attributes are primarily defined by the products data
9205
+ # specification. See the Products Data Specification Help Center article for
9206
+ # information.
9207
+ # Some attributes are country-specific, so make sure you select the appropriate
9208
+ # country in the drop-down selector at the top of the page.
8802
9209
  # Product data. After inserting, updating, or deleting a product, it may take
8803
9210
  # several minutes before changes take effect.
8804
9211
  # Corresponds to the JSON property `product`
@@ -8897,7 +9304,7 @@ module Google
8897
9304
 
8898
9305
  # The method of the batch entry.
8899
9306
  # Acceptable values are:
8900
- # - "get"
9307
+ # - "`get`"
8901
9308
  # Corresponds to the JSON property `method`
8902
9309
  # @return [String]
8903
9310
  attr_accessor :method_prop
@@ -8962,8 +9369,8 @@ module Google
8962
9369
  # @return [Google::Apis::ContentV2_1::Errors]
8963
9370
  attr_accessor :errors
8964
9371
 
8965
- # Identifies what kind of resource this is. Value: the fixed string "content#
8966
- # productstatusesCustomBatchResponseEntry".
9372
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
9373
+ # productstatusesCustomBatchResponseEntry`"
8967
9374
  # Corresponds to the JSON property `kind`
8968
9375
  # @return [String]
8969
9376
  attr_accessor :kind
@@ -9020,7 +9427,8 @@ module Google
9020
9427
  end
9021
9428
 
9022
9429
  # Settings for Pub/Sub notifications, all methods require that the caller is a
9023
- # direct user of the merchant center account.
9430
+ # direct user of the merchant center account. (== resource_for v2.1.
9431
+ # pubsubnotificationsettings ==)
9024
9432
  class PubsubNotificationSettings
9025
9433
  include Google::Apis::Core::Hashable
9026
9434
 
@@ -9029,13 +9437,15 @@ module Google
9029
9437
  # @return [String]
9030
9438
  attr_accessor :cloud_topic_name
9031
9439
 
9032
- # Identifies what kind of resource this is. Value: the fixed string "content#
9033
- # pubsubNotificationSettings".
9440
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
9441
+ # pubsubNotificationSettings`"
9034
9442
  # Corresponds to the JSON property `kind`
9035
9443
  # @return [String]
9036
9444
  attr_accessor :kind
9037
9445
 
9038
- # List of event types. Supported event types: orderPendingShipment.
9446
+ # List of event types.
9447
+ # Acceptable values are:
9448
+ # - "`orderPendingShipment`"
9039
9449
  # Corresponds to the JSON property `registeredEvents`
9040
9450
  # @return [Array<String>]
9041
9451
  attr_accessor :registered_events
@@ -9064,13 +9474,14 @@ module Google
9064
9474
  # @return [Array<String>]
9065
9475
  attr_accessor :applicable_shipping_labels
9066
9476
 
9067
- # A list of carrier rates that can be referred to by mainTable or singleValue.
9477
+ # A list of carrier rates that can be referred to by `mainTable` or `singleValue`
9478
+ # .
9068
9479
  # Corresponds to the JSON property `carrierRates`
9069
9480
  # @return [Array<Google::Apis::ContentV2_1::CarrierRate>]
9070
9481
  attr_accessor :carrier_rates
9071
9482
 
9072
- # A table defining the rate group, when singleValue is not expressive enough.
9073
- # Can only be set if singleValue is not set.
9483
+ # A table defining the rate group, when `singleValue` is not expressive enough.
9484
+ # Can only be set if `singleValue` is not set.
9074
9485
  # Corresponds to the JSON property `mainTable`
9075
9486
  # @return [Google::Apis::ContentV2_1::Table]
9076
9487
  attr_accessor :main_table
@@ -9082,14 +9493,14 @@ module Google
9082
9493
  attr_accessor :name
9083
9494
 
9084
9495
  # The single value of a rate group or the value of a rate group table's cell.
9085
- # Exactly one of noShipping, flatRate, pricePercentage, carrierRateName,
9086
- # subtableName must be set.
9496
+ # Exactly one of `noShipping`, `flatRate`, `pricePercentage`, `carrierRateName`,
9497
+ # `subtableName` must be set.
9087
9498
  # Corresponds to the JSON property `singleValue`
9088
9499
  # @return [Google::Apis::ContentV2_1::Value]
9089
9500
  attr_accessor :single_value
9090
9501
 
9091
- # A list of subtables referred to by mainTable. Can only be set if mainTable is
9092
- # set.
9502
+ # A list of subtables referred to by `mainTable`. Can only be set if `mainTable`
9503
+ # is set.
9093
9504
  # Corresponds to the JSON property `subtables`
9094
9505
  # @return [Array<Google::Apis::ContentV2_1::Table>]
9095
9506
  attr_accessor :subtables
@@ -9120,50 +9531,50 @@ module Google
9120
9531
 
9121
9532
  # Code of the refund reason.
9122
9533
  # Acceptable values are:
9123
- # - "adjustment"
9124
- # - "autoPostInternal"
9125
- # - "autoPostInvalidBillingAddress"
9126
- # - "autoPostNoInventory"
9127
- # - "autoPostPriceError"
9128
- # - "autoPostUndeliverableShippingAddress"
9129
- # - "couponAbuse"
9130
- # - "courtesyAdjustment"
9131
- # - "customerCanceled"
9132
- # - "customerDiscretionaryReturn"
9133
- # - "customerInitiatedMerchantCancel"
9134
- # - "customerSupportRequested"
9135
- # - "deliveredLateByCarrier"
9136
- # - "deliveredTooLate"
9137
- # - "expiredItem"
9138
- # - "failToPushOrderGoogleError"
9139
- # - "failToPushOrderMerchantError"
9140
- # - "failToPushOrderMerchantFulfillmentError"
9141
- # - "failToPushOrderToMerchant"
9142
- # - "failToPushOrderToMerchantOutOfStock"
9143
- # - "feeAdjustment"
9144
- # - "invalidCoupon"
9145
- # - "lateShipmentCredit"
9146
- # - "malformedShippingAddress"
9147
- # - "merchantDidNotShipOnTime"
9148
- # - "noInventory"
9149
- # - "orderTimeout"
9150
- # - "other"
9151
- # - "paymentAbuse"
9152
- # - "paymentDeclined"
9153
- # - "priceAdjustment"
9154
- # - "priceError"
9155
- # - "productArrivedDamaged"
9156
- # - "productNotAsDescribed"
9157
- # - "promoReallocation"
9158
- # - "qualityNotAsExpected"
9159
- # - "returnRefundAbuse"
9160
- # - "shippingCostAdjustment"
9161
- # - "shippingPriceError"
9162
- # - "taxAdjustment"
9163
- # - "taxError"
9164
- # - "undeliverableShippingAddress"
9165
- # - "unsupportedPoBoxAddress"
9166
- # - "wrongProductShipped"
9534
+ # - "`adjustment`"
9535
+ # - "`autoPostInternal`"
9536
+ # - "`autoPostInvalidBillingAddress`"
9537
+ # - "`autoPostNoInventory`"
9538
+ # - "`autoPostPriceError`"
9539
+ # - "`autoPostUndeliverableShippingAddress`"
9540
+ # - "`couponAbuse`"
9541
+ # - "`courtesyAdjustment`"
9542
+ # - "`customerCanceled`"
9543
+ # - "`customerDiscretionaryReturn`"
9544
+ # - "`customerInitiatedMerchantCancel`"
9545
+ # - "`customerSupportRequested`"
9546
+ # - "`deliveredLateByCarrier`"
9547
+ # - "`deliveredTooLate`"
9548
+ # - "`expiredItem`"
9549
+ # - "`failToPushOrderGoogleError`"
9550
+ # - "`failToPushOrderMerchantError`"
9551
+ # - "`failToPushOrderMerchantFulfillmentError`"
9552
+ # - "`failToPushOrderToMerchant`"
9553
+ # - "`failToPushOrderToMerchantOutOfStock`"
9554
+ # - "`feeAdjustment`"
9555
+ # - "`invalidCoupon`"
9556
+ # - "`lateShipmentCredit`"
9557
+ # - "`malformedShippingAddress`"
9558
+ # - "`merchantDidNotShipOnTime`"
9559
+ # - "`noInventory`"
9560
+ # - "`orderTimeout`"
9561
+ # - "`other`"
9562
+ # - "`paymentAbuse`"
9563
+ # - "`paymentDeclined`"
9564
+ # - "`priceAdjustment`"
9565
+ # - "`priceError`"
9566
+ # - "`productArrivedDamaged`"
9567
+ # - "`productNotAsDescribed`"
9568
+ # - "`promoReallocation`"
9569
+ # - "`qualityNotAsExpected`"
9570
+ # - "`returnRefundAbuse`"
9571
+ # - "`shippingCostAdjustment`"
9572
+ # - "`shippingPriceError`"
9573
+ # - "`taxAdjustment`"
9574
+ # - "`taxError`"
9575
+ # - "`undeliverableShippingAddress`"
9576
+ # - "`unsupportedPoBoxAddress`"
9577
+ # - "`wrongProductShipped`"
9167
9578
  # Corresponds to the JSON property `reasonCode`
9168
9579
  # @return [String]
9169
9580
  attr_accessor :reason_code
@@ -9211,7 +9622,7 @@ module Google
9211
9622
  # @return [String]
9212
9623
  attr_accessor :region_id
9213
9624
 
9214
- # The sale price of the product. Mandatory if sale_price_effective_date is
9625
+ # The sale price of the product. Mandatory if `sale_price_effective_date` is
9215
9626
  # defined.
9216
9627
  # Corresponds to the JSON property `salePrice`
9217
9628
  # @return [Google::Apis::ContentV2_1::Price]
@@ -9274,7 +9685,7 @@ module Google
9274
9685
 
9275
9686
  # Method of the batch request entry.
9276
9687
  # Acceptable values are:
9277
- # - "insert"
9688
+ # - "`insert`"
9278
9689
  # Corresponds to the JSON property `method`
9279
9690
  # @return [String]
9280
9691
  attr_accessor :method_prop
@@ -9383,8 +9794,8 @@ module Google
9383
9794
  # @return [String]
9384
9795
  attr_accessor :country
9385
9796
 
9386
- # Identifies what kind of resource this is. Value: the fixed string "content#
9387
- # returnAddress".
9797
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
9798
+ # returnAddress`"
9388
9799
  # Corresponds to the JSON property `kind`
9389
9800
  # @return [String]
9390
9801
  attr_accessor :kind
@@ -9481,8 +9892,8 @@ module Google
9481
9892
  # @return [String]
9482
9893
  attr_accessor :country
9483
9894
 
9484
- # Identifies what kind of resource this is. Value: the fixed string "content#
9485
- # returnPolicy".
9895
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
9896
+ # returnPolicy`"
9486
9897
  # Corresponds to the JSON property `kind`
9487
9898
  # @return [String]
9488
9899
  attr_accessor :kind
@@ -9564,10 +9975,10 @@ module Google
9564
9975
  # living things. A policy of less than 30 days can only be applied to those
9565
9976
  # items.
9566
9977
  # Acceptable values are:
9567
- # - "lastReturnDate"
9568
- # - "lifetimeReturns"
9569
- # - "noReturns"
9570
- # - "numberOfDaysAfterDelivery"
9978
+ # - "`lastReturnDate`"
9979
+ # - "`lifetimeReturns`"
9980
+ # - "`noReturns`"
9981
+ # - "`numberOfDaysAfterDelivery`"
9571
9982
  # Corresponds to the JSON property `type`
9572
9983
  # @return [String]
9573
9984
  attr_accessor :type
@@ -9621,6 +10032,57 @@ module Google
9621
10032
  end
9622
10033
  end
9623
10034
 
10035
+ #
10036
+ class ReturnPricingInfo
10037
+ include Google::Apis::Core::Hashable
10038
+
10039
+ # Default option for whether merchant should charge the customer for return
10040
+ # shipping costs, based on customer selected return reason and merchant's return
10041
+ # policy for the items being returned.
10042
+ # Corresponds to the JSON property `chargeReturnShippingFee`
10043
+ # @return [Boolean]
10044
+ attr_accessor :charge_return_shipping_fee
10045
+ alias_method :charge_return_shipping_fee?, :charge_return_shipping_fee
10046
+
10047
+ # Maximum return shipping costs that may be charged to the customer depending on
10048
+ # merchant's assessment of the return reason and the merchant's return policy
10049
+ # for the items being returned.
10050
+ # Corresponds to the JSON property `maxReturnShippingFee`
10051
+ # @return [Google::Apis::ContentV2_1::MonetaryAmount]
10052
+ attr_accessor :max_return_shipping_fee
10053
+
10054
+ # Total amount that can be refunded for the items in this return. It represents
10055
+ # the total amount received by the merchant for the items, after applying
10056
+ # merchant coupons.
10057
+ # Corresponds to the JSON property `refundableItemsTotalAmount`
10058
+ # @return [Google::Apis::ContentV2_1::MonetaryAmount]
10059
+ attr_accessor :refundable_items_total_amount
10060
+
10061
+ # Maximum amount that can be refunded for the original shipping fee.
10062
+ # Corresponds to the JSON property `refundableShippingAmount`
10063
+ # @return [Google::Apis::ContentV2_1::MonetaryAmount]
10064
+ attr_accessor :refundable_shipping_amount
10065
+
10066
+ # Total amount already refunded by the merchant. It includes all types of
10067
+ # refunds (items, shipping, etc.) Not provided if no refund has been applied yet.
10068
+ # Corresponds to the JSON property `totalRefundedAmount`
10069
+ # @return [Google::Apis::ContentV2_1::MonetaryAmount]
10070
+ attr_accessor :total_refunded_amount
10071
+
10072
+ def initialize(**args)
10073
+ update!(**args)
10074
+ end
10075
+
10076
+ # Update properties of this object
10077
+ def update!(**args)
10078
+ @charge_return_shipping_fee = args[:charge_return_shipping_fee] if args.key?(:charge_return_shipping_fee)
10079
+ @max_return_shipping_fee = args[:max_return_shipping_fee] if args.key?(:max_return_shipping_fee)
10080
+ @refundable_items_total_amount = args[:refundable_items_total_amount] if args.key?(:refundable_items_total_amount)
10081
+ @refundable_shipping_amount = args[:refundable_shipping_amount] if args.key?(:refundable_shipping_amount)
10082
+ @total_refunded_amount = args[:total_refunded_amount] if args.key?(:total_refunded_amount)
10083
+ end
10084
+ end
10085
+
9624
10086
  #
9625
10087
  class ReturnShipment
9626
10088
  include Google::Apis::Core::Hashable
@@ -9637,9 +10099,9 @@ module Google
9637
10099
 
9638
10100
  # Type of the return method.
9639
10101
  # Acceptable values are:
9640
- # - "byMail"
9641
- # - "contactCustomerSupport"
9642
- # - "returnless"
10102
+ # - "`byMail`"
10103
+ # - "`contactCustomerSupport`"
10104
+ # - "`returnless`"
9643
10105
  # Corresponds to the JSON property `returnMethodType`
9644
10106
  # @return [String]
9645
10107
  attr_accessor :return_method_type
@@ -9662,10 +10124,10 @@ module Google
9662
10124
 
9663
10125
  # State of the shipment.
9664
10126
  # Acceptable values are:
9665
- # - "completed"
9666
- # - "new"
9667
- # - "shipped"
9668
- # - "undeliverable"
10127
+ # - "`completed`"
10128
+ # - "`new`"
10129
+ # - "`shipped`"
10130
+ # - "`undeliverable`"
9669
10131
  # Corresponds to the JSON property `state`
9670
10132
  # @return [String]
9671
10133
  attr_accessor :state
@@ -9721,9 +10183,9 @@ module Google
9721
10183
 
9722
10184
  # Method of the batch request entry.
9723
10185
  # Acceptable values are:
9724
- # - "delete"
9725
- # - "get"
9726
- # - "insert"
10186
+ # - "`delete`"
10187
+ # - "`get`"
10188
+ # - "`insert`"
9727
10189
  # Corresponds to the JSON property `method`
9728
10190
  # @return [String]
9729
10191
  attr_accessor :method_prop
@@ -9733,7 +10195,7 @@ module Google
9733
10195
  # @return [Google::Apis::ContentV2_1::ReturnAddress]
9734
10196
  attr_accessor :return_address
9735
10197
 
9736
- # The return address ID. Set this only if the method is delete or get.
10198
+ # The return address ID. Set this only if the method is `delete` or `get`.
9737
10199
  # Corresponds to the JSON property `returnAddressId`
9738
10200
  # @return [String]
9739
10201
  attr_accessor :return_address_id
@@ -9792,8 +10254,8 @@ module Google
9792
10254
  # @return [Google::Apis::ContentV2_1::Errors]
9793
10255
  attr_accessor :errors
9794
10256
 
9795
- # Identifies what kind of resource this is. Value: the fixed string "content#
9796
- # returnaddressCustomBatchResponseEntry".
10257
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
10258
+ # returnaddressCustomBatchResponseEntry`"
9797
10259
  # Corresponds to the JSON property `kind`
9798
10260
  # @return [String]
9799
10261
  attr_accessor :kind
@@ -9883,9 +10345,9 @@ module Google
9883
10345
 
9884
10346
  # Method of the batch request entry.
9885
10347
  # Acceptable values are:
9886
- # - "delete"
9887
- # - "get"
9888
- # - "insert"
10348
+ # - "`delete`"
10349
+ # - "`get`"
10350
+ # - "`insert`"
9889
10351
  # Corresponds to the JSON property `method`
9890
10352
  # @return [String]
9891
10353
  attr_accessor :method_prop
@@ -9895,7 +10357,7 @@ module Google
9895
10357
  # @return [Google::Apis::ContentV2_1::ReturnPolicy]
9896
10358
  attr_accessor :return_policy
9897
10359
 
9898
- # The return policy ID. Set this only if the method is delete or get.
10360
+ # The return policy ID. Set this only if the method is `delete` or `get`.
9899
10361
  # Corresponds to the JSON property `returnPolicyId`
9900
10362
  # @return [String]
9901
10363
  attr_accessor :return_policy_id
@@ -9954,8 +10416,8 @@ module Google
9954
10416
  # @return [Google::Apis::ContentV2_1::Errors]
9955
10417
  attr_accessor :errors
9956
10418
 
9957
- # Identifies what kind of resource this is. Value: the fixed string "content#
9958
- # returnpolicyCustomBatchResponseEntry".
10419
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
10420
+ # returnpolicyCustomBatchResponseEntry`"
9959
10421
  # Corresponds to the JSON property `kind`
9960
10422
  # @return [String]
9961
10423
  attr_accessor :kind
@@ -10008,8 +10470,8 @@ module Google
10008
10470
  class Row
10009
10471
  include Google::Apis::Core::Hashable
10010
10472
 
10011
- # The list of cells that constitute the row. Must have the same length as
10012
- # columnHeaders for two-dimensional tables, a length of 1 for one-dimensional
10473
+ # The list of cells that constitute the row. Must have the same length as `
10474
+ # columnHeaders` for two-dimensional tables, a length of 1 for one-dimensional
10013
10475
  # tables. Required.
10014
10476
  # Corresponds to the JSON property `cells`
10015
10477
  # @return [Array<Google::Apis::ContentV2_1::Value>]
@@ -10054,43 +10516,49 @@ module Google
10054
10516
 
10055
10517
  # Eligibility for this service.
10056
10518
  # Acceptable values are:
10057
- # - "All scenarios"
10058
- # - "All scenarios except Shopping Actions"
10059
- # - "Shopping Actions"
10519
+ # - "`All scenarios`"
10520
+ # - "`All scenarios except Shopping Actions`"
10521
+ # - "`Shopping Actions`"
10060
10522
  # Corresponds to the JSON property `eligibility`
10061
10523
  # @return [String]
10062
10524
  attr_accessor :eligibility
10063
10525
 
10064
10526
  # Minimum order value for this service. If set, indicates that customers will
10065
10527
  # have to spend at least this amount. All prices within a service must have the
10066
- # same currency.
10528
+ # same currency. Cannot be set together with minimum_order_value_table.
10067
10529
  # Corresponds to the JSON property `minimumOrderValue`
10068
10530
  # @return [Google::Apis::ContentV2_1::Price]
10069
10531
  attr_accessor :minimum_order_value
10070
10532
 
10533
+ # Table of per store minimum order values for the pickup fulfillment type.
10534
+ # Cannot be set together with minimum_order_value.
10535
+ # Corresponds to the JSON property `minimumOrderValueTable`
10536
+ # @return [Google::Apis::ContentV2_1::MinimumOrderValueTable]
10537
+ attr_accessor :minimum_order_value_table
10538
+
10071
10539
  # Free-form name of the service. Must be unique within target account. Required.
10072
10540
  # Corresponds to the JSON property `name`
10073
10541
  # @return [String]
10074
10542
  attr_accessor :name
10075
10543
 
10076
10544
  # The carrier-service pair delivering items to collection points. The list of
10077
- # supported pickup services can be retrieved via the getSupportedPickupServices
10078
- # method. Required if and only if the service delivery type is pickup.
10545
+ # supported pickup services can be retrieved via the `getSupportedPickupServices`
10546
+ # method. Required if and only if the service delivery type is `pickup`.
10079
10547
  # Corresponds to the JSON property `pickupService`
10080
10548
  # @return [Google::Apis::ContentV2_1::PickupCarrierService]
10081
10549
  attr_accessor :pickup_service
10082
10550
 
10083
10551
  # Shipping rate group definitions. Only the last one is allowed to have an empty
10084
- # applicableShippingLabels, which means "everything else". The other
10085
- # applicableShippingLabels must not overlap.
10552
+ # `applicableShippingLabels`, which means "everything else". The other `
10553
+ # applicableShippingLabels` must not overlap.
10086
10554
  # Corresponds to the JSON property `rateGroups`
10087
10555
  # @return [Array<Google::Apis::ContentV2_1::RateGroup>]
10088
10556
  attr_accessor :rate_groups
10089
10557
 
10090
10558
  # Type of locations this service ships orders to.
10091
10559
  # Acceptable values are:
10092
- # - "delivery"
10093
- # - "pickup"
10560
+ # - "`delivery`"
10561
+ # - "`pickup`"
10094
10562
  # Corresponds to the JSON property `shipmentType`
10095
10563
  # @return [String]
10096
10564
  attr_accessor :shipment_type
@@ -10107,6 +10575,7 @@ module Google
10107
10575
  @delivery_time = args[:delivery_time] if args.key?(:delivery_time)
10108
10576
  @eligibility = args[:eligibility] if args.key?(:eligibility)
10109
10577
  @minimum_order_value = args[:minimum_order_value] if args.key?(:minimum_order_value)
10578
+ @minimum_order_value_table = args[:minimum_order_value_table] if args.key?(:minimum_order_value_table)
10110
10579
  @name = args[:name] if args.key?(:name)
10111
10580
  @pickup_service = args[:pickup_service] if args.key?(:pickup_service)
10112
10581
  @rate_groups = args[:rate_groups] if args.key?(:rate_groups)
@@ -10114,6 +10583,411 @@ module Google
10114
10583
  end
10115
10584
  end
10116
10585
 
10586
+ # Settlement reports detail order-level and item-level credits and debits
10587
+ # between you and Google.
10588
+ class SettlementReport
10589
+ include Google::Apis::Core::Hashable
10590
+
10591
+ # The end date on which all transactions are included in the report, in ISO 8601
10592
+ # format.
10593
+ # Corresponds to the JSON property `endDate`
10594
+ # @return [String]
10595
+ attr_accessor :end_date
10596
+
10597
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
10598
+ # settlementReport`"
10599
+ # Corresponds to the JSON property `kind`
10600
+ # @return [String]
10601
+ attr_accessor :kind
10602
+
10603
+ # The residual amount from the previous invoice. This is set only if the
10604
+ # previous invoices are not paid because of negative balance.
10605
+ # Corresponds to the JSON property `previousBalance`
10606
+ # @return [Google::Apis::ContentV2_1::Price]
10607
+ attr_accessor :previous_balance
10608
+
10609
+ # The ID of the settlement report.
10610
+ # Corresponds to the JSON property `settlementId`
10611
+ # @return [String]
10612
+ attr_accessor :settlement_id
10613
+
10614
+ # The start date on which all transactions are included in the report, in ISO
10615
+ # 8601 format.
10616
+ # Corresponds to the JSON property `startDate`
10617
+ # @return [String]
10618
+ attr_accessor :start_date
10619
+
10620
+ # The money due to the merchant.
10621
+ # Corresponds to the JSON property `transferAmount`
10622
+ # @return [Google::Apis::ContentV2_1::Price]
10623
+ attr_accessor :transfer_amount
10624
+
10625
+ # Date on which transfer for this payment was initiated by Google, in ISO 8601
10626
+ # format.
10627
+ # Corresponds to the JSON property `transferDate`
10628
+ # @return [String]
10629
+ attr_accessor :transfer_date
10630
+
10631
+ # The list of bank identifiers used for the transfer. e.g. Trace ID for Federal
10632
+ # Automated Clearing House (ACH). This may also be known as the Wire ID.
10633
+ # Corresponds to the JSON property `transferIds`
10634
+ # @return [Array<String>]
10635
+ attr_accessor :transfer_ids
10636
+
10637
+ def initialize(**args)
10638
+ update!(**args)
10639
+ end
10640
+
10641
+ # Update properties of this object
10642
+ def update!(**args)
10643
+ @end_date = args[:end_date] if args.key?(:end_date)
10644
+ @kind = args[:kind] if args.key?(:kind)
10645
+ @previous_balance = args[:previous_balance] if args.key?(:previous_balance)
10646
+ @settlement_id = args[:settlement_id] if args.key?(:settlement_id)
10647
+ @start_date = args[:start_date] if args.key?(:start_date)
10648
+ @transfer_amount = args[:transfer_amount] if args.key?(:transfer_amount)
10649
+ @transfer_date = args[:transfer_date] if args.key?(:transfer_date)
10650
+ @transfer_ids = args[:transfer_ids] if args.key?(:transfer_ids)
10651
+ end
10652
+ end
10653
+
10654
+ # Settlement transactions give a detailed breakdown of the settlement report. (=
10655
+ # = resource_for v2.1.settlementtransactions ==)
10656
+ class SettlementTransaction
10657
+ include Google::Apis::Core::Hashable
10658
+
10659
+ # The amount for the transaction.
10660
+ # Corresponds to the JSON property `amount`
10661
+ # @return [Google::Apis::ContentV2_1::SettlementTransactionAmount]
10662
+ attr_accessor :amount
10663
+
10664
+ # Identifiers of the transaction.
10665
+ # Corresponds to the JSON property `identifiers`
10666
+ # @return [Google::Apis::ContentV2_1::SettlementTransactionIdentifiers]
10667
+ attr_accessor :identifiers
10668
+
10669
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
10670
+ # settlementTransaction`"
10671
+ # Corresponds to the JSON property `kind`
10672
+ # @return [String]
10673
+ attr_accessor :kind
10674
+
10675
+ # Details of the transaction.
10676
+ # Corresponds to the JSON property `transaction`
10677
+ # @return [Google::Apis::ContentV2_1::SettlementTransactionTransaction]
10678
+ attr_accessor :transaction
10679
+
10680
+ def initialize(**args)
10681
+ update!(**args)
10682
+ end
10683
+
10684
+ # Update properties of this object
10685
+ def update!(**args)
10686
+ @amount = args[:amount] if args.key?(:amount)
10687
+ @identifiers = args[:identifiers] if args.key?(:identifiers)
10688
+ @kind = args[:kind] if args.key?(:kind)
10689
+ @transaction = args[:transaction] if args.key?(:transaction)
10690
+ end
10691
+ end
10692
+
10693
+ #
10694
+ class SettlementTransactionAmount
10695
+ include Google::Apis::Core::Hashable
10696
+
10697
+ #
10698
+ # Corresponds to the JSON property `commission`
10699
+ # @return [Google::Apis::ContentV2_1::SettlementTransactionAmountCommission]
10700
+ attr_accessor :commission
10701
+
10702
+ # The description of the event.
10703
+ # Acceptable values are:
10704
+ # - "`taxWithhold`"
10705
+ # - "`principal`"
10706
+ # - "`principalAdjustment`"
10707
+ # - "`shippingFee`"
10708
+ # - "`merchantRemittedSalesTax`"
10709
+ # - "`googleRemittedSalesTax`"
10710
+ # - "`merchantCoupon`"
10711
+ # - "`merchantCouponTax`"
10712
+ # - "`merchantRemittedDisposalTax`"
10713
+ # - "`googleRemittedDisposalTax`"
10714
+ # - "`merchantRemittedRedemptionFee`"
10715
+ # - "`googleRemittedRedemptionFee`"
10716
+ # - "`eeeEcoFee`"
10717
+ # - "`furnitureEcoFee`"
10718
+ # - "`copyPrivateFee`"
10719
+ # - "`eeeEcoFeeCommission`"
10720
+ # - "`furnitureEcoFeeCommission`"
10721
+ # - "`copyPrivateFeeCommission`"
10722
+ # - "`principalRefund`"
10723
+ # - "`principalRefundTax`"
10724
+ # - "`itemCommission`"
10725
+ # - "`adjustmentCommission`"
10726
+ # - "`shippingFeeCommission`"
10727
+ # - "`commissionRefund`"
10728
+ # - "`damaged`"
10729
+ # - "`damagedOrDefectiveItem`"
10730
+ # - "`expiredItem`"
10731
+ # - "`faultyItem`"
10732
+ # - "`incorrectItemReceived`"
10733
+ # - "`itemMissing`"
10734
+ # - "`qualityNotExpected`"
10735
+ # - "`receivedTooLate`"
10736
+ # - "`storePackageMissing`"
10737
+ # - "`transitPackageMissing`"
10738
+ # - "`unsuccessfulDeliveryUndeliverable`"
10739
+ # - "`wrongChargeInStore`"
10740
+ # - "`wrongItem`"
10741
+ # - "`returns`"
10742
+ # - "`undeliverable`"
10743
+ # - "`refundFromMerchant`"
10744
+ # - "`returnLabelShippingFee`"
10745
+ # Corresponds to the JSON property `description`
10746
+ # @return [String]
10747
+ attr_accessor :description
10748
+
10749
+ # The amount that contributes to the line item price.
10750
+ # Corresponds to the JSON property `transactionAmount`
10751
+ # @return [Google::Apis::ContentV2_1::Price]
10752
+ attr_accessor :transaction_amount
10753
+
10754
+ # The type of the amount.
10755
+ # Acceptable values are:
10756
+ # - "`itemPrice`"
10757
+ # - "`orderPrice`"
10758
+ # - "`refund`"
10759
+ # - "`earlyRefund`"
10760
+ # - "`courtesyRefund`"
10761
+ # - "`returnRefund`"
10762
+ # - "`returnLabelShippingFeeAmount`"
10763
+ # Corresponds to the JSON property `type`
10764
+ # @return [String]
10765
+ attr_accessor :type
10766
+
10767
+ def initialize(**args)
10768
+ update!(**args)
10769
+ end
10770
+
10771
+ # Update properties of this object
10772
+ def update!(**args)
10773
+ @commission = args[:commission] if args.key?(:commission)
10774
+ @description = args[:description] if args.key?(:description)
10775
+ @transaction_amount = args[:transaction_amount] if args.key?(:transaction_amount)
10776
+ @type = args[:type] if args.key?(:type)
10777
+ end
10778
+ end
10779
+
10780
+ #
10781
+ class SettlementTransactionAmountCommission
10782
+ include Google::Apis::Core::Hashable
10783
+
10784
+ # The category of the commission.
10785
+ # Acceptable values are:
10786
+ # - "`animalsAndPetSupplies`"
10787
+ # - "`dogCatFoodAndCatLitter`"
10788
+ # - "`apparelAndAccessories`"
10789
+ # - "`shoesHandbagsAndSunglasses`"
10790
+ # - "`costumesAndAccessories`"
10791
+ # - "`jewelry`"
10792
+ # - "`watches`"
10793
+ # - "`hobbiesArtsAndCrafts`"
10794
+ # - "`homeAndGarden`"
10795
+ # - "`entertainmentCollectibles`"
10796
+ # - "`collectibleCoins`"
10797
+ # - "`sportsCollectibles`"
10798
+ # - "`sportingGoods`"
10799
+ # - "`toysAndGames`"
10800
+ # - "`musicalInstruments`"
10801
+ # - "`giftCards`"
10802
+ # - "`babyAndToddler`"
10803
+ # - "`babyFoodWipesAndDiapers`"
10804
+ # - "`businessAndIndustrial`"
10805
+ # - "`camerasOpticsAndPhotography`"
10806
+ # - "`consumerElectronics`"
10807
+ # - "`electronicsAccessories`"
10808
+ # - "`personalComputers`"
10809
+ # - "`videoGameConsoles`"
10810
+ # - "`foodAndGrocery`"
10811
+ # - "`beverages`"
10812
+ # - "`tobaccoProducts`"
10813
+ # - "`furniture`"
10814
+ # - "`hardware`"
10815
+ # - "`buildingMaterials`"
10816
+ # - "`tools`"
10817
+ # - "`healthAndPersonalCare`"
10818
+ # - "`beauty`"
10819
+ # - "`householdSupplies`"
10820
+ # - "`kitchenAndDining`"
10821
+ # - "`majorAppliances`"
10822
+ # - "`luggageAndBags`"
10823
+ # - "`media`"
10824
+ # - "`officeSupplies`"
10825
+ # - "`softwareAndVideoGames`"
10826
+ # - "`vehiclePartsAndAccessories`"
10827
+ # - "`vehicleTiresAndWheels`"
10828
+ # - "`vehicles`"
10829
+ # - "`everythingElse`"
10830
+ # Corresponds to the JSON property `category`
10831
+ # @return [String]
10832
+ attr_accessor :category
10833
+
10834
+ # Rate of the commission in percentage.
10835
+ # Corresponds to the JSON property `rate`
10836
+ # @return [String]
10837
+ attr_accessor :rate
10838
+
10839
+ def initialize(**args)
10840
+ update!(**args)
10841
+ end
10842
+
10843
+ # Update properties of this object
10844
+ def update!(**args)
10845
+ @category = args[:category] if args.key?(:category)
10846
+ @rate = args[:rate] if args.key?(:rate)
10847
+ end
10848
+ end
10849
+
10850
+ #
10851
+ class SettlementTransactionIdentifiers
10852
+ include Google::Apis::Core::Hashable
10853
+
10854
+ # The identifier of the adjustments, if it is available.
10855
+ # Corresponds to the JSON property `adjustmentId`
10856
+ # @return [String]
10857
+ attr_accessor :adjustment_id
10858
+
10859
+ # The merchant provided order ID.
10860
+ # Corresponds to the JSON property `merchantOrderId`
10861
+ # @return [String]
10862
+ attr_accessor :merchant_order_id
10863
+
10864
+ # The unique ID of the settlement transaction entry.
10865
+ # Corresponds to the JSON property `settlementEntryId`
10866
+ # @return [String]
10867
+ attr_accessor :settlement_entry_id
10868
+
10869
+ # The shipment ids for the item.
10870
+ # Corresponds to the JSON property `shipmentIds`
10871
+ # @return [Array<String>]
10872
+ attr_accessor :shipment_ids
10873
+
10874
+ # The Google transaction ID.
10875
+ # Corresponds to the JSON property `transactionId`
10876
+ # @return [String]
10877
+ attr_accessor :transaction_id
10878
+
10879
+ def initialize(**args)
10880
+ update!(**args)
10881
+ end
10882
+
10883
+ # Update properties of this object
10884
+ def update!(**args)
10885
+ @adjustment_id = args[:adjustment_id] if args.key?(:adjustment_id)
10886
+ @merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id)
10887
+ @settlement_entry_id = args[:settlement_entry_id] if args.key?(:settlement_entry_id)
10888
+ @shipment_ids = args[:shipment_ids] if args.key?(:shipment_ids)
10889
+ @transaction_id = args[:transaction_id] if args.key?(:transaction_id)
10890
+ end
10891
+ end
10892
+
10893
+ #
10894
+ class SettlementTransactionTransaction
10895
+ include Google::Apis::Core::Hashable
10896
+
10897
+ # The time on which the event occurred in ISO 8601 format.
10898
+ # Corresponds to the JSON property `postDate`
10899
+ # @return [String]
10900
+ attr_accessor :post_date
10901
+
10902
+ # The type of the transaction that occurred.
10903
+ # Acceptable values are:
10904
+ # - "`order`"
10905
+ # - "`reversal`"
10906
+ # - "`orderRefund`"
10907
+ # - "`reversalRefund`"
10908
+ # - "`issueRelatedRefundAndReplacement`"
10909
+ # - "`returnLabelShippingFeeTransaction`"
10910
+ # - "`reversalIssueRelatedRefundAndReplacement`"
10911
+ # - "`reversalReturnLabelShippingFeeTransaction`"
10912
+ # Corresponds to the JSON property `type`
10913
+ # @return [String]
10914
+ attr_accessor :type
10915
+
10916
+ def initialize(**args)
10917
+ update!(**args)
10918
+ end
10919
+
10920
+ # Update properties of this object
10921
+ def update!(**args)
10922
+ @post_date = args[:post_date] if args.key?(:post_date)
10923
+ @type = args[:type] if args.key?(:type)
10924
+ end
10925
+ end
10926
+
10927
+ #
10928
+ class SettlementreportsListResponse
10929
+ include Google::Apis::Core::Hashable
10930
+
10931
+ # Identifies what kind of resource this is. Value: the fixed string "content#
10932
+ # settlementreportsListResponse".
10933
+ # Corresponds to the JSON property `kind`
10934
+ # @return [String]
10935
+ attr_accessor :kind
10936
+
10937
+ # The token for the retrieval of the next page of returns.
10938
+ # Corresponds to the JSON property `nextPageToken`
10939
+ # @return [String]
10940
+ attr_accessor :next_page_token
10941
+
10942
+ #
10943
+ # Corresponds to the JSON property `resources`
10944
+ # @return [Array<Google::Apis::ContentV2_1::SettlementReport>]
10945
+ attr_accessor :resources
10946
+
10947
+ def initialize(**args)
10948
+ update!(**args)
10949
+ end
10950
+
10951
+ # Update properties of this object
10952
+ def update!(**args)
10953
+ @kind = args[:kind] if args.key?(:kind)
10954
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
10955
+ @resources = args[:resources] if args.key?(:resources)
10956
+ end
10957
+ end
10958
+
10959
+ #
10960
+ class SettlementtransactionsListResponse
10961
+ include Google::Apis::Core::Hashable
10962
+
10963
+ # Identifies what kind of resource this is. Value: the fixed string "content#
10964
+ # settlementtransactionsListResponse".
10965
+ # Corresponds to the JSON property `kind`
10966
+ # @return [String]
10967
+ attr_accessor :kind
10968
+
10969
+ # The token for the retrieval of the next page of returns.
10970
+ # Corresponds to the JSON property `nextPageToken`
10971
+ # @return [String]
10972
+ attr_accessor :next_page_token
10973
+
10974
+ #
10975
+ # Corresponds to the JSON property `resources`
10976
+ # @return [Array<Google::Apis::ContentV2_1::SettlementTransaction>]
10977
+ attr_accessor :resources
10978
+
10979
+ def initialize(**args)
10980
+ update!(**args)
10981
+ end
10982
+
10983
+ # Update properties of this object
10984
+ def update!(**args)
10985
+ @kind = args[:kind] if args.key?(:kind)
10986
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
10987
+ @resources = args[:resources] if args.key?(:resources)
10988
+ end
10989
+ end
10990
+
10117
10991
  #
10118
10992
  class ShipmentInvoice
10119
10993
  include Google::Apis::Core::Hashable
@@ -10128,8 +11002,8 @@ module Google
10128
11002
  # @return [Array<Google::Apis::ContentV2_1::ShipmentInvoiceLineItemInvoice>]
10129
11003
  attr_accessor :line_item_invoices
10130
11004
 
10131
- # [required] ID of the shipment group. It is assigned by the merchant in the
10132
- # shipLineItems method and is used to group multiple line items that have the
11005
+ # [required] ID of the shipment group. It is assigned by the merchant in the `
11006
+ # shipLineItems` method and is used to group multiple line items that have the
10133
11007
  # same kind of shipping charges.
10134
11008
  # Corresponds to the JSON property `shipmentGroupId`
10135
11009
  # @return [String]
@@ -10194,36 +11068,36 @@ module Google
10194
11068
 
10195
11069
  # The shipping carrier that handles the package.
10196
11070
  # Acceptable values are:
10197
- # - "boxtal"
10198
- # - "bpost"
10199
- # - "chronopost"
10200
- # - "colisPrive"
10201
- # - "colissimo"
10202
- # - "cxt"
10203
- # - "deliv"
10204
- # - "dhl"
10205
- # - "dpd"
10206
- # - "dynamex"
10207
- # - "eCourier"
10208
- # - "easypost"
10209
- # - "efw"
10210
- # - "fedex"
10211
- # - "fedexSmartpost"
10212
- # - "geodis"
10213
- # - "gls"
10214
- # - "googleCourier"
10215
- # - "gsx"
10216
- # - "jdLogistics"
10217
- # - "laPoste"
10218
- # - "lasership"
10219
- # - "manual"
10220
- # - "mpx"
10221
- # - "onTrac"
10222
- # - "other"
10223
- # - "tnt"
10224
- # - "uds"
10225
- # - "ups"
10226
- # - "usps"
11071
+ # - "`boxtal`"
11072
+ # - "`bpost`"
11073
+ # - "`chronopost`"
11074
+ # - "`colisPrive`"
11075
+ # - "`colissimo`"
11076
+ # - "`cxt`"
11077
+ # - "`deliv`"
11078
+ # - "`dhl`"
11079
+ # - "`dpd`"
11080
+ # - "`dynamex`"
11081
+ # - "`eCourier`"
11082
+ # - "`easypost`"
11083
+ # - "`efw`"
11084
+ # - "`fedex`"
11085
+ # - "`fedexSmartpost`"
11086
+ # - "`geodis`"
11087
+ # - "`gls`"
11088
+ # - "`googleCourier`"
11089
+ # - "`gsx`"
11090
+ # - "`jdLogistics`"
11091
+ # - "`laPoste`"
11092
+ # - "`lasership`"
11093
+ # - "`manual`"
11094
+ # - "`mpx`"
11095
+ # - "`onTrac`"
11096
+ # - "`other`"
11097
+ # - "`tnt`"
11098
+ # - "`uds`"
11099
+ # - "`ups`"
11100
+ # - "`usps`"
10227
11101
  # Corresponds to the JSON property `carrier`
10228
11102
  # @return [String]
10229
11103
  attr_accessor :carrier
@@ -10255,7 +11129,7 @@ module Google
10255
11129
  # @return [Fixnum]
10256
11130
  attr_accessor :account_id
10257
11131
 
10258
- # A list of postal code groups that can be referred to in services. Optional.
11132
+ # A list of postal code groups that can be referred to in `services`. Optional.
10259
11133
  # Corresponds to the JSON property `postalCodeGroups`
10260
11134
  # @return [Array<Google::Apis::ContentV2_1::PostalCodeGroup>]
10261
11135
  attr_accessor :postal_code_groups
@@ -10317,8 +11191,8 @@ module Google
10317
11191
 
10318
11192
  # The method of the batch entry.
10319
11193
  # Acceptable values are:
10320
- # - "get"
10321
- # - "update"
11194
+ # - "`get`"
11195
+ # - "`update`"
10322
11196
  # Corresponds to the JSON property `method`
10323
11197
  # @return [String]
10324
11198
  attr_accessor :method_prop
@@ -10383,8 +11257,8 @@ module Google
10383
11257
  # @return [Google::Apis::ContentV2_1::Errors]
10384
11258
  attr_accessor :errors
10385
11259
 
10386
- # Identifies what kind of resource this is. Value: the fixed string "content#
10387
- # shippingsettingsCustomBatchResponseEntry".
11260
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
11261
+ # shippingsettingsCustomBatchResponseEntry`"
10388
11262
  # Corresponds to the JSON property `kind`
10389
11263
  # @return [String]
10390
11264
  attr_accessor :kind
@@ -10522,8 +11396,8 @@ module Google
10522
11396
  class Table
10523
11397
  include Google::Apis::Core::Hashable
10524
11398
 
10525
- # A non-empty list of row or column headers for a table. Exactly one of prices,
10526
- # weights, numItems, postalCodeGroupNames, or location must be set.
11399
+ # A non-empty list of row or column headers for a table. Exactly one of `prices`,
11400
+ # `weights`, `numItems`, `postalCodeGroupNames`, or `location` must be set.
10527
11401
  # Corresponds to the JSON property `columnHeaders`
10528
11402
  # @return [Google::Apis::ContentV2_1::Headers]
10529
11403
  attr_accessor :column_headers
@@ -10533,14 +11407,14 @@ module Google
10533
11407
  # @return [String]
10534
11408
  attr_accessor :name
10535
11409
 
10536
- # A non-empty list of row or column headers for a table. Exactly one of prices,
10537
- # weights, numItems, postalCodeGroupNames, or location must be set.
11410
+ # A non-empty list of row or column headers for a table. Exactly one of `prices`,
11411
+ # `weights`, `numItems`, `postalCodeGroupNames`, or `location` must be set.
10538
11412
  # Corresponds to the JSON property `rowHeaders`
10539
11413
  # @return [Google::Apis::ContentV2_1::Headers]
10540
11414
  attr_accessor :row_headers
10541
11415
 
10542
- # The list of rows that constitute the table. Must have the same length as
10543
- # rowHeaders. Required.
11416
+ # The list of rows that constitute the table. Must have the same length as `
11417
+ # rowHeaders`. Required.
10544
11418
  # Corresponds to the JSON property `rows`
10545
11419
  # @return [Array<Google::Apis::ContentV2_1::Row>]
10546
11420
  attr_accessor :rows
@@ -10568,8 +11442,8 @@ module Google
10568
11442
  attr_accessor :enable_orderinvoices
10569
11443
  alias_method :enable_orderinvoices?, :enable_orderinvoices
10570
11444
 
10571
- # Identifies what kind of resource this is. Value: the fixed string "content#
10572
- # testOrder".
11445
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
11446
+ # testOrder`"
10573
11447
  # Corresponds to the JSON property `kind`
10574
11448
  # @return [String]
10575
11449
  attr_accessor :kind
@@ -10579,20 +11453,16 @@ module Google
10579
11453
  # @return [Array<Google::Apis::ContentV2_1::TestOrderLineItem>]
10580
11454
  attr_accessor :line_items
10581
11455
 
10582
- # Determines if test order must be pulled by merchant or pushed to merchant via
10583
- # push integration.
10584
- # Acceptable values are:
10585
- # - "checkoutIntegration"
10586
- # - "merchantPull"
11456
+ # Restricted. Do not use.
10587
11457
  # Corresponds to the JSON property `notificationMode`
10588
11458
  # @return [String]
10589
11459
  attr_accessor :notification_mode
10590
11460
 
10591
11461
  # Required. The billing address.
10592
11462
  # Acceptable values are:
10593
- # - "dwight"
10594
- # - "jim"
10595
- # - "pam"
11463
+ # - "`dwight`"
11464
+ # - "`jim`"
11465
+ # - "`pam`"
10596
11466
  # Corresponds to the JSON property `predefinedBillingAddress`
10597
11467
  # @return [String]
10598
11468
  attr_accessor :predefined_billing_address
@@ -10600,28 +11470,28 @@ module Google
10600
11470
  # Required. Identifier of one of the predefined delivery addresses for the
10601
11471
  # delivery.
10602
11472
  # Acceptable values are:
10603
- # - "dwight"
10604
- # - "jim"
10605
- # - "pam"
11473
+ # - "`dwight`"
11474
+ # - "`jim`"
11475
+ # - "`pam`"
10606
11476
  # Corresponds to the JSON property `predefinedDeliveryAddress`
10607
11477
  # @return [String]
10608
11478
  attr_accessor :predefined_delivery_address
10609
11479
 
10610
11480
  # Required. Email address of the customer.
10611
11481
  # Acceptable values are:
10612
- # - "pog.dwight.schrute@gmail.com"
10613
- # - "pog.jim.halpert@gmail.com"
10614
- # - "penpog.pam.beesly@gmail.comding"
11482
+ # - "`pog.dwight.schrute@gmail.com`"
11483
+ # - "`pog.jim.halpert@gmail.com`"
11484
+ # - "`penpog.pam.beesly@gmail.comding`"
10615
11485
  # Corresponds to the JSON property `predefinedEmail`
10616
11486
  # @return [String]
10617
11487
  attr_accessor :predefined_email
10618
11488
 
10619
11489
  # Identifier of one of the predefined pickup details. Required for orders
10620
- # containing line items with shipping type pickup.
11490
+ # containing line items with shipping type `pickup`.
10621
11491
  # Acceptable values are:
10622
- # - "dwight"
10623
- # - "jim"
10624
- # - "pam"
11492
+ # - "`dwight`"
11493
+ # - "`jim`"
11494
+ # - "`pam`"
10625
11495
  # Corresponds to the JSON property `predefinedPickupDetails`
10626
11496
  # @return [String]
10627
11497
  attr_accessor :predefined_pickup_details
@@ -10641,12 +11511,12 @@ module Google
10641
11511
 
10642
11512
  # Required. The requested shipping option.
10643
11513
  # Acceptable values are:
10644
- # - "economy"
10645
- # - "expedited"
10646
- # - "oneDay"
10647
- # - "sameDay"
10648
- # - "standard"
10649
- # - "twoDay"
11514
+ # - "`economy`"
11515
+ # - "`expedited`"
11516
+ # - "`oneDay`"
11517
+ # - "`sameDay`"
11518
+ # - "`standard`"
11519
+ # - "`twoDay`"
10650
11520
  # Corresponds to the JSON property `shippingOption`
10651
11521
  # @return [String]
10652
11522
  attr_accessor :shipping_option
@@ -10719,15 +11589,15 @@ module Google
10719
11589
 
10720
11590
  # Required. Condition or state of the item.
10721
11591
  # Acceptable values are:
10722
- # - "new"
11592
+ # - "`new`"
10723
11593
  # Corresponds to the JSON property `condition`
10724
11594
  # @return [String]
10725
11595
  attr_accessor :condition
10726
11596
 
10727
11597
  # Required. The two-letter ISO 639-1 language code for the item.
10728
11598
  # Acceptable values are:
10729
- # - "en"
10730
- # - "fr"
11599
+ # - "`en`"
11600
+ # - "`fr`"
10731
11601
  # Corresponds to the JSON property `contentLanguage`
10732
11602
  # @return [String]
10733
11603
  attr_accessor :content_language
@@ -10810,9 +11680,9 @@ module Google
10810
11680
  class TransitTable
10811
11681
  include Google::Apis::Core::Hashable
10812
11682
 
10813
- # A list of postal group names. The last value can be "all other locations".
10814
- # Example: ["zone 1", "zone 2", "all other locations"]. The referred postal code
10815
- # groups must match the delivery country of the service.
11683
+ # A list of postal group names. The last value can be `"all other locations"`.
11684
+ # Example: `["zone 1", "zone 2", "all other locations"]`. The referred postal
11685
+ # code groups must match the delivery country of the service.
10816
11686
  # Corresponds to the JSON property `postalCodeGroupNames`
10817
11687
  # @return [Array<String>]
10818
11688
  attr_accessor :postal_code_group_names
@@ -10822,8 +11692,8 @@ module Google
10822
11692
  # @return [Array<Google::Apis::ContentV2_1::TransitTableTransitTimeRow>]
10823
11693
  attr_accessor :rows
10824
11694
 
10825
- # A list of transit time labels. The last value can be "all other labels".
10826
- # Example: ["food", "electronics", "all other labels"].
11695
+ # A list of transit time labels. The last value can be `"all other labels"`.
11696
+ # Example: `["food", "electronics", "all other labels"]`.
10827
11697
  # Corresponds to the JSON property `transitTimeLabels`
10828
11698
  # @return [Array<String>]
10829
11699
  attr_accessor :transit_time_labels
@@ -10863,7 +11733,7 @@ module Google
10863
11733
  class TransitTableTransitTimeRowTransitTimeValue
10864
11734
  include Google::Apis::Core::Hashable
10865
11735
 
10866
- # Must be greater than or equal to minTransitTimeInDays.
11736
+ # Must be greater than or equal to `minTransitTimeInDays`.
10867
11737
  # Corresponds to the JSON property `maxTransitTimeInDays`
10868
11738
  # @return [Fixnum]
10869
11739
  attr_accessor :max_transit_time_in_days
@@ -10928,7 +11798,7 @@ module Google
10928
11798
 
10929
11799
  # [required] Type of the additional charge.
10930
11800
  # Acceptable values are:
10931
- # - "shipping"
11801
+ # - "`shipping`"
10932
11802
  # Corresponds to the JSON property `type`
10933
11803
  # @return [String]
10934
11804
  attr_accessor :type
@@ -10953,17 +11823,17 @@ module Google
10953
11823
  # @return [Google::Apis::ContentV2_1::Price]
10954
11824
  attr_accessor :tax_amount
10955
11825
 
10956
- # Optional name of the tax type. This should only be provided if taxType is
10957
- # otherFeeTax.
11826
+ # Optional name of the tax type. This should only be provided if `taxType` is `
11827
+ # otherFeeTax`.
10958
11828
  # Corresponds to the JSON property `taxName`
10959
11829
  # @return [String]
10960
11830
  attr_accessor :tax_name
10961
11831
 
10962
11832
  # [required] Type of the tax.
10963
11833
  # Acceptable values are:
10964
- # - "otherFee"
10965
- # - "otherFeeTax"
10966
- # - "sales"
11834
+ # - "`otherFee`"
11835
+ # - "`otherFeeTax`"
11836
+ # - "`sales`"
10967
11837
  # Corresponds to the JSON property `taxType`
10968
11838
  # @return [String]
10969
11839
  attr_accessor :tax_type
@@ -10981,8 +11851,8 @@ module Google
10981
11851
  end
10982
11852
 
10983
11853
  # The single value of a rate group or the value of a rate group table's cell.
10984
- # Exactly one of noShipping, flatRate, pricePercentage, carrierRateName,
10985
- # subtableName must be set.
11854
+ # Exactly one of `noShipping`, `flatRate`, `pricePercentage`, `carrierRateName`,
11855
+ # `subtableName` must be set.
10986
11856
  class Value
10987
11857
  include Google::Apis::Core::Hashable
10988
11858
 
@@ -11004,8 +11874,8 @@ module Google
11004
11874
  attr_accessor :no_shipping
11005
11875
  alias_method :no_shipping?, :no_shipping
11006
11876
 
11007
- # A percentage of the price represented as a number in decimal notation (e.g., "
11008
- # 5.4"). Can only be set if all other fields are not set.
11877
+ # A percentage of the price represented as a number in decimal notation (e.g., `"
11878
+ # 5.4"`). Can only be set if all other fields are not set.
11009
11879
  # Corresponds to the JSON property `pricePercentage`
11010
11880
  # @return [String]
11011
11881
  attr_accessor :price_percentage
@@ -11036,8 +11906,8 @@ module Google
11036
11906
 
11037
11907
  # Required. The weight unit.
11038
11908
  # Acceptable values are:
11039
- # - "kg"
11040
- # - "lb"
11909
+ # - "`kg`"
11910
+ # - "`lb`"
11041
11911
  # Corresponds to the JSON property `unit`
11042
11912
  # @return [String]
11043
11913
  attr_accessor :unit