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::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
@@ -184,6 +184,9 @@ module Google
184
184
  # remain unchanged. Re-uploading a link with deprecated status inactive is
185
185
  # equivalent to not submitting the link at all and will delete the link if it
186
186
  # was active or cancel the link request if it was pending.
187
+ # Acceptable values are:
188
+ # - "active"
189
+ # - "pending"
187
190
  # Corresponds to the JSON property `status`
188
191
  # @return [String]
189
192
  attr_accessor :status
@@ -273,6 +276,9 @@ module Google
273
276
  attr_accessor :gmb_email
274
277
 
275
278
  # Status of the link between this Merchant Center account and the GMB account.
279
+ # Acceptable values are:
280
+ # - "active"
281
+ # - "pending"
276
282
  # Corresponds to the JSON property `status`
277
283
  # @return [String]
278
284
  attr_accessor :status
@@ -397,6 +403,10 @@ module Google
397
403
  attr_accessor :id
398
404
 
399
405
  # Severity of the issue.
406
+ # Acceptable values are:
407
+ # - "critical"
408
+ # - "error"
409
+ # - "suggestion"
400
410
  # Corresponds to the JSON property `severity`
401
411
  # @return [String]
402
412
  attr_accessor :severity
@@ -471,7 +481,10 @@ module Google
471
481
  # @return [Fixnum]
472
482
  attr_accessor :num_items
473
483
 
474
- #
484
+ # Acceptable values are:
485
+ # - "critical"
486
+ # - "error"
487
+ # - "suggestion"
475
488
  # Corresponds to the JSON property `severity`
476
489
  # @return [String]
477
490
  attr_accessor :severity
@@ -610,6 +623,9 @@ module Google
610
623
  include Google::Apis::Core::Hashable
611
624
 
612
625
  # The channel the data applies to.
626
+ # Acceptable values are:
627
+ # - "local"
628
+ # - "online"
613
629
  # Corresponds to the JSON property `channel`
614
630
  # @return [String]
615
631
  attr_accessor :channel
@@ -689,7 +705,7 @@ module Google
689
705
  class AccountTax
690
706
  include Google::Apis::Core::Hashable
691
707
 
692
- # The ID of the account to which these account tax settings belong.
708
+ # Required. The ID of the account to which these account tax settings belong.
693
709
  # Corresponds to the JSON property `accountId`
694
710
  # @return [Fixnum]
695
711
  attr_accessor :account_id
@@ -727,8 +743,8 @@ module Google
727
743
  # @return [String]
728
744
  attr_accessor :country
729
745
 
730
- # State (or province) is which the tax is applicable, described by its location
731
- # ID (also called criteria ID).
746
+ # Required. State (or province) is which the tax is applicable, described by its
747
+ # location ID (also called criteria ID).
732
748
  # Corresponds to the JSON property `locationId`
733
749
  # @return [Fixnum]
734
750
  attr_accessor :location_id
@@ -953,6 +969,13 @@ module Google
953
969
  attr_accessor :merchant_id
954
970
 
955
971
  # The method of the batch entry.
972
+ # Acceptable values are:
973
+ # - "claimWebsite"
974
+ # - "delete"
975
+ # - "get"
976
+ # - "insert"
977
+ # - "link"
978
+ # - "update"
956
979
  # Corresponds to the JSON property `method`
957
980
  # @return [String]
958
981
  attr_accessor :request_method
@@ -987,11 +1010,18 @@ module Google
987
1010
 
988
1011
  # Action to perform for this link. The "request" action is only available to
989
1012
  # select merchants.
1013
+ # Acceptable values are:
1014
+ # - "approve"
1015
+ # - "remove"
1016
+ # - "request"
990
1017
  # Corresponds to the JSON property `action`
991
1018
  # @return [String]
992
1019
  attr_accessor :action
993
1020
 
994
1021
  # Type of the link between the two accounts.
1022
+ # Acceptable values are:
1023
+ # - "channelPartner"
1024
+ # - "eCommercePlatform"
995
1025
  # Corresponds to the JSON property `linkType`
996
1026
  # @return [String]
997
1027
  attr_accessor :link_type
@@ -1067,6 +1097,10 @@ module Google
1067
1097
  attr_accessor :kind
1068
1098
 
1069
1099
  # Deprecated. This field is never set.
1100
+ # Acceptable values are:
1101
+ # - "active"
1102
+ # - "inactive"
1103
+ # - "pending"
1070
1104
  # Corresponds to the JSON property `linkStatus`
1071
1105
  # @return [String]
1072
1106
  attr_accessor :link_status
@@ -1091,11 +1125,18 @@ module Google
1091
1125
 
1092
1126
  # Action to perform for this link. The "request" action is only available to
1093
1127
  # select merchants.
1128
+ # Acceptable values are:
1129
+ # - "approve"
1130
+ # - "remove"
1131
+ # - "request"
1094
1132
  # Corresponds to the JSON property `action`
1095
1133
  # @return [String]
1096
1134
  attr_accessor :action
1097
1135
 
1098
1136
  # Type of the link between the two accounts.
1137
+ # Acceptable values are:
1138
+ # - "channelPartner"
1139
+ # - "eCommercePlatform"
1099
1140
  # Corresponds to the JSON property `linkType`
1100
1141
  # @return [String]
1101
1142
  attr_accessor :link_type
@@ -1213,7 +1254,9 @@ module Google
1213
1254
  # @return [Fixnum]
1214
1255
  attr_accessor :merchant_id
1215
1256
 
1216
- # The method (get).
1257
+ # The method of the batch entry.
1258
+ # Acceptable values are:
1259
+ # - "get"
1217
1260
  # Corresponds to the JSON property `method`
1218
1261
  # @return [String]
1219
1262
  attr_accessor :request_method
@@ -1365,7 +1408,10 @@ module Google
1365
1408
  # @return [Fixnum]
1366
1409
  attr_accessor :merchant_id
1367
1410
 
1368
- #
1411
+ # The method of the batch entry.
1412
+ # Acceptable values are:
1413
+ # - "get"
1414
+ # - "update"
1369
1415
  # Corresponds to the JSON property `method`
1370
1416
  # @return [String]
1371
1417
  attr_accessor :request_method
@@ -1622,6 +1668,16 @@ module Google
1622
1668
  attr_accessor :name
1623
1669
 
1624
1670
  # The type of the attribute.
1671
+ # Acceptable values are:
1672
+ # - "boolean"
1673
+ # - "datetimerange"
1674
+ # - "float"
1675
+ # - "group"
1676
+ # - "int"
1677
+ # - "price"
1678
+ # - "text"
1679
+ # - "time"
1680
+ # - "url"
1625
1681
  # Corresponds to the JSON property `type`
1626
1682
  # @return [String]
1627
1683
  attr_accessor :type
@@ -1679,12 +1735,27 @@ module Google
1679
1735
  class CustomerReturnReason
1680
1736
  include Google::Apis::Core::Hashable
1681
1737
 
1682
- #
1738
+ # Description of the reason.
1683
1739
  # Corresponds to the JSON property `description`
1684
1740
  # @return [String]
1685
1741
  attr_accessor :description
1686
1742
 
1687
- #
1743
+ # Code of the return reason.
1744
+ # Acceptable values are:
1745
+ # - "betterPriceFound"
1746
+ # - "changedMind"
1747
+ # - "damagedOrDefectiveItem"
1748
+ # - "didNotMatchDescription"
1749
+ # - "doesNotFit"
1750
+ # - "expiredItem"
1751
+ # - "incorrectItemReceived"
1752
+ # - "noLongerNeeded"
1753
+ # - "notSpecified"
1754
+ # - "orderedWrongItem"
1755
+ # - "other"
1756
+ # - "qualityNotExpected"
1757
+ # - "receivedTooLate"
1758
+ # - "undeliverable"
1688
1759
  # Corresponds to the JSON property `reasonCode`
1689
1760
  # @return [String]
1690
1761
  attr_accessor :reason_code
@@ -1750,8 +1821,12 @@ module Google
1750
1821
  # @return [String]
1751
1822
  attr_accessor :content_language
1752
1823
 
1753
- # The type of data feed. For product inventory feeds, only feeds for local
1754
- # stores, not online stores, are supported.
1824
+ # Required. The type of data feed. For product inventory feeds, only feeds for
1825
+ # local stores, not online stores, are supported.
1826
+ # Acceptable values are:
1827
+ # - "local products"
1828
+ # - "product inventory"
1829
+ # - "products"
1755
1830
  # Corresponds to the JSON property `contentType`
1756
1831
  # @return [String]
1757
1832
  attr_accessor :content_type
@@ -1764,7 +1839,7 @@ module Google
1764
1839
  # @return [Google::Apis::ContentV2::DatafeedFetchSchedule]
1765
1840
  attr_accessor :fetch_schedule
1766
1841
 
1767
- # The filename of the feed. All feeds must have a unique file name.
1842
+ # Required. The filename of the feed. All feeds must have a unique file name.
1768
1843
  # Corresponds to the JSON property `fileName`
1769
1844
  # @return [String]
1770
1845
  attr_accessor :file_name
@@ -1774,7 +1849,7 @@ module Google
1774
1849
  # @return [Google::Apis::ContentV2::DatafeedFormat]
1775
1850
  attr_accessor :format
1776
1851
 
1777
- # The ID of the data feed.
1852
+ # Required for update. The ID of the data feed.
1778
1853
  # Corresponds to the JSON property `id`
1779
1854
  # @return [Fixnum]
1780
1855
  attr_accessor :id
@@ -1791,7 +1866,7 @@ module Google
1791
1866
  # @return [String]
1792
1867
  attr_accessor :kind
1793
1868
 
1794
- # A descriptive name of the data feed.
1869
+ # Required for insert. A descriptive name of the data feed.
1795
1870
  # Corresponds to the JSON property `name`
1796
1871
  # @return [String]
1797
1872
  attr_accessor :name
@@ -1881,6 +1956,14 @@ module Google
1881
1956
  attr_accessor :username
1882
1957
 
1883
1958
  # The day of the week the feed file should be fetched.
1959
+ # Acceptable values are:
1960
+ # - "monday"
1961
+ # - "tuesday"
1962
+ # - "wednesday"
1963
+ # - "thursday"
1964
+ # - "friday"
1965
+ # - "saturday"
1966
+ # - "sunday"
1884
1967
  # Corresponds to the JSON property `weekday`
1885
1968
  # @return [String]
1886
1969
  attr_accessor :weekday
@@ -1910,18 +1993,31 @@ module Google
1910
1993
  # Delimiter for the separation of values in a delimiter-separated values feed.
1911
1994
  # If not specified, the delimiter will be auto-detected. Ignored for non-DSV
1912
1995
  # data feeds.
1996
+ # Acceptable values are:
1997
+ # - "pipe"
1998
+ # - "tab"
1999
+ # - "tilde"
1913
2000
  # Corresponds to the JSON property `columnDelimiter`
1914
2001
  # @return [String]
1915
2002
  attr_accessor :column_delimiter
1916
2003
 
1917
2004
  # Character encoding scheme of the data feed. If not specified, the encoding
1918
2005
  # will be auto-detected.
2006
+ # Acceptable values are:
2007
+ # - "latin-1"
2008
+ # - "utf-16be"
2009
+ # - "utf-16le"
2010
+ # - "utf-8"
2011
+ # - "windows-1252"
1919
2012
  # Corresponds to the JSON property `fileEncoding`
1920
2013
  # @return [String]
1921
2014
  attr_accessor :file_encoding
1922
2015
 
1923
2016
  # Specifies how double quotes are interpreted. If not specified, the mode will
1924
2017
  # be auto-detected. Ignored for non-DSV data feeds.
2018
+ # Acceptable values are:
2019
+ # - "normal character"
2020
+ # - "value quoting"
1925
2021
  # Corresponds to the JSON property `quotingMode`
1926
2022
  # @return [String]
1927
2023
  attr_accessor :quoting_mode
@@ -1986,6 +2082,13 @@ module Google
1986
2082
  attr_accessor :last_upload_date
1987
2083
 
1988
2084
  # The processing status of the feed.
2085
+ # Acceptable values are:
2086
+ # - ""failure": The feed could not be processed or all items had errors."
2087
+ # - "in progress": The feed is being processed.
2088
+ # - "none": The feed has not yet been processed. For example, a feed that has
2089
+ # never been uploaded will have this processing status.
2090
+ # - "success": The feed was processed successfully, though some items might have
2091
+ # had errors.
1989
2092
  # Corresponds to the JSON property `processingStatus`
1990
2093
  # @return [String]
1991
2094
  attr_accessor :processing_status
@@ -2172,7 +2275,13 @@ module Google
2172
2275
  # @return [Fixnum]
2173
2276
  attr_accessor :merchant_id
2174
2277
 
2175
- #
2278
+ # The method of the batch entry.
2279
+ # Acceptable values are:
2280
+ # - "delete"
2281
+ # - "fetchNow"
2282
+ # - "get"
2283
+ # - "insert"
2284
+ # - "update"
2176
2285
  # Corresponds to the JSON property `method`
2177
2286
  # @return [String]
2178
2287
  attr_accessor :request_method
@@ -2352,7 +2461,9 @@ module Google
2352
2461
  # @return [Fixnum]
2353
2462
  attr_accessor :merchant_id
2354
2463
 
2355
- #
2464
+ # The method of the batch entry.
2465
+ # Acceptable values are:
2466
+ # - "get"
2356
2467
  # Corresponds to the JSON property `method`
2357
2468
  # @return [String]
2358
2469
  attr_accessor :request_method
@@ -2810,6 +2921,15 @@ module Google
2810
2921
  attr_accessor :id
2811
2922
 
2812
2923
  # The holiday type. Always present.
2924
+ # Acceptable values are:
2925
+ # - "Christmas"
2926
+ # - "Easter"
2927
+ # - "Father's Day"
2928
+ # - "Halloween"
2929
+ # - "Independence Day (USA)"
2930
+ # - "Mother's Day"
2931
+ # - "Thanksgiving"
2932
+ # - "Valentine's Day"
2813
2933
  # Corresponds to the JSON property `type`
