google-api-client 0.37.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (570) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +401 -0
  3. data/api_list_config.yaml +2 -0
  4. data/api_names.yaml +2 -0
  5. data/bin/generate-api +9 -1
  6. data/generated/google/apis/accessapproval_v1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1/classes.rb +244 -56
  9. data/generated/google/apis/accesscontextmanager_v1/representations.rb +105 -6
  10. data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +26 -97
  13. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -22
  14. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
  15. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  16. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
  17. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  18. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  19. data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
  20. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  21. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  22. data/generated/google/apis/admin_directory_v1.rb +1 -1
  23. data/generated/google/apis/adsense_v1_4.rb +1 -1
  24. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/alertcenter_v1beta1/classes.rb +8 -8
  27. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  28. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  29. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  30. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
  31. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  32. data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
  33. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  34. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  35. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  36. data/generated/google/apis/androidpublisher_v3/classes.rb +195 -2
  37. data/generated/google/apis/androidpublisher_v3/representations.rb +89 -0
  38. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  39. data/generated/google/apis/appengine_v1.rb +1 -1
  40. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  41. data/generated/google/apis/appengine_v1beta.rb +1 -1
  42. data/generated/google/apis/bigquery_v2/classes.rb +224 -5
  43. data/generated/google/apis/bigquery_v2/representations.rb +65 -0
  44. data/generated/google/apis/bigquery_v2.rb +1 -1
  45. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  47. data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
  48. data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
  49. data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
  50. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  51. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  52. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +160 -9
  53. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +72 -0
  54. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +131 -14
  55. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  56. data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
  57. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  58. data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
  59. data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
  60. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  61. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +2 -2
  62. data/generated/google/apis/billingbudgets_v1beta1/service.rb +11 -0
  63. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  64. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  65. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  66. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  67. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  68. data/generated/google/apis/blogger_v2/service.rb +79 -134
  69. data/generated/google/apis/blogger_v2.rb +5 -4
  70. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  71. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  72. data/generated/google/apis/blogger_v3/service.rb +183 -463
  73. data/generated/google/apis/blogger_v3.rb +4 -3
  74. data/generated/google/apis/books_v1/classes.rb +86 -0
  75. data/generated/google/apis/books_v1/representations.rb +37 -0
  76. data/generated/google/apis/books_v1.rb +1 -1
  77. data/generated/google/apis/calendar_v3/classes.rb +1 -14
  78. data/generated/google/apis/calendar_v3.rb +1 -1
  79. data/generated/google/apis/chat_v1/classes.rb +14 -3
  80. data/generated/google/apis/chat_v1/representations.rb +1 -0
  81. data/generated/google/apis/chat_v1.rb +1 -1
  82. data/generated/google/apis/classroom_v1.rb +1 -1
  83. data/generated/google/apis/cloudasset_v1/classes.rb +178 -123
  84. data/generated/google/apis/cloudasset_v1/representations.rb +20 -6
  85. data/generated/google/apis/cloudasset_v1/service.rb +2 -2
  86. data/generated/google/apis/cloudasset_v1.rb +1 -1
  87. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  88. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
  89. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
  90. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
  91. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  92. data/generated/google/apis/cloudbuild_v1/classes.rb +35 -1
  93. data/generated/google/apis/cloudbuild_v1/representations.rb +4 -0
  94. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  95. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +17 -0
  96. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  97. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -5
  98. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  99. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +17 -0
  100. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  101. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  102. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  103. data/generated/google/apis/clouddebugger_v2/service.rb +1 -1
  104. data/generated/google/apis/clouddebugger_v2.rb +2 -2
  105. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +1 -1
  106. data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
  107. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  108. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  109. data/generated/google/apis/cloudidentity_v1/classes.rb +0 -560
  110. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
  111. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  112. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +238 -148
  113. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +109 -63
  114. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
  115. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  116. data/generated/google/apis/cloudiot_v1.rb +1 -1
  117. data/generated/google/apis/cloudkms_v1.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
  119. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  120. data/generated/google/apis/cloudsearch_v1/classes.rb +52 -52
  121. data/generated/google/apis/cloudsearch_v1/service.rb +12 -0
  122. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  123. data/generated/google/apis/cloudshell_v1.rb +1 -1
  124. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  125. data/generated/google/apis/cloudtasks_v2/classes.rb +30 -0
  126. data/generated/google/apis/cloudtasks_v2/representations.rb +15 -0
  127. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  128. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  129. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  130. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  131. data/generated/google/apis/cloudtrace_v1/service.rb +4 -4
  132. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  133. data/generated/google/apis/cloudtrace_v2/service.rb +4 -4
  134. data/generated/google/apis/cloudtrace_v2.rb +5 -5
  135. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
  136. data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
  137. data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
  138. data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
  139. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +2 -2
  140. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  141. data/generated/google/apis/composer_v1/classes.rb +178 -0
  142. data/generated/google/apis/composer_v1/representations.rb +54 -0
  143. data/generated/google/apis/composer_v1.rb +1 -1
  144. data/generated/google/apis/composer_v1beta1/classes.rb +37 -6
  145. data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
  146. data/generated/google/apis/composer_v1beta1.rb +1 -1
  147. data/generated/google/apis/compute_alpha/classes.rb +1510 -353
  148. data/generated/google/apis/compute_alpha/representations.rb +319 -32
  149. data/generated/google/apis/compute_alpha/service.rb +4471 -2784
  150. data/generated/google/apis/compute_alpha.rb +1 -1
  151. data/generated/google/apis/compute_beta/classes.rb +917 -260
  152. data/generated/google/apis/compute_beta/representations.rb +247 -16
  153. data/generated/google/apis/compute_beta/service.rb +3370 -2229
  154. data/generated/google/apis/compute_beta.rb +1 -1
  155. data/generated/google/apis/compute_v1/classes.rb +960 -152
  156. data/generated/google/apis/compute_v1/representations.rb +326 -0
  157. data/generated/google/apis/compute_v1/service.rb +3155 -2026
  158. data/generated/google/apis/compute_v1.rb +1 -1
  159. data/generated/google/apis/container_v1/classes.rb +268 -90
  160. data/generated/google/apis/container_v1/representations.rb +70 -0
  161. data/generated/google/apis/container_v1/service.rb +118 -118
  162. data/generated/google/apis/container_v1.rb +1 -1
  163. data/generated/google/apis/container_v1beta1/classes.rb +136 -142
  164. data/generated/google/apis/container_v1beta1/representations.rb +25 -51
  165. data/generated/google/apis/container_v1beta1/service.rb +2 -2
  166. data/generated/google/apis/container_v1beta1.rb +1 -1
  167. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  168. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  169. data/generated/google/apis/content_v2/classes.rb +1078 -141
  170. data/generated/google/apis/content_v2/service.rb +3 -1
  171. data/generated/google/apis/content_v2.rb +1 -1
  172. data/generated/google/apis/content_v2_1/classes.rb +1068 -164
  173. data/generated/google/apis/content_v2_1/representations.rb +102 -0
  174. data/generated/google/apis/content_v2_1/service.rb +146 -1
  175. data/generated/google/apis/content_v2_1.rb +1 -1
  176. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  177. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  178. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  179. data/generated/google/apis/customsearch_v1.rb +3 -3
  180. data/generated/google/apis/datacatalog_v1beta1/classes.rb +30 -14
  181. data/generated/google/apis/datacatalog_v1beta1/representations.rb +2 -0
  182. data/generated/google/apis/datacatalog_v1beta1/service.rb +206 -41
  183. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  184. data/generated/google/apis/dataflow_v1b3/classes.rb +260 -0
  185. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  186. data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
  187. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  188. data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
  189. data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
  190. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  191. data/generated/google/apis/dataproc_v1/classes.rb +155 -4
  192. data/generated/google/apis/dataproc_v1/representations.rb +46 -0
  193. data/generated/google/apis/dataproc_v1/service.rb +72 -15
  194. data/generated/google/apis/dataproc_v1.rb +1 -1
  195. data/generated/google/apis/dataproc_v1beta2/classes.rb +205 -6
  196. data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
  197. data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
  198. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  199. data/generated/google/apis/datastore_v1.rb +1 -1
  200. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  201. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  202. data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
  203. data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
  204. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  205. data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -22
  206. data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -1
  207. data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
  208. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  209. data/generated/google/apis/dialogflow_v2/classes.rb +160 -360
  210. data/generated/google/apis/dialogflow_v2/representations.rb +1 -95
  211. data/generated/google/apis/dialogflow_v2/service.rb +478 -303
  212. data/generated/google/apis/dialogflow_v2.rb +1 -1
  213. data/generated/google/apis/dialogflow_v2beta1/classes.rb +162 -363
  214. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -95
  215. data/generated/google/apis/dialogflow_v2beta1/service.rb +172 -924
  216. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  217. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  218. data/generated/google/apis/displayvideo_v1/classes.rb +382 -0
  219. data/generated/google/apis/displayvideo_v1/representations.rb +167 -0
  220. data/generated/google/apis/displayvideo_v1/service.rb +176 -0
  221. data/generated/google/apis/displayvideo_v1.rb +38 -0
  222. data/generated/google/apis/dlp_v2/classes.rb +515 -2
  223. data/generated/google/apis/dlp_v2/representations.rb +212 -0
  224. data/generated/google/apis/dlp_v2/service.rb +119 -0
  225. data/generated/google/apis/dlp_v2.rb +1 -1
  226. data/generated/google/apis/docs_v1/classes.rb +22 -0
  227. data/generated/google/apis/docs_v1/representations.rb +3 -0
  228. data/generated/google/apis/docs_v1.rb +1 -1
  229. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  230. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  231. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  232. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -1
  233. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
  234. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  235. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  236. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  237. data/generated/google/apis/drive_v2/classes.rb +54 -2
  238. data/generated/google/apis/drive_v2/representations.rb +18 -0
  239. data/generated/google/apis/drive_v2/service.rb +81 -9
  240. data/generated/google/apis/drive_v2.rb +1 -1
  241. data/generated/google/apis/drive_v3/classes.rb +54 -2
  242. data/generated/google/apis/drive_v3/representations.rb +18 -0
  243. data/generated/google/apis/drive_v3/service.rb +37 -4
  244. data/generated/google/apis/drive_v3.rb +1 -1
  245. data/generated/google/apis/driveactivity_v2.rb +1 -1
  246. data/generated/google/apis/file_v1/classes.rb +4 -161
  247. data/generated/google/apis/file_v1/representations.rb +0 -34
  248. data/generated/google/apis/file_v1/service.rb +1 -1
  249. data/generated/google/apis/file_v1.rb +1 -1
  250. data/generated/google/apis/file_v1beta1/classes.rb +4 -161
  251. data/generated/google/apis/file_v1beta1/representations.rb +0 -34
  252. data/generated/google/apis/file_v1beta1.rb +1 -1
  253. data/generated/google/apis/firebase_v1beta1/service.rb +11 -8
  254. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  255. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  256. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
  257. data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
  258. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  259. data/generated/google/apis/firebaserules_v1.rb +1 -1
  260. data/generated/google/apis/firestore_v1/classes.rb +11 -2
  261. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  262. data/generated/google/apis/firestore_v1/service.rb +2 -2
  263. data/generated/google/apis/firestore_v1.rb +1 -1
  264. data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
  265. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  266. data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
  267. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  268. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  269. data/generated/google/apis/fitness_v1/classes.rb +10 -5
  270. data/generated/google/apis/fitness_v1/service.rb +14 -10
  271. data/generated/google/apis/fitness_v1.rb +1 -1
  272. data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
  273. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  274. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  275. data/generated/google/apis/games_management_v1management/classes.rb +7 -0
  276. data/generated/google/apis/games_management_v1management/representations.rb +1 -0
  277. data/generated/google/apis/games_management_v1management.rb +1 -1
  278. data/generated/google/apis/games_v1/classes.rb +13 -0
  279. data/generated/google/apis/games_v1/representations.rb +2 -0
  280. data/generated/google/apis/games_v1.rb +1 -1
  281. data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
  282. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  283. data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
  284. data/generated/google/apis/gameservices_v1beta.rb +34 -0
  285. data/generated/google/apis/genomics_v1.rb +1 -1
  286. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  287. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  288. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  289. data/generated/google/apis/gmail_v1/classes.rb +258 -199
  290. data/generated/google/apis/gmail_v1/service.rb +552 -744
  291. data/generated/google/apis/gmail_v1.rb +3 -2
  292. data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
  293. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  294. data/generated/google/apis/healthcare_v1/service.rb +3470 -0
  295. data/generated/google/apis/{toolresults_v1.rb → healthcare_v1.rb} +11 -8
  296. data/generated/google/apis/healthcare_v1beta1/classes.rb +576 -26
  297. data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
  298. data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
  299. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  300. data/generated/google/apis/homegraph_v1/classes.rb +67 -63
  301. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  302. data/generated/google/apis/homegraph_v1.rb +1 -1
  303. data/generated/google/apis/iam_v1.rb +1 -1
  304. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  305. data/generated/google/apis/iap_v1/classes.rb +190 -0
  306. data/generated/google/apis/iap_v1/representations.rb +66 -0
  307. data/generated/google/apis/iap_v1.rb +1 -1
  308. data/generated/google/apis/iap_v1beta1.rb +1 -1
  309. data/generated/google/apis/indexing_v3.rb +1 -1
  310. data/generated/google/apis/jobs_v2.rb +1 -1
  311. data/generated/google/apis/jobs_v3.rb +1 -1
  312. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  313. data/generated/google/apis/language_v1/classes.rb +6 -6
  314. data/generated/google/apis/language_v1.rb +1 -1
  315. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  316. data/generated/google/apis/language_v1beta1.rb +1 -1
  317. data/generated/google/apis/language_v1beta2/classes.rb +8 -7
  318. data/generated/google/apis/language_v1beta2.rb +1 -1
  319. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  320. data/generated/google/apis/logging_v2/classes.rb +108 -38
  321. data/generated/google/apis/logging_v2/representations.rb +33 -2
  322. data/generated/google/apis/logging_v2/service.rb +689 -10
  323. data/generated/google/apis/logging_v2.rb +6 -7
  324. data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
  325. data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
  326. data/generated/google/apis/managedidentities_v1/service.rb +779 -0
  327. data/generated/google/apis/managedidentities_v1.rb +35 -0
  328. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
  329. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
  330. data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
  331. data/generated/google/apis/managedidentities_v1alpha1.rb +35 -0
  332. data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
  333. data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
  334. data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
  335. data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
  336. data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
  337. data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
  338. data/generated/google/apis/manufacturers_v1.rb +1 -1
  339. data/generated/google/apis/memcache_v1beta2/classes.rb +1575 -0
  340. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  341. data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
  342. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  343. data/generated/google/apis/ml_v1/classes.rb +1021 -56
  344. data/generated/google/apis/ml_v1/representations.rb +481 -0
  345. data/generated/google/apis/ml_v1/service.rb +491 -0
  346. data/generated/google/apis/ml_v1.rb +1 -1
  347. data/generated/google/apis/monitoring_v1/classes.rb +54 -15
  348. data/generated/google/apis/monitoring_v1/representations.rb +3 -0
  349. data/generated/google/apis/monitoring_v1/service.rb +7 -8
  350. data/generated/google/apis/monitoring_v1.rb +7 -8
  351. data/generated/google/apis/monitoring_v3/classes.rb +311 -35
  352. data/generated/google/apis/monitoring_v3/representations.rb +128 -0
  353. data/generated/google/apis/monitoring_v3/service.rb +79 -35
  354. data/generated/google/apis/monitoring_v3.rb +7 -8
  355. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1856 -0
  356. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
  357. data/generated/google/apis/networkmanagement_v1beta1/service.rb +664 -0
  358. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
  359. data/generated/google/apis/oauth2_v2/classes.rb +1 -81
  360. data/generated/google/apis/oauth2_v2/representations.rb +2 -36
  361. data/generated/google/apis/oauth2_v2/service.rb +10 -42
  362. data/generated/google/apis/oauth2_v2.rb +5 -5
  363. data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
  364. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  365. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  366. data/generated/google/apis/{mirror_v1.rb → osconfig_v1.rb} +11 -13
  367. data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
  368. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  369. data/generated/google/apis/oslogin_v1.rb +1 -1
  370. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  371. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  372. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  373. data/generated/google/apis/people_v1/classes.rb +30 -12
  374. data/generated/google/apis/people_v1/representations.rb +1 -0
  375. data/generated/google/apis/people_v1/service.rb +12 -24
  376. data/generated/google/apis/people_v1.rb +1 -1
  377. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
  378. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
  379. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  380. data/generated/google/apis/pubsub_v1/classes.rb +25 -17
  381. data/generated/google/apis/pubsub_v1/service.rb +23 -22
  382. data/generated/google/apis/pubsub_v1.rb +1 -1
  383. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  384. data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
  385. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  386. data/generated/google/apis/recommender_v1beta1/classes.rb +212 -1
  387. data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
  388. data/generated/google/apis/recommender_v1beta1/service.rb +123 -0
  389. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  390. data/generated/google/apis/redis_v1/classes.rb +30 -7
  391. data/generated/google/apis/redis_v1/representations.rb +13 -0
  392. data/generated/google/apis/redis_v1/service.rb +36 -0
  393. data/generated/google/apis/redis_v1.rb +1 -1
  394. data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
  395. data/generated/google/apis/redis_v1beta1.rb +1 -1
  396. data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
  397. data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
  398. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  399. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
  400. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
  401. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  402. data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
  403. data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
  404. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  405. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  406. data/generated/google/apis/run_v1/classes.rb +138 -13
  407. data/generated/google/apis/run_v1/representations.rb +61 -0
  408. data/generated/google/apis/run_v1/service.rb +346 -0
  409. data/generated/google/apis/run_v1.rb +1 -1
  410. data/generated/google/apis/run_v1alpha1/classes.rb +431 -280
  411. data/generated/google/apis/run_v1alpha1/representations.rb +156 -105
  412. data/generated/google/apis/run_v1alpha1/service.rb +874 -448
  413. data/generated/google/apis/run_v1alpha1.rb +1 -1
  414. data/generated/google/apis/run_v1beta1.rb +1 -1
  415. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  416. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  417. data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
  418. data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
  419. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  420. data/generated/google/apis/script_v1.rb +1 -1
  421. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/classes.rb +478 -761
  422. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
  423. data/generated/google/apis/secretmanager_v1/service.rb +678 -0
  424. data/generated/google/apis/secretmanager_v1.rb +35 -0
  425. data/generated/google/apis/secretmanager_v1beta1/service.rb +5 -2
  426. data/generated/google/apis/secretmanager_v1beta1.rb +3 -3
  427. data/generated/google/apis/securitycenter_v1/classes.rb +293 -117
  428. data/generated/google/apis/securitycenter_v1/representations.rb +61 -0
  429. data/generated/google/apis/securitycenter_v1/service.rb +205 -9
  430. data/generated/google/apis/securitycenter_v1.rb +4 -4
  431. data/generated/google/apis/securitycenter_v1beta1/classes.rb +292 -107
  432. data/generated/google/apis/securitycenter_v1beta1/representations.rb +54 -2
  433. data/generated/google/apis/securitycenter_v1beta1/service.rb +39 -39
  434. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  435. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +237 -54
  436. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +52 -0
  437. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  438. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  439. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +279 -80
  440. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +52 -0
  441. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +23 -9
  442. data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
  443. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +105 -13
  444. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +18 -0
  445. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  446. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
  447. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
  448. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  449. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
  450. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
  451. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  452. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
  453. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
  454. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  455. data/generated/google/apis/{proximitybeacon_v1beta1.rb → servicedirectory_v1beta1.rb} +11 -10
  456. data/generated/google/apis/servicemanagement_v1/classes.rb +135 -7
  457. data/generated/google/apis/servicemanagement_v1/representations.rb +19 -0
  458. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  459. data/generated/google/apis/servicenetworking_v1/classes.rb +254 -6
  460. data/generated/google/apis/servicenetworking_v1/representations.rb +91 -0
  461. data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
  462. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  463. data/generated/google/apis/servicenetworking_v1beta/classes.rb +205 -6
  464. data/generated/google/apis/servicenetworking_v1beta/representations.rb +74 -0
  465. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  466. data/generated/google/apis/serviceusage_v1/classes.rb +180 -13
  467. data/generated/google/apis/serviceusage_v1/representations.rb +62 -0
  468. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  469. data/generated/google/apis/serviceusage_v1.rb +1 -1
  470. data/generated/google/apis/serviceusage_v1beta1/classes.rb +407 -13
  471. data/generated/google/apis/serviceusage_v1beta1/representations.rb +150 -0
  472. data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
  473. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  474. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  475. data/generated/google/apis/sheets_v4.rb +1 -1
  476. data/generated/google/apis/slides_v1.rb +1 -1
  477. data/generated/google/apis/spanner_v1/classes.rb +501 -12
  478. data/generated/google/apis/spanner_v1/representations.rb +193 -0
  479. data/generated/google/apis/spanner_v1/service.rb +498 -10
  480. data/generated/google/apis/spanner_v1.rb +1 -1
  481. data/generated/google/apis/speech_v1/classes.rb +7 -3
  482. data/generated/google/apis/speech_v1/representations.rb +1 -0
  483. data/generated/google/apis/speech_v1.rb +1 -1
  484. data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
  485. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  486. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  487. data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
  488. data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
  489. data/generated/google/apis/speech_v2beta1.rb +1 -1
  490. data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
  491. data/generated/google/apis/sql_v1beta4/service.rb +54 -384
  492. data/generated/google/apis/sql_v1beta4.rb +1 -1
  493. data/generated/google/apis/storage_v1/classes.rb +18 -0
  494. data/generated/google/apis/storage_v1/representations.rb +2 -0
  495. data/generated/google/apis/storage_v1/service.rb +28 -3
  496. data/generated/google/apis/storage_v1.rb +1 -1
  497. data/generated/google/apis/storagetransfer_v1/classes.rb +279 -87
  498. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  499. data/generated/google/apis/storagetransfer_v1/service.rb +17 -11
  500. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  501. data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
  502. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  503. data/generated/google/apis/tagmanager_v1.rb +1 -1
  504. data/generated/google/apis/tagmanager_v2.rb +1 -1
  505. data/generated/google/apis/testing_v1/classes.rb +36 -1
  506. data/generated/google/apis/testing_v1/representations.rb +16 -0
  507. data/generated/google/apis/testing_v1.rb +1 -1
  508. data/generated/google/apis/texttospeech_v1.rb +1 -1
  509. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  510. data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
  511. data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
  512. data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
  513. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  514. data/generated/google/apis/tpu_v1.rb +1 -1
  515. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  516. data/generated/google/apis/translate_v3/classes.rb +6 -3
  517. data/generated/google/apis/translate_v3.rb +1 -1
  518. data/generated/google/apis/translate_v3beta1.rb +1 -1
  519. data/generated/google/apis/vault_v1.rb +1 -1
  520. data/generated/google/apis/videointelligence_v1/classes.rb +757 -17
  521. data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
  522. data/generated/google/apis/videointelligence_v1.rb +1 -1
  523. data/generated/google/apis/videointelligence_v1beta2/classes.rb +757 -17
  524. data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
  525. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  526. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +757 -17
  527. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
  528. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  529. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +757 -17
  530. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
  531. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  532. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +757 -17
  533. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
  534. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  535. data/generated/google/apis/vision_v1/classes.rb +1 -1
  536. data/generated/google/apis/vision_v1.rb +1 -1
  537. data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
  538. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  539. data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
  540. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  541. data/generated/google/apis/websecurityscanner_v1/classes.rb +6 -0
  542. data/generated/google/apis/websecurityscanner_v1/representations.rb +1 -0
  543. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  544. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +6 -0
  545. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +1 -0
  546. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  547. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  548. data/generated/google/apis/youtube_v3/classes.rb +79 -33
  549. data/generated/google/apis/youtube_v3/representations.rb +33 -4
  550. data/generated/google/apis/youtube_v3.rb +4 -1
  551. data/lib/google/apis/core/api_command.rb +4 -0
  552. data/lib/google/apis/generator/annotator.rb +1 -1
  553. data/lib/google/apis/version.rb +1 -1
  554. metadata +60 -27
  555. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  556. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
  557. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  558. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  559. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  560. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  561. data/generated/google/apis/mirror_v1/service.rb +0 -928
  562. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  563. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  564. data/generated/google/apis/oauth2_v1.rb +0 -40
  565. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  566. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  567. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
  568. data/generated/google/apis/toolresults_v1/classes.rb +0 -696
  569. data/generated/google/apis/toolresults_v1/representations.rb +0 -438
  570. data/generated/google/apis/toolresults_v1/service.rb +0 -59
@@ -54,7 +54,7 @@ module Google
54
54
  # @return [Google::Apis::ContentV2_1::AccountGoogleMyBusinessLink]
55
55
  attr_accessor :google_my_business_link
56
56
 
57
- # Merchant Center account ID.
57
+ # Required for update. Merchant Center account ID.
58
58
  # Corresponds to the JSON property `id`
59
59
  # @return [Fixnum]
60
60
  attr_accessor :id
@@ -65,7 +65,7 @@ module Google
65
65
  # @return [String]
66
66
  attr_accessor :kind
67
67
 
68
- # Display name for the account.
68
+ # Required. Display name for the account.
69
69
  # Corresponds to the JSON property `name`
70
70
  # @return [String]
71
71
  attr_accessor :name
@@ -178,6 +178,9 @@ module Google
178
178
  # 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
+ # Acceptable values are:
182
+ # - "active"
183
+ # - "pending"
181
184
  # Corresponds to the JSON property `status`
182
185
  # @return [String]
183
186
  attr_accessor :status
@@ -267,6 +270,9 @@ module Google
267
270
  attr_accessor :gmb_email
268
271
 
269
272
  # Status of the link between this Merchant Center account and the GMB account.
273
+ # Acceptable values are:
274
+ # - "active"
275
+ # - "pending"
270
276
  # Corresponds to the JSON property `status`
271
277
  # @return [String]
272
278
  attr_accessor :status
@@ -385,6 +391,10 @@ module Google
385
391
  attr_accessor :id
386
392
 
387
393
  # Severity of the issue.
394
+ # Acceptable values are:
395
+ # - "critical"
396
+ # - "error"
397
+ # - "suggestion"
388
398
  # Corresponds to the JSON property `severity`
389
399
  # @return [String]
390
400
  attr_accessor :severity
@@ -476,6 +486,9 @@ module Google
476
486
  include Google::Apis::Core::Hashable
477
487
 
478
488
  # The channel the data applies to.
489
+ # Acceptable values are:
490
+ # - "local"
491
+ # - "online"
479
492
  # Corresponds to the JSON property `channel`
480
493
  # @return [String]
481
494
  attr_accessor :channel
@@ -555,7 +568,7 @@ module Google
555
568
  class AccountTax
556
569
  include Google::Apis::Core::Hashable
557
570
 
558
- # The ID of the account to which these account tax settings belong.
571
+ # Required. The ID of the account to which these account tax settings belong.
559
572
  # Corresponds to the JSON property `accountId`
560
573
  # @return [Fixnum]
561
574
  attr_accessor :account_id
@@ -593,8 +606,8 @@ module Google
593
606
  # @return [String]
594
607
  attr_accessor :country
595
608
 
596
- # State (or province) is which the tax is applicable, described by its location
597
- # ID (also called criteria ID).
609
+ # Required. State (or province) is which the tax is applicable, described by its
610
+ # location ID (also called criteria ID).
598
611
  # Corresponds to the JSON property `locationId`
599
612
  # @return [Fixnum]
600
613
  attr_accessor :location_id
@@ -819,6 +832,13 @@ module Google
819
832
  attr_accessor :merchant_id
820
833
 
821
834
  # The method of the batch entry.
835
+ # Acceptable values are:
836
+ # - "claimWebsite"
837
+ # - "delete"
838
+ # - "get"
839
+ # - "insert"
840
+ # - "link"
841
+ # - "update"
822
842
  # Corresponds to the JSON property `method`
823
843
  # @return [String]
824
844
  attr_accessor :method_prop
@@ -853,11 +873,18 @@ module Google
853
873
 
854
874
  # Action to perform for this link. The "request" action is only available to
855
875
  # select merchants.
876
+ # Acceptable values are:
877
+ # - "approve"
878
+ # - "remove"
879
+ # - "request"
856
880
  # Corresponds to the JSON property `action`
857
881
  # @return [String]
858
882
  attr_accessor :action
859
883
 
860
884
  # Type of the link between the two accounts.
885
+ # Acceptable values are:
886
+ # - "channelPartner"
887
+ # - "eCommercePlatform"
861
888
  # Corresponds to the JSON property `linkType`
862
889
  # @return [String]
863
890
  attr_accessor :link_type
@@ -957,11 +984,18 @@ module Google
957
984
 
958
985
  # Action to perform for this link. The "request" action is only available to
959
986
  # select merchants.
987
+ # Acceptable values are:
988
+ # - "approve"
989
+ # - "remove"
990
+ # - "request"
960
991
  # Corresponds to the JSON property `action`
961
992
  # @return [String]
962
993
  attr_accessor :action
963
994
 
964
995
  # Type of the link between the two accounts.
996
+ # Acceptable values are:
997
+ # - "channelPartner"
998
+ # - "eCommercePlatform"
965
999
  # Corresponds to the JSON property `linkType`