2814
2934
  # @return [String]
2815
2935
  attr_accessor :type
@@ -2859,6 +2979,10 @@ module Google
2859
2979
  include Google::Apis::Core::Hashable
2860
2980
 
2861
2981
  # The availability of the product.
2982
+ # Acceptable values are:
2983
+ # - "in stock"
2984
+ # - "out of stock"
2985
+ # - "preorder"
2862
2986
  # Corresponds to the JSON property `availability`
2863
2987
  # @return [String]
2864
2988
  attr_accessor :availability
@@ -3105,6 +3229,11 @@ module Google
3105
3229
  # should be shown as buy, reserve, or not supported. Only supported for local
3106
3230
  # inventory. Unless the value is "not supported", must be submitted together
3107
3231
  # with pickupSla.
3232
+ # Acceptable values are:
3233
+ # - "buy"
3234
+ # - "not supported"
3235
+ # - "reserve"
3236
+ # - "ship to store"
3108
3237
  # Corresponds to the JSON property `pickupMethod`
3109
3238
  # @return [String]
3110
3239
  attr_accessor :pickup_method
@@ -3112,6 +3241,17 @@ module Google
3112
3241
  # The expected date that an order will be ready for pickup, relative to when the
3113
3242
  # order is placed. Only supported for local inventory. Must be submitted
3114
3243
  # together with pickupMethod.
3244
+ # Acceptable values are:
3245
+ # - "five day"
3246
+ # - "four day"
3247
+ # - "multi day"
3248
+ # - "multi week"
3249
+ # - "next day"
3250
+ # - "same day"
3251
+ # - "seven day"
3252
+ # - "six day"
3253
+ # - "three day"
3254
+ # - "two day"
3115
3255
  # Corresponds to the JSON property `pickupSla`
3116
3256
  # @return [String]
3117
3257
  attr_accessor :pickup_sla
@@ -3132,6 +3272,10 @@ module Google
3132
3272
  include Google::Apis::Core::Hashable
3133
3273
 
3134
3274
  # The availability of the product.
3275
+ # Acceptable values are:
3276
+ # - "in stock"
3277
+ # - "out of stock"
3278
+ # - "preorder"
3135
3279
  # Corresponds to the JSON property `availability`
3136
3280
  # @return [String]
3137
3281
  attr_accessor :availability
@@ -3321,6 +3465,8 @@ module Google
3321
3465
  attr_accessor :total_amount
3322
3466
 
3323
3467
  # [required] Type of the additional charge.
3468
+ # Acceptable values are:
3469
+ # - "shipping"
3324
3470
  # Corresponds to the JSON property `type`
3325
3471
  # @return [String]
3326
3472
  attr_accessor :type
@@ -3341,6 +3487,10 @@ module Google
3341
3487
  include Google::Apis::Core::Hashable
3342
3488
 
3343
3489
  # The status of the verification process for the About page.
3490
+ # Acceptable values are:
3491
+ # - "active"
3492
+ # - "inactive"
3493
+ # - "pending"
3344
3494
  # Corresponds to the JSON property `status`
3345
3495
  # @return [String]
3346
3496
  attr_accessor :status
@@ -3370,7 +3520,7 @@ module Google
3370
3520
  # @return [Google::Apis::ContentV2::LiaAboutPageSettings]
3371
3521
  attr_accessor :about
3372
3522
 
3373
- # CLDR country code (e.g. "US").
3523
+ # Required. CLDR country code (e.g. "US").
3374
3524
  # Corresponds to the JSON property `country`
3375
3525
  # @return [String]
3376
3526
  attr_accessor :country
@@ -3433,11 +3583,19 @@ module Google
3433
3583
  attr_accessor :inventory_verification_contact_name
3434
3584
 
3435
3585
  # The status of the verification contact.
3586
+ # Acceptable values are:
3587
+ # - "active"
3588
+ # - "inactive"
3589
+ # - "pending"
3436
3590
  # Corresponds to the JSON property `inventoryVerificationContactStatus`
3437
3591
  # @return [String]
3438
3592
  attr_accessor :inventory_verification_contact_status
3439
3593
 
3440
3594
  # The status of the inventory verification process.
3595
+ # Acceptable values are:
3596
+ # - "active"
3597
+ # - "inactive"
3598
+ # - "pending"
3441
3599
  # Corresponds to the JSON property `status`
3442
3600
  # @return [String]
3443
3601
  attr_accessor :status
@@ -3465,6 +3623,10 @@ module Google
3465
3623
  attr_accessor :shipping_cost_policy_url
3466
3624
 
3467
3625
  # The status of the ?On display to order? feature.
3626
+ # Acceptable values are:
3627
+ # - "active"
3628
+ # - "inactive"
3629
+ # - "pending"
3468
3630
  # Corresponds to the JSON property `status`
3469
3631
  # @return [String]
3470
3632
  attr_accessor :status
@@ -3605,7 +3767,14 @@ module Google
3605
3767
  # @return [Fixnum]
3606
3768
  attr_accessor :merchant_id
3607
3769
 
3608
- #
3770
+ # The method of the batch entry.
3771
+ # Acceptable values are:
3772
+ # - "get"
3773
+ # - "getAccessibleGmbAccounts"
3774
+ # - "requestGmbAccess"
3775
+ # - "requestInventoryVerification"
3776
+ # - "setInventoryVerificationContact"
3777
+ # - "update"
3609
3778
  # Corresponds to the JSON property `method`
3610
3779
  # @return [String]
3611
3780
  attr_accessor :method_prop
@@ -3940,36 +4109,37 @@ module Google
3940
4109
  end
3941
4110
  end
3942
4111
 
3943
- #
4112
+ # Order return. Production access (all methods) requires the order manager role.
4113
+ # Sandbox access does not.
3944
4114
  class MerchantOrderReturn
3945
4115
  include Google::Apis::Core::Hashable
3946
4116
 
3947
- #
4117
+ # The date of creation of the return, in ISO 8601 format.
3948
4118
  # Corresponds to the JSON property `creationDate`
3949
4119
  # @return [String]
3950
4120
  attr_accessor :creation_date
3951
4121
 
3952
- #
4122
+ # Merchant defined order ID.
3953
4123
  # Corresponds to the JSON property `merchantOrderId`
3954
4124
  # @return [String]
3955
4125
  attr_accessor :merchant_order_id
3956
4126
 
3957
- #
4127
+ # Google order ID.
3958
4128
  # Corresponds to the JSON property `orderId`
3959
4129
  # @return [String]
3960
4130
  attr_accessor :order_id
3961
4131
 
3962
- #
4132
+ # Order return ID generated by Google.
3963
4133
  # Corresponds to the JSON property `orderReturnId`
3964
4134
  # @return [String]
3965
4135
  attr_accessor :order_return_id
3966
4136
 
3967
- #
4137
+ # Items of the return.
3968
4138
  # Corresponds to the JSON property `returnItems`
3969
4139
  # @return [Array<Google::Apis::ContentV2::MerchantOrderReturnItem>]
3970
4140
  attr_accessor :return_items
3971
4141
 
3972
- #
4142
+ # Shipments of the return.
3973
4143
  # Corresponds to the JSON property `returnShipments`
3974
4144
  # @return [Array<Google::Apis::ContentV2::ReturnShipment>]
3975
4145
  attr_accessor :return_shipments
@@ -3993,32 +4163,39 @@ module Google
3993
4163
  class MerchantOrderReturnItem
3994
4164
  include Google::Apis::Core::Hashable
3995
4165
 
3996
- #
4166
+ # The reason that the customer chooses to return an item.
3997
4167
  # Corresponds to the JSON property `customerReturnReason`
3998
4168
  # @return [Google::Apis::ContentV2::CustomerReturnReason]
3999
4169
  attr_accessor :customer_return_reason
4000
4170
 
4001
- #
4171
+ # Product level item ID. If the returned items are of the same product, they
4172
+ # will have the same ID.
4002
4173
  # Corresponds to the JSON property `itemId`
4003
4174
  # @return [String]
4004
4175
  attr_accessor :item_id
4005
4176
 
4006
- #
4177
+ # The reason that merchant chooses to accept a return item.
4007
4178
  # Corresponds to the JSON property `merchantReturnReason`
4008
4179
  # @return [Google::Apis::ContentV2::RefundReason]
4009
4180
  attr_accessor :merchant_return_reason
4010
4181
 
4011
- #
4182
+ # Product data from the time of the order placement.
4012
4183
  # Corresponds to the JSON property `product`
4013
4184
  # @return [Google::Apis::ContentV2::OrderLineItemProduct]
4014
4185
  attr_accessor :product
4015
4186
 
4016
- #
4187
+ # IDs of the return shipments that this return item belongs to.
4017
4188
  # Corresponds to the JSON property `returnShipmentIds`
4018
4189
  # @return [Array<String>]
4019
4190
  attr_accessor :return_shipment_ids
4020
4191
 
4021
- #
4192
+ # State of the item.
4193
+ # Acceptable values are:
4194
+ # - "canceled"
4195
+ # - "new"
4196
+ # - "received"
4197
+ # - "refunded"
4198
+ # - "rejected"
4022
4199
  # Corresponds to the JSON property `state`
4023
4200
  # @return [String]
4024
4201
  attr_accessor :state
@@ -4050,6 +4227,9 @@ module Google
4050
4227
  alias_method :acknowledged?, :acknowledged
4051
4228
 
4052
4229
  # Deprecated.
4230
+ # Acceptable values are:
4231
+ # - "googleExpress"
4232
+ # - "purchasesOnGoogle"
4053
4233
  # Corresponds to the JSON property `channelType`
4054
4234
  # @return [String]
4055
4235
  attr_accessor :channel_type
@@ -4103,6 +4283,11 @@ module Google
4103
4283
  attr_accessor :payment_method
4104
4284
 
4105
4285
  # The status of the payment.
4286
+ # Acceptable values are:
4287
+ # - "paymentCaptured"
4288
+ # - "paymentRejected"
4289
+ # - "paymentSecured"
4290
+ # - "pendingAuthorization"
4106
4291
  # Corresponds to the JSON property `paymentStatus`
4107
4292
  # @return [String]
4108
4293
  attr_accessor :payment_status
@@ -4117,8 +4302,24 @@ module Google
4117
4302
  # @return [String]
4118
4303
  attr_accessor :placed_date
4119
4304
 
4120
- # The details of the merchant provided promotions applied to the order. More
4121
- # details about the program are here.
4305
+ # The details of the merchant provided promotions applied to the order.
4306
+ # To determine which promotions apply to which products, check the Promotions[].
4307
+ # Benefits[].OfferIds field against the LineItems[].Product.OfferId field for
4308
+ # each promotion. If a promotion is applied to more than 1 offerId, divide the
4309
+ # discount value by the number of affected offers to determine how much discount
4310
+ # to apply to each offerId.
4311
+ # Examples:
4312
+ # - To calculate the line item level discount for a single specific item: For
4313
+ # each promotion, subtract the Promotions[].Benefits[].Discount.value amount
4314
+ # from the LineItems[].Price.value.
4315
+ # - To calculate the line item level discount for multiple quantity of a
4316
+ # specific item: For each promotion, divide the Promotions[].Benefits[].Discount.
4317
+ # value by the quantity of products and substract it from LineItems[].Product.
4318
+ # Price.value for each quantity item.
4319
+ # Only 1 promotion can be applied to an offerId in a given order. To refund an
4320
+ # item which had a promotion applied to it, make sure to refund the amount after
4321
+ # first subtracting the promotion discount from the item price.
4322
+ # More details about the program are here.
4122
4323
  # Corresponds to the JSON property `promotions`
4123
4324
  # @return [Array<Google::Apis::ContentV2::OrderLegacyPromotion>]
4124
4325
  attr_accessor :promotions
@@ -4144,16 +4345,36 @@ module Google
4144
4345
  attr_accessor :shipping_cost_tax
4145
4346
 
4146
4347
  # Deprecated. Shipping details are provided with line items instead.
4348
+ # Acceptable values are:
4349
+ # - "economy"
4350
+ # - "expedited"
4351
+ # - "oneDay"
4352
+ # - "sameDay"
4353
+ # - "standard"
4354
+ # - "twoDay"
4147
4355
  # Corresponds to the JSON property `shippingOption`
4148
4356
  # @return [String]
4149
4357
  attr_accessor :shipping_option
4150
4358
 
4151
4359
  # The status of the order.
4360
+ # Acceptable values are:
4361
+ # - "canceled"
4362
+ # - "delivered"
4363
+ # - "inProgress"
4364
+ # - "partiallyDelivered"
4365
+ # - "partiallyReturned"
4366
+ # - "partiallyShipped"
4367
+ # - "pendingShipment"
4368
+ # - "returned"
4369
+ # - "shipped"
4152
4370
  # Corresponds to the JSON property `status`
4153
4371
  # @return [String]
4154
4372
  attr_accessor :status
4155
4373
 
4156
4374
  # The party responsible for collecting and remitting taxes.
4375
+ # Acceptable values are:
4376
+ # - "marketplaceFacilitator"
4377
+ # - "merchant"
4157
4378
  # Corresponds to the JSON property `taxCollector`
4158
4379
  # @return [String]
4159
4380
  attr_accessor :tax_collector
@@ -4263,6 +4484,13 @@ module Google
4263
4484
  include Google::Apis::Core::Hashable
4264
4485
 
4265
4486
  # The actor that created the cancellation.
4487
+ # Acceptable values are:
4488
+ # - "customer"
4489
+ # - "googleBot"
4490
+ # - "googleCustomerService"
4491
+ # - "googlePayments"
4492
+ # - "googleSabre"
4493
+ # - "merchant"
4266
4494
  # Corresponds to the JSON property `actor`
4267
4495
  # @return [String]
4268
4496
  attr_accessor :actor
@@ -4280,6 +4508,35 @@ module Google
4280
4508
  # The reason for the cancellation. Orders that are canceled with a noInventory