966
1000
  # @return [String]
967
1001
  attr_accessor :link_type
@@ -1117,7 +1151,9 @@ module Google
1117
1151
  # @return [Fixnum]
1118
1152
  attr_accessor :merchant_id
1119
1153
 
1120
- # The method (get).
1154
+ # The method of the batch entry.
1155
+ # Acceptable values are:
1156
+ # - "get"
1121
1157
  # Corresponds to the JSON property `method`
1122
1158
  # @return [String]
1123
1159
  attr_accessor :method_prop
@@ -1269,7 +1305,10 @@ module Google
1269
1305
  # @return [Fixnum]
1270
1306
  attr_accessor :merchant_id
1271
1307
 
1272
- #
1308
+ # The method of the batch entry.
1309
+ # Acceptable values are:
1310
+ # - "get"
1311
+ # - "update"
1273
1312
  # Corresponds to the JSON property `method`
1274
1313
  # @return [String]
1275
1314
  attr_accessor :method_prop
@@ -1553,12 +1592,27 @@ module Google
1553
1592
  class CustomerReturnReason
1554
1593
  include Google::Apis::Core::Hashable
1555
1594
 
1556
- #
1595
+ # Description of the reason.
1557
1596
  # Corresponds to the JSON property `description`
1558
1597
  # @return [String]
1559
1598
  attr_accessor :description
1560
1599
 
1561
- #
1600
+ # Code of the return reason.
1601
+ # 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"
1562
1616
  # Corresponds to the JSON property `reasonCode`
1563
1617
  # @return [String]
1564
1618
  attr_accessor :reason_code
@@ -1618,8 +1672,12 @@ module Google
1618
1672
  # @return [String]
1619
1673
  attr_accessor :attribute_language
1620
1674
 
1621
- # The type of data feed. For product inventory feeds, only feeds for local
1622
- # stores, not online stores, are supported.
1675
+ # Required. The type of data feed. For product inventory feeds, only feeds for
1676
+ # local stores, not online stores, are supported.
1677
+ # Acceptable values are:
1678
+ # - "local products"
1679
+ # - "product inventory"
1680
+ # - "products"
1623
1681
  # Corresponds to the JSON property `contentType`
1624
1682
  # @return [String]
1625
1683
  attr_accessor :content_type
@@ -1632,7 +1690,7 @@ module Google
1632
1690
  # @return [Google::Apis::ContentV2_1::DatafeedFetchSchedule]
1633
1691
  attr_accessor :fetch_schedule
1634
1692
 
1635
- # The filename of the feed. All feeds must have a unique file name.
1693
+ # Required. The filename of the feed. All feeds must have a unique file name.
1636
1694
  # Corresponds to the JSON property `fileName`
1637
1695
  # @return [String]
1638
1696
  attr_accessor :file_name
@@ -1642,7 +1700,7 @@ module Google
1642
1700
  # @return [Google::Apis::ContentV2_1::DatafeedFormat]
1643
1701
  attr_accessor :format
1644
1702
 
1645
- # The ID of the data feed.
1703
+ # Required for update. The ID of the data feed.
1646
1704
  # Corresponds to the JSON property `id`
1647
1705
  # @return [Fixnum]
1648
1706
  attr_accessor :id
@@ -1653,7 +1711,7 @@ module Google
1653
1711
  # @return [String]
1654
1712
  attr_accessor :kind
1655
1713
 
1656
- # A descriptive name of the data feed.
1714
+ # Required for insert. A descriptive name of the data feed.
1657
1715
  # Corresponds to the JSON property `name`
1658
1716
  # @return [String]
1659
1717
  attr_accessor :name
@@ -1733,6 +1791,14 @@ module Google
1733
1791
  attr_accessor :username
1734
1792
 
1735
1793
  # The day of the week the feed file should be fetched.
1794
+ # Acceptable values are:
1795
+ # - "monday"
1796
+ # - "tuesday"
1797
+ # - "wednesday"
1798
+ # - "thursday"
1799
+ # - "friday"
1800
+ # - "saturday"
1801
+ # - "sunday"
1736
1802
  # Corresponds to the JSON property `weekday`
1737
1803
  # @return [String]
1738
1804
  attr_accessor :weekday
@@ -1762,18 +1828,31 @@ module Google
1762
1828
  # Delimiter for the separation of values in a delimiter-separated values feed.
1763
1829
  # If not specified, the delimiter will be auto-detected. Ignored for non-DSV
1764
1830
  # data feeds.
1831
+ # Acceptable values are:
1832
+ # - "pipe"
1833
+ # - "tab"
1834
+ # - "tilde"
1765
1835
  # Corresponds to the JSON property `columnDelimiter`
1766
1836
  # @return [String]
1767
1837
  attr_accessor :column_delimiter
1768
1838
 
1769
1839
  # Character encoding scheme of the data feed. If not specified, the encoding
1770
1840
  # will be auto-detected.
1841
+ # Acceptable values are:
1842
+ # - "latin-1"
1843
+ # - "utf-16be"
1844
+ # - "utf-16le"
1845
+ # - "utf-8"
1846
+ # - "windows-1252"
1771
1847
  # Corresponds to the JSON property `fileEncoding`
1772
1848
  # @return [String]
1773
1849
  attr_accessor :file_encoding
1774
1850
 
1775
1851
  # Specifies how double quotes are interpreted. If not specified, the mode will
1776
1852
  # be auto-detected. Ignored for non-DSV data feeds.
1853
+ # Acceptable values are:
1854
+ # - "normal character"
1855
+ # - "value quoting"
1777
1856
  # Corresponds to the JSON property `quotingMode`
1778
1857
  # @return [String]
1779
1858
  attr_accessor :quoting_mode
@@ -1838,6 +1917,13 @@ module Google
1838
1917
  attr_accessor :last_upload_date
1839
1918
 
1840
1919
  # The processing status of the feed.
1920
+ # 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
1924
+ # never been uploaded will have this processing status.
1925
+ # - "success": The feed was processed successfully, though some items might have
1926
+ # had errors.
1841
1927
  # Corresponds to the JSON property `processingStatus`
1842
1928
  # @return [String]
1843
1929
  attr_accessor :processing_status
@@ -2024,7 +2110,13 @@ module Google
2024
2110
  # @return [Fixnum]
2025
2111
  attr_accessor :merchant_id
2026
2112
 
2027
- #
2113
+ # The method of the batch entry.
2114
+ # Acceptable values are:
2115
+ # - "delete"
2116
+ # - "fetchNow"
2117
+ # - "get"
2118
+ # - "insert"
2119
+ # - "update"
2028
2120
  # Corresponds to the JSON property `method`
2029
2121
  # @return [String]
2030
2122
  attr_accessor :method_prop
@@ -2204,7 +2296,9 @@ module Google
2204
2296
  # @return [Fixnum]
2205
2297
  attr_accessor :merchant_id
2206
2298
 
2207
- #
2299
+ # The method of the batch entry.
2300
+ # Acceptable values are:
2301
+ # - "get"
2208
2302
  # Corresponds to the JSON property `method`
2209
2303
  # @return [String]
2210
2304
  attr_accessor :method_prop
@@ -2662,6 +2756,15 @@ module Google
2662
2756
  attr_accessor :id
2663
2757
 
2664
2758
  # The holiday type. Always present.
2759
+ # 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"
2665
2768
  # Corresponds to the JSON property `type`
2666
2769
  # @return [String]
2667
2770
  attr_accessor :type
@@ -2741,6 +2844,8 @@ module Google
2741
2844
  attr_accessor :total_amount
2742
2845
 
2743
2846
  # [required] Type of the additional charge.
2847
+ # Acceptable values are:
2848
+ # - "shipping"
2744
2849
  # Corresponds to the JSON property `type`
2745
2850
  # @return [String]
2746
2851
  attr_accessor :type
@@ -2761,6 +2866,10 @@ module Google
2761
2866
  include Google::Apis::Core::Hashable
2762
2867
 
2763
2868
  # The status of the verification process for the About page.
2869
+ # Acceptable values are:
2870
+ # - "active"
2871
+ # - "inactive"
2872
+ # - "pending"
2764
2873
  # Corresponds to the JSON property `status`
2765
2874
  # @return [String]
2766
2875
  attr_accessor :status
@@ -2790,7 +2899,7 @@ module Google
2790
2899
  # @return [Google::Apis::ContentV2_1::LiaAboutPageSettings]
2791
2900
  attr_accessor :about
2792
2901
 
2793
- # CLDR country code (e.g. "US").
2902
+ # Required. CLDR country code (e.g. "US").
2794
2903
  # Corresponds to the JSON property `country`
2795
2904
  # @return [String]
2796
2905
  attr_accessor :country
@@ -2853,11 +2962,19 @@ module Google
2853
2962
  attr_accessor :inventory_verification_contact_name
2854
2963
 
2855
2964
  # The status of the verification contact.
2965
+ # Acceptable values are:
2966
+ # - "active"
2967
+ # - "inactive"
2968
+ # - "pending"
2856
2969
  # Corresponds to the JSON property `inventoryVerificationContactStatus`
2857
2970
  # @return [String]
2858
2971
  attr_accessor :inventory_verification_contact_status
2859
2972
 
2860
2973
  # The status of the inventory verification process.
2974
+ # Acceptable values are:
2975
+ # - "active"
2976
+ # - "inactive"
2977
+ # - "pending"
2861
2978
  # Corresponds to the JSON property `status`
2862
2979
  # @return [String]
2863
2980
  attr_accessor :status
@@ -2885,6 +3002,10 @@ module Google
2885
3002
  attr_accessor :shipping_cost_policy_url
2886
3003
 
2887
3004
  # The status of the ?On display to order? feature.
3005
+ # Acceptable values are:
3006
+ # - "active"
3007
+ # - "inactive"
3008
+ # - "pending"
2888
3009
  # Corresponds to the JSON property `status`
2889
3010
  # @return [String]
2890
3011
  attr_accessor :status
@@ -3025,7 +3146,14 @@ module Google
3025
3146
  # @return [Fixnum]
3026
3147
  attr_accessor :merchant_id
3027
3148
 
3028
- #
3149
+ # The method of the batch entry.
3150
+ # Acceptable values are:
3151
+ # - "get"
3152
+ # - "getAccessibleGmbAccounts"
3153
+ # - "requestGmbAccess"
3154
+ # - "requestInventoryVerification"
3155
+ # - "setInventoryVerificationContact"
3156
+ # - "update"
3029
3157
  # Corresponds to the JSON property `method`
3030
3158
  # @return [String]
3031
3159
  attr_accessor :method_prop
@@ -3312,11 +3440,19 @@ module Google
3312
3440
  include Google::Apis::Core::Hashable
3313
3441
 
3314
3442
  # Service provided to or by the linked account.
3443
+ # Acceptable values are:
3444
+ # - "shoppingActionsOrderManagement"
3445
+ # - "shoppingActionsProductManagement"
3446
+ # - "shoppingAdsProductManagement"
3315
3447
  # Corresponds to the JSON property `service`
3316
3448
  # @return [String]
3317
3449
  attr_accessor :service
3318
3450
 
3319
3451
  # Status of the link
3452
+ # Acceptable values are:
3453
+ # - "active"
3454
+ # - "inactive"
3455
+ # - "pending"
3320
3456
  # Corresponds to the JSON property `status`
3321
3457
  # @return [String]
3322
3458
  attr_accessor :status
@@ -3357,6 +3493,207 @@ module Google
3357
3493
  end
3358
3494
  end
3359
3495
 
3496
+ # Local inventory resource. For accepted attribute values, see the local product
3497
+ # inventory feed specification.
3498
+ class LocalInventory
3499
+ include Google::Apis::Core::Hashable
3500
+
3501
+ # Availability of the product.
3502
+ # Corresponds to the JSON property `availability`
3503
+ # @return [String]
3504
+ attr_accessor :availability
3505
+
3506
+ # In-store product location.
3507
+ # Corresponds to the JSON property `instoreProductLocation`
3508
+ # @return [String]
3509
+ attr_accessor :instore_product_location
3510
+
3511
+ # Identifies what kind of resource this is. Value: the fixed string "content#
3512
+ # localInventory".
3513
+ # Corresponds to the JSON property `kind`
3514
+ # @return [String]
3515
+ attr_accessor :kind
3516
+
3517
+ # Supported pickup method for this offer. Unless the value is "not supported",
3518
+ # this field must be submitted together with pickupSla.
3519
+ # Corresponds to the JSON property `pickupMethod`
3520
+ # @return [String]
3521
+ attr_accessor :pickup_method
3522
+
3523
+ # Expected date that an order will be ready for pickup relative to the order
3524
+ # date. Must be submitted together with pickupMethod.
3525
+ # Corresponds to the JSON property `pickupSla`
3526
+ # @return [String]
3527
+ attr_accessor :pickup_sla
3528
+
3529
+ # Price of the product.
3530
+ # Corresponds to the JSON property `price`
3531
+ # @return [Google::Apis::ContentV2_1::Price]
3532
+ attr_accessor :price
3533
+
3534
+ # Quantity of the product. Must be nonnegative.
3535
+ # Corresponds to the JSON property `quantity`
3536
+ # @return [Fixnum]
3537
+ attr_accessor :quantity
3538
+
3539
+ # Sale price of the product. Mandatory if sale_price_effective_date is defined.
3540
+ # Corresponds to the JSON property `salePrice`
3541
+ # @return [Google::Apis::ContentV2_1::Price]
3542
+ attr_accessor :sale_price
3543
+
3544
+ # A date range represented by a pair of ISO 8601 dates separated by a space,
3545
+ # comma, or slash. Both dates may be specified as 'null' if undecided.
3546
+ # Corresponds to the JSON property `salePriceEffectiveDate`
3547
+ # @return [String]
3548
+ attr_accessor :sale_price_effective_date
3549
+
3550
+ # Required. Store code of this local inventory resource.
3551
+ # Corresponds to the JSON property `storeCode`
3552
+ # @return [String]
3553
+ attr_accessor :store_code
3554
+
3555
+ def initialize(**args)
3556
+ update!(**args)
3557
+ end
3558
+
3559
+ # Update properties of this object
3560
+ def update!(**args)
3561
+ @availability = args[:availability] if args.key?(:availability)
3562
+ @instore_product_location = args[:instore_product_location] if args.key?(:instore_product_location)
3563
+ @kind = args[:kind] if args.key?(:kind)
3564
+ @pickup_method = args[:pickup_method] if args.key?(:pickup_method)
3565
+ @pickup_sla = args[:pickup_sla] if args.key?(:pickup_sla)
3566
+ @price = args[:price] if args.key?(:price)
3567
+ @quantity = args[:quantity] if args.key?(:quantity)
3568
+ @sale_price = args[:sale_price] if args.key?(:sale_price)
3569
+ @sale_price_effective_date = args[:sale_price_effective_date] if args.key?(:sale_price_effective_date)
3570
+ @store_code = args[:store_code] if args.key?(:store_code)
3571
+ end
3572
+ end
3573
+
3574
+ #
3575
+ class LocalinventoryCustomBatchRequest
3576
+ include Google::Apis::Core::Hashable
3577
+
3578
+ # The request entries to be processed in the batch.
3579
+ # Corresponds to the JSON property `entries`
3580
+ # @return [Array<Google::Apis::ContentV2_1::LocalinventoryCustomBatchRequestEntry>]
3581
+ attr_accessor :entries
3582
+
3583
+ def initialize(**args)
3584
+ update!(**args)
3585
+ end
3586
+
3587
+ # Update properties of this object
3588
+ def update!(**args)
3589
+ @entries = args[:entries] if args.key?(:entries)
3590
+ end
3591
+ end
3592
+
3593
+ # Batch entry encoding a single local inventory update request.
3594
+ class LocalinventoryCustomBatchRequestEntry
3595
+ include Google::Apis::Core::Hashable
3596
+
3597
+ # An entry ID, unique within the batch request.
3598
+ # Corresponds to the JSON property `batchId`
3599
+ # @return [Fixnum]
3600
+ attr_accessor :batch_id
3601
+
3602
+ # Local inventory resource. For accepted attribute values, see the local product
3603
+ # inventory feed specification.
3604
+ # Corresponds to the JSON property `localInventory`
3605
+ # @return [Google::Apis::ContentV2_1::LocalInventory]
3606
+ attr_accessor :local_inventory
3607
+
3608
+ # The ID of the managing account.
3609
+ # Corresponds to the JSON property `merchantId`
3610
+ # @return [Fixnum]
3611
+ attr_accessor :merchant_id
3612
+
3613
+ # Method of the batch request entry.
3614
+ # Acceptable values are:
3615
+ # - "insert"
3616
+ # Corresponds to the JSON property `method`
3617
+ # @return [String]
3618
+ attr_accessor :method_prop
3619
+
3620
+ # The ID of the product for which to update local inventory.
3621
+ # Corresponds to the JSON property `productId`
3622
+ # @return [String]
3623
+ attr_accessor :product_id
3624
+
3625
+ def initialize(**args)
3626
+ update!(**args)
3627
+ end
3628
+
3629
+ # Update properties of this object
3630
+ def update!(**args)
3631
+ @batch_id = args[:batch_id] if args.key?(:batch_id)
3632
+ @local_inventory = args[:local_inventory] if args.key?(:local_inventory)
3633
+ @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
3634
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
3635
+ @product_id = args[:product_id] if args.key?(:product_id)
3636
+ end
3637
+ end
3638
+
3639
+ #
3640
+ class LocalinventoryCustomBatchResponse
3641
+ include Google::Apis::Core::Hashable
3642
+
3643
+ # The result of the execution of the batch requests.
3644
+ # Corresponds to the JSON property `entries`
3645
+ # @return [Array<Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponseEntry>]
3646
+ attr_accessor :entries
3647
+
3648
+ # Identifies what kind of resource this is. Value: the fixed string "content#
3649
+ # localinventoryCustomBatchResponse".
3650
+ # Corresponds to the JSON property `kind`
3651
+ # @return [String]
3652
+ attr_accessor :kind
3653
+
3654
+ def initialize(**args)
3655
+ update!(**args)
3656
+ end
3657
+
3658
+ # Update properties of this object
3659
+ def update!(**args)
3660
+ @entries = args[:entries] if args.key?(:entries)
3661
+ @kind = args[:kind] if args.key?(:kind)
3662
+ end
3663
+ end
3664
+
3665
+ # Batch entry encoding a single local inventory update response.
3666
+ class LocalinventoryCustomBatchResponseEntry
3667
+ include Google::Apis::Core::Hashable
3668
+
3669
+ # The ID of the request entry this entry responds to.
3670
+ # Corresponds to the JSON property `batchId`
3671
+ # @return [Fixnum]
3672
+ attr_accessor :batch_id
3673
+
3674
+ # A list of errors returned by a failed batch entry.
3675
+ # Corresponds to the JSON property `errors`
3676
+ # @return [Google::Apis::ContentV2_1::Errors]
3677
+ attr_accessor :errors
3678
+
3679
+ # Identifies what kind of resource this is. Value: the fixed string "content#
3680
+ # localinventoryCustomBatchResponseEntry".
3681
+ # Corresponds to the JSON property `kind`
3682
+ # @return [String]
3683
+ attr_accessor :kind
3684
+
3685
+ def initialize(**args)
3686
+ update!(**args)
3687
+ end
3688
+
3689
+ # Update properties of this object
3690
+ def update!(**args)
3691
+ @batch_id = args[:batch_id] if args.key?(:batch_id)
3692
+ @errors = args[:errors] if args.key?(:errors)
3693
+ @kind = args[:kind] if args.key?(:kind)
3694
+ end
3695
+ end
3696
+
3360
3697
  #
3361
3698
  class LocationIdSet
3362
3699
  include Google::Apis::Core::Hashable
@@ -3410,36 +3747,37 @@ module Google
3410
3747
  end
3411
3748
  end
3412
3749
 
3413
- #
3750
+ # Order return. Production access (all methods) requires the order manager role.
3751
+ # Sandbox access does not.
3414
3752
  class MerchantOrderReturn
3415
3753
  include Google::Apis::Core::Hashable
3416
3754
 
3417
- #
3755
+ # The date of creation of the return, in ISO 8601 format.
3418
3756
  # Corresponds to the JSON property `creationDate`
3419
3757
  # @return [String]
3420
3758
  attr_accessor :creation_date
3421
3759
 
3422
- #
3760
+ # Merchant defined order ID.
3423
3761
  # Corresponds to the JSON property `merchantOrderId`
3424
3762
  # @return [String]
3425
3763
  attr_accessor :merchant_order_id
3426
3764
 
3427
- #
3765
+ # Google order ID.
3428
3766
  # Corresponds to the JSON property `orderId`
3429
3767
  # @return [String]
3430
3768
  attr_accessor :order_id
3431
3769
 
3432
- #
3770
+ # Order return ID generated by Google.
3433
3771
  # Corresponds to the JSON property `orderReturnId`
3434
3772
  # @return [String]
3435
3773
  attr_accessor :order_return_id
3436
3774
 
3437
- #
3775
+ # Items of the return.
3438
3776
  # Corresponds to the JSON property `returnItems`
3439
3777
  # @return [Array<Google::Apis::ContentV2_1::MerchantOrderReturnItem>]
3440
3778
  attr_accessor :return_items
3441
3779
 
3442
- #
3780
+ # Shipments of the return.
3443
3781
  # Corresponds to the JSON property `returnShipments`
3444
3782
  # @return [Array<Google::Apis::ContentV2_1::ReturnShipment>]
3445
3783
  attr_accessor :return_shipments
@@ -3463,32 +3801,39 @@ module Google
3463
3801
  class MerchantOrderReturnItem
3464
3802
  include Google::Apis::Core::Hashable
3465
3803
 
3466
- #
3804
+ # The reason that the customer chooses to return an item.
3467
3805
  # Corresponds to the JSON property `customerReturnReason`
3468
3806
  # @return [Google::Apis::ContentV2_1::CustomerReturnReason]
3469
3807
  attr_accessor :customer_return_reason
3470
3808
 
3471
- #
3809
+ # Product level item ID. If the returned items are of the same product, they
3810
+ # will have the same ID.
3472
3811
  # Corresponds to the JSON property `itemId`
3473
3812
  # @return [String]
3474
3813
  attr_accessor :item_id
3475
3814
 
3476
- #
3815
+ # The reason that merchant chooses to accept a return item.
3477
3816
  # Corresponds to the JSON property `merchantReturnReason`
3478
3817
  # @return [Google::Apis::ContentV2_1::RefundReason]
3479
3818
  attr_accessor :merchant_return_reason
3480
3819
 
3481
- #
3820
+ # Product data from the time of the order placement.
3482
3821
  # Corresponds to the JSON property `product`
3483
3822
  # @return [Google::Apis::ContentV2_1::OrderLineItemProduct]
3484
3823
  attr_accessor :product
3485
3824
 
3486
- #
3825
+ # IDs of the return shipments that this return item belongs to.
3487
3826
  # Corresponds to the JSON property `returnShipmentIds`
3488
3827
  # @return [Array<String>]
3489
3828
  attr_accessor :return_shipment_ids
3490
3829
 
3491
- #
3830
+ # State of the item.
3831
+ # Acceptable values are:
3832
+ # - "canceled"
3833
+ # - "new"
3834
+ # - "received"
3835
+ # - "refunded"
3836
+ # - "rejected"
3492
3837
  # Corresponds to the JSON property `state`
3493
3838
  # @return [String]
3494
3839
  attr_accessor :state
@@ -3575,6 +3920,11 @@ module Google
3575
3920
  attr_accessor :net_tax_amount
3576
3921
 
3577
3922
  # The status of the payment.
3923
+ # Acceptable values are:
3924
+ # - "paymentCaptured"
3925
+ # - "paymentRejected"
3926
+ # - "paymentSecured"
3927
+ # - "pendingAuthorization"
3578
3928
  # Corresponds to the JSON property `paymentStatus`
3579
3929
  # @return [String]
3580
3930
  attr_accessor :payment_status
@@ -3590,6 +3940,24 @@ module Google
3590
3940
  attr_accessor :placed_date
3591
3941
 
3592
3942
  # 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
3945
+ # promotion. If a promotion is applied to more than 1 offerId, divide the
3946
+ # discount value by the number of affected offers to determine how much discount
3947
+ # to apply to each offerId.
3948
+ # Examples:
3949
+ # - 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.
3952
+ # - 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.
3957
+ # Only 1 promotion can be applied to an offerId in a given order. To refund an
3958
+ # item which had a promotion applied to it, make sure to refund the amount after
3959
+ # first subtracting the promotion discount from the item price.
3960
+ # More details about the program are here.
3593
3961
  # Corresponds to the JSON property `promotions`
3594
3962
  # @return [Array<Google::Apis::ContentV2_1::OrderPromotion>]
3595
3963
  attr_accessor :promotions
@@ -3615,11 +3983,24 @@ module Google
3615
3983
  attr_accessor :shipping_cost_tax
3616
3984
 
3617
3985
  # The status of the order.
3986
+ # Acceptable values are:
3987
+ # - "canceled"
3988
+ # - "delivered"
3989
+ # - "inProgress"
3990
+ # - "partiallyDelivered"
3991
+ # - "partiallyReturned"
3992
+ # - "partiallyShipped"
3993
+ # - "pendingShipment"
3994
+ # - "returned"
3995
+ # - "shipped"
3618
3996
  # Corresponds to the JSON property `status`
3619
3997
  # @return [String]
3620
3998
  attr_accessor :status
3621
3999
 
3622
4000
  # The party responsible for collecting and remitting taxes.
4001
+ # Acceptable values are:
4002
+ # - "marketplaceFacilitator"
4003
+ # - "merchant"
3623
4004
  # Corresponds to the JSON property `taxCollector`
3624
4005
  # @return [String]
3625
4006
  attr_accessor :tax_collector
@@ -3728,6 +4109,13 @@ module Google
3728
4109
  include Google::Apis::Core::Hashable
3729
4110
 
3730
4111
  # The actor that created the cancellation.
4112
+ # Acceptable values are:
4113
+ # - "customer"
4114
+ # - "googleBot"
4115
+ # - "googleCustomerService"
4116
+ # - "googlePayments"
4117
+ # - "googleSabre"
4118
+ # - "merchant"
3731
4119
  # Corresponds to the JSON property `actor`
3732
4120
  # @return [String]
3733
4121
  attr_accessor :actor
@@ -3745,6 +4133,35 @@ module Google
3745
4133
  # The reason for the cancellation. Orders that are canceled with a noInventory
3746
4134
  # reason will lead to the removal of the product from Shopping Actions until you
3747
4135
  # make an update to that product. This will not affect your Shopping ads.
4136
+ # 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"
3748
4165
  # Corresponds to the JSON property `reason`
3749
4166
  # @return [String]
3750
4167
  attr_accessor :reason
@@ -3844,6 +4261,9 @@ module Google
3844
4261
  # customer selected granted in their most recent order, they can be subscribed
3845
4262
  # to marketing emails. Customers who have chosen denied must not be subscribed,
3846
4263
  # or must be unsubscribed if already opted-in.
4264
+ # Acceptable values are:
4265
+ # - "denied"
4266
+ # - "granted"
3847
4267
  # Corresponds to the JSON property `explicitMarketingPreference`
3848
4268
  # @return [String]
3849
4269
  attr_accessor :explicit_marketing_preference
@@ -4038,6 +4458,8 @@ module Google
4038
4458
  attr_accessor :tax_adjustment
4039
4459
 
4040
4460
  # Type of this adjustment.
4461
+ # Acceptable values are:
4462
+ # - "promotion"
4041
4463
  # Corresponds to the JSON property `type`
4042
4464
  # @return [String]
4043
4465
  attr_accessor :type
@@ -4064,6 +4486,10 @@ module Google
4064
4486
  attr_accessor :brand
4065
4487
 
4066
4488
  # Condition or state of the item.
4489
+ # Acceptable values are:
4490
+ # - "new"
4491
+ # - "refurbished"
4492
+ # - "used"
4067
4493
  # Corresponds to the JSON property `condition`
4068
4494
  # @return [String]
4069
4495
  attr_accessor :condition
@@ -4213,18 +4639,18 @@ module Google
4213
4639
  class OrderLineItemReturnInfo
4214
4640
  include Google::Apis::Core::Hashable
4215
4641
 
4216
- # How many days later the item can be returned.
4642
+ # Required. How many days later the item can be returned.
4217
4643
  # Corresponds to the JSON property `daysToReturn`
4218
4644
  # @return [Fixnum]
4219
4645
  attr_accessor :days_to_return
4220
4646
 
4221
- # Whether the item is returnable.
4647
+ # Required. Whether the item is returnable.
4222
4648
  # Corresponds to the JSON property `isReturnable`
4223
4649
  # @return [Boolean]
4224
4650
  attr_accessor :is_returnable
4225
4651
  alias_method :is_returnable?, :is_returnable
4226
4652
 
4227
- # URL of the item return policy.
4653
+ # Required. URL of the item return policy.
4228
4654
  # Corresponds to the JSON property `policyUrl`
4229
4655
  # @return [String]
4230
4656
  attr_accessor :policy_url
@@ -4245,23 +4671,26 @@ module Google
4245
4671
  class OrderLineItemShippingDetails
4246
4672
  include Google::Apis::Core::Hashable
4247
4673
 