4281
4509
  # reason will lead to the removal of the product from Shopping Actions until you
4282
4510
  # make an update to that product. This will not affect your Shopping ads.
4511
+ # Acceptable values are:
4512
+ # - "autoPostInternal"
4513
+ # - "autoPostInvalidBillingAddress"
4514
+ # - "autoPostNoInventory"
4515
+ # - "autoPostPriceError"
4516
+ # - "autoPostUndeliverableShippingAddress"
4517
+ # - "couponAbuse"
4518
+ # - "customerCanceled"
4519
+ # - "customerInitiatedCancel"
4520
+ # - "customerSupportRequested"
4521
+ # - "failToPushOrderGoogleError"
4522
+ # - "failToPushOrderMerchantError"
4523
+ # - "failToPushOrderMerchantFulfillmentError"
4524
+ # - "failToPushOrderToMerchant"
4525
+ # - "failToPushOrderToMerchantOutOfStock"
4526
+ # - "invalidCoupon"
4527
+ # - "malformedShippingAddress"
4528
+ # - "merchantDidNotShipOnTime"
4529
+ # - "noInventory"
4530
+ # - "orderTimeout"
4531
+ # - "other"
4532
+ # - "paymentAbuse"
4533
+ # - "paymentDeclined"
4534
+ # - "priceError"
4535
+ # - "returnRefundAbuse"
4536
+ # - "shippingPriceError"
4537
+ # - "taxError"
4538
+ # - "undeliverableShippingAddress"
4539
+ # - "unsupportedPoBoxAddress"
4283
4540
  # Corresponds to the JSON property `reason`
4284
4541
  # @return [String]
4285
4542
  attr_accessor :reason
@@ -4361,6 +4618,9 @@ module Google
4361
4618
  # customer selected granted in their most recent order, they can be subscribed
4362
4619
  # to marketing emails. Customers who have chosen denied must not be subscribed,
4363
4620
  # or must be unsubscribed if already opted-in.
4621
+ # Acceptable values are:
4622
+ # - "denied"
4623
+ # - "granted"
4364
4624
  # Corresponds to the JSON property `explicitMarketingPreference`
4365
4625
  # @return [String]
4366
4626
  attr_accessor :explicit_marketing_preference
@@ -4452,11 +4712,16 @@ module Google
4452
4712
  attr_accessor :long_title
4453
4713
 
4454
4714
  # Whether the promotion is applicable to all products or only specific products.
4715
+ # Acceptable values are:
4716
+ # - "allProducts"
4717
+ # - "specificProducts"
4455
4718
  # Corresponds to the JSON property `productApplicability`
4456
4719
  # @return [String]
4457
4720
  attr_accessor :product_applicability
4458
4721
 
4459
4722
  # Indicates that the promotion is valid online.
4723
+ # Acceptable values are:
4724
+ # - "online"
4460
4725
  # Corresponds to the JSON property `redemptionChannel`
4461
4726
  # @return [String]
4462
4727
  attr_accessor :redemption_channel
@@ -4494,6 +4759,21 @@ module Google
4494
4759
 
4495
4760
  # Further describes the benefit of the promotion. Note that we will expand on
4496
4761
  # this enumeration as we support new promotion sub-types.
4762
+ # Acceptable values are:
4763
+ # - "buyMGetMoneyOff"
4764
+ # - "buyMGetNMoneyOff"
4765
+ # - "buyMGetNPercentOff"
4766
+ # - "buyMGetPercentOff"
4767
+ # - "freeGift"
4768
+ # - "freeGiftWithItemId"
4769
+ # - "freeGiftWithValue"
4770
+ # - "freeOvernightShipping"
4771
+ # - "freeShipping"
4772
+ # - "freeTwoDayShipping"
4773
+ # - "moneyOff"
4774
+ # - "percentageOff"
4775
+ # - "rewardPoints"
4776
+ # - "salePrice"
4497
4777
  # Corresponds to the JSON property `subType`
4498
4778
  # @return [String]
4499
4779
  attr_accessor :sub_type
@@ -4505,6 +4785,9 @@ module Google
4505
4785
 
4506
4786
  # Describes whether the promotion applies to products (e.g. 20% off) or to
4507
4787
  # shipping (e.g. Free Shipping).
4788
+ # Acceptable values are:
4789
+ # - "product"
4790
+ # - "shipping"
4508
4791
  # Corresponds to the JSON property `type`
4509
4792
  # @return [String]
4510
4793
  attr_accessor :type
@@ -4646,11 +4929,18 @@ module Google
4646
4929
  attr_accessor :brand
4647
4930
 
4648
4931
  # The item's channel (online or local).
4932
+ # Acceptable values are:
4933
+ # - "local"
4934
+ # - "online"
4649
4935
  # Corresponds to the JSON property `channel`
4650
4936
  # @return [String]
4651
4937
  attr_accessor :channel
4652
4938
 
4653
4939
  # Condition or state of the item.
4940
+ # Acceptable values are:
4941
+ # - "new"
4942
+ # - "refurbished"
4943
+ # - "used"
4654
4944
  # Corresponds to the JSON property `condition`
4655
4945
  # @return [String]
4656
4946
  attr_accessor :condition
@@ -4801,18 +5091,18 @@ module Google
4801
5091
  class OrderLineItemReturnInfo
4802
5092
  include Google::Apis::Core::Hashable
4803
5093
 
4804
- # How many days later the item can be returned.
5094
+ # Required. How many days later the item can be returned.
4805
5095
  # Corresponds to the JSON property `daysToReturn`
4806
5096
  # @return [Fixnum]
4807
5097
  attr_accessor :days_to_return
4808
5098
 
4809
- # Whether the item is returnable.
5099
+ # Required. Whether the item is returnable.
4810
5100
  # Corresponds to the JSON property `isReturnable`
4811
5101
  # @return [Boolean]
4812
5102
  attr_accessor :is_returnable
4813
5103
  alias_method :is_returnable?, :is_returnable
4814
5104
 
4815
- # URL of the item return policy.
5105
+ # Required. URL of the item return policy.
4816
5106
  # Corresponds to the JSON property `policyUrl`
4817
5107
  # @return [String]
4818
5108
  attr_accessor :policy_url
@@ -4833,23 +5123,26 @@ module Google
4833
5123
  class OrderLineItemShippingDetails
4834
5124
  include Google::Apis::Core::Hashable
4835
5125
 
4836
- # The delivery by date, in ISO 8601 format.
5126
+ # Required. The delivery by date, in ISO 8601 format.
4837
5127
  # Corresponds to the JSON property `deliverByDate`
4838
5128
  # @return [String]
4839
5129
  attr_accessor :deliver_by_date
4840
5130
 
4841
- # Details of the shipping method.
5131
+ # Required. Details of the shipping method.
4842
5132
  # Corresponds to the JSON property `method`
4843
5133
  # @return [Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod]
4844
5134
  attr_accessor :method_prop
4845
5135
 
4846
- # The ship by date, in ISO 8601 format.
5136
+ # Required. The ship by date, in ISO 8601 format.
4847
5137
  # Corresponds to the JSON property `shipByDate`
4848
5138
  # @return [String]
4849
5139
  attr_accessor :ship_by_date
4850
5140
 
4851
5141
  # Type of shipment. Indicates whether deliveryDetails or pickupDetails is
4852
5142
  # applicable for this shipment.
5143
+ # Acceptable values are:
5144
+ # - "delivery"
5145
+ # - "pickup"
4853
5146
  # Corresponds to the JSON property `type`
4854
5147
  # @return [String]
4855
5148
  attr_accessor :type
@@ -4877,17 +5170,17 @@ module Google
4877
5170
  # @return [String]
4878
5171
  attr_accessor :carrier
4879
5172
 
4880
- # Maximum transit time.
5173
+ # Required. Maximum transit time.
4881
5174
  # Corresponds to the JSON property `maxDaysInTransit`
4882
5175
  # @return [Fixnum]
4883
5176
  attr_accessor :max_days_in_transit
4884
5177
 
4885
- # The name of the shipping method.
5178
+ # Required. The name of the shipping method.
4886
5179
  # Corresponds to the JSON property `methodName`
4887
5180
  # @return [String]
4888
5181
  attr_accessor :method_name
4889
5182
 
4890
- # Minimum transit time.
5183
+ # Required. Minimum transit time.
4891
5184
  # Corresponds to the JSON property `minDaysInTransit`
4892
5185
  # @return [Fixnum]
4893
5186
  attr_accessor :min_days_in_transit
@@ -5052,6 +5345,13 @@ module Google
5052
5345
  include Google::Apis::Core::Hashable
5053
5346
 
5054
5347
  # The actor that created the refund.
5348
+ # Acceptable values are:
5349
+ # - "customer"
5350
+ # - "googleBot"
5351
+ # - "googleCustomerService"
5352
+ # - "googlePayments"
5353
+ # - "googleSabre"
5354
+ # - "merchant"
5055
5355
  # Corresponds to the JSON property `actor`
5056
5356
  # @return [String]
5057
5357
  attr_accessor :actor
@@ -5067,6 +5367,51 @@ module Google
5067
5367
  attr_accessor :creation_date
5068
5368
 
5069
5369
  # The reason for the refund.
5370
+ # Acceptable values are:
5371
+ # - "adjustment"
5372
+ # - "autoPostInternal"
5373
+ # - "autoPostInvalidBillingAddress"
5374
+ # - "autoPostNoInventory"
5375
+ # - "autoPostPriceError"
5376
+ # - "autoPostUndeliverableShippingAddress"
5377
+ # - "couponAbuse"
5378
+ # - "courtesyAdjustment"
5379
+ # - "customerCanceled"
5380
+ # - "customerDiscretionaryReturn"
5381
+ # - "customerInitiatedMerchantCancel"
5382
+ # - "customerSupportRequested"
5383
+ # - "deliveredLateByCarrier"
5384
+ # - "deliveredTooLate"
5385
+ # - "expiredItem"
5386
+ # - "failToPushOrderGoogleError"
5387
+ # - "failToPushOrderMerchantError"
5388
+ # - "failToPushOrderMerchantFulfillmentError"
5389
+ # - "failToPushOrderToMerchant"
5390
+ # - "failToPushOrderToMerchantOutOfStock"
5391
+ # - "feeAdjustment"
5392
+ # - "invalidCoupon"
5393
+ # - "lateShipmentCredit"
5394
+ # - "malformedShippingAddress"
5395
+ # - "merchantDidNotShipOnTime"
5396
+ # - "noInventory"
5397
+ # - "orderTimeout"
5398
+ # - "other"
5399
+ # - "paymentAbuse"
5400
+ # - "paymentDeclined"
5401
+ # - "priceAdjustment"
5402
+ # - "priceError"
5403
+ # - "productArrivedDamaged"
5404
+ # - "productNotAsDescribed"
5405
+ # - "promoReallocation"
5406
+ # - "qualityNotAsExpected"
5407
+ # - "returnRefundAbuse"
5408
+ # - "shippingCostAdjustment"
5409
+ # - "shippingPriceError"
5410
+ # - "taxAdjustment"
5411
+ # - "taxError"
5412
+ # - "undeliverableShippingAddress"
5413
+ # - "unsupportedPoBoxAddress"
5414
+ # - "wrongProductShipped"
5070
5415
  # Corresponds to the JSON property `reason`
5071
5416
  # @return [String]
5072
5417
  attr_accessor :reason
@@ -5211,6 +5556,13 @@ module Google
5211
5556
  include Google::Apis::Core::Hashable
5212
5557
 
5213
5558
  # The actor that created the refund.
5559
+ # Acceptable values are:
5560
+ # - "customer"
5561
+ # - "googleBot"
5562
+ # - "googleCustomerService"
5563
+ # - "googlePayments"
5564
+ # - "googleSabre"
5565
+ # - "merchant"
5214
5566
  # Corresponds to the JSON property `actor`
5215
5567
  # @return [String]
5216
5568
  attr_accessor :actor
@@ -5226,6 +5578,20 @@ module Google
5226
5578
  attr_accessor :quantity
5227
5579
 
5228
5580
  # The reason for the return.
5581
+ # Acceptable values are:
5582
+ # - "customerDiscretionaryReturn"
5583
+ # - "customerInitiatedMerchantCancel"
5584
+ # - "deliveredTooLate"
5585
+ # - "expiredItem"
5586
+ # - "invalidCoupon"
5587
+ # - "malformedShippingAddress"
5588
+ # - "other"
5589
+ # - "productArrivedDamaged"
5590
+ # - "productNotAsDescribed"
5591
+ # - "qualityNotAsExpected"
5592
+ # - "undeliverableShippingAddress"
5593
+ # - "unsupportedPoBoxAddress"
5594
+ # - "wrongProductShipped"
5229
5595
  # Corresponds to the JSON property `reason`
5230
5596
  # @return [String]
5231
5597
  attr_accessor :reason
@@ -5296,6 +5662,7 @@ module Google
5296
5662
  # - "geodis" (GEODIS)
5297
5663
  # - "tnt" (TNT)
5298
5664
  # - "db schenker" (DB Schenker)
5665
+ # - "aramex" (Aramex)
5299
5666
  # Corresponds to the JSON property `carrier`
5300
5667
  # @return [String]
5301
5668
  attr_accessor :carrier
@@ -5322,6 +5689,11 @@ module Google
5322
5689
  attr_accessor :line_items
5323
5690
 
5324
5691
  # The status of the shipment.
5692
+ # Acceptable values are:
5693
+ # - "delivered"
5694
+ # - "readyForPickup"
5695
+ # - "shipped"
5696
+ # - "undeliverable"
5325
5697
  # Corresponds to the JSON property `status`
5326
5698
  # @return [String]
5327
5699
  attr_accessor :status
@@ -5431,6 +5803,9 @@ module Google
5431
5803
  include Google::Apis::Core::Hashable
5432
5804
 
5433
5805
  # The status of the execution.
5806
+ # Acceptable values are:
5807
+ # - "duplicate"
5808
+ # - "executed"
5434
5809
  # Corresponds to the JSON property `executionStatus`
5435
5810
  # @return [String]