4248
- # The delivery by date, in ISO 8601 format.
4674
+ # Required. The delivery by date, in ISO 8601 format.
4249
4675
  # Corresponds to the JSON property `deliverByDate`
4250
4676
  # @return [String]
4251
4677
  attr_accessor :deliver_by_date
4252
4678
 
4253
- # Details of the shipping method.
4679
+ # Required. Details of the shipping method.
4254
4680
  # Corresponds to the JSON property `method`
4255
4681
  # @return [Google::Apis::ContentV2_1::OrderLineItemShippingDetailsMethod]
4256
4682
  attr_accessor :method_prop
4257
4683
 
4258
- # The ship by date, in ISO 8601 format.
4684
+ # Required. The ship by date, in ISO 8601 format.
4259
4685
  # Corresponds to the JSON property `shipByDate`
4260
4686
  # @return [String]
4261
4687
  attr_accessor :ship_by_date
4262
4688
 
4263
4689
  # Type of shipment. Indicates whether deliveryDetails or pickupDetails is
4264
4690
  # applicable for this shipment.
4691
+ # Acceptable values are:
4692
+ # - "delivery"
4693
+ # - "pickup"
4265
4694
  # Corresponds to the JSON property `type`
4266
4695
  # @return [String]
4267
4696
  attr_accessor :type
@@ -4289,17 +4718,17 @@ module Google
4289
4718
  # @return [String]
4290
4719
  attr_accessor :carrier
4291
4720
 
4292
- # Maximum transit time.
4721
+ # Required. Maximum transit time.
4293
4722
  # Corresponds to the JSON property `maxDaysInTransit`
4294
4723
  # @return [Fixnum]
4295
4724
  attr_accessor :max_days_in_transit
4296
4725
 
4297
- # The name of the shipping method.
4726
+ # Required. The name of the shipping method.
4298
4727
  # Corresponds to the JSON property `methodName`
4299
4728
  # @return [String]
4300
4729
  attr_accessor :method_name
4301
4730
 
4302
- # Minimum transit time.
4731
+ # Required. Minimum transit time.
4303
4732
  # Corresponds to the JSON property `minDaysInTransit`
4304
4733
  # @return [Fixnum]
4305
4734
  attr_accessor :min_days_in_transit
@@ -4424,13 +4853,17 @@ module Google
4424
4853
  # @return [String]
4425
4854
  attr_accessor :end_time
4426
4855
 
4427
- # The party funding the promotion. Only merchant is supported for orders.
4428
- # createtestorder.
4856
+ # Required. The party funding the promotion. Only merchant is supported for
4857
+ # orders.createtestorder.
4858
+ # Acceptable values are:
4859
+ # - "google"
4860
+ # - "merchant"
4429
4861
  # Corresponds to the JSON property `funder`
4430
4862
  # @return [String]
4431
4863
  attr_accessor :funder
4432
4864
 
4433
- # This field is used to identify promotions within merchants' own systems.
4865
+ # Required. This field is used to identify promotions within merchants' own
4866
+ # systems.
4434
4867
  # Corresponds to the JSON property `merchantPromotionId`
4435
4868
  # @return [String]
4436
4869
  attr_accessor :merchant_promotion_id
@@ -4453,8 +4886,23 @@ module Google
4453
4886
  # @return [String]
4454
4887
  attr_accessor :start_time
4455
4888
 
4456
- # The category of the promotion. Only moneyOff is supported for orders.
4889
+ # Required. The category of the promotion. Only moneyOff is supported for orders.
4457
4890
  # createtestorder.
4891
+ # 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"
4458
4906
  # Corresponds to the JSON property `subtype`
4459
4907
  # @return [String]
4460
4908
  attr_accessor :subtype
@@ -4465,13 +4913,16 @@ module Google
4465
4913
  # @return [Google::Apis::ContentV2_1::Price]
4466
4914
  attr_accessor :tax_value
4467
4915
 
4468
- # The title of the promotion.
4916
+ # Required. The title of the promotion.
4469
4917
  # Corresponds to the JSON property `title`
4470
4918
  # @return [String]
4471
4919
  attr_accessor :title
4472
4920
 
4473
- # The scope of the promotion. Only product is supported for orders.
4921
+ # Required. The scope of the promotion. Only product is supported for orders.
4474
4922
  # createtestorder.
4923
+ # Acceptable values are:
4924
+ # - "product"
4925
+ # - "shipping"
4475
4926
  # Corresponds to the JSON property `type`
4476
4927
  # @return [String]
4477
4928
  attr_accessor :type
@@ -4506,7 +4957,7 @@ module Google
4506
4957
  # @return [String]
4507
4958
  attr_accessor :line_item_id
4508
4959
 
4509
- # Offer ID of a product. Only for orders.createtestorder.
4960
+ # Required. Offer ID of a product. Only for orders.createtestorder.
4510
4961
  # Corresponds to the JSON property `offerId`
4511
4962
  # @return [String]
4512
4963
  attr_accessor :offer_id
@@ -4540,6 +4991,13 @@ module Google
4540
4991
  include Google::Apis::Core::Hashable
4541
4992
 
4542
4993
  # The actor that created the refund.
4994
+ # Acceptable values are:
4995
+ # - "customer"
4996
+ # - "googleBot"
4997
+ # - "googleCustomerService"
4998
+ # - "googlePayments"
4999
+ # - "googleSabre"
5000
+ # - "merchant"
4543
5001
  # Corresponds to the JSON property `actor`
4544
5002
  # @return [String]
4545
5003
  attr_accessor :actor
@@ -4555,6 +5013,51 @@ module Google
4555
5013
  attr_accessor :creation_date
4556
5014
 
4557
5015
  # The reason for the refund.
5016
+ # 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"
4558
5061
  # Corresponds to the JSON property `reason`
4559
5062
  # @return [String]
4560
5063
  attr_accessor :reason
@@ -4693,6 +5196,13 @@ module Google
4693
5196
  include Google::Apis::Core::Hashable
4694
5197
 
4695
5198
  # The actor that created the refund.
5199
+ # Acceptable values are:
5200
+ # - "customer"
5201
+ # - "googleBot"
5202
+ # - "googleCustomerService"
5203
+ # - "googlePayments"
5204
+ # - "googleSabre"
5205
+ # - "merchant"
4696
5206
  # Corresponds to the JSON property `actor`
4697
5207
  # @return [String]
4698
5208
  attr_accessor :actor
@@ -4708,6 +5218,20 @@ module Google
4708
5218
  attr_accessor :quantity
4709
5219
 
4710
5220
  # The reason for the return.
5221
+ # 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"
4711
5235
  # Corresponds to the JSON property `reason`
4712
5236
  # @return [String]
4713
5237
  attr_accessor :reason
@@ -4778,6 +5302,7 @@ module Google
4778
5302
  # - "geodis" (GEODIS)
4779
5303
  # - "tnt" (TNT)
4780
5304
  # - "db schenker" (DB Schenker)
5305
+ # - "aramex" (Aramex)
4781
5306
  # Corresponds to the JSON property `carrier`
4782
5307
  # @return [String]
4783
5308
  attr_accessor :carrier
@@ -4809,6 +5334,11 @@ module Google
4809
5334
  attr_accessor :shipment_group_id
4810
5335
 
4811
5336
  # The status of the shipment.
5337
+ # Acceptable values are:
5338
+ # - "delivered"
5339
+ # - "readyForPickup"
5340
+ # - "shipped"
5341
+ # - "undeliverable"
4812
5342
  # Corresponds to the JSON property `status`
4813
5343
  # @return [String]
4814
5344
  attr_accessor :status
@@ -4919,6 +5449,9 @@ module Google
4919
5449
  include Google::Apis::Core::Hashable
4920
5450
 
4921
5451
  # The status of the execution.
5452
+ # Acceptable values are:
5453
+ # - "duplicate"
5454
+ # - "executed"
4922
5455
  # Corresponds to the JSON property `executionStatus`
4923
5456
  # @return [String]
4924
5457
  attr_accessor :execution_status
@@ -4991,6 +5524,9 @@ module Google
4991
5524
  include Google::Apis::Core::Hashable
4992
5525
 
4993
5526
  # The status of the execution.
5527
+ # Acceptable values are:
5528
+ # - "duplicate"
5529
+ # - "executed"
4994
5530
  # Corresponds to the JSON property `executionStatus`
4995
5531
  # @return [String]
4996
5532
  attr_accessor :execution_status
@@ -5022,6 +5558,51 @@ module Google
5022
5558
  attr_accessor :description
5023
5559
 
5024
5560
  # [required] Reason for the refund.
5561
+ # 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"
5025
5606
  # Corresponds to the JSON property `reason`
5026
5607
  # @return [String]
5027
5608
  attr_accessor :reason
@@ -5047,6 +5628,20 @@ module Google
5047
5628
  attr_accessor :description
5048
5629
 
5049
5630
  # [required] Reason for the return.
5631
+ # 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"
5050
5645
  # Corresponds to the JSON property `reason`
5051
5646
  # @return [String]
5052
5647
  attr_accessor :reason
@@ -5182,6 +5777,9 @@ module Google
5182
5777
  include Google::Apis::Core::Hashable
5183
5778
 
5184
5779
  # The status of the execution.
5780
+ # Acceptable values are:
5781
+ # - "duplicate"
5782
+ # - "executed"
5185
5783
  # Corresponds to the JSON property `executionStatus`
5186
5784
  # @return [String]
5187
5785
  attr_accessor :execution_status
@@ -5249,6 +5847,17 @@ module Google
5249
5847
  attr_accessor :quantity
5250
5848
 
5251
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"
5252
5861
  # Corresponds to the JSON property `reason`
5253
5862
  # @return [String]
5254
5863
  attr_accessor :reason
@@ -5278,6 +5887,9 @@ module Google
5278
5887
  include Google::Apis::Core::Hashable
5279
5888
 
5280
5889
  # The status of the execution.
5890
+ # Acceptable values are:
5891
+ # - "duplicate"
5892
+ # - "executed"
5281
5893
  # Corresponds to the JSON property `executionStatus`
5282
5894
  # @return [String]
5283
5895
  attr_accessor :execution_status
@@ -5309,6 +5921,17 @@ module Google
5309
5921
  attr_accessor :operation_id
5310
5922
 
5311
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"
5312
5935
  # Corresponds to the JSON property `reason`
5313
5936
  # @return [String]
5314
5937
  attr_accessor :reason
@@ -5335,6 +5958,9 @@ module Google
5335
5958
  include Google::Apis::Core::Hashable
5336
5959
 
5337
5960
  # The status of the execution.
5961
+ # Acceptable values are:
5962
+ # - "duplicate"
5963
+ # - "executed"
5338
5964
  # Corresponds to the JSON property `executionStatus`
5339
5965
  # @return [String]
5340
5966
  attr_accessor :execution_status
@@ -5361,6 +5987,10 @@ module Google
5361
5987
  include Google::Apis::Core::Hashable
5362
5988
 
5363
5989
  # The reason for the cancellation.
5990
+ # Acceptable values are:
5991
+ # - "changedMind"
5992
+ # - "orderedWrongItem"
5993
+ # - "other"
5364
5994
  # Corresponds to the JSON property `reason`
5365
5995
  # @return [String]
5366
5996
  attr_accessor :reason
@@ -5412,6 +6042,12 @@ module Google
5412
6042
  # The test order template to use. Specify as an alternative to testOrder as a
5413
6043
  # shortcut for retrieving a template and then creating an order using that
5414
6044
  # template.
6045
+ # Acceptable values are:
6046
+ # - "template1"
6047
+ # - "template1a"
6048
+ # - "template1b"
6049
+ # - "template2"
6050
+ # - "template3"
5415
6051
  # Corresponds to the JSON property `templateName`
5416
6052
  # @return [String]
5417
6053
  attr_accessor :template_name
@@ -5539,8 +6175,8 @@ module Google
5539
6175
  # @return [String]
5540
6176
  attr_accessor :carrier
5541
6177
 
5542
- # The ID of the shipment. This is assigned by the merchant and is unique to each
5543
- # shipment.
6178
+ # Required. The ID of the shipment. This is assigned by the merchant and is
6179
+ # unique to each shipment.
5544
6180
  # Corresponds to the JSON property `shipmentId`
5545
6181
  # @return [String]
5546
6182
  attr_accessor :shipment_id
@@ -5647,6 +6283,20 @@ module Google
5647
6283
  attr_accessor :quantity
5648
6284
 
5649
6285
  # The reason for the return.
6286
+ # 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"
5650
6300
  # Corresponds to the JSON property `reason`
5651
6301
  # @return [String]
5652
6302
  attr_accessor :reason
@@ -5683,6 +6333,9 @@ module Google
5683
6333
  include Google::Apis::Core::Hashable
5684
6334
 
5685
6335
  # The status of the execution.
6336
+ # Acceptable values are:
6337
+ # - "duplicate"
6338
+ # - "executed"
5686
6339
  # Corresponds to the JSON property `executionStatus`
5687
6340
  # @return [String]
5688
6341
  attr_accessor :execution_status
@@ -5762,6 +6415,12 @@ module Google
5762
6415
  attr_accessor :quantity
5763
6416
 
5764
6417
  # The reason for the return.
6418
+ # Acceptable values are:
6419
+ # - "damagedOrUsed"
6420
+ # - "missingComponent"
6421
+ # - "notEligible"
6422
+ # - "other"
6423
+ # - "outOfReturnWindow"
5765
6424
  # Corresponds to the JSON property `reason`
5766
6425
  # @return [String]
5767
6426
  attr_accessor :reason
@@ -5791,6 +6450,9 @@ module Google
5791
6450
  include Google::Apis::Core::Hashable
5792
6451
 
5793
6452
  # The status of the execution.
6453
+ # Acceptable values are:
6454
+ # - "duplicate"
6455
+ # - "executed"
5794
6456
  # Corresponds to the JSON property `executionStatus`
5795
6457
  # @return [String]
5796
6458
  attr_accessor :execution_status
@@ -5844,6 +6506,20 @@ module Google
5844
6506
  attr_accessor :quantity
5845
6507
 
5846
6508
  # The reason for the return.
6509
+ # 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"
5847
6523
  # Corresponds to the JSON property `reason`
5848
6524
  # @return [String]
5849
6525
  attr_accessor :reason
@@ -5881,6 +6557,9 @@ module Google
5881
6557
  include Google::Apis::Core::Hashable
5882
6558
 
5883
6559
  # The status of the execution.
6560
+ # Acceptable values are:
6561
+ # - "duplicate"
6562
+ # - "executed"
5884
6563
  # Corresponds to the JSON property `executionStatus`
5885
6564
  # @return [String]
5886
6565
  attr_accessor :execution_status
@@ -5946,6 +6625,9 @@ module Google
5946
6625
  include Google::Apis::Core::Hashable
5947
6626
 
5948
6627
  # The status of the execution.
6628
+ # Acceptable values are:
6629
+ # - "duplicate"
6630
+ # - "executed"
5949
6631
  # Corresponds to the JSON property `executionStatus`
5950
6632
  # @return [String]
5951
6633
  attr_accessor :execution_status
@@ -6011,6 +6693,9 @@ module Google
6011
6693
  include Google::Apis::Core::Hashable
6012
6694
 
6013
6695
  # The status of the execution.
6696
+ # Acceptable values are:
6697
+ # - "duplicate"
6698
+ # - "executed"
6014
6699
  # Corresponds to the JSON property `executionStatus`
6015
6700
  # @return [String]
6016
6701
  attr_accessor :execution_status
@@ -6088,6 +6773,9 @@ module Google
6088
6773
  include Google::Apis::Core::Hashable
6089
6774
 
6090
6775
  # The status of the execution.
6776
+ # Acceptable values are:
6777
+ # - "duplicate"
6778
+ # - "executed"
6091
6779
  # Corresponds to the JSON property `executionStatus`
6092
6780
  # @return [String]
6093
6781
  attr_accessor :execution_status
@@ -6139,6 +6827,9 @@ module Google
6139
6827
  include Google::Apis::Core::Hashable
6140
6828
 
6141
6829
  # The status of the execution.
6830
+ # Acceptable values are:
6831
+ # - "duplicate"
6832
+ # - "executed"
6142
6833
  # Corresponds to the JSON property `executionStatus`
6143
6834
  # @return [String]
6144
6835
  attr_accessor :execution_status
@@ -6187,6 +6878,9 @@ module Google
6187
6878
  attr_accessor :shipment_id
6188
6879
 
6189
6880
  # New status for the shipment. Not updated if missing.
6881
+ # Acceptable values are:
6882
+ # - "delivered"
6883
+ # - "undeliverable"
6190
6884
  # Corresponds to the JSON property `status`
6191
6885
  # @return [String]
6192
6886
  attr_accessor :status
@@ -6216,6 +6910,9 @@ module Google
6216
6910
  include Google::Apis::Core::Hashable
6217
6911
 
6218
6912
  # The status of the execution.
6913
+ # Acceptable values are:
6914
+ # - "duplicate"
6915
+ # - "executed"
6219
6916
  # Corresponds to the JSON property `executionStatus`
6220
6917
  # @return [String]
6221
6918
  attr_accessor :execution_status
@@ -6331,7 +7028,13 @@ module Google
6331
7028
  # @return [Fixnum]
6332
7029
  attr_accessor :merchant_id
6333
7030
 
6334
- #
7031
+ # The method of the batch entry.
7032
+ # Acceptable values are:
7033
+ # - "delete"
7034
+ # - "get"
7035
+ # - "insert"
7036
+ # - "inventory"
7037
+ # - "sale"
6335
7038
  # Corresponds to the JSON property `method`
6336
7039
  # @return [String]
6337
7040
  attr_accessor :method_prop
@@ -6509,7 +7212,7 @@ module Google
6509
7212
  class PosInventory
6510
7213
  include Google::Apis::Core::Hashable
6511
7214
 
6512
- # The two-letter ISO 639-1 language code for the item.
7215
+ # Required. The two-letter ISO 639-1 language code for the item.
6513
7216
  # Corresponds to the JSON property `contentLanguage`
6514
7217
  # @return [String]
6515
7218
  attr_accessor :content_language
@@ -6519,7 +7222,7 @@ module Google
6519
7222
  # @return [String]
6520
7223
  attr_accessor :gtin
6521
7224
 
6522
- # A unique identifier for the item.
7225
+ # Required. A unique identifier for the item.
6523
7226
  # Corresponds to the JSON property `itemId`
6524
7227
  # @return [String]
6525
7228
  attr_accessor :item_id
@@ -6530,28 +7233,28 @@ module Google
6530
7233
  # @return [String]
6531
7234
  attr_accessor :kind
6532
7235
 
6533
- # The current price of the item.
7236
+ # Required. The current price of the item.
6534
7237
  # Corresponds to the JSON property `price`
6535
7238
  # @return [Google::Apis::ContentV2_1::Price]
6536
7239
  attr_accessor :price
6537
7240
 
6538
- # The available quantity of the item.
7241
+ # Required. The available quantity of the item.
6539
7242
  # Corresponds to the JSON property `quantity`
6540
7243
  # @return [Fixnum]
6541
7244
  attr_accessor :quantity
6542
7245
 
6543
- # The identifier of the merchant's store. Either a storeCode inserted via the
6544
- # API or the code of the store in Google My Business.
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.
6545
7248
  # Corresponds to the JSON property `storeCode`
6546
7249
  # @return [String]
6547
7250
  attr_accessor :store_code
6548
7251
 
6549
- # The CLDR territory code for the item.
7252
+ # Required. The CLDR territory code for the item.
6550
7253
  # Corresponds to the JSON property `targetCountry`
6551
7254
  # @return [String]
6552
7255
  attr_accessor :target_country
6553
7256
 
6554
- # The inventory timestamp, in ISO 8601 format.
7257
+ # Required. The inventory timestamp, in ISO 8601 format.
6555
7258
  # Corresponds to the JSON property `timestamp`
6556
7259
  # @return [String]
6557
7260
  attr_accessor :timestamp
@@ -6578,7 +7281,7 @@ module Google
6578
7281
  class PosInventoryRequest
6579
7282
  include Google::Apis::Core::Hashable
6580
7283
 
6581
- # The two-letter ISO 639-1 language code for the item.
7284
+ # Required. The two-letter ISO 639-1 language code for the item.
6582
7285
  # Corresponds to the JSON property `contentLanguage`
6583
7286
  # @return [String]
6584
7287
  attr_accessor :content_language
@@ -6588,33 +7291,33 @@ module Google
6588
7291
  # @return [String]
6589
7292
  attr_accessor :gtin
6590
7293
 
6591
- # A unique identifier for the item.
7294
+ # Required. A unique identifier for the item.
6592
7295
  # Corresponds to the JSON property `itemId`
6593
7296
  # @return [String]
6594
7297
  attr_accessor :item_id
6595
7298
 
6596
- # The current price of the item.
7299
+ # Required. The current price of the item.
6597
7300
  # Corresponds to the JSON property `price`
6598
7301
  # @return [Google::Apis::ContentV2_1::Price]
6599
7302
  attr_accessor :price
6600
7303
 
6601
- # The available quantity of the item.
7304
+ # Required. The available quantity of the item.
6602
7305
  # Corresponds to the JSON property `quantity`
6603
7306
  # @return [Fixnum]
6604
7307
  attr_accessor :quantity
6605
7308
 
6606
- # The identifier of the merchant's store. Either a storeCode inserted via the
6607
- # API or the code of the store in Google My Business.
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.
6608
7311
  # Corresponds to the JSON property `storeCode`
6609
7312
  # @return [String]
6610
7313
  attr_accessor :store_code
6611
7314
 
6612
- # The CLDR territory code for the item.
7315
+ # Required. The CLDR territory code for the item.
6613
7316
  # Corresponds to the JSON property `targetCountry`
6614
7317
  # @return [String]
6615
7318
  attr_accessor :target_country
6616
7319
 
6617
- # The inventory timestamp, in ISO 8601 format.
7320
+ # Required. The inventory timestamp, in ISO 8601 format.
6618
7321
  # Corresponds to the JSON property `timestamp`
6619
7322
  # @return [String]
6620
7323
  attr_accessor :timestamp
@@ -6640,7 +7343,7 @@ module Google
6640
7343
  class PosInventoryResponse
6641
7344
  include Google::Apis::Core::Hashable
6642
7345
 
6643
- # The two-letter ISO 639-1 language code for the item.
7346
+ # Required. The two-letter ISO 639-1 language code for the item.
6644
7347
  # Corresponds to the JSON property `contentLanguage`
6645
7348
  # @return [String]
6646
7349
  attr_accessor :content_language
@@ -6650,7 +7353,7 @@ module Google
6650
7353
  # @return [String]
6651
7354
  attr_accessor :gtin
6652
7355
 
6653
- # A unique identifier for the item.
7356
+ # Required. A unique identifier for the item.
6654
7357
  # Corresponds to the JSON property `itemId`
6655
7358
  # @return [String]
6656
7359
  attr_accessor :item_id
@@ -6661,28 +7364,28 @@ module Google
6661
7364
  # @return [String]
6662
7365
  attr_accessor :kind
6663
7366
 
6664
- # The current price of the item.
7367
+ # Required. The current price of the item.
6665
7368
  # Corresponds to the JSON property `price`
6666
7369
  # @return [Google::Apis::ContentV2_1::Price]
6667
7370
  attr_accessor :price
6668
7371
 
6669
- # The available quantity of the item.
7372
+ # Required. The available quantity of the item.
6670
7373
  # Corresponds to the JSON property `quantity`
6671
7374
  # @return [Fixnum]
6672
7375
  attr_accessor :quantity
6673
7376
 
6674
- # The identifier of the merchant's store. Either a storeCode inserted via the
6675
- # API or the code of the store in Google My Business.
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.
6676
7379
  # Corresponds to the JSON property `storeCode`
6677
7380
  # @return [String]
6678
7381
  attr_accessor :store_code
6679
7382
 
6680
- # The CLDR territory code for the item.
7383
+ # Required. The CLDR territory code for the item.
6681
7384
  # Corresponds to the JSON property `targetCountry`
6682
7385
  # @return [String]
6683
7386
  attr_accessor :target_country
6684
7387
 
6685
- # The inventory timestamp, in ISO 8601 format.
7388
+ # Required. The inventory timestamp, in ISO 8601 format.
6686
7389
  # Corresponds to the JSON property `timestamp`
6687
7390
  # @return [String]
6688
7391
  attr_accessor :timestamp
@@ -6735,7 +7438,7 @@ module Google
6735
7438
  class PosSale
6736
7439
  include Google::Apis::Core::Hashable
6737
7440
 
6738
- # The two-letter ISO 639-1 language code for the item.
7441
+ # Required. The two-letter ISO 639-1 language code for the item.
6739
7442
  # Corresponds to the JSON property `contentLanguage`
6740
7443
  # @return [String]
6741
7444
  attr_accessor :content_language
@@ -6745,7 +7448,7 @@ module Google
6745
7448
  # @return [String]
6746
7449
  attr_accessor :gtin
6747
7450
 
6748
- # A unique identifier for the item.
7451
+ # Required. A unique identifier for the item.
6749
7452
  # Corresponds to the JSON property `itemId`
6750
7453
  # @return [String]
6751
7454
  attr_accessor :item_id
@@ -6756,12 +7459,13 @@ module Google
6756
7459
  # @return [String]
6757
7460
  attr_accessor :kind
6758
7461
 
6759
- # The price of the item.
7462
+ # Required. The price of the item.
6760
7463
  # Corresponds to the JSON property `price`
6761
7464
  # @return [Google::Apis::ContentV2_1::Price]
6762
7465
  attr_accessor :price
6763
7466
 
6764
- # The relative change of the available quantity. Negative for items returned.
7467
+ # Required. The relative change of the available quantity. Negative for items
7468
+ # returned.
6765
7469
  # Corresponds to the JSON property `quantity`
6766
7470
  # @return [Fixnum]
6767
7471
  attr_accessor :quantity
@@ -6771,18 +7475,18 @@ module Google
6771
7475
  # @return [String]
6772
7476
  attr_accessor :sale_id
6773
7477
 
6774
- # The identifier of the merchant's store. Either a storeCode inserted via the
6775
- # API or the code of the store in Google My Business.
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.
6776
7480
  # Corresponds to the JSON property `storeCode`
6777
7481
  # @return [String]
6778
7482
  attr_accessor :store_code
6779
7483
 
6780
- # The CLDR territory code for the item.
7484
+ # Required. The CLDR territory code for the item.
6781
7485
  # Corresponds to the JSON property `targetCountry`
6782
7486
  # @return [String]
6783
7487
  attr_accessor :target_country
6784
7488
 
6785
- # The inventory timestamp, in ISO 8601 format.
7489
+ # Required. The inventory timestamp, in ISO 8601 format.
6786
7490
  # Corresponds to the JSON property `timestamp`
6787
7491
  # @return [String]
6788
7492
  attr_accessor :timestamp
@@ -6810,7 +7514,7 @@ module Google
6810
7514
  class PosSaleRequest
6811
7515
  include Google::Apis::Core::Hashable
6812
7516
 
6813
- # The two-letter ISO 639-1 language code for the item.
7517
+ # Required. The two-letter ISO 639-1 language code for the item.
6814
7518
  # Corresponds to the JSON property `contentLanguage`
6815
7519
  # @return [String]
6816
7520
  attr_accessor :content_language
@@ -6820,17 +7524,18 @@ module Google
6820
7524
  # @return [String]
6821
7525
  attr_accessor :gtin
6822
7526
 
6823
- # A unique identifier for the item.
7527
+ # Required. A unique identifier for the item.
6824
7528
  # Corresponds to the JSON property `itemId`
6825
7529
  # @return [String]
6826
7530
  attr_accessor :item_id
6827
7531
 
6828
- # The price of the item.
7532
+ # Required. The price of the item.
6829
7533
  # Corresponds to the JSON property `price`
6830
7534
  # @return [Google::Apis::ContentV2_1::Price]
6831
7535
  attr_accessor :price
6832
7536
 
6833
- # The relative change of the available quantity. Negative for items returned.
7537
+ # Required. The relative change of the available quantity. Negative for items
7538
+ # returned.
6834
7539
  # Corresponds to the JSON property `quantity`
6835
7540
  # @return [Fixnum]
6836
7541
  attr_accessor :quantity
@@ -6840,18 +7545,18 @@ module Google
6840
7545
  # @return [String]
6841
7546
  attr_accessor :sale_id
6842
7547
 
6843
- # The identifier of the merchant's store. Either a storeCode inserted via the
6844
- # API or the code of the store in Google My Business.
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.
6845
7550
  # Corresponds to the JSON property `storeCode`
6846
7551
  # @return [String]
6847
7552
  attr_accessor :store_code
6848
7553
 
6849
- # The CLDR territory code for the item.
7554
+ # Required. The CLDR territory code for the item.
6850
7555
  # Corresponds to the JSON property `targetCountry`
6851
7556
  # @return [String]
6852
7557
  attr_accessor :target_country
6853
7558
 
6854
- # The inventory timestamp, in ISO 8601 format.
7559
+ # Required. The inventory timestamp, in ISO 8601 format.
6855
7560
  # Corresponds to the JSON property `timestamp`
6856
7561
  # @return [String]
6857
7562
  attr_accessor :timestamp
@@ -6878,7 +7583,7 @@ module Google
6878
7583
  class PosSaleResponse
6879
7584
  include Google::Apis::Core::Hashable
6880
7585
 