5436
5811
  attr_accessor :execution_status
@@ -5503,6 +5878,9 @@ module Google
5503
5878
  include Google::Apis::Core::Hashable
5504
5879
 
5505
5880
  # The status of the execution.
5881
+ # Acceptable values are:
5882
+ # - "duplicate"
5883
+ # - "executed"
5506
5884
  # Corresponds to the JSON property `executionStatus`
5507
5885
  # @return [String]
5508
5886
  attr_accessor :execution_status
@@ -5534,6 +5912,51 @@ module Google
5534
5912
  attr_accessor :description
5535
5913
 
5536
5914
  # [required] Reason for the refund.
5915
+ # Acceptable values are:
5916
+ # - "adjustment"
5917
+ # - "autoPostInternal"
5918
+ # - "autoPostInvalidBillingAddress"
5919
+ # - "autoPostNoInventory"
5920
+ # - "autoPostPriceError"
5921
+ # - "autoPostUndeliverableShippingAddress"
5922
+ # - "couponAbuse"
5923
+ # - "courtesyAdjustment"
5924
+ # - "customerCanceled"
5925
+ # - "customerDiscretionaryReturn"
5926
+ # - "customerInitiatedMerchantCancel"
5927
+ # - "customerSupportRequested"
5928
+ # - "deliveredLateByCarrier"
5929
+ # - "deliveredTooLate"
5930
+ # - "expiredItem"
5931
+ # - "failToPushOrderGoogleError"
5932
+ # - "failToPushOrderMerchantError"
5933
+ # - "failToPushOrderMerchantFulfillmentError"
5934
+ # - "failToPushOrderToMerchant"
5935
+ # - "failToPushOrderToMerchantOutOfStock"
5936
+ # - "feeAdjustment"
5937
+ # - "invalidCoupon"
5938
+ # - "lateShipmentCredit"
5939
+ # - "malformedShippingAddress"
5940
+ # - "merchantDidNotShipOnTime"
5941
+ # - "noInventory"
5942
+ # - "orderTimeout"
5943
+ # - "other"
5944
+ # - "paymentAbuse"
5945
+ # - "paymentDeclined"
5946
+ # - "priceAdjustment"
5947
+ # - "priceError"
5948
+ # - "productArrivedDamaged"
5949
+ # - "productNotAsDescribed"
5950
+ # - "promoReallocation"
5951
+ # - "qualityNotAsExpected"
5952
+ # - "returnRefundAbuse"
5953
+ # - "shippingCostAdjustment"
5954
+ # - "shippingPriceError"
5955
+ # - "taxAdjustment"
5956
+ # - "taxError"
5957
+ # - "undeliverableShippingAddress"
5958
+ # - "unsupportedPoBoxAddress"
5959
+ # - "wrongProductShipped"
5537
5960
  # Corresponds to the JSON property `reason`
5538
5961
  # @return [String]
5539
5962
  attr_accessor :reason
@@ -5559,6 +5982,20 @@ module Google
5559
5982
  attr_accessor :description
5560
5983
 
5561
5984
  # [required] Reason for the return.
5985
+ # Acceptable values are:
5986
+ # - "customerDiscretionaryReturn"
5987
+ # - "customerInitiatedMerchantCancel"
5988
+ # - "deliveredTooLate"
5989
+ # - "expiredItem"
5990
+ # - "invalidCoupon"
5991
+ # - "malformedShippingAddress"
5992
+ # - "other"
5993
+ # - "productArrivedDamaged"
5994
+ # - "productNotAsDescribed"
5995
+ # - "qualityNotAsExpected"
5996
+ # - "undeliverableShippingAddress"
5997
+ # - "unsupportedPoBoxAddress"
5998
+ # - "wrongProductShipped"
5562
5999
  # Corresponds to the JSON property `reason`
5563
6000
  # @return [String]
5564
6001
  attr_accessor :reason
@@ -5694,6 +6131,9 @@ module Google
5694
6131
  include Google::Apis::Core::Hashable
5695
6132
 
5696
6133
  # The status of the execution.
6134
+ # Acceptable values are:
6135
+ # - "duplicate"
6136
+ # - "executed"
5697
6137
  # Corresponds to the JSON property `executionStatus`
5698
6138
  # @return [String]
5699
6139
  attr_accessor :execution_status
@@ -5780,6 +6220,17 @@ module Google
5780
6220
  attr_accessor :quantity
5781
6221
 
5782
6222
  # The reason for the cancellation.
6223
+ # Acceptable values are:
6224
+ # - "customerInitiatedCancel"
6225
+ # - "invalidCoupon"
6226
+ # - "malformedShippingAddress"
6227
+ # - "noInventory"
6228
+ # - "other"
6229
+ # - "priceError"
6230
+ # - "shippingPriceError"
6231
+ # - "taxError"
6232
+ # - "undeliverableShippingAddress"
6233
+ # - "unsupportedPoBoxAddress"
5783
6234
  # Corresponds to the JSON property `reason`
5784
6235
  # @return [String]
5785
6236
  attr_accessor :reason
@@ -5812,6 +6263,9 @@ module Google
5812
6263
  include Google::Apis::Core::Hashable
5813
6264
 
5814
6265
  # The status of the execution.
6266
+ # Acceptable values are:
6267
+ # - "duplicate"
6268
+ # - "executed"
5815
6269
  # Corresponds to the JSON property `executionStatus`
5816
6270
  # @return [String]
5817
6271
  attr_accessor :execution_status
@@ -5843,6 +6297,17 @@ module Google
5843
6297
  attr_accessor :operation_id
5844
6298
 
5845
6299
  # The reason for the cancellation.
6300
+ # Acceptable values are:
6301
+ # - "customerInitiatedCancel"
6302
+ # - "invalidCoupon"
6303
+ # - "malformedShippingAddress"
6304
+ # - "noInventory"
6305
+ # - "other"
6306
+ # - "priceError"
6307
+ # - "shippingPriceError"
6308
+ # - "taxError"
6309
+ # - "undeliverableShippingAddress"
6310
+ # - "unsupportedPoBoxAddress"
5846
6311
  # Corresponds to the JSON property `reason`
5847
6312
  # @return [String]
5848
6313
  attr_accessor :reason
@@ -5869,6 +6334,9 @@ module Google
5869
6334
  include Google::Apis::Core::Hashable
5870
6335
 
5871
6336
  # The status of the execution.
6337
+ # Acceptable values are:
6338
+ # - "duplicate"
6339
+ # - "executed"
5872
6340
  # Corresponds to the JSON property `executionStatus`
5873
6341
  # @return [String]
5874
6342
  attr_accessor :execution_status
@@ -5895,6 +6363,10 @@ module Google
5895
6363
  include Google::Apis::Core::Hashable
5896
6364
 
5897
6365
  # The reason for the cancellation.
6366
+ # Acceptable values are:
6367
+ # - "changedMind"
6368
+ # - "orderedWrongItem"
6369
+ # - "other"
5898
6370
  # Corresponds to the JSON property `reason`
5899
6371
  # @return [String]
5900
6372
  attr_accessor :reason
@@ -5946,6 +6418,12 @@ module Google
5946
6418
  # The test order template to use. Specify as an alternative to testOrder as a
5947
6419
  # shortcut for retrieving a template and then creating an order using that
5948
6420
  # template.
6421
+ # Acceptable values are:
6422
+ # - "template1"
6423
+ # - "template1a"
6424
+ # - "template1b"
6425
+ # - "template2"
6426
+ # - "template3"
5949
6427
  # Corresponds to the JSON property `templateName`
5950
6428
  # @return [String]
5951
6429
  attr_accessor :template_name
@@ -6092,7 +6570,23 @@ module Google
6092
6570
  # @return [String]
6093
6571
  attr_accessor :merchant_order_id
6094
6572
 
6095
- # The method to apply.
6573
+ # The method of the batch entry.
6574
+ # Acceptable values are:
6575
+ # - "acknowledge"
6576
+ # - "cancel"
6577
+ # - "cancelLineItem"
6578
+ # - "get"
6579
+ # - "getByMerchantOrderId"
6580
+ # - "inStoreRefundLineItem"
6581
+ # - "refund"
6582
+ # - "rejectReturnLineItem"
6583
+ # - "returnLineItem"
6584
+ # - "returnRefundLineItem"
6585
+ # - "setLineItemMetadata"
6586
+ # - "shipLineItems"
6587
+ # - "updateLineItemShippingDetails"
6588
+ # - "updateMerchantOrderId"
6589
+ # - "updateShipment"
6096
6590
  # Corresponds to the JSON property `method`
6097
6591
  # @return [String]
6098
6592
  attr_accessor :method_prop
@@ -6179,6 +6673,17 @@ module Google
6179
6673
  include Google::Apis::Core::Hashable
6180
6674
 
6181
6675
  # The reason for the cancellation.
6676
+ # Acceptable values are:
6677
+ # - "customerInitiatedCancel"
6678
+ # - "invalidCoupon"
6679
+ # - "malformedShippingAddress"
6680
+ # - "noInventory"
6681
+ # - "other"
6682
+ # - "priceError"
6683
+ # - "shippingPriceError"
6684
+ # - "taxError"
6685
+ # - "undeliverableShippingAddress"
6686
+ # - "unsupportedPoBoxAddress"
6182
6687
  # Corresponds to the JSON property `reason`
6183
6688
  # @return [String]
6184
6689
  attr_accessor :reason
@@ -6239,6 +6744,17 @@ module Google
6239
6744
  attr_accessor :quantity
6240
6745
 
6241
6746
  # The reason for the cancellation.
6747
+ # Acceptable values are:
6748
+ # - "customerInitiatedCancel"
6749
+ # - "invalidCoupon"
6750
+ # - "malformedShippingAddress"
6751
+ # - "noInventory"
6752
+ # - "other"
6753
+ # - "priceError"
6754
+ # - "shippingPriceError"
6755
+ # - "taxError"
6756
+ # - "undeliverableShippingAddress"
6757
+ # - "unsupportedPoBoxAddress"
6242
6758
  # Corresponds to the JSON property `reason`
6243
6759
  # @return [String]
6244
6760
  attr_accessor :reason
@@ -6321,6 +6837,20 @@ module Google
6321
6837
  attr_accessor :quantity
6322
6838
 
6323
6839
  # The reason for the return.
6840
+ # Acceptable values are:
6841
+ # - "customerDiscretionaryReturn"
6842
+ # - "customerInitiatedMerchantCancel"
6843
+ # - "deliveredTooLate"
6844
+ # - "expiredItem"
6845
+ # - "invalidCoupon"
6846
+ # - "malformedShippingAddress"
6847
+ # - "other"
6848
+ # - "productArrivedDamaged"
6849
+ # - "productNotAsDescribed"
6850
+ # - "qualityNotAsExpected"
6851
+ # - "undeliverableShippingAddress"
6852
+ # - "unsupportedPoBoxAddress"
6853
+ # - "wrongProductShipped"
6324
6854
  # Corresponds to the JSON property `reason`
6325
6855
  # @return [String]
6326
6856
  attr_accessor :reason
@@ -6367,6 +6897,23 @@ module Google
6367
6897
  attr_accessor :amount_tax
6368
6898
 
6369
6899
  # The reason for the refund.
6900
+ # Acceptable values are:
6901
+ # - "adjustment"
6902
+ # - "courtesyAdjustment"
6903
+ # - "customerCanceled"
6904
+ # - "customerDiscretionaryReturn"
6905
+ # - "deliveredLateByCarrier"
6906
+ # - "feeAdjustment"
6907
+ # - "lateShipmentCredit"
6908
+ # - "noInventory"
6909
+ # - "other"
6910
+ # - "priceError"
6911
+ # - "productArrivedDamaged"
6912
+ # - "productNotAsDescribed"
6913
+ # - "shippingCostAdjustment"
6914
+ # - "taxAdjustment"
6915
+ # - "undeliverableShippingAddress"
6916
+ # - "wrongProductShipped"
6370
6917
  # Corresponds to the JSON property `reason`
6371
6918
  # @return [String]
6372
6919
  attr_accessor :reason
@@ -6411,6 +6958,12 @@ module Google
6411
6958
  attr_accessor :quantity
6412
6959
 
6413
6960
  # The reason for the return.
6961
+ # Acceptable values are:
6962
+ # - "damagedOrUsed"
6963
+ # - "missingComponent"
6964
+ # - "notEligible"
6965
+ # - "other"
6966
+ # - "outOfReturnWindow"
6414
6967
  # Corresponds to the JSON property `reason`
6415
6968
  # @return [String]
6416
6969
  attr_accessor :reason
@@ -6455,6 +7008,20 @@ module Google
6455
7008
  attr_accessor :quantity
6456
7009
 
6457
7010
  # The reason for the return.
7011
+ # Acceptable values are:
7012
+ # - "customerDiscretionaryReturn"
7013
+ # - "customerInitiatedMerchantCancel"
7014
+ # - "deliveredTooLate"
7015
+ # - "expiredItem"
7016
+ # - "invalidCoupon"
7017
+ # - "malformedShippingAddress"
7018
+ # - "other"
7019
+ # - "productArrivedDamaged"
7020
+ # - "productNotAsDescribed"
7021
+ # - "qualityNotAsExpected"
7022
+ # - "undeliverableShippingAddress"
7023
+ # - "unsupportedPoBoxAddress"
7024
+ # - "wrongProductShipped"
6458
7025
  # Corresponds to the JSON property `reason`
6459
7026
  # @return [String]
6460
7027
  attr_accessor :reason
@@ -6512,6 +7079,20 @@ module Google
6512
7079
  attr_accessor :quantity
6513
7080
 
6514
7081
  # The reason for the return.
7082
+ # Acceptable values are:
7083
+ # - "customerDiscretionaryReturn"
7084
+ # - "customerInitiatedMerchantCancel"
7085
+ # - "deliveredTooLate"
7086
+ # - "expiredItem"
7087
+ # - "invalidCoupon"
7088
+ # - "malformedShippingAddress"
7089
+ # - "other"
7090
+ # - "productArrivedDamaged"
7091
+ # - "productNotAsDescribed"
7092
+ # - "qualityNotAsExpected"
7093
+ # - "undeliverableShippingAddress"
7094
+ # - "unsupportedPoBoxAddress"
7095
+ # - "wrongProductShipped"
6515
7096
  # Corresponds to the JSON property `reason`