6881
- # The two-letter ISO 639-1 language code for the item.
7586
+ # Required. The two-letter ISO 639-1 language code for the item.
6882
7587
  # Corresponds to the JSON property `contentLanguage`
6883
7588
  # @return [String]
6884
7589
  attr_accessor :content_language
@@ -6888,7 +7593,7 @@ module Google
6888
7593
  # @return [String]
6889
7594
  attr_accessor :gtin
6890
7595
 
6891
- # A unique identifier for the item.
7596
+ # Required. A unique identifier for the item.
6892
7597
  # Corresponds to the JSON property `itemId`
6893
7598
  # @return [String]
6894
7599
  attr_accessor :item_id
@@ -6899,12 +7604,13 @@ module Google
6899
7604
  # @return [String]
6900
7605
  attr_accessor :kind
6901
7606
 
6902
- # The price of the item.
7607
+ # Required. The price of the item.
6903
7608
  # Corresponds to the JSON property `price`
6904
7609
  # @return [Google::Apis::ContentV2_1::Price]
6905
7610
  attr_accessor :price
6906
7611
 
6907
- # The relative change of the available quantity. Negative for items returned.
7612
+ # Required. The relative change of the available quantity. Negative for items
7613
+ # returned.
6908
7614
  # Corresponds to the JSON property `quantity`
6909
7615
  # @return [Fixnum]
6910
7616
  attr_accessor :quantity
@@ -6914,18 +7620,18 @@ module Google
6914
7620
  # @return [String]
6915
7621
  attr_accessor :sale_id
6916
7622
 
6917
- # The identifier of the merchant's store. Either a storeCode inserted via the
6918
- # API or the code of the store in Google My Business.
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.
6919
7625
  # Corresponds to the JSON property `storeCode`
6920
7626
  # @return [String]
6921
7627
  attr_accessor :store_code
6922
7628
 
6923
- # The CLDR territory code for the item.
7629
+ # Required. The CLDR territory code for the item.
6924
7630
  # Corresponds to the JSON property `targetCountry`
6925
7631
  # @return [String]
6926
7632
  attr_accessor :target_country
6927
7633
 
6928
- # The inventory timestamp, in ISO 8601 format.
7634
+ # Required. The inventory timestamp, in ISO 8601 format.
6929
7635
  # Corresponds to the JSON property `timestamp`
6930
7636
  # @return [String]
6931
7637
  attr_accessor :timestamp
@@ -6959,12 +7665,12 @@ module Google
6959
7665
  # @return [String]
6960
7666
  attr_accessor :kind
6961
7667
 
6962
- # The street address of the store.
7668
+ # Required. The street address of the store.
6963
7669
  # Corresponds to the JSON property `storeAddress`
6964
7670
  # @return [String]
6965
7671
  attr_accessor :store_address
6966
7672
 
6967
- # A store identifier that is unique for the given merchant.
7673
+ # Required. A store identifier that is unique for the given merchant.
6968
7674
  # Corresponds to the JSON property `storeCode`
6969
7675
  # @return [String]
6970
7676
  attr_accessor :store_code
@@ -7124,7 +7830,10 @@ module Google
7124
7830
  # @return [String]
7125
7831
  attr_accessor :brand
7126
7832
 
7127
- # The item's channel (online or local).
7833
+ # Required. The item's channel (online or local).
7834
+ # Acceptable values are:
7835
+ # - "local"
7836
+ # - "online"
7128
7837
  # Corresponds to the JSON property `channel`
7129
7838
  # @return [String]
7130
7839
  attr_accessor :channel
@@ -7139,7 +7848,7 @@ module Google
7139
7848
  # @return [String]
7140
7849
  attr_accessor :condition
7141
7850
 
7142
- # The two-letter ISO 639-1 language code for the item.
7851
+ # Required. The two-letter ISO 639-1 language code for the item.
7143
7852
  # Corresponds to the JSON property `contentLanguage`
7144
7853
  # @return [String]
7145
7854
  attr_accessor :content_language
@@ -7348,8 +8057,8 @@ module Google
7348
8057
  # @return [Fixnum]
7349
8058
  attr_accessor :multipack
7350
8059
 
7351
- # A unique identifier for the item. Leading and trailing whitespaces are
7352
- # stripped and multiple whitespaces are replaced by a single whitespace upon
8060
+ # Required. A unique identifier for the item. Leading and trailing whitespaces
8061
+ # are stripped and multiple whitespaces are replaced by a single whitespace upon
7353
8062
  # submission. Only valid unicode characters are accepted. See the products feed
7354
8063
  # specification for details.
7355
8064
  # Note: Content API methods that operate on products take the REST ID of the
@@ -7443,11 +8152,15 @@ module Google
7443
8152
  attr_accessor :sizes
7444
8153
 
7445
8154
  # The source of the offer, i.e., how the offer was created.
8155
+ # Acceptable values are:
8156
+ # - "api"
8157
+ # - "crawl"
8158
+ # - "feed"
7446
8159
  # Corresponds to the JSON property `source`
7447
8160
  # @return [String]
7448
8161
  attr_accessor :source
7449
8162
 
7450
- # The CLDR territory code for the item.
8163
+ # Required. The CLDR territory code for the item.
7451
8164
  # Corresponds to the JSON property `targetCountry`
7452
8165
  # @return [String]
7453
8166
  attr_accessor :target_country
@@ -8004,7 +8717,11 @@ module Google
8004
8717
  # @return [Fixnum]
8005
8718
  attr_accessor :merchant_id
8006
8719
 
8007
- #
8720
+ # The method of the batch entry.
8721
+ # Acceptable values are:
8722
+ # - "delete"
8723
+ # - "get"
8724
+ # - "insert"
8008
8725
  # Corresponds to the JSON property `method`
8009
8726
  # @return [String]
8010
8727
  attr_accessor :method_prop
@@ -8178,7 +8895,9 @@ module Google
8178
8895
  # @return [Fixnum]
8179
8896
  attr_accessor :merchant_id
8180
8897
 
8181
- #
8898
+ # The method of the batch entry.
8899
+ # Acceptable values are:
8900
+ # - "get"
8182
8901
  # Corresponds to the JSON property `method`
8183
8902
  # @return [String]
8184
8903
  attr_accessor :method_prop
@@ -8300,6 +9019,39 @@ module Google
8300
9019
  end
8301
9020
  end
8302
9021
 
9022
+ # Settings for Pub/Sub notifications, all methods require that the caller is a
9023
+ # direct user of the merchant center account.
9024
+ class PubsubNotificationSettings
9025
+ include Google::Apis::Core::Hashable
9026
+
9027
+ # Cloud pub/sub topic to which notifications are sent (read-only).
9028
+ # Corresponds to the JSON property `cloudTopicName`
9029
+ # @return [String]
9030
+ attr_accessor :cloud_topic_name
9031
+
9032
+ # Identifies what kind of resource this is. Value: the fixed string "content#
9033
+ # pubsubNotificationSettings".
9034
+ # Corresponds to the JSON property `kind`
9035
+ # @return [String]
9036
+ attr_accessor :kind
9037
+
9038
+ # List of event types. Supported event types: orderPendingShipment.
9039
+ # Corresponds to the JSON property `registeredEvents`
9040
+ # @return [Array<String>]
9041
+ attr_accessor :registered_events
9042
+
9043
+ def initialize(**args)
9044
+ update!(**args)
9045
+ end
9046
+
9047
+ # Update properties of this object
9048
+ def update!(**args)
9049
+ @cloud_topic_name = args[:cloud_topic_name] if args.key?(:cloud_topic_name)
9050
+ @kind = args[:kind] if args.key?(:kind)
9051
+ @registered_events = args[:registered_events] if args.key?(:registered_events)
9052
+ end
9053
+ end
9054
+
8303
9055
  #
8304
9056
  class RateGroup
8305
9057
  include Google::Apis::Core::Hashable
@@ -8361,12 +9113,57 @@ module Google
8361
9113
  class RefundReason
8362
9114
  include Google::Apis::Core::Hashable
8363
9115
 
8364
- #
9116
+ # Description of the reason.
8365
9117
  # Corresponds to the JSON property `description`
8366
9118
  # @return [String]
8367
9119
  attr_accessor :description
8368
9120
 
8369
- #
9121
+ # Code of the refund reason.
9122
+ # 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"
8370
9167
  # Corresponds to the JSON property `reasonCode`
8371
9168
  # @return [String]
8372
9169
  attr_accessor :reason_code
@@ -8475,7 +9272,9 @@ module Google
8475
9272
  # @return [Fixnum]
8476
9273
  attr_accessor :merchant_id
8477
9274
 
8478
- #
9275
+ # Method of the batch request entry.
9276
+ # Acceptable values are:
9277
+ # - "insert"
8479
9278
  # Corresponds to the JSON property `method`
8480
9279
  # @return [String]
8481
9280
  attr_accessor :method_prop
@@ -8574,12 +9373,12 @@ module Google
8574
9373
  class ReturnAddress
8575
9374
  include Google::Apis::Core::Hashable
8576
9375
 
8577
- # The address.
9376
+ # Required. The address.
8578
9377
  # Corresponds to the JSON property `address`
8579
9378
  # @return [Google::Apis::ContentV2_1::ReturnAddressAddress]
8580
9379
  attr_accessor :address
8581
9380
 
8582
- # The country of sale where the return address is applicable.
9381
+ # Required. The country of sale where the return address is applicable.
8583
9382
  # Corresponds to the JSON property `country`
8584
9383
  # @return [String]
8585
9384
  attr_accessor :country
@@ -8590,13 +9389,13 @@ module Google
8590
9389
  # @return [String]
8591
9390
  attr_accessor :kind
8592
9391
 
8593
- # The user-defined label of the return address. For the default address, use the
8594
- # label "default".
9392
+ # Required. The user-defined label of the return address. For the default
9393
+ # address, use the label "default".
8595
9394
  # Corresponds to the JSON property `label`
8596
9395
  # @return [String]
8597
9396
  attr_accessor :label
8598
9397
 
8599
- # The merchant's contact phone number regarding the return.
9398
+ # Required. The merchant's contact phone number regarding the return.
8600
9399
  # Corresponds to the JSON property `phoneNumber`
8601
9400
  # @return [String]
8602
9401
  attr_accessor :phone_number
@@ -8677,7 +9476,7 @@ module Google
8677
9476
  class ReturnPolicy
8678
9477
  include Google::Apis::Core::Hashable
8679
9478
 
8680
- # The country of sale where the return policy is applicable.
9479
+ # Required. The country of sale where the return policy is applicable.
8681
9480
  # Corresponds to the JSON property `country`
8682
9481
  # @return [String]
8683
9482
  attr_accessor :country
@@ -8688,13 +9487,13 @@ module Google
8688
9487
  # @return [String]
8689
9488
  attr_accessor :kind
8690
9489
 
8691
- # The user-defined label of the return policy. For the default policy, use the
8692
- # label "default".
9490
+ # Required. The user-defined label of the return policy. For the default policy,
9491
+ # use the label "default".
8693
9492
  # Corresponds to the JSON property `label`
8694
9493
  # @return [String]
8695
9494
  attr_accessor :label
8696
9495
 
8697
- # The name of the policy as shown in Merchant Center.
9496
+ # Required. The name of the policy as shown in Merchant Center.
8698
9497
  # Corresponds to the JSON property `name`
8699
9498
  # @return [String]
8700
9499
  attr_accessor :name
@@ -8704,7 +9503,7 @@ module Google
8704
9503
  # @return [Array<String>]
8705
9504
  attr_accessor :non_free_return_reasons
8706
9505
 
8707
- # The policy.
9506
+ # Required. The policy.
8708
9507
  # Corresponds to the JSON property `policy`
8709
9508
  # @return [Google::Apis::ContentV2_1::ReturnPolicyPolicy]
8710
9509
  attr_accessor :policy
@@ -8740,9 +9539,9 @@ module Google
8740
9539
  class ReturnPolicyPolicy
8741
9540
  include Google::Apis::Core::Hashable
8742
9541
 
8743
- # Last day for returning the items. In ISO 8601 format. When specifying the
8744
- # return window like this, set the policy type to "lastReturnDate". Use this for
8745
- # seasonal overrides only.
9542
+ # Required. Last day for returning the items. In ISO 8601 format. When
9543
+ # specifying the return window like this, set the policy type to "lastReturnDate"
9544
+ # . Use this for seasonal overrides only.
8746
9545
  # Corresponds to the JSON property `lastReturnDate`
8747
9546
  # @return [String]
8748
9547
  attr_accessor :last_return_date
@@ -8764,6 +9563,11 @@ module Google
8764
9563
  # made for electronics or non-returnable items such as food, perishables, and
8765
9564
  # living things. A policy of less than 30 days can only be applied to those
8766
9565
  # items.
9566
+ # Acceptable values are:
9567
+ # - "lastReturnDate"
9568
+ # - "lifetimeReturns"
9569
+ # - "noReturns"
9570
+ # - "numberOfDaysAfterDelivery"
8767
9571
  # Corresponds to the JSON property `type`
8768
9572
  # @return [String]
8769
9573
  attr_accessor :type
@@ -8784,22 +9588,22 @@ module Google
8784
9588
  class ReturnPolicySeasonalOverride
8785
9589
  include Google::Apis::Core::Hashable
8786
9590
 
8787
- # Last day on which the override applies. In ISO 8601 format.
9591
+ # Required. Last day on which the override applies. In ISO 8601 format.
8788
9592
  # Corresponds to the JSON property `endDate`
8789
9593
  # @return [String]
8790
9594
  attr_accessor :end_date
8791
9595
 
8792
- # The name of the seasonal override as shown in Merchant Center.
9596
+ # Required. The name of the seasonal override as shown in Merchant Center.
8793
9597
  # Corresponds to the JSON property `name`
8794
9598
  # @return [String]
8795
9599
  attr_accessor :name
8796
9600
 
8797
- # The policy which is in effect during that time.
9601
+ # Required. The policy which is in effect during that time.
8798
9602
  # Corresponds to the JSON property `policy`
8799
9603
  # @return [Google::Apis::ContentV2_1::ReturnPolicyPolicy]
8800
9604
  attr_accessor :policy
8801
9605
 
8802
- # First day on which the override applies. In ISO 8601 format.
9606
+ # Required. First day on which the override applies. In ISO 8601 format.
8803
9607
  # Corresponds to the JSON property `startDate`
8804
9608
  # @return [String]
8805
9609
  attr_accessor :start_date
@@ -8821,37 +9625,47 @@ module Google
8821
9625
  class ReturnShipment
8822
9626
  include Google::Apis::Core::Hashable
8823
9627
 
8824
- #
9628
+ # The date of creation of the shipment, in ISO 8601 format.
8825
9629
  # Corresponds to the JSON property `creationDate`
8826
9630
  # @return [String]
8827
9631
  attr_accessor :creation_date