6516
7097
  # @return [String]
6517
7098
  attr_accessor :reason
@@ -6633,8 +7214,8 @@ module Google
6633
7214
  # @return [String]
6634
7215
  attr_accessor :carrier
6635
7216
 
6636
- # The ID of the shipment. This is assigned by the merchant and is unique to each
6637
- # shipment.
7217
+ # Required. The ID of the shipment. This is assigned by the merchant and is
7218
+ # unique to each shipment.
6638
7219
  # Corresponds to the JSON property `shipmentId`
6639
7220
  # @return [String]
6640
7221
  attr_accessor :shipment_id
@@ -6723,6 +7304,9 @@ module Google
6723
7304
  attr_accessor :shipment_id
6724
7305
 
6725
7306
  # New status for the shipment. Not updated if missing.
7307
+ # Acceptable values are:
7308
+ # - "delivered"
7309
+ # - "undeliverable"
6726
7310
  # Corresponds to the JSON property `status`
6727
7311
  # @return [String]
6728
7312
  attr_accessor :status
@@ -6789,6 +7373,9 @@ module Google
6789
7373
  # The status of the execution. Only defined if
6790
7374
  # - the request was successful; and
6791
7375
  # - the method is not get, getByMerchantOrderId, or one of the test methods.
7376
+ # Acceptable values are:
7377
+ # - "duplicate"
7378
+ # - "executed"
6792
7379
  # Corresponds to the JSON property `executionStatus`
6793
7380
  # @return [String]
6794
7381
  attr_accessor :execution_status
@@ -6908,6 +7495,20 @@ module Google
6908
7495
  attr_accessor :quantity
6909
7496
 
6910
7497
  # The reason for the return.
7498
+ # Acceptable values are:
7499
+ # - "customerDiscretionaryReturn"
7500
+ # - "customerInitiatedMerchantCancel"
7501
+ # - "deliveredTooLate"
7502
+ # - "expiredItem"
7503
+ # - "invalidCoupon"
7504
+ # - "malformedShippingAddress"
7505
+ # - "other"
7506
+ # - "productArrivedDamaged"
7507
+ # - "productNotAsDescribed"
7508
+ # - "qualityNotAsExpected"
7509
+ # - "undeliverableShippingAddress"
7510
+ # - "unsupportedPoBoxAddress"
7511
+ # - "wrongProductShipped"
6911
7512
  # Corresponds to the JSON property `reason`
6912
7513
  # @return [String]
6913
7514
  attr_accessor :reason
@@ -6939,6 +7540,9 @@ module Google
6939
7540
  include Google::Apis::Core::Hashable
6940
7541
 
6941
7542
  # The status of the execution.
7543
+ # Acceptable values are:
7544
+ # - "duplicate"
7545
+ # - "executed"
6942
7546
  # Corresponds to the JSON property `executionStatus`
6943
7547
  # @return [String]
6944
7548
  attr_accessor :execution_status
@@ -7018,6 +7622,23 @@ module Google
7018
7622
  attr_accessor :operation_id
7019
7623
 
7020
7624
  # The reason for the refund.
7625
+ # Acceptable values are:
7626
+ # - "adjustment"
7627
+ # - "courtesyAdjustment"
7628
+ # - "customerCanceled"
7629
+ # - "customerDiscretionaryReturn"
7630
+ # - "deliveredLateByCarrier"
7631
+ # - "feeAdjustment"
7632
+ # - "lateShipmentCredit"
7633
+ # - "noInventory"
7634
+ # - "other"
7635
+ # - "priceError"
7636
+ # - "productArrivedDamaged"
7637
+ # - "productNotAsDescribed"
7638
+ # - "shippingCostAdjustment"
7639
+ # - "taxAdjustment"
7640
+ # - "undeliverableShippingAddress"
7641
+ # - "wrongProductShipped"
7021
7642
  # Corresponds to the JSON property `reason`
7022
7643
  # @return [String]
7023
7644
  attr_accessor :reason
@@ -7047,6 +7668,9 @@ module Google
7047
7668
  include Google::Apis::Core::Hashable
7048
7669
 
7049
7670
  # The status of the execution.
7671
+ # Acceptable values are:
7672
+ # - "duplicate"
7673
+ # - "executed"
7050
7674
  # Corresponds to the JSON property `executionStatus`
7051
7675
  # @return [String]
7052
7676
  attr_accessor :execution_status
@@ -7094,6 +7718,12 @@ module Google
7094
7718
  attr_accessor :quantity
7095
7719
 
7096
7720
  # The reason for the return.
7721
+ # Acceptable values are:
7722
+ # - "damagedOrUsed"
7723
+ # - "missingComponent"
7724
+ # - "notEligible"
7725
+ # - "other"
7726
+ # - "outOfReturnWindow"
7097
7727
  # Corresponds to the JSON property `reason`
7098
7728
  # @return [String]
7099
7729
  attr_accessor :reason
@@ -7123,6 +7753,9 @@ module Google
7123
7753
  include Google::Apis::Core::Hashable
7124
7754
 
7125
7755
  # The status of the execution.
7756
+ # Acceptable values are:
7757
+ # - "duplicate"
7758
+ # - "executed"
7126
7759
  # Corresponds to the JSON property `executionStatus`
7127
7760
  # @return [String]
7128
7761
  attr_accessor :execution_status
@@ -7170,6 +7803,20 @@ module Google
7170
7803
  attr_accessor :quantity
7171
7804
 
7172
7805
  # The reason for the return.
7806
+ # Acceptable values are:
7807
+ # - "customerDiscretionaryReturn"
7808
+ # - "customerInitiatedMerchantCancel"
7809
+ # - "deliveredTooLate"
7810
+ # - "expiredItem"
7811
+ # - "invalidCoupon"
7812
+ # - "malformedShippingAddress"
7813
+ # - "other"
7814
+ # - "productArrivedDamaged"
7815
+ # - "productNotAsDescribed"
7816
+ # - "qualityNotAsExpected"
7817
+ # - "undeliverableShippingAddress"
7818
+ # - "unsupportedPoBoxAddress"
7819
+ # - "wrongProductShipped"
7173
7820
  # Corresponds to the JSON property `reason`
7174
7821
  # @return [String]
7175
7822
  attr_accessor :reason
@@ -7199,6 +7846,9 @@ module Google
7199
7846
  include Google::Apis::Core::Hashable
7200
7847
 
7201
7848
  # The status of the execution.
7849
+ # Acceptable values are:
7850
+ # - "duplicate"
7851
+ # - "executed"
7202
7852
  # Corresponds to the JSON property `executionStatus`
7203
7853
  # @return [String]
7204
7854
  attr_accessor :execution_status
@@ -7259,6 +7909,20 @@ module Google
7259
7909
  attr_accessor :quantity
7260
7910
 
7261
7911
  # The reason for the return.
7912
+ # Acceptable values are:
7913
+ # - "customerDiscretionaryReturn"
7914
+ # - "customerInitiatedMerchantCancel"
7915
+ # - "deliveredTooLate"
7916
+ # - "expiredItem"
7917
+ # - "invalidCoupon"
7918
+ # - "malformedShippingAddress"
7919
+ # - "other"
7920
+ # - "productArrivedDamaged"
7921
+ # - "productNotAsDescribed"
7922
+ # - "qualityNotAsExpected"
7923
+ # - "undeliverableShippingAddress"
7924
+ # - "unsupportedPoBoxAddress"
7925
+ # - "wrongProductShipped"
7262
7926
  # Corresponds to the JSON property `reason`
7263
7927
  # @return [String]
7264
7928
  attr_accessor :reason
@@ -7290,6 +7954,9 @@ module Google
7290
7954
  include Google::Apis::Core::Hashable
7291
7955
 
7292
7956
  # The status of the execution.
7957
+ # Acceptable values are:
7958
+ # - "duplicate"
7959
+ # - "executed"
7293
7960
  # Corresponds to the JSON property `executionStatus`
7294
7961
  # @return [String]
7295
7962
  attr_accessor :execution_status
@@ -7355,6 +8022,9 @@ module Google
7355
8022
  include Google::Apis::Core::Hashable
7356
8023
 
7357
8024
  # The status of the execution.
8025
+ # Acceptable values are:
8026
+ # - "duplicate"
8027
+ # - "executed"
7358
8028
  # Corresponds to the JSON property `executionStatus`
7359
8029
  # @return [String]
7360
8030
  attr_accessor :execution_status
@@ -7440,6 +8110,9 @@ module Google
7440
8110
  include Google::Apis::Core::Hashable
7441
8111
 
7442
8112
  # The status of the execution.
8113
+ # Acceptable values are:
8114
+ # - "duplicate"
8115
+ # - "executed"
7443
8116
  # Corresponds to the JSON property `executionStatus`
7444
8117
  # @return [String]
7445
8118
  attr_accessor :execution_status
@@ -7517,6 +8190,9 @@ module Google
7517
8190
  include Google::Apis::Core::Hashable
7518
8191
 
7519
8192
  # The status of the execution.
8193
+ # Acceptable values are:
8194
+ # - "duplicate"
8195
+ # - "executed"
7520
8196
  # Corresponds to the JSON property `executionStatus`
7521
8197
  # @return [String]
7522
8198
  attr_accessor :execution_status
@@ -7568,6 +8244,9 @@ module Google
7568
8244
  include Google::Apis::Core::Hashable
7569
8245
 
7570
8246
  # The status of the execution.
8247
+ # Acceptable values are:
8248
+ # - "duplicate"
8249
+ # - "executed"
7571
8250
  # Corresponds to the JSON property `executionStatus`
7572
8251
  # @return [String]
7573
8252
  attr_accessor :execution_status
@@ -7616,6 +8295,9 @@ module Google
7616
8295
  attr_accessor :shipment_id
7617
8296
 
7618
8297
  # New status for the shipment. Not updated if missing.
8298
+ # Acceptable values are:
8299
+ # - "delivered"
8300
+ # - "undeliverable"
7619
8301
  # Corresponds to the JSON property `status`
7620
8302
  # @return [String]
7621
8303
  attr_accessor :status
@@ -7645,6 +8327,9 @@ module Google
7645
8327
  include Google::Apis::Core::Hashable
7646
8328
 
7647
8329
  # The status of the execution.
8330
+ # Acceptable values are:
8331
+ # - "duplicate"
8332
+ # - "executed"
7648
8333
  # Corresponds to the JSON property `executionStatus`
7649
8334
  # @return [String]
7650
8335
  attr_accessor :execution_status
@@ -7760,7 +8445,13 @@ module Google
7760
8445
  # @return [Fixnum]
7761
8446
  attr_accessor :merchant_id
7762
8447
 
7763
- #
8448
+ # The method of the batch entry.
8449
+ # Acceptable values are:
8450
+ # - "delete"
8451
+ # - "get"
8452
+ # - "insert"
8453
+ # - "inventory"
8454
+ # - "sale"
7764
8455
  # Corresponds to the JSON property `method`
7765
8456
  # @return [String]
7766
8457
  attr_accessor :method_prop
@@ -7938,7 +8629,7 @@ module Google
7938
8629
  class PosInventory
7939
8630
  include Google::Apis::Core::Hashable
7940
8631
 
7941
- # The two-letter ISO 639-1 language code for the item.
8632
+ # Required. The two-letter ISO 639-1 language code for the item.
7942
8633
  # Corresponds to the JSON property `contentLanguage`
7943
8634
  # @return [String]
7944
8635
  attr_accessor :content_language
@@ -7948,7 +8639,7 @@ module Google
7948
8639
  # @return [String]
7949
8640
  attr_accessor :gtin
7950
8641
 
7951
- # A unique identifier for the item.
8642
+ # Required. A unique identifier for the item.
7952
8643
  # Corresponds to the JSON property `itemId`
7953
8644
  # @return [String]
7954
8645
  attr_accessor :item_id
@@ -7959,28 +8650,28 @@ module Google
7959
8650
  # @return [String]
7960
8651
  attr_accessor :kind
7961
8652
 
7962
- # The current price of the item.
8653
+ # Required. The current price of the item.
7963
8654
  # Corresponds to the JSON property `price`
7964
8655
  # @return [Google::Apis::ContentV2::Price]
7965
8656
  attr_accessor :price
7966
8657
 
7967
- # The available quantity of the item.
8658
+ # Required. The available quantity of the item.
7968
8659
  # Corresponds to the JSON property `quantity`
7969
8660
  # @return [Fixnum]
7970
8661
  attr_accessor :quantity
7971
8662
 
7972
- # The identifier of the merchant's store. Either a storeCode inserted via the
7973
- # API or the code of the store in Google My Business.
8663
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
8664
+ # via the API or the code of the store in Google My Business.
7974
8665
  # Corresponds to the JSON property `storeCode`
7975
8666
  # @return [String]
7976
8667
  attr_accessor :store_code
7977
8668
 
7978
- # The CLDR territory code for the item.
8669
+ # Required. The CLDR territory code for the item.
7979
8670
  # Corresponds to the JSON property `targetCountry`
7980
8671
  # @return [String]
7981
8672
  attr_accessor :target_country
7982
8673
 
7983
- # The inventory timestamp, in ISO 8601 format.
8674
+ # Required. The inventory timestamp, in ISO 8601 format.
7984
8675
  # Corresponds to the JSON property `timestamp`
7985
8676
  # @return [String]
7986
8677
  attr_accessor :timestamp
@@ -8007,7 +8698,7 @@ module Google
8007
8698
  class PosInventoryRequest
8008
8699
  include Google::Apis::Core::Hashable
8009
8700
 
8010
- # The two-letter ISO 639-1 language code for the item.
8701
+ # Required. The two-letter ISO 639-1 language code for the item.
8011
8702
  # Corresponds to the JSON property `contentLanguage`