8828
9632
 
8829
- #
9633
+ # The date of delivery of the shipment, in ISO 8601 format.
8830
9634
  # Corresponds to the JSON property `deliveryDate`
8831
9635
  # @return [String]
8832
9636
  attr_accessor :delivery_date
8833
9637
 
8834
- #
9638
+ # Type of the return method.
9639
+ # Acceptable values are:
9640
+ # - "byMail"
9641
+ # - "contactCustomerSupport"
9642
+ # - "returnless"
8835
9643
  # Corresponds to the JSON property `returnMethodType`
8836
9644
  # @return [String]
8837
9645
  attr_accessor :return_method_type
8838
9646
 
8839
- #
9647
+ # Shipment ID generated by Google.
8840
9648
  # Corresponds to the JSON property `shipmentId`
8841
9649
  # @return [String]
8842
9650
  attr_accessor :shipment_id
8843
9651
 
8844
- #
9652
+ # Tracking information of the shipment. One return shipment might be handled by
9653
+ # several shipping carriers sequentially.
8845
9654
  # Corresponds to the JSON property `shipmentTrackingInfos`
8846
9655
  # @return [Array<Google::Apis::ContentV2_1::ShipmentTrackingInfo>]
8847
9656
  attr_accessor :shipment_tracking_infos
8848
9657
 
8849
- #
9658
+ # The date of shipping of the shipment, in ISO 8601 format.
8850
9659
  # Corresponds to the JSON property `shippingDate`
8851
9660
  # @return [String]
8852
9661
  attr_accessor :shipping_date
8853
9662
 
8854
- #
9663
+ # State of the shipment.
9664
+ # Acceptable values are:
9665
+ # - "completed"
9666
+ # - "new"
9667
+ # - "shipped"
9668
+ # - "undeliverable"
8855
9669
  # Corresponds to the JSON property `state`
8856
9670
  # @return [String]
8857
9671
  attr_accessor :state
@@ -8905,7 +9719,11 @@ module Google
8905
9719
  # @return [Fixnum]
8906
9720
  attr_accessor :merchant_id
8907
9721
 
8908
- #
9722
+ # Method of the batch request entry.
9723
+ # Acceptable values are:
9724
+ # - "delete"
9725
+ # - "get"
9726
+ # - "insert"
8909
9727
  # Corresponds to the JSON property `method`
8910
9728
  # @return [String]
8911
9729
  attr_accessor :method_prop
@@ -9063,7 +9881,11 @@ module Google
9063
9881
  # @return [Fixnum]
9064
9882
  attr_accessor :merchant_id
9065
9883
 
9066
- #
9884
+ # Method of the batch request entry.
9885
+ # Acceptable values are:
9886
+ # - "delete"
9887
+ # - "get"
9888
+ # - "insert"
9067
9889
  # Corresponds to the JSON property `method`
9068
9890
  # @return [String]
9069
9891
  attr_accessor :method_prop
@@ -9231,6 +10053,10 @@ module Google
9231
10053
  attr_accessor :delivery_time
9232
10054
 
9233
10055
  # Eligibility for this service.
10056
+ # Acceptable values are:
10057
+ # - "All scenarios"
10058
+ # - "All scenarios except Shopping Actions"
10059
+ # - "Shopping Actions"
9234
10060
  # Corresponds to the JSON property `eligibility`
9235
10061
  # @return [String]
9236
10062
  attr_accessor :eligibility
@@ -9262,6 +10088,9 @@ module Google
9262
10088
  attr_accessor :rate_groups
9263
10089
 
9264
10090
  # Type of locations this service ships orders to.
10091
+ # Acceptable values are:
10092
+ # - "delivery"
10093
+ # - "pickup"
9265
10094
  # Corresponds to the JSON property `shipmentType`
9266
10095
  # @return [String]
9267
10096
  attr_accessor :shipment_type
@@ -9363,12 +10192,43 @@ module Google
9363
10192
  class ShipmentTrackingInfo
9364
10193
  include Google::Apis::Core::Hashable
9365
10194
 
9366
- #
10195
+ # The shipping carrier that handles the package.
10196
+ # 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"
9367
10227
  # Corresponds to the JSON property `carrier`
9368
10228
  # @return [String]
9369
10229
  attr_accessor :carrier
9370
10230
 
9371
- #
10231
+ # The tracking number for the package.
9372
10232
  # Corresponds to the JSON property `trackingNumber`
9373
10233
  # @return [String]
9374
10234
  attr_accessor :tracking_number
@@ -9455,7 +10315,10 @@ module Google
9455
10315
  # @return [Fixnum]
9456
10316
  attr_accessor :merchant_id
9457
10317
 
9458
- #
10318
+ # The method of the batch entry.
10319
+ # Acceptable values are:
10320
+ # - "get"
10321
+ # - "update"
9459
10322
  # Corresponds to the JSON property `method`
9460
10323
  # @return [String]
9461
10324
  attr_accessor :method_prop
@@ -9711,34 +10574,54 @@ module Google
9711
10574
  # @return [String]
9712
10575
  attr_accessor :kind
9713
10576
 
9714
- # Line items that are ordered. At least one line item must be provided.
10577
+ # Required. Line items that are ordered. At least one line item must be provided.
9715
10578
  # Corresponds to the JSON property `lineItems`
9716
10579
  # @return [Array<Google::Apis::ContentV2_1::TestOrderLineItem>]
9717
10580
  attr_accessor :line_items
9718
10581
 
9719
10582
  # Determines if test order must be pulled by merchant or pushed to merchant via
9720
10583
  # push integration.
10584
+ # Acceptable values are:
10585
+ # - "checkoutIntegration"
10586
+ # - "merchantPull"
9721
10587
  # Corresponds to the JSON property `notificationMode`
9722
10588
  # @return [String]
9723
10589
  attr_accessor :notification_mode
9724
10590
 
9725
- # The billing address.
10591
+ # Required. The billing address.
10592
+ # Acceptable values are:
10593
+ # - "dwight"
10594
+ # - "jim"
10595
+ # - "pam"
9726
10596
  # Corresponds to the JSON property `predefinedBillingAddress`
9727
10597
  # @return [String]
9728
10598
  attr_accessor :predefined_billing_address
9729
10599
 
9730
- # Identifier of one of the predefined delivery addresses for the delivery.
10600
+ # Required. Identifier of one of the predefined delivery addresses for the
10601
+ # delivery.
10602
+ # Acceptable values are:
10603
+ # - "dwight"
10604
+ # - "jim"
10605
+ # - "pam"
9731
10606
  # Corresponds to the JSON property `predefinedDeliveryAddress`
9732
10607
  # @return [String]
9733
10608
  attr_accessor :predefined_delivery_address
9734
10609
 
9735
- # Email address of the customer.
10610
+ # Required. Email address of the customer.
10611
+ # Acceptable values are:
10612
+ # - "pog.dwight.schrute@gmail.com"
10613
+ # - "pog.jim.halpert@gmail.com"
10614
+ # - "penpog.pam.beesly@gmail.comding"
9736
10615
  # Corresponds to the JSON property `predefinedEmail`
9737
10616
  # @return [String]
9738
10617
  attr_accessor :predefined_email
9739
10618
 
9740
10619
  # Identifier of one of the predefined pickup details. Required for orders
9741
10620
  # containing line items with shipping type pickup.
10621
+ # Acceptable values are:
10622
+ # - "dwight"
10623
+ # - "jim"
10624
+ # - "pam"
9742
10625
  # Corresponds to the JSON property `predefinedPickupDetails`
9743
10626
  # @return [String]
9744
10627
  attr_accessor :predefined_pickup_details
@@ -9748,15 +10631,22 @@ module Google
9748
10631
  # @return [Array<Google::Apis::ContentV2_1::OrderPromotion>]
9749
10632
  attr_accessor :promotions
9750
10633
 
9751
- # The price of shipping for all items. Shipping tax is automatically calculated
9752
- # for orders where marketplace facilitator tax laws are applicable. Otherwise,
9753
- # tax settings from Merchant Center are applied. Note that shipping is not taxed
9754
- # in certain states.
10634
+ # Required. The price of shipping for all items. Shipping tax is automatically
10635
+ # calculated for orders where marketplace facilitator tax laws are applicable.
10636
+ # Otherwise, tax settings from Merchant Center are applied. Note that shipping
10637
+ # is not taxed in certain states.
9755
10638
  # Corresponds to the JSON property `shippingCost`
9756
10639
  # @return [Google::Apis::ContentV2_1::Price]
9757
10640
  attr_accessor :shipping_cost
9758
10641
 
9759
- # The requested shipping option.
10642
+ # Required. The requested shipping option.
10643
+ # Acceptable values are:
10644
+ # - "economy"
10645
+ # - "expedited"
10646
+ # - "oneDay"
10647
+ # - "sameDay"
10648
+ # - "standard"
10649
+ # - "twoDay"
9760
10650
  # Corresponds to the JSON property `shippingOption`
9761
10651
  # @return [String]
9762
10652
  attr_accessor :shipping_option
@@ -9785,22 +10675,22 @@ module Google
9785
10675
  class TestOrderLineItem
9786
10676
  include Google::Apis::Core::Hashable
9787
10677
 
9788
- # Product data from the time of the order placement.
10678
+ # Required. Product data from the time of the order placement.
9789
10679
  # Corresponds to the JSON property `product`
9790
10680
  # @return [Google::Apis::ContentV2_1::TestOrderLineItemProduct]
9791
10681
  attr_accessor :product
9792
10682
 
9793
- # Number of items ordered.
10683
+ # Required. Number of items ordered.
9794
10684
  # Corresponds to the JSON property `quantityOrdered`
9795
10685
  # @return [Fixnum]
9796
10686
  attr_accessor :quantity_ordered
9797
10687
 
9798
- # Details of the return policy for the line item.
10688
+ # Required. Details of the return policy for the line item.
9799
10689
  # Corresponds to the JSON property `returnInfo`
9800
10690
  # @return [Google::Apis::ContentV2_1::OrderLineItemReturnInfo]
9801
10691
  attr_accessor :return_info
9802
10692
 
9803
- # Details of the requested shipping for the line item.
10693
+ # Required. Details of the requested shipping for the line item.
9804
10694
  # Corresponds to the JSON property `shippingDetails`
9805
10695
  # @return [Google::Apis::ContentV2_1::OrderLineItemShippingDetails]
9806
10696
  attr_accessor :shipping_details
@@ -9822,17 +10712,22 @@ module Google
9822
10712
  class TestOrderLineItemProduct
9823
10713
  include Google::Apis::Core::Hashable
9824
10714
 
9825
- # Brand of the item.
10715
+ # Required. Brand of the item.
9826
10716
  # Corresponds to the JSON property `brand`
9827
10717
  # @return [String]
9828
10718
  attr_accessor :brand
9829
10719
 
9830
- # Condition or state of the item.
10720
+ # Required. Condition or state of the item.
10721
+ # Acceptable values are:
10722
+ # - "new"
9831
10723
  # Corresponds to the JSON property `condition`
9832
10724
  # @return [String]
9833
10725
  attr_accessor :condition
9834
10726
 
9835
- # The two-letter ISO 639-1 language code for the item.
10727
+ # Required. The two-letter ISO 639-1 language code for the item.
10728
+ # Acceptable values are:
10729
+ # - "en"
10730
+ # - "fr"
9836
10731
  # Corresponds to the JSON property `contentLanguage`
9837
10732
  # @return [String]
9838
10733
  attr_accessor :content_language
@@ -9847,7 +10742,7 @@ module Google
9847
10742
  # @return [String]
9848
10743
  attr_accessor :gtin
9849
10744
 
9850
- # URL of an image of the item.
10745
+ # Required. URL of an image of the item.
9851
10746
  # Corresponds to the JSON property `imageLink`
9852
10747
  # @return [String]
9853
10748
  attr_accessor :image_link
@@ -9862,24 +10757,24 @@ module Google
9862
10757
  # @return [String]
9863
10758
  attr_accessor :mpn
9864
10759
 
9865
- # An identifier of the item.
10760
+ # Required. An identifier of the item.
9866
10761
  # Corresponds to the JSON property `offerId`
9867
10762
  # @return [String]
9868
10763
  attr_accessor :offer_id
9869
10764
 
9870
- # The price for the product. Tax is automatically calculated for orders where
9871
- # marketplace facilitator tax laws are applicable. Otherwise, tax settings from
9872
- # Merchant Center are applied.
10765
+ # Required. The price for the product. Tax is automatically calculated for
10766
+ # orders where marketplace facilitator tax laws are applicable. Otherwise, tax
10767
+ # settings from Merchant Center are applied.
9873
10768
  # Corresponds to the JSON property `price`
9874
10769
  # @return [Google::Apis::ContentV2_1::Price]
9875
10770
  attr_accessor :price
9876
10771
 
9877
- # The CLDR territory code of the target country of the product.
10772
+ # Required. The CLDR territory code of the target country of the product.
9878
10773
  # Corresponds to the JSON property `targetCountry`
9879
10774
  # @return [String]
9880
10775
  attr_accessor :target_country
9881
10776
 
9882
- # The title of the product.
10777
+ # Required. The title of the product.
9883
10778
  # Corresponds to the JSON property `title`
9884
10779
  # @return [String]
9885
10780
  attr_accessor :title
@@ -10032,6 +10927,8 @@ module Google
10032
10927
  attr_accessor :additional_charge_amount
10033
10928
 
10034
10929
  # [required] Type of the additional charge.
10930
+ # Acceptable values are:
10931
+ # - "shipping"
10035
10932
  # Corresponds to the JSON property `type`
10036
10933
  # @return [String]
10037
10934
  attr_accessor :type
@@ -10063,6 +10960,10 @@ module Google
10063
10960
  attr_accessor :tax_name
10064
10961
 
10065
10962
  # [required] Type of the tax.
10963
+ # Acceptable values are:
10964
+ # - "otherFee"
10965
+ # - "otherFeeTax"
10966
+ # - "sales"
10066
10967
  # Corresponds to the JSON property `taxType`
10067
10968
  # @return [String]
10068
10969
  attr_accessor :tax_type
@@ -10133,12 +11034,15 @@ module Google
10133
11034
  class Weight
10134
11035
  include Google::Apis::Core::Hashable
10135
11036
 
10136
- # The weight unit.
11037
+ # Required. The weight unit.
11038
+ # Acceptable values are:
11039
+ # - "kg"
11040
+ # - "lb"
10137
11041
  # Corresponds to the JSON property `unit`
10138
11042
  # @return [String]
10139
11043
  attr_accessor :unit
10140
11044
 
10141
- # The weight represented as a number.
11045
+ # Required. The weight represented as a number.
10142
11046
  # Corresponds to the JSON property `value`
10143
11047
  # @return [String]
10144
11048
  attr_accessor :value