8012
8703
  # @return [String]
8013
8704
  attr_accessor :content_language
@@ -8017,33 +8708,33 @@ module Google
8017
8708
  # @return [String]
8018
8709
  attr_accessor :gtin
8019
8710
 
8020
- # A unique identifier for the item.
8711
+ # Required. A unique identifier for the item.
8021
8712
  # Corresponds to the JSON property `itemId`
8022
8713
  # @return [String]
8023
8714
  attr_accessor :item_id
8024
8715
 
8025
- # The current price of the item.
8716
+ # Required. The current price of the item.
8026
8717
  # Corresponds to the JSON property `price`
8027
8718
  # @return [Google::Apis::ContentV2::Price]
8028
8719
  attr_accessor :price
8029
8720
 
8030
- # The available quantity of the item.
8721
+ # Required. The available quantity of the item.
8031
8722
  # Corresponds to the JSON property `quantity`
8032
8723
  # @return [Fixnum]
8033
8724
  attr_accessor :quantity
8034
8725
 
8035
- # The identifier of the merchant's store. Either a storeCode inserted via the
8036
- # API or the code of the store in Google My Business.
8726
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
8727
+ # via the API or the code of the store in Google My Business.
8037
8728
  # Corresponds to the JSON property `storeCode`
8038
8729
  # @return [String]
8039
8730
  attr_accessor :store_code
8040
8731
 
8041
- # The CLDR territory code for the item.
8732
+ # Required. The CLDR territory code for the item.
8042
8733
  # Corresponds to the JSON property `targetCountry`
8043
8734
  # @return [String]
8044
8735
  attr_accessor :target_country
8045
8736
 
8046
- # The inventory timestamp, in ISO 8601 format.
8737
+ # Required. The inventory timestamp, in ISO 8601 format.
8047
8738
  # Corresponds to the JSON property `timestamp`
8048
8739
  # @return [String]
8049
8740
  attr_accessor :timestamp
@@ -8069,7 +8760,7 @@ module Google
8069
8760
  class PosInventoryResponse
8070
8761
  include Google::Apis::Core::Hashable
8071
8762
 
8072
- # The two-letter ISO 639-1 language code for the item.
8763
+ # Required. The two-letter ISO 639-1 language code for the item.
8073
8764
  # Corresponds to the JSON property `contentLanguage`
8074
8765
  # @return [String]
8075
8766
  attr_accessor :content_language
@@ -8079,7 +8770,7 @@ module Google
8079
8770
  # @return [String]
8080
8771
  attr_accessor :gtin
8081
8772
 
8082
- # A unique identifier for the item.
8773
+ # Required. A unique identifier for the item.
8083
8774
  # Corresponds to the JSON property `itemId`
8084
8775
  # @return [String]
8085
8776
  attr_accessor :item_id
@@ -8090,28 +8781,28 @@ module Google
8090
8781
  # @return [String]
8091
8782
  attr_accessor :kind
8092
8783
 
8093
- # The current price of the item.
8784
+ # Required. The current price of the item.
8094
8785
  # Corresponds to the JSON property `price`
8095
8786
  # @return [Google::Apis::ContentV2::Price]
8096
8787
  attr_accessor :price
8097
8788
 
8098
- # The available quantity of the item.
8789
+ # Required. The available quantity of the item.
8099
8790
  # Corresponds to the JSON property `quantity`
8100
8791
  # @return [Fixnum]
8101
8792
  attr_accessor :quantity
8102
8793
 
8103
- # The identifier of the merchant's store. Either a storeCode inserted via the
8104
- # API or the code of the store in Google My Business.
8794
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
8795
+ # via the API or the code of the store in Google My Business.
8105
8796
  # Corresponds to the JSON property `storeCode`
8106
8797
  # @return [String]
8107
8798
  attr_accessor :store_code
8108
8799
 
8109
- # The CLDR territory code for the item.
8800
+ # Required. The CLDR territory code for the item.
8110
8801
  # Corresponds to the JSON property `targetCountry`
8111
8802
  # @return [String]
8112
8803
  attr_accessor :target_country
8113
8804
 
8114
- # The inventory timestamp, in ISO 8601 format.
8805
+ # Required. The inventory timestamp, in ISO 8601 format.
8115
8806
  # Corresponds to the JSON property `timestamp`
8116
8807
  # @return [String]
8117
8808
  attr_accessor :timestamp
@@ -8164,7 +8855,7 @@ module Google
8164
8855
  class PosSale
8165
8856
  include Google::Apis::Core::Hashable
8166
8857
 
8167
- # The two-letter ISO 639-1 language code for the item.
8858
+ # Required. The two-letter ISO 639-1 language code for the item.
8168
8859
  # Corresponds to the JSON property `contentLanguage`
8169
8860
  # @return [String]
8170
8861
  attr_accessor :content_language
@@ -8174,7 +8865,7 @@ module Google
8174
8865
  # @return [String]
8175
8866
  attr_accessor :gtin
8176
8867
 
8177
- # A unique identifier for the item.
8868
+ # Required. A unique identifier for the item.
8178
8869
  # Corresponds to the JSON property `itemId`
8179
8870
  # @return [String]
8180
8871
  attr_accessor :item_id
@@ -8185,12 +8876,13 @@ module Google
8185
8876
  # @return [String]
8186
8877
  attr_accessor :kind
8187
8878
 
8188
- # The price of the item.
8879
+ # Required. The price of the item.
8189
8880
  # Corresponds to the JSON property `price`
8190
8881
  # @return [Google::Apis::ContentV2::Price]
8191
8882
  attr_accessor :price
8192
8883
 
8193
- # The relative change of the available quantity. Negative for items returned.
8884
+ # Required. The relative change of the available quantity. Negative for items
8885
+ # returned.
8194
8886
  # Corresponds to the JSON property `quantity`
8195
8887
  # @return [Fixnum]
8196
8888
  attr_accessor :quantity
@@ -8200,18 +8892,18 @@ module Google
8200
8892
  # @return [String]
8201
8893
  attr_accessor :sale_id
8202
8894
 
8203
- # The identifier of the merchant's store. Either a storeCode inserted via the
8204
- # API or the code of the store in Google My Business.
8895
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
8896
+ # via the API or the code of the store in Google My Business.
8205
8897
  # Corresponds to the JSON property `storeCode`
8206
8898
  # @return [String]
8207
8899
  attr_accessor :store_code
8208
8900
 
8209
- # The CLDR territory code for the item.
8901
+ # Required. The CLDR territory code for the item.
8210
8902
  # Corresponds to the JSON property `targetCountry`
8211
8903
  # @return [String]
8212
8904
  attr_accessor :target_country
8213
8905
 
8214
- # The inventory timestamp, in ISO 8601 format.
8906
+ # Required. The inventory timestamp, in ISO 8601 format.
8215
8907
  # Corresponds to the JSON property `timestamp`
8216
8908
  # @return [String]
8217
8909
  attr_accessor :timestamp
@@ -8239,7 +8931,7 @@ module Google
8239
8931
  class PosSaleRequest
8240
8932
  include Google::Apis::Core::Hashable
8241
8933
 
8242
- # The two-letter ISO 639-1 language code for the item.
8934
+ # Required. The two-letter ISO 639-1 language code for the item.
8243
8935
  # Corresponds to the JSON property `contentLanguage`
8244
8936
  # @return [String]
8245
8937
  attr_accessor :content_language
@@ -8249,17 +8941,18 @@ module Google
8249
8941
  # @return [String]
8250
8942
  attr_accessor :gtin
8251
8943
 
8252
- # A unique identifier for the item.
8944
+ # Required. A unique identifier for the item.
8253
8945
  # Corresponds to the JSON property `itemId`
8254
8946
  # @return [String]
8255
8947
  attr_accessor :item_id
8256
8948
 
8257
- # The price of the item.
8949
+ # Required. The price of the item.
8258
8950
  # Corresponds to the JSON property `price`
8259
8951
  # @return [Google::Apis::ContentV2::Price]
8260
8952
  attr_accessor :price
8261
8953
 
8262
- # The relative change of the available quantity. Negative for items returned.
8954
+ # Required. The relative change of the available quantity. Negative for items
8955
+ # returned.
8263
8956
  # Corresponds to the JSON property `quantity`
8264
8957
  # @return [Fixnum]
8265
8958
  attr_accessor :quantity
@@ -8269,18 +8962,18 @@ module Google
8269
8962
  # @return [String]
8270
8963
  attr_accessor :sale_id
8271
8964
 
8272
- # The identifier of the merchant's store. Either a storeCode inserted via the
8273
- # API or the code of the store in Google My Business.
8965
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
8966
+ # via the API or the code of the store in Google My Business.
8274
8967
  # Corresponds to the JSON property `storeCode`
8275
8968
  # @return [String]
8276
8969
  attr_accessor :store_code
8277
8970
 
8278
- # The CLDR territory code for the item.
8971
+ # Required. The CLDR territory code for the item.
8279
8972
  # Corresponds to the JSON property `targetCountry`
8280
8973
  # @return [String]
8281
8974
  attr_accessor :target_country
8282
8975
 
8283
- # The inventory timestamp, in ISO 8601 format.
8976
+ # Required. The inventory timestamp, in ISO 8601 format.
8284
8977
  # Corresponds to the JSON property `timestamp`
8285
8978
  # @return [String]
8286
8979
  attr_accessor :timestamp
@@ -8307,7 +9000,7 @@ module Google
8307
9000
  class PosSaleResponse
8308
9001
  include Google::Apis::Core::Hashable
8309
9002
 
8310
- # The two-letter ISO 639-1 language code for the item.
9003
+ # Required. The two-letter ISO 639-1 language code for the item.
8311
9004
  # Corresponds to the JSON property `contentLanguage`
8312
9005
  # @return [String]
8313
9006
  attr_accessor :content_language
@@ -8317,7 +9010,7 @@ module Google
8317
9010
  # @return [String]
8318
9011
  attr_accessor :gtin
8319
9012
 
8320
- # A unique identifier for the item.
9013
+ # Required. A unique identifier for the item.
8321
9014
  # Corresponds to the JSON property `itemId`
8322
9015
  # @return [String]
8323
9016
  attr_accessor :item_id
@@ -8328,12 +9021,13 @@ module Google
8328
9021
  # @return [String]
8329
9022
  attr_accessor :kind
8330
9023
 
8331
- # The price of the item.
9024
+ # Required. The price of the item.
8332
9025
  # Corresponds to the JSON property `price`
8333
9026
  # @return [Google::Apis::ContentV2::Price]
8334
9027
  attr_accessor :price
8335
9028
 
8336
- # The relative change of the available quantity. Negative for items returned.
9029
+ # Required. The relative change of the available quantity. Negative for items
9030
+ # returned.
8337
9031
  # Corresponds to the JSON property `quantity`
8338
9032
  # @return [Fixnum]
8339
9033
  attr_accessor :quantity
@@ -8343,18 +9037,18 @@ module Google
8343
9037
  # @return [String]
8344
9038
  attr_accessor :sale_id
8345
9039
 
8346
- # The identifier of the merchant's store. Either a storeCode inserted via the
8347
- # API or the code of the store in Google My Business.
9040
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
9041
+ # via the API or the code of the store in Google My Business.
8348
9042
  # Corresponds to the JSON property `storeCode`
8349
9043
  # @return [String]
8350
9044
  attr_accessor :store_code
8351
9045
 
8352
- # The CLDR territory code for the item.
9046
+ # Required. The CLDR territory code for the item.
8353
9047
  # Corresponds to the JSON property `targetCountry`
8354
9048
  # @return [String]
8355
9049
  attr_accessor :target_country
8356
9050
 
8357
- # The inventory timestamp, in ISO 8601 format.
9051
+ # Required. The inventory timestamp, in ISO 8601 format.
8358
9052
  # Corresponds to the JSON property `timestamp`
8359
9053
  # @return [String]
8360
9054
  attr_accessor :timestamp
@@ -8388,12 +9082,12 @@ module Google
8388
9082
  # @return [String]
8389
9083
  attr_accessor :kind
8390
9084
 
8391
- # The street address of the store.
9085
+ # Required. The street address of the store.
8392
9086
  # Corresponds to the JSON property `storeAddress`
8393
9087
  # @return [String]
8394
9088
  attr_accessor :store_address
8395
9089
 
8396
- # A store identifier that is unique for the given merchant.
9090
+ # Required. A store identifier that is unique for the given merchant.
8397
9091
  # Corresponds to the JSON property `storeCode`
8398
9092
  # @return [String]
8399
9093
  attr_accessor :store_code
@@ -8539,6 +9233,13 @@ module Google
8539
9233
  attr_accessor :adwords_redirect
8540
9234
 
8541
9235
  # Target age group of the item.
9236
+ # Acceptable values are:
9237
+ # - "adult"
9238
+ # - "infant"
9239
+ # - "kids"
9240
+ # - "newborn"
9241
+ # - "toddler"
9242
+ # - "youngAdult"
8542
9243
  # Corresponds to the JSON property `ageGroup`
8543
9244
  # @return [String]
8544
9245
  attr_accessor :age_group
@@ -8549,6 +9250,10 @@ module Google
8549
9250
  attr_accessor :aspects
8550
9251
 
8551
9252
  # Availability status of the item.
9253
+ # Acceptable values are:
9254
+ # - "in stock"
9255
+ # - "out of stock"
9256
+ # - "preorder"
8552
9257
  # Corresponds to the JSON property `availability`
8553
9258
  # @return [String]
8554
9259
  attr_accessor :availability
@@ -8564,7 +9269,10 @@ module Google
8564
9269
  # @return [String]
8565
9270
  attr_accessor :brand
8566
9271
 
8567
- # The item's channel (online or local).
9272
+ # Required. The item's channel (online or local).
9273
+ # Acceptable values are:
9274
+ # - "local"
9275
+ # - "online"
8568
9276
  # Corresponds to the JSON property `channel`
8569
9277
  # @return [String]
8570
9278
  attr_accessor :channel
@@ -8575,11 +9283,14 @@ module Google
8575
9283
  attr_accessor :color
8576
9284
 
8577
9285
  # Condition or state of the item.
9286
+ # Acceptable values are:
9287
+ # - "local"
9288
+ # - "online"
8578
9289
  # Corresponds to the JSON property `condition`
8579
9290
  # @return [String]
8580
9291
  attr_accessor :condition
8581
9292
 
8582
- # The two-letter ISO 639-1 language code for the item.
9293
+ # Required. The two-letter ISO 639-1 language code for the item.
8583
9294
  # Corresponds to the JSON property `contentLanguage`
8584
9295
  # @return [String]
8585
9296
  attr_accessor :content_language
@@ -8664,6 +9375,17 @@ module Google
8664
9375
  attr_accessor :display_ads_value
8665
9376
 
8666
9377
  # The energy efficiency class as defined in EU directive 2010/30/EU.
9378
+ # Acceptable values are:
9379
+ # - "A"
9380
+ # - "A+"
9381
+ # - "A++"
9382
+ # - "A+++"
9383
+ # - "B"
9384
+ # - "C"
9385
+ # - "D"
9386
+ # - "E"
9387
+ # - "F"
9388
+ # - "G"
8667
9389
  # Corresponds to the JSON property `energyEfficiencyClass`
8668
9390
  # @return [String]
8669
9391
  attr_accessor :energy_efficiency_class
@@ -8677,6 +9399,10 @@ module Google
8677
9399
  attr_accessor :expiration_date
8678
9400
 
8679
9401
  # Target gender of the item.
9402
+ # Acceptable values are:
9403
+ # - "female"
9404
+ # - "male"
9405
+ # - "unisex"
8680
9406
  # Corresponds to the JSON property `gender`
8681
9407
  # @return [String]
8682
9408
  attr_accessor :gender
@@ -8751,6 +9477,17 @@ module Google
8751
9477
  attr_accessor :material
8752
9478
 
8753
9479
  # The energy efficiency class as defined in EU directive 2010/30/EU.
9480
+ # Acceptable values are:
9481
+ # - "A"
9482
+ # - "A+"
9483
+ # - "A++"
9484
+ # - "A+++"
9485
+ # - "B"
9486
+ # - "C"
9487
+ # - "D"
9488
+ # - "E"
9489
+ # - "F"
9490
+ # - "G"
8754
9491
  # Corresponds to the JSON property `maxEnergyEfficiencyClass`
8755
9492
  # @return [String]
8756
9493
  attr_accessor :max_energy_efficiency_class
@@ -8761,6 +9498,17 @@ module Google
8761
9498
  attr_accessor :max_handling_time
8762
9499
 
8763
9500
  # The energy efficiency class as defined in EU directive 2010/30/EU.
9501
+ # Acceptable values are:
9502
+ # - "A"
9503
+ # - "A+"
9504
+ # - "A++"
9505
+ # - "A+++"
9506
+ # - "B"
9507
+ # - "C"
9508
+ # - "D"
9509
+ # - "E"
9510
+ # - "F"
9511
+ # - "G"
8764
9512
  # Corresponds to the JSON property `minEnergyEfficiencyClass`
8765
9513
  # @return [String]
8766
9514
  attr_accessor :min_energy_efficiency_class
@@ -8785,8 +9533,8 @@ module Google
8785
9533
  # @return [Fixnum]
8786
9534
  attr_accessor :multipack
8787
9535
 
8788
- # A unique identifier for the item. Leading and trailing whitespaces are
8789
- # stripped and multiple whitespaces are replaced by a single whitespace upon
9536
+ # Required. A unique identifier for the item. Leading and trailing whitespaces
9537
+ # are stripped and multiple whitespaces are replaced by a single whitespace upon
8790
9538
  # submission. Only valid unicode characters are accepted. See the products feed
8791
9539
  # specification for details.
8792
9540
  # Note: Content API methods that operate on products take the REST ID of the
@@ -8869,11 +9617,30 @@ module Google
8869
9617
  attr_accessor :shipping_width
8870
9618
 
8871
9619
  # System in which the size is specified. Recommended for apparel items.
9620
+ # Acceptable values are:
9621
+ # - "AU"
9622
+ # - "BR"
9623
+ # - "CN"
9624
+ # - "DE"
9625
+ # - "EU"
9626
+ # - "FR"
9627
+ # - "IT"
9628
+ # - "JP"
9629
+ # - "MEX"
9630
+ # - "UK"
9631
+ # - "US"
8872
9632
  # Corresponds to the JSON property `sizeSystem`
8873
9633
  # @return [String]
8874
9634
  attr_accessor :size_system
8875
9635
 
8876
9636
  # The cut of the item. Recommended for apparel items.
9637
+ # Acceptable values are:
9638
+ # - "big and tall"
9639
+ # - "maternity"
9640
+ # - "oversize"
9641
+ # - "petite"
9642
+ # - "plus"
9643
+ # - "regular"
8877
9644
  # Corresponds to the JSON property `sizeType`
8878
9645
  # @return [String]
8879
9646
  attr_accessor :size_type
@@ -8886,11 +9653,15 @@ module Google
8886
9653
  attr_accessor :sizes
8887
9654
 
8888
9655
  # The source of the offer, i.e., how the offer was created.
9656
+ # Acceptable values are:
9657
+ # - "api"
9658
+ # - "crawl"
9659
+ # - "feed"
8889
9660
  # Corresponds to the JSON property `source`
8890
9661
  # @return [String]
8891
9662
  attr_accessor :source
8892
9663
 
8893
- # The CLDR territory code for the item.
9664
+ # Required. The CLDR territory code for the item.
8894
9665
  # Corresponds to the JSON property `targetCountry`
8895
9666
  # @return [String]
8896
9667
  attr_accessor :target_country
@@ -9085,6 +9856,11 @@ module Google
9085
9856
  attr_accessor :destination_name
9086
9857
 
9087
9858
  # Whether the destination is required, excluded or should be validated.
9859
+ # Acceptable values are:
9860
+ # - "default"
9861
+ # - "excluded"
9862
+ # - "optional"
9863
+ # - "required"
9088
9864
  # Corresponds to the JSON property `intention`
9089
9865
  # @return [String]
9090
9866
  attr_accessor :intention
@@ -9369,6 +10145,9 @@ module Google
9369
10145
  alias_method :approval_pending?, :approval_pending
9370
10146
 
9371
10147
  # The destination's approval status.
10148
+ # Acceptable values are:
10149
+ # - "approved"
10150
+ # - "disapproved"
9372
10151
  # Corresponds to the JSON property `approvalStatus`
9373
10152
  # @return [String]
9374
10153
  attr_accessor :approval_status
@@ -9379,6 +10158,11 @@ module Google
9379
10158
  attr_accessor :destination
9380
10159
 
9381
10160
  # Provided for backward compatibility only. Always set to "required".
10161
+ # Acceptable values are:
10162
+ # - "default"
10163
+ # - "excluded"
10164
+ # - "optional"
10165
+ # - "required"
9382
10166
  # Corresponds to the JSON property `intention`
9383
10167
  # @return [String]
9384
10168
  attr_accessor :intention
@@ -9593,7 +10377,11 @@ module Google
9593
10377
  # @return [Fixnum]
9594
10378
  attr_accessor :merchant_id
9595
10379
 
9596
- #
10380
+ # The method of the batch entry.
10381
+ # Acceptable values are:
10382
+ # - "delete"
10383
+ # - "get"
10384
+ # - "insert"
9597
10385
  # Corresponds to the JSON property `method`
9598
10386
  # @return [String]
9599
10387
  attr_accessor :request_method
@@ -9766,7 +10554,9 @@ module Google
9766
10554
  # @return [Fixnum]
9767
10555
  attr_accessor :merchant_id
9768
10556
 
9769
- #
10557
+ # The method of the batch entry.
10558
+ # Acceptable values are:
10559
+ # - "get"
9770
10560
  # Corresponds to the JSON property `method`
9771
10561
  # @return [String]
9772
10562
  attr_accessor :request_method
@@ -9975,12 +10765,57 @@ module Google
9975
10765
  class RefundReason
9976
10766
  include Google::Apis::Core::Hashable
9977
10767
 
9978
- #
10768
+ # Description of the reason.
9979
10769
  # Corresponds to the JSON property `description`
9980
10770
  # @return [String]
9981
10771
  attr_accessor :description
9982
10772
 
9983
- #
10773
+ # Code of the refund reason.
10774
+ # Acceptable values are:
10775
+ # - "adjustment"
10776
+ # - "autoPostInternal"
10777
+ # - "autoPostInvalidBillingAddress"
10778
+ # - "autoPostNoInventory"
10779
+ # - "autoPostPriceError"
10780
+ # - "autoPostUndeliverableShippingAddress"
10781
+ # - "couponAbuse"
10782
+ # - "courtesyAdjustment"
10783
+ # - "customerCanceled"
10784
+ # - "customerDiscretionaryReturn"
10785
+ # - "customerInitiatedMerchantCancel"
10786
+ # - "customerSupportRequested"
10787
+ # - "deliveredLateByCarrier"
10788
+ # - "deliveredTooLate"
10789
+ # - "expiredItem"
10790
+ # - "failToPushOrderGoogleError"
10791
+ # - "failToPushOrderMerchantError"
10792
+ # - "failToPushOrderMerchantFulfillmentError"
10793
+ # - "failToPushOrderToMerchant"
10794
+ # - "failToPushOrderToMerchantOutOfStock"
10795
+ # - "feeAdjustment"
10796
+ # - "invalidCoupon"
10797
+ # - "lateShipmentCredit"
10798
+ # - "malformedShippingAddress"
10799
+ # - "merchantDidNotShipOnTime"
10800
+ # - "noInventory"
10801
+ # - "orderTimeout"
10802
+ # - "other"
10803
+ # - "paymentAbuse"
10804
+ # - "paymentDeclined"
10805
+ # - "priceAdjustment"
10806
+ # - "priceError"
10807
+ # - "productArrivedDamaged"
10808
+ # - "productNotAsDescribed"
10809
+ # - "promoReallocation"
10810
+ # - "qualityNotAsExpected"
10811
+ # - "returnRefundAbuse"
10812
+ # - "shippingCostAdjustment"
10813
+ # - "shippingPriceError"
10814
+ # - "taxAdjustment"
10815
+ # - "taxError"
10816
+ # - "undeliverableShippingAddress"
10817
+ # - "unsupportedPoBoxAddress"
10818
+ # - "wrongProductShipped"
9984
10819
  # Corresponds to the JSON property `reasonCode`
9985
10820
  # @return [String]
9986
10821
  attr_accessor :reason_code
@@ -10000,37 +10835,47 @@ module Google
10000
10835
  class ReturnShipment
10001
10836
  include Google::Apis::Core::Hashable
10002
10837
 
10003
- #
10838
+ # The date of creation of the shipment, in ISO 8601 format.
10004
10839
  # Corresponds to the JSON property `creationDate`
10005
10840
  # @return [String]
10006
10841
  attr_accessor :creation_date
10007
10842
 
10008
- #
10843
+ # The date of delivery of the shipment, in ISO 8601 format.
10009
10844
  # Corresponds to the JSON property `deliveryDate`
10010
10845
  # @return [String]
10011
10846
  attr_accessor :delivery_date
10012
10847
 
10013
- #
10848
+ # Type of the return method.
10849
+ # Acceptable values are:
10850
+ # - "byMail"
10851
+ # - "contactCustomerSupport"
10852
+ # - "returnless"
10014
10853
  # Corresponds to the JSON property `returnMethodType`
10015
10854
  # @return [String]
10016
10855
  attr_accessor :return_method_type
10017
10856
 
10018
- #
10857
+ # Shipment ID generated by Google.
10019
10858
  # Corresponds to the JSON property `shipmentId`
10020
10859
  # @return [String]
10021
10860
  attr_accessor :shipment_id
10022
10861
 
10023
- #
10862
+ # Tracking information of the shipment. One return shipment might be handled by
10863
+ # several shipping carriers sequentially.
10024
10864
  # Corresponds to the JSON property `shipmentTrackingInfos`
10025
10865
  # @return [Array<Google::Apis::ContentV2::ShipmentTrackingInfo>]
10026
10866
  attr_accessor :shipment_tracking_infos
10027
10867
 
10028
- #
10868
+ # The date of shipping of the shipment, in ISO 8601 format.
10029
10869
  # Corresponds to the JSON property `shippingDate`
10030
10870
  # @return [String]
10031
10871
  attr_accessor :shipping_date
10032
10872
 
10033
- #
10873
+ # State of the shipment.
10874
+ # Acceptable values are:
10875
+ # - "completed"
10876
+ # - "new"
10877
+ # - "shipped"
10878
+ # - "undeliverable"
10034
10879
  # Corresponds to the JSON property `state`
10035
10880
  # @return [String]
10036
10881
  attr_accessor :state
@@ -10100,6 +10945,10 @@ module Google
10100
10945
  attr_accessor :delivery_time
10101
10946
 
10102
10947
  # Eligibility for this service.
10948
+ # Acceptable values are:
10949
+ # - "All scenarios"
10950
+ # - "All scenarios except Shopping Actions"
10951
+ # - "Shopping Actions"
10103
10952
  # Corresponds to the JSON property `eligibility`
10104
10953
  # @return [String]
10105
10954
  attr_accessor :eligibility
@@ -10131,6 +10980,9 @@ module Google
10131
10980
  attr_accessor :rate_groups
10132
10981
 
10133
10982
  # Type of locations this service ships orders to.
10983
+ # Acceptable values are:
10984
+ # - "delivery"
10985
+ # - "pickup"
10134
10986
  # Corresponds to the JSON property `shipmentType`
10135
10987
  # @return [String]
10136
10988
  attr_accessor :shipment_type
@@ -10232,12 +11084,43 @@ module Google
10232
11084
  class ShipmentTrackingInfo
10233
11085
  include Google::Apis::Core::Hashable
10234
11086
 
10235
- #
11087
+ # The shipping carrier that handles the package.
11088
+ # Acceptable values are:
11089
+ # - "boxtal"
11090
+ # - "bpost"
11091
+ # - "chronopost"
11092
+ # - "colisPrive"
11093
+ # - "colissimo"
11094
+ # - "cxt"
11095
+ # - "deliv"
11096
+ # - "dhl"
11097
+ # - "dpd"
11098
+ # - "dynamex"
11099
+ # - "eCourier"
11100
+ # - "easypost"
11101
+ # - "efw"
11102
+ # - "fedex"
11103
+ # - "fedexSmartpost"
11104
+ # - "geodis"
11105
+ # - "gls"
11106
+ # - "googleCourier"
11107
+ # - "gsx"
11108
+ # - "jdLogistics"
11109
+ # - "laPoste"
11110
+ # - "lasership"
11111
+ # - "manual"
11112
+ # - "mpx"
11113
+ # - "onTrac"
11114
+ # - "other"
11115
+ # - "tnt"
11116
+ # - "uds"
11117
+ # - "ups"
11118
+ # - "usps"
10236
11119
  # Corresponds to the JSON property `carrier`
10237
11120
  # @return [String]
10238
11121
  attr_accessor :carrier
10239
11122
 
10240
- #
11123
+ # The tracking number for the package.
10241
11124
  # Corresponds to the JSON property `trackingNumber`
10242
11125
  # @return [String]
10243
11126
  attr_accessor :tracking_number
@@ -10324,7 +11207,10 @@ module Google
10324
11207
  # @return [Fixnum]
10325
11208
  attr_accessor :merchant_id
10326
11209
 
10327
- #
11210
+ # The method of the batch entry.
11211
+ # Acceptable values are:
11212
+ # - "get"
11213
+ # - "update"
10328
11214
  # Corresponds to the JSON property `method`
10329
11215
  # @return [String]
10330
11216
  attr_accessor :method_prop
@@ -10568,7 +11454,7 @@ module Google
10568
11454
  class TestOrder
10569
11455
  include Google::Apis::Core::Hashable
10570
11456
 
10571
- # The details of the customer who placed the order.
11457
+ # Required. The details of the customer who placed the order.
10572
11458
  # Corresponds to the JSON property `customer`
10573
11459
  # @return [Google::Apis::ContentV2::TestOrderCustomer]
10574
11460
  attr_accessor :customer
@@ -10585,13 +11471,16 @@ module Google
10585
11471
  # @return [String]
10586
11472
  attr_accessor :kind
10587
11473
 
10588
- # Line items that are ordered. At least one line item must be provided.
11474
+ # Required. Line items that are ordered. At least one line item must be provided.
10589
11475
  # Corresponds to the JSON property `lineItems`
10590
11476
  # @return [Array<Google::Apis::ContentV2::TestOrderLineItem>]
10591
11477
  attr_accessor :line_items
10592
11478
 
10593
11479
  # Determines if test order must be pulled by merchant or pushed to merchant via
10594
11480
  # push integration.
11481
+ # Acceptable values are:
11482
+ # - "checkoutIntegration"
11483
+ # - "merchantPull"
10595
11484
  # Corresponds to the JSON property `notificationMode`
10596
11485
  # @return [String]
10597
11486
  attr_accessor :notification_mode
@@ -10601,13 +11490,22 @@ module Google
10601
11490
  # @return [Google::Apis::ContentV2::TestOrderPaymentMethod]
10602
11491
  attr_accessor :payment_method
10603
11492
 
10604
- # Identifier of one of the predefined delivery addresses for the delivery.
11493
+ # Required. Identifier of one of the predefined delivery addresses for the
11494
+ # delivery.
11495
+ # Acceptable values are:
11496
+ # - "dwight"
11497
+ # - "jim"
11498
+ # - "pam"
10605
11499
  # Corresponds to the JSON property `predefinedDeliveryAddress`
10606
11500
  # @return [String]
10607
11501
  attr_accessor :predefined_delivery_address
10608
11502
 
10609
11503
  # Identifier of one of the predefined pickup details. Required for orders
10610
11504
  # containing line items with shipping type pickup.
11505
+ # Acceptable values are:
11506
+ # - "dwight"
11507
+ # - "jim"
11508
+ # - "pam"
10611
11509
  # Corresponds to the JSON property `predefinedPickupDetails`
10612
11510
  # @return [String]
10613
11511
  attr_accessor :predefined_pickup_details
@@ -10617,10 +11515,10 @@ module Google
10617
11515
  # @return [Array<Google::Apis::ContentV2::OrderLegacyPromotion>]
10618
11516
  attr_accessor :promotions
10619
11517
 
10620
- # The price of shipping for all items. Shipping tax is automatically calculated
10621
- # for orders where marketplace facilitator tax laws are applicable. Otherwise,
10622
- # tax settings from Merchant Center are applied. Note that shipping is not taxed
10623
- # in certain states.
11518
+ # Required. The price of shipping for all items. Shipping tax is automatically
11519
+ # calculated for orders where marketplace facilitator tax laws are applicable.
11520
+ # Otherwise, tax settings from Merchant Center are applied. Note that shipping
11521
+ # is not taxed in certain states.
10624
11522
  # Corresponds to the JSON property `shippingCost`
10625
11523
  # @return [Google::Apis::ContentV2::Price]
10626
11524
  attr_accessor :shipping_cost
@@ -10630,7 +11528,14 @@ module Google
10630
11528
  # @return [Google::Apis::ContentV2::Price]
10631
11529
  attr_accessor :shipping_cost_tax
10632
11530
 
10633
- # The requested shipping option.
11531
+ # Required. The requested shipping option.
11532
+ # Acceptable values are:
11533
+ # - "economy"
11534
+ # - "expedited"
11535
+ # - "oneDay"
11536
+ # - "sameDay"
11537
+ # - "standard"
11538
+ # - "twoDay"
10634
11539
  # Corresponds to the JSON property `shippingOption`
10635
11540
  # @return [String]
10636
11541
  attr_accessor :shipping_option
@@ -10660,7 +11565,11 @@ module Google
10660
11565
  class TestOrderCustomer
10661
11566
  include Google::Apis::Core::Hashable
10662
11567
 
10663
- # Email address of the customer.
11568
+ # Required. Email address of the customer.
11569
+ # Acceptable values are:
11570
+ # - "pog.dwight.schrute@gmail.com"
11571
+ # - "pog.jim.halpert@gmail.com"
11572
+ # - "penpog.pam.beesly@gmail.comding"
10664
11573
  # Corresponds to the JSON property `email`
10665
11574
  # @return [String]
10666
11575
  attr_accessor :email
@@ -10700,6 +11609,9 @@ module Google
10700
11609
 
10701
11610
  # Last know user use selection regards marketing preferences. In certain cases
10702
11611
  # selection might not be known, so this field would be empty.
11612
+ # Acceptable values are:
11613
+ # - "denied"
11614
+ # - "granted"
10703
11615
  # Corresponds to the JSON property `explicitMarketingPreference`
10704
11616
  # @return [String]
10705
11617
  attr_accessor :explicit_marketing_preference
@@ -10725,22 +11637,22 @@ module Google
10725
11637
  class TestOrderLineItem
10726
11638
  include Google::Apis::Core::Hashable
10727
11639
 
10728
- # Product data from the time of the order placement.
11640
+ # Required. Product data from the time of the order placement.
10729
11641
  # Corresponds to the JSON property `product`
10730
11642
  # @return [Google::Apis::ContentV2::TestOrderLineItemProduct]
10731
11643
  attr_accessor :product
10732
11644
 
10733
- # Number of items ordered.
11645
+ # Required. Number of items ordered.
10734
11646
  # Corresponds to the JSON property `quantityOrdered`
10735
11647
  # @return [Fixnum]
10736
11648
  attr_accessor :quantity_ordered
10737
11649
 
10738
- # Details of the return policy for the line item.
11650
+ # Required. Details of the return policy for the line item.
10739
11651
  # Corresponds to the JSON property `returnInfo`
10740
11652
  # @return [Google::Apis::ContentV2::OrderLineItemReturnInfo]
10741
11653
  attr_accessor :return_info
10742
11654
 
10743
- # Details of the requested shipping for the line item.
11655
+ # Required. Details of the requested shipping for the line item.
10744
11656
  # Corresponds to the JSON property `shippingDetails`
10745
11657
  # @return [Google::Apis::ContentV2::OrderLineItemShippingDetails]
10746
11658
  attr_accessor :shipping_details
@@ -10768,22 +11680,29 @@ module Google
10768
11680
  class TestOrderLineItemProduct
10769
11681
  include Google::Apis::Core::Hashable
10770
11682
 
10771
- # Brand of the item.
11683
+ # Required. Brand of the item.
10772
11684
  # Corresponds to the JSON property `brand`
10773
11685
  # @return [String]
10774
11686
  attr_accessor :brand
10775
11687
 
10776
11688
  # Deprecated.
11689
+ # Acceptable values are:
11690
+ # - "online"
10777
11691
  # Corresponds to the JSON property `channel`
10778
11692
  # @return [String]
10779
11693
  attr_accessor :channel
10780
11694
 
10781
- # Condition or state of the item.
11695
+ # Required. Condition or state of the item.
11696
+ # Acceptable values are:
11697
+ # - "new"
10782
11698
  # Corresponds to the JSON property `condition`
10783
11699
  # @return [String]
10784
11700
  attr_accessor :condition
10785
11701
 
10786
- # The two-letter ISO 639-1 language code for the item.
11702
+ # Required. The two-letter ISO 639-1 language code for the item.
11703
+ # Acceptable values are:
11704
+ # - "en"
11705
+ # - "fr"
10787
11706
  # Corresponds to the JSON property `contentLanguage`
10788
11707
  # @return [String]
10789
11708
  attr_accessor :content_language
@@ -10798,7 +11717,7 @@ module Google
10798
11717
  # @return [String]
10799
11718
  attr_accessor :gtin
10800
11719
 
10801
- # URL of an image of the item.
11720
+ # Required. URL of an image of the item.
10802
11721
  # Corresponds to the JSON property `imageLink`
10803
11722
  # @return [String]
10804
11723
  attr_accessor :image_link
@@ -10813,24 +11732,24 @@ module Google
10813
11732
  # @return [String]
10814
11733
  attr_accessor :mpn
10815
11734
 
10816
- # An identifier of the item.
11735
+ # Required. An identifier of the item.
10817
11736
  # Corresponds to the JSON property `offerId`
10818
11737
  # @return [String]
10819
11738
  attr_accessor :offer_id
10820
11739
 
10821
- # The price for the product. Tax is automatically calculated for orders where
10822
- # marketplace facilitator tax laws are applicable. Otherwise, tax settings from
10823
- # Merchant Center are applied.
11740
+ # Required. The price for the product. Tax is automatically calculated for
11741
+ # orders where marketplace facilitator tax laws are applicable. Otherwise, tax
11742
+ # settings from Merchant Center are applied.
10824
11743
  # Corresponds to the JSON property `price`
10825
11744
  # @return [Google::Apis::ContentV2::Price]
10826
11745
  attr_accessor :price
10827
11746
 
10828
- # The CLDR territory code of the target country of the product.
11747
+ # Required. The CLDR territory code of the target country of the product.
10829
11748
  # Corresponds to the JSON property `targetCountry`
10830
11749
  # @return [String]
10831
11750
  attr_accessor :target_country
10832
11751
 
10833
- # The title of the product.
11752
+ # Required. The title of the product.
10834
11753
  # Corresponds to the JSON property `title`
10835
11754
  # @return [String]
10836
11755
  attr_accessor :title
@@ -10883,12 +11802,21 @@ module Google
10883
11802
  attr_accessor :last_four_digits
10884
11803
 
10885
11804
  # The billing address.
11805
+ # Acceptable values are:
11806
+ # - "dwight"
11807
+ # - "jim"
11808
+ # - "pam"
10886
11809
  # Corresponds to the JSON property `predefinedBillingAddress`
10887
11810
  # @return [String]
10888
11811
  attr_accessor :predefined_billing_address
10889
11812
 
10890
11813
  # The type of instrument. Note that real orders might have different values than
10891
11814
  # the four values accepted by createTestOrder.
11815
+ # Acceptable values are:
11816
+ # - "AMEX"
11817
+ # - "DISCOVER"
11818
+ # - "MASTERCARD"
11819
+ # - "VISA"
10892
11820
  # Corresponds to the JSON property `type`
10893
11821
  # @return [String]
10894
11822
  attr_accessor :type
@@ -11038,6 +11966,8 @@ module Google
11038
11966
  attr_accessor :additional_charge_promotions
11039
11967
 
11040
11968
  # [required] Type of the additional charge.
11969
+ # Acceptable values are:
11970
+ # - "shipping"
11041
11971
  # Corresponds to the JSON property `type`
11042
11972
  # @return [String]
11043
11973
  attr_accessor :type
@@ -11070,6 +12000,10 @@ module Google
11070
12000
  attr_accessor :tax_name
11071
12001
 
11072
12002
  # [required] Type of the tax.
12003
+ # Acceptable values are:
12004
+ # - "otherFee"
12005
+ # - "otherFeeTax"
12006
+ # - "sales"
11073
12007
  # Corresponds to the JSON property `taxType`
11074
12008
  # @return [String]
11075
12009
  attr_accessor :tax_type
@@ -11140,12 +12074,15 @@ module Google
11140
12074
  class Weight
11141
12075
  include Google::Apis::Core::Hashable
11142
12076
 
11143
- # The weight unit.
12077
+ # Required. The weight unit.
12078
+ # Acceptable values are:
12079
+ # - "kg"
12080
+ # - "lb"
11144
12081
  # Corresponds to the JSON property `unit`
11145
12082
  # @return [String]
11146
12083
  attr_accessor :unit
11147
12084
 
11148
- # The weight represented as a number.
12085
+ # Required. The weight represented as a number.
11149
12086
  # Corresponds to the JSON property `value`
11150
12087
  # @return [String]
11151
12088
  attr_accessor :value