google-api-client 0.37.3 → 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 (440) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +146 -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/accesscontextmanager_v1.rb +1 -1
  7. data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
  8. data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
  9. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  10. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
  11. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
  17. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  18. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  19. data/generated/google/apis/adsense_v1_4.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
  28. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  29. data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  32. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  33. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
  34. data/generated/google/apis/appengine_v1.rb +1 -1
  35. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  36. data/generated/google/apis/appengine_v1beta.rb +1 -1
  37. data/generated/google/apis/bigquery_v2.rb +1 -1
  38. data/generated/google/apis/bigquery_v2/classes.rb +224 -5
  39. data/generated/google/apis/bigquery_v2/representations.rb +65 -0
  40. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
  43. data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
  44. data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
  47. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
  48. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
  49. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  50. data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
  51. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
  53. data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
  54. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  55. data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
  56. data/generated/google/apis/blogger_v2.rb +5 -4
  57. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  58. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  59. data/generated/google/apis/blogger_v2/service.rb +79 -134
  60. data/generated/google/apis/blogger_v3.rb +4 -3
  61. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  62. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  63. data/generated/google/apis/blogger_v3/service.rb +183 -463
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +1 -14
  66. data/generated/google/apis/chat_v1.rb +1 -1
  67. data/generated/google/apis/chat_v1/classes.rb +1 -1
  68. data/generated/google/apis/cloudasset_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
  70. data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
  71. data/generated/google/apis/cloudasset_v1/service.rb +2 -2
  72. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  73. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
  74. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
  75. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
  76. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  77. data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
  78. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  79. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
  81. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  87. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  88. data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
  89. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
  90. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  91. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
  92. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
  93. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
  94. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
  98. data/generated/google/apis/cloudshell_v1.rb +1 -1
  99. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  102. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  103. data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
  104. data/generated/google/apis/cloudtrace_v2.rb +3 -3
  105. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  106. data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
  107. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
  108. data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
  109. data/generated/google/apis/composer_v1.rb +1 -1
  110. data/generated/google/apis/composer_v1/classes.rb +178 -0
  111. data/generated/google/apis/composer_v1/representations.rb +54 -0
  112. data/generated/google/apis/composer_v1beta1.rb +1 -1
  113. data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
  114. data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
  115. data/generated/google/apis/compute_alpha.rb +1 -1
  116. data/generated/google/apis/compute_alpha/classes.rb +1320 -307
  117. data/generated/google/apis/compute_alpha/representations.rb +284 -18
  118. data/generated/google/apis/compute_alpha/service.rb +4914 -3211
  119. data/generated/google/apis/compute_beta.rb +1 -1
  120. data/generated/google/apis/compute_beta/classes.rb +819 -236
  121. data/generated/google/apis/compute_beta/representations.rb +245 -16
  122. data/generated/google/apis/compute_beta/service.rb +3369 -2227
  123. data/generated/google/apis/compute_v1.rb +1 -1
  124. data/generated/google/apis/compute_v1/classes.rb +837 -133
  125. data/generated/google/apis/compute_v1/representations.rb +307 -0
  126. data/generated/google/apis/compute_v1/service.rb +3155 -2026
  127. data/generated/google/apis/container_v1.rb +1 -1
  128. data/generated/google/apis/container_v1/classes.rb +42 -22
  129. data/generated/google/apis/container_v1/service.rb +2 -2
  130. data/generated/google/apis/container_v1beta1.rb +1 -1
  131. data/generated/google/apis/container_v1beta1/classes.rb +116 -136
  132. data/generated/google/apis/container_v1beta1/representations.rb +23 -51
  133. data/generated/google/apis/container_v1beta1/service.rb +2 -2
  134. data/generated/google/apis/content_v2.rb +1 -1
  135. data/generated/google/apis/content_v2/classes.rb +1030 -113
  136. data/generated/google/apis/content_v2_1.rb +1 -1
  137. data/generated/google/apis/content_v2_1/classes.rb +987 -138
  138. data/generated/google/apis/content_v2_1/representations.rb +87 -0
  139. data/generated/google/apis/content_v2_1/service.rb +73 -0
  140. data/generated/google/apis/customsearch_v1.rb +3 -3
  141. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  142. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  143. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  144. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  145. data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
  146. data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
  147. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  148. data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
  149. data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
  150. data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
  151. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  152. data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
  153. data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
  154. data/generated/google/apis/dataproc_v1.rb +1 -1
  155. data/generated/google/apis/dataproc_v1/classes.rb +76 -7
  156. data/generated/google/apis/dataproc_v1/representations.rb +21 -0
  157. data/generated/google/apis/dataproc_v1/service.rb +72 -15
  158. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  159. data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
  160. data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
  161. data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
  167. data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
  168. data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
  169. data/generated/google/apis/dialogflow_v2.rb +1 -1
  170. data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
  171. data/generated/google/apis/dialogflow_v2/service.rb +49 -49
  172. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  173. data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
  175. data/generated/google/apis/dlp_v2.rb +1 -1
  176. data/generated/google/apis/dlp_v2/classes.rb +80 -14
  177. data/generated/google/apis/dlp_v2/representations.rb +32 -0
  178. data/generated/google/apis/dlp_v2/service.rb +3 -0
  179. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  180. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
  181. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  182. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  183. data/generated/google/apis/drive_v2.rb +1 -1
  184. data/generated/google/apis/drive_v2/classes.rb +54 -2
  185. data/generated/google/apis/drive_v2/representations.rb +18 -0
  186. data/generated/google/apis/drive_v2/service.rb +81 -9
  187. data/generated/google/apis/drive_v3.rb +1 -1
  188. data/generated/google/apis/drive_v3/classes.rb +54 -2
  189. data/generated/google/apis/drive_v3/representations.rb +18 -0
  190. data/generated/google/apis/drive_v3/service.rb +37 -4
  191. data/generated/google/apis/file_v1.rb +1 -1
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +2 -2
  194. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  195. data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
  196. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  197. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
  198. data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
  199. data/generated/google/apis/firestore_v1.rb +1 -1
  200. data/generated/google/apis/firestore_v1/classes.rb +11 -2
  201. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  202. data/generated/google/apis/firestore_v1/service.rb +2 -2
  203. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  204. data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
  205. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  206. data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
  207. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  208. data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
  209. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  210. data/generated/google/apis/games_management_v1management.rb +1 -1
  211. data/generated/google/apis/games_management_v1management/classes.rb +7 -0
  212. data/generated/google/apis/games_management_v1management/representations.rb +1 -0
  213. data/generated/google/apis/games_v1.rb +1 -1
  214. data/generated/google/apis/games_v1/classes.rb +13 -0
  215. data/generated/google/apis/games_v1/representations.rb +2 -0
  216. data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
  217. data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
  218. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  219. data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
  220. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  221. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  222. data/generated/google/apis/gmail_v1.rb +3 -2
  223. data/generated/google/apis/gmail_v1/classes.rb +258 -199
  224. data/generated/google/apis/gmail_v1/service.rb +552 -744
  225. data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
  226. data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
  227. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  228. data/generated/google/apis/healthcare_v1/service.rb +3470 -0
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
  231. data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
  232. data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
  233. data/generated/google/apis/homegraph_v1.rb +1 -1
  234. data/generated/google/apis/homegraph_v1/classes.rb +67 -63
  235. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  236. data/generated/google/apis/iap_v1.rb +1 -1
  237. data/generated/google/apis/iap_v1/classes.rb +190 -0
  238. data/generated/google/apis/iap_v1/representations.rb +66 -0
  239. data/generated/google/apis/jobs_v2.rb +1 -1
  240. data/generated/google/apis/language_v1.rb +1 -1
  241. data/generated/google/apis/language_v1/classes.rb +6 -6
  242. data/generated/google/apis/language_v1beta1.rb +1 -1
  243. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  244. data/generated/google/apis/language_v1beta2.rb +1 -1
  245. data/generated/google/apis/language_v1beta2/classes.rb +8 -7
  246. data/generated/google/apis/logging_v2.rb +3 -3
  247. data/generated/google/apis/logging_v2/classes.rb +3 -4
  248. data/generated/google/apis/logging_v2/service.rb +2 -2
  249. data/generated/google/apis/managedidentities_v1.rb +1 -1
  250. data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
  251. data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
  252. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  253. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
  254. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
  255. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  256. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
  257. data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
  258. data/generated/google/apis/manufacturers_v1.rb +1 -1
  259. data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
  260. data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
  261. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  262. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
  263. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  264. data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
  265. data/generated/google/apis/ml_v1.rb +1 -1
  266. data/generated/google/apis/ml_v1/classes.rb +47 -7
  267. data/generated/google/apis/ml_v1/representations.rb +4 -0
  268. data/generated/google/apis/monitoring_v1.rb +7 -8
  269. data/generated/google/apis/monitoring_v1/classes.rb +54 -15
  270. data/generated/google/apis/monitoring_v1/representations.rb +3 -0
  271. data/generated/google/apis/monitoring_v1/service.rb +7 -8
  272. data/generated/google/apis/monitoring_v3.rb +7 -8
  273. data/generated/google/apis/monitoring_v3/classes.rb +300 -27
  274. data/generated/google/apis/monitoring_v3/representations.rb +128 -0
  275. data/generated/google/apis/monitoring_v3/service.rb +52 -17
  276. data/generated/google/apis/oauth2_v2.rb +4 -4
  277. data/generated/google/apis/oauth2_v2/classes.rb +1 -13
  278. data/generated/google/apis/oauth2_v2/representations.rb +2 -4
  279. data/generated/google/apis/oauth2_v2/service.rb +10 -12
  280. data/generated/google/apis/osconfig_v1.rb +35 -0
  281. data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
  282. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  283. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  284. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  285. data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
  286. data/generated/google/apis/people_v1.rb +1 -1
  287. data/generated/google/apis/people_v1/classes.rb +30 -12
  288. data/generated/google/apis/people_v1/representations.rb +1 -0
  289. data/generated/google/apis/people_v1/service.rb +12 -24
  290. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  291. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
  292. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
  293. data/generated/google/apis/pubsub_v1.rb +1 -1
  294. data/generated/google/apis/pubsub_v1/classes.rb +9 -5
  295. data/generated/google/apis/pubsub_v1/service.rb +1 -1
  296. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  297. data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
  298. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  299. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
  300. data/generated/google/apis/redis_v1.rb +1 -1
  301. data/generated/google/apis/redis_v1/classes.rb +30 -7
  302. data/generated/google/apis/redis_v1/representations.rb +13 -0
  303. data/generated/google/apis/redis_v1/service.rb +36 -0
  304. data/generated/google/apis/redis_v1beta1.rb +1 -1
  305. data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
  306. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  307. data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
  308. data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
  309. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  310. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
  311. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
  312. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  313. data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
  314. data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
  315. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  316. data/generated/google/apis/run_v1.rb +1 -1
  317. data/generated/google/apis/run_v1/classes.rb +6 -13
  318. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  319. data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
  320. data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
  321. data/generated/google/apis/secretmanager_v1.rb +2 -2
  322. data/generated/google/apis/secretmanager_v1/service.rb +4 -1
  323. data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
  324. data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
  325. data/generated/google/apis/securitycenter_v1.rb +4 -4
  326. data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
  327. data/generated/google/apis/securitycenter_v1/service.rb +11 -3
  328. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  329. data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
  330. data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
  331. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  332. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
  333. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  334. data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
  335. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
  336. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
  337. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  338. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
  339. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  340. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
  341. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
  342. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
  343. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  344. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  345. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
  346. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
  347. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
  348. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
  349. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  350. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  351. data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
  352. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  353. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  354. data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
  355. data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
  356. data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
  357. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  358. data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
  359. data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
  360. data/generated/google/apis/serviceusage_v1.rb +1 -1
  361. data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
  362. data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
  363. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  364. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  365. data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
  366. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
  367. data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
  368. data/generated/google/apis/sheets_v4.rb +1 -1
  369. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  370. data/generated/google/apis/spanner_v1.rb +1 -1
  371. data/generated/google/apis/spanner_v1/classes.rb +463 -1
  372. data/generated/google/apis/spanner_v1/representations.rb +178 -0
  373. data/generated/google/apis/spanner_v1/service.rb +498 -10
  374. data/generated/google/apis/speech_v1.rb +1 -1
  375. data/generated/google/apis/speech_v1/classes.rb +7 -3
  376. data/generated/google/apis/speech_v1/representations.rb +1 -0
  377. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  378. data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
  379. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  380. data/generated/google/apis/speech_v2beta1.rb +1 -1
  381. data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
  382. data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
  383. data/generated/google/apis/sql_v1beta4.rb +1 -1
  384. data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
  385. data/generated/google/apis/sql_v1beta4/service.rb +54 -384
  386. data/generated/google/apis/storage_v1.rb +1 -1
  387. data/generated/google/apis/storage_v1/classes.rb +18 -0
  388. data/generated/google/apis/storage_v1/representations.rb +2 -0
  389. data/generated/google/apis/storage_v1/service.rb +28 -3
  390. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  391. data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
  392. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  393. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  394. data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
  395. data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
  396. data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
  397. data/generated/google/apis/vault_v1.rb +1 -1
  398. data/generated/google/apis/videointelligence_v1.rb +1 -1
  399. data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
  400. data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
  401. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  402. data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
  403. data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
  404. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
  406. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
  407. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  408. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
  409. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
  410. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  411. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
  412. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
  413. data/generated/google/apis/vision_v1.rb +1 -1
  414. data/generated/google/apis/vision_v1/classes.rb +1 -1
  415. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  416. data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
  417. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  418. data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
  419. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  420. data/generated/google/apis/youtube_v3.rb +4 -1
  421. data/generated/google/apis/youtube_v3/classes.rb +7 -0
  422. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  423. data/lib/google/apis/generator/annotator.rb +1 -1
  424. data/lib/google/apis/version.rb +1 -1
  425. metadata +32 -23
  426. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  427. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
  428. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  429. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
  430. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  431. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  432. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  433. data/generated/google/apis/mirror_v1/service.rb +0 -928
  434. data/generated/google/apis/oauth2_v1.rb +0 -40
  435. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  436. data/generated/google/apis/oauth2_v1/representations.rb +0 -73
  437. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  438. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  439. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  440. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2_1
28
28
  VERSION = 'V2_1'
29
- REVISION = '20200226'
29
+ REVISION = '20200310'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -54,7 +54,7 @@ module Google
54
54
  # @return [Google::Apis::ContentV2_1::AccountGoogleMyBusinessLink]
55
55
  attr_accessor :google_my_business_link
56
56
 
57
- # Merchant Center account ID.
57
+ # Required for update. Merchant Center account ID.
58
58
  # Corresponds to the JSON property `id`
59
59
  # @return [Fixnum]
60
60
  attr_accessor :id
@@ -65,7 +65,7 @@ module Google
65
65
  # @return [String]
66
66
  attr_accessor :kind
67
67
 
68
- # Display name for the account.
68
+ # Required. Display name for the account.
69
69
  # Corresponds to the JSON property `name`
70
70
  # @return [String]
71
71
  attr_accessor :name
@@ -178,6 +178,9 @@ module Google
178
178
  # uploading a link with deprecated status inactive is equivalent to not
179
179
  # submitting the link at all and will delete the link if it was active or cancel
180
180
  # the link request if it was pending.
181
+ # Acceptable values are:
182
+ # - "active"
183
+ # - "pending"
181
184
  # Corresponds to the JSON property `status`
182
185
  # @return [String]
183
186
  attr_accessor :status
@@ -267,6 +270,9 @@ module Google
267
270
  attr_accessor :gmb_email
268
271
 
269
272
  # Status of the link between this Merchant Center account and the GMB account.
273
+ # Acceptable values are:
274
+ # - "active"
275
+ # - "pending"
270
276
  # Corresponds to the JSON property `status`
271
277
  # @return [String]
272
278
  attr_accessor :status
@@ -385,6 +391,10 @@ module Google
385
391
  attr_accessor :id
386
392
 
387
393
  # Severity of the issue.
394
+ # Acceptable values are:
395
+ # - "critical"
396
+ # - "error"
397
+ # - "suggestion"
388
398
  # Corresponds to the JSON property `severity`
389
399
  # @return [String]
390
400
  attr_accessor :severity
@@ -476,6 +486,9 @@ module Google
476
486
  include Google::Apis::Core::Hashable
477
487
 
478
488
  # The channel the data applies to.
489
+ # Acceptable values are:
490
+ # - "local"
491
+ # - "online"
479
492
  # Corresponds to the JSON property `channel`
480
493
  # @return [String]
481
494
  attr_accessor :channel
@@ -555,7 +568,7 @@ module Google
555
568
  class AccountTax
556
569
  include Google::Apis::Core::Hashable
557
570
 
558
- # The ID of the account to which these account tax settings belong.
571
+ # Required. The ID of the account to which these account tax settings belong.
559
572
  # Corresponds to the JSON property `accountId`
560
573
  # @return [Fixnum]
561
574
  attr_accessor :account_id
@@ -593,8 +606,8 @@ module Google
593
606
  # @return [String]
594
607
  attr_accessor :country
595
608
 
596
- # State (or province) is which the tax is applicable, described by its location
597
- # ID (also called criteria ID).
609
+ # Required. State (or province) is which the tax is applicable, described by its
610
+ # location ID (also called criteria ID).
598
611
  # Corresponds to the JSON property `locationId`
599
612
  # @return [Fixnum]
600
613
  attr_accessor :location_id
@@ -819,6 +832,13 @@ module Google
819
832
  attr_accessor :merchant_id
820
833
 
821
834
  # The method of the batch entry.
835
+ # Acceptable values are:
836
+ # - "claimWebsite"
837
+ # - "delete"
838
+ # - "get"
839
+ # - "insert"
840
+ # - "link"
841
+ # - "update"
822
842
  # Corresponds to the JSON property `method`
823
843
  # @return [String]
824
844
  attr_accessor :method_prop
@@ -853,11 +873,18 @@ module Google
853
873
 
854
874
  # Action to perform for this link. The "request" action is only available to
855
875
  # select merchants.
876
+ # Acceptable values are:
877
+ # - "approve"
878
+ # - "remove"
879
+ # - "request"
856
880
  # Corresponds to the JSON property `action`
857
881
  # @return [String]
858
882
  attr_accessor :action
859
883
 
860
884
  # Type of the link between the two accounts.
885
+ # Acceptable values are:
886
+ # - "channelPartner"
887
+ # - "eCommercePlatform"
861
888
  # Corresponds to the JSON property `linkType`
862
889
  # @return [String]
863
890
  attr_accessor :link_type
@@ -957,11 +984,18 @@ module Google
957
984
 
958
985
  # Action to perform for this link. The "request" action is only available to
959
986
  # select merchants.
987
+ # Acceptable values are:
988
+ # - "approve"
989
+ # - "remove"
990
+ # - "request"
960
991
  # Corresponds to the JSON property `action`
961
992
  # @return [String]
962
993
  attr_accessor :action
963
994
 
964
995
  # Type of the link between the two accounts.
996
+ # Acceptable values are:
997
+ # - "channelPartner"
998
+ # - "eCommercePlatform"
965
999
  # Corresponds to the JSON property `linkType`
966
1000
  # @return [String]
967
1001
  attr_accessor :link_type
@@ -1117,7 +1151,9 @@ module Google
1117
1151
  # @return [Fixnum]
1118
1152
  attr_accessor :merchant_id
1119
1153
 
1120
- # The method (get).
1154
+ # The method of the batch entry.
1155
+ # Acceptable values are:
1156
+ # - "get"
1121
1157
  # Corresponds to the JSON property `method`
1122
1158
  # @return [String]
1123
1159
  attr_accessor :method_prop
@@ -1269,7 +1305,10 @@ module Google
1269
1305
  # @return [Fixnum]
1270
1306
  attr_accessor :merchant_id
1271
1307
 
1272
- #
1308
+ # The method of the batch entry.
1309
+ # Acceptable values are:
1310
+ # - "get"
1311
+ # - "update"
1273
1312
  # Corresponds to the JSON property `method`
1274
1313
  # @return [String]
1275
1314
  attr_accessor :method_prop
@@ -1559,6 +1598,21 @@ module Google
1559
1598
  attr_accessor :description
1560
1599
 
1561
1600
  # Code of the return reason.
1601
+ # Acceptable values are:
1602
+ # - "betterPriceFound"
1603
+ # - "changedMind"
1604
+ # - "damagedOrDefectiveItem"
1605
+ # - "didNotMatchDescription"
1606
+ # - "doesNotFit"
1607
+ # - "expiredItem"
1608
+ # - "incorrectItemReceived"
1609
+ # - "noLongerNeeded"
1610
+ # - "notSpecified"
1611
+ # - "orderedWrongItem"
1612
+ # - "other"
1613
+ # - "qualityNotExpected"
1614
+ # - "receivedTooLate"
1615
+ # - "undeliverable"
1562
1616
  # Corresponds to the JSON property `reasonCode`
1563
1617
  # @return [String]
1564
1618
  attr_accessor :reason_code
@@ -1618,8 +1672,12 @@ module Google
1618
1672
  # @return [String]
1619
1673
  attr_accessor :attribute_language
1620
1674
 
1621
- # The type of data feed. For product inventory feeds, only feeds for local
1622
- # stores, not online stores, are supported.
1675
+ # Required. The type of data feed. For product inventory feeds, only feeds for
1676
+ # local stores, not online stores, are supported.
1677
+ # Acceptable values are:
1678
+ # - "local products"
1679
+ # - "product inventory"
1680
+ # - "products"
1623
1681
  # Corresponds to the JSON property `contentType`
1624
1682
  # @return [String]
1625
1683
  attr_accessor :content_type
@@ -1632,7 +1690,7 @@ module Google
1632
1690
  # @return [Google::Apis::ContentV2_1::DatafeedFetchSchedule]
1633
1691
  attr_accessor :fetch_schedule
1634
1692
 
1635
- # The filename of the feed. All feeds must have a unique file name.
1693
+ # Required. The filename of the feed. All feeds must have a unique file name.
1636
1694
  # Corresponds to the JSON property `fileName`
1637
1695
  # @return [String]
1638
1696
  attr_accessor :file_name
@@ -1642,7 +1700,7 @@ module Google
1642
1700
  # @return [Google::Apis::ContentV2_1::DatafeedFormat]
1643
1701
  attr_accessor :format
1644
1702
 
1645
- # The ID of the data feed.
1703
+ # Required for update. The ID of the data feed.
1646
1704
  # Corresponds to the JSON property `id`
1647
1705
  # @return [Fixnum]
1648
1706
  attr_accessor :id
@@ -1653,7 +1711,7 @@ module Google
1653
1711
  # @return [String]
1654
1712
  attr_accessor :kind
1655
1713
 
1656
- # A descriptive name of the data feed.
1714
+ # Required for insert. A descriptive name of the data feed.
1657
1715
  # Corresponds to the JSON property `name`
1658
1716
  # @return [String]
1659
1717
  attr_accessor :name
@@ -1733,6 +1791,14 @@ module Google
1733
1791
  attr_accessor :username
1734
1792
 
1735
1793
  # The day of the week the feed file should be fetched.
1794
+ # Acceptable values are:
1795
+ # - "monday"
1796
+ # - "tuesday"
1797
+ # - "wednesday"
1798
+ # - "thursday"
1799
+ # - "friday"
1800
+ # - "saturday"
1801
+ # - "sunday"
1736
1802
  # Corresponds to the JSON property `weekday`
1737
1803
  # @return [String]
1738
1804
  attr_accessor :weekday
@@ -1762,18 +1828,31 @@ module Google
1762
1828
  # Delimiter for the separation of values in a delimiter-separated values feed.
1763
1829
  # If not specified, the delimiter will be auto-detected. Ignored for non-DSV
1764
1830
  # data feeds.
1831
+ # Acceptable values are:
1832
+ # - "pipe"
1833
+ # - "tab"
1834
+ # - "tilde"
1765
1835
  # Corresponds to the JSON property `columnDelimiter`
1766
1836
  # @return [String]
1767
1837
  attr_accessor :column_delimiter
1768
1838
 
1769
1839
  # Character encoding scheme of the data feed. If not specified, the encoding
1770
1840
  # will be auto-detected.
1841
+ # Acceptable values are:
1842
+ # - "latin-1"
1843
+ # - "utf-16be"
1844
+ # - "utf-16le"
1845
+ # - "utf-8"
1846
+ # - "windows-1252"
1771
1847
  # Corresponds to the JSON property `fileEncoding`
1772
1848
  # @return [String]
1773
1849
  attr_accessor :file_encoding
1774
1850
 
1775
1851
  # Specifies how double quotes are interpreted. If not specified, the mode will
1776
1852
  # be auto-detected. Ignored for non-DSV data feeds.
1853
+ # Acceptable values are:
1854
+ # - "normal character"
1855
+ # - "value quoting"
1777
1856
  # Corresponds to the JSON property `quotingMode`
1778
1857
  # @return [String]
1779
1858
  attr_accessor :quoting_mode
@@ -1838,6 +1917,13 @@ module Google
1838
1917
  attr_accessor :last_upload_date
1839
1918
 
1840
1919
  # The processing status of the feed.
1920
+ # Acceptable values are:
1921
+ # - ""failure": The feed could not be processed or all items had errors."
1922
+ # - "in progress": The feed is being processed.
1923
+ # - "none": The feed has not yet been processed. For example, a feed that has
1924
+ # never been uploaded will have this processing status.
1925
+ # - "success": The feed was processed successfully, though some items might have
1926
+ # had errors.
1841
1927
  # Corresponds to the JSON property `processingStatus`
1842
1928
  # @return [String]
1843
1929
  attr_accessor :processing_status
@@ -2024,7 +2110,13 @@ module Google
2024
2110
  # @return [Fixnum]
2025
2111
  attr_accessor :merchant_id
2026
2112
 
2027
- #
2113
+ # The method of the batch entry.
2114
+ # Acceptable values are:
2115
+ # - "delete"
2116
+ # - "fetchNow"
2117
+ # - "get"
2118
+ # - "insert"
2119
+ # - "update"
2028
2120
  # Corresponds to the JSON property `method`
2029
2121
  # @return [String]
2030
2122
  attr_accessor :method_prop
@@ -2204,7 +2296,9 @@ module Google
2204
2296
  # @return [Fixnum]
2205
2297
  attr_accessor :merchant_id
2206
2298
 
2207
- #
2299
+ # The method of the batch entry.
2300
+ # Acceptable values are:
2301
+ # - "get"
2208
2302
  # Corresponds to the JSON property `method`
2209
2303
  # @return [String]
2210
2304
  attr_accessor :method_prop
@@ -2662,6 +2756,15 @@ module Google
2662
2756
  attr_accessor :id
2663
2757
 
2664
2758
  # The holiday type. Always present.
2759
+ # Acceptable values are:
2760
+ # - "Christmas"
2761
+ # - "Easter"
2762
+ # - "Father's Day"
2763
+ # - "Halloween"
2764
+ # - "Independence Day (USA)"
2765
+ # - "Mother's Day"
2766
+ # - "Thanksgiving"
2767
+ # - "Valentine's Day"
2665
2768
  # Corresponds to the JSON property `type`
2666
2769
  # @return [String]
2667
2770
  attr_accessor :type
@@ -2741,6 +2844,8 @@ module Google
2741
2844
  attr_accessor :total_amount
2742
2845
 
2743
2846
  # [required] Type of the additional charge.
2847
+ # Acceptable values are:
2848
+ # - "shipping"
2744
2849
  # Corresponds to the JSON property `type`
2745
2850
  # @return [String]
2746
2851
  attr_accessor :type
@@ -2761,6 +2866,10 @@ module Google
2761
2866
  include Google::Apis::Core::Hashable
2762
2867
 
2763
2868
  # The status of the verification process for the About page.
2869
+ # Acceptable values are:
2870
+ # - "active"
2871
+ # - "inactive"
2872
+ # - "pending"
2764
2873
  # Corresponds to the JSON property `status`
2765
2874
  # @return [String]
2766
2875
  attr_accessor :status
@@ -2790,7 +2899,7 @@ module Google
2790
2899
  # @return [Google::Apis::ContentV2_1::LiaAboutPageSettings]
2791
2900
  attr_accessor :about
2792
2901
 
2793
- # CLDR country code (e.g. "US").
2902
+ # Required. CLDR country code (e.g. "US").
2794
2903
  # Corresponds to the JSON property `country`
2795
2904
  # @return [String]
2796
2905
  attr_accessor :country
@@ -2853,11 +2962,19 @@ module Google
2853
2962
  attr_accessor :inventory_verification_contact_name
2854
2963
 
2855
2964
  # The status of the verification contact.
2965
+ # Acceptable values are:
2966
+ # - "active"
2967
+ # - "inactive"
2968
+ # - "pending"
2856
2969
  # Corresponds to the JSON property `inventoryVerificationContactStatus`
2857
2970
  # @return [String]
2858
2971
  attr_accessor :inventory_verification_contact_status
2859
2972
 
2860
2973
  # The status of the inventory verification process.
2974
+ # Acceptable values are:
2975
+ # - "active"
2976
+ # - "inactive"
2977
+ # - "pending"
2861
2978
  # Corresponds to the JSON property `status`
2862
2979
  # @return [String]
2863
2980
  attr_accessor :status
@@ -2885,6 +3002,10 @@ module Google
2885
3002
  attr_accessor :shipping_cost_policy_url
2886
3003
 
2887
3004
  # The status of the ?On display to order? feature.
3005
+ # Acceptable values are:
3006
+ # - "active"
3007
+ # - "inactive"
3008
+ # - "pending"
2888
3009
  # Corresponds to the JSON property `status`
2889
3010
  # @return [String]
2890
3011
  attr_accessor :status
@@ -3025,7 +3146,14 @@ module Google
3025
3146
  # @return [Fixnum]
3026
3147
  attr_accessor :merchant_id
3027
3148
 
3028
- #
3149
+ # The method of the batch entry.
3150
+ # Acceptable values are:
3151
+ # - "get"
3152
+ # - "getAccessibleGmbAccounts"
3153
+ # - "requestGmbAccess"
3154
+ # - "requestInventoryVerification"
3155
+ # - "setInventoryVerificationContact"
3156
+ # - "update"
3029
3157
  # Corresponds to the JSON property `method`
3030
3158
  # @return [String]
3031
3159
  attr_accessor :method_prop
@@ -3312,11 +3440,19 @@ module Google
3312
3440
  include Google::Apis::Core::Hashable
3313
3441
 
3314
3442
  # Service provided to or by the linked account.
3443
+ # Acceptable values are:
3444
+ # - "shoppingActionsOrderManagement"
3445
+ # - "shoppingActionsProductManagement"
3446
+ # - "shoppingAdsProductManagement"
3315
3447
  # Corresponds to the JSON property `service`
3316
3448
  # @return [String]
3317
3449
  attr_accessor :service
3318
3450
 
3319
3451
  # Status of the link
3452
+ # Acceptable values are:
3453
+ # - "active"
3454
+ # - "inactive"
3455
+ # - "pending"
3320
3456
  # Corresponds to the JSON property `status`
3321
3457
  # @return [String]
3322
3458
  attr_accessor :status
@@ -3357,6 +3493,207 @@ module Google
3357
3493
  end
3358
3494
  end
3359
3495
 
3496
+ # Local inventory resource. For accepted attribute values, see the local product
3497
+ # inventory feed specification.
3498
+ class LocalInventory
3499
+ include Google::Apis::Core::Hashable
3500
+
3501
+ # Availability of the product.
3502
+ # Corresponds to the JSON property `availability`
3503
+ # @return [String]
3504
+ attr_accessor :availability
3505
+
3506
+ # In-store product location.
3507
+ # Corresponds to the JSON property `instoreProductLocation`
3508
+ # @return [String]
3509
+ attr_accessor :instore_product_location
3510
+
3511
+ # Identifies what kind of resource this is. Value: the fixed string "content#
3512
+ # localInventory".
3513
+ # Corresponds to the JSON property `kind`
3514
+ # @return [String]
3515
+ attr_accessor :kind
3516
+
3517
+ # Supported pickup method for this offer. Unless the value is "not supported",
3518
+ # this field must be submitted together with pickupSla.
3519
+ # Corresponds to the JSON property `pickupMethod`
3520
+ # @return [String]
3521
+ attr_accessor :pickup_method
3522
+
3523
+ # Expected date that an order will be ready for pickup relative to the order
3524
+ # date. Must be submitted together with pickupMethod.
3525
+ # Corresponds to the JSON property `pickupSla`
3526
+ # @return [String]
3527
+ attr_accessor :pickup_sla
3528
+
3529
+ # Price of the product.
3530
+ # Corresponds to the JSON property `price`
3531
+ # @return [Google::Apis::ContentV2_1::Price]
3532
+ attr_accessor :price
3533
+
3534
+ # Quantity of the product. Must be nonnegative.
3535
+ # Corresponds to the JSON property `quantity`
3536
+ # @return [Fixnum]
3537
+ attr_accessor :quantity
3538
+
3539
+ # Sale price of the product. Mandatory if sale_price_effective_date is defined.
3540
+ # Corresponds to the JSON property `salePrice`
3541
+ # @return [Google::Apis::ContentV2_1::Price]
3542
+ attr_accessor :sale_price
3543
+
3544
+ # A date range represented by a pair of ISO 8601 dates separated by a space,
3545
+ # comma, or slash. Both dates may be specified as 'null' if undecided.
3546
+ # Corresponds to the JSON property `salePriceEffectiveDate`
3547
+ # @return [String]
3548
+ attr_accessor :sale_price_effective_date
3549
+
3550
+ # Required. Store code of this local inventory resource.
3551
+ # Corresponds to the JSON property `storeCode`
3552
+ # @return [String]
3553
+ attr_accessor :store_code
3554
+
3555
+ def initialize(**args)
3556
+ update!(**args)
3557
+ end
3558
+
3559
+ # Update properties of this object
3560
+ def update!(**args)
3561
+ @availability = args[:availability] if args.key?(:availability)
3562
+ @instore_product_location = args[:instore_product_location] if args.key?(:instore_product_location)
3563
+ @kind = args[:kind] if args.key?(:kind)
3564
+ @pickup_method = args[:pickup_method] if args.key?(:pickup_method)
3565
+ @pickup_sla = args[:pickup_sla] if args.key?(:pickup_sla)
3566
+ @price = args[:price] if args.key?(:price)
3567
+ @quantity = args[:quantity] if args.key?(:quantity)
3568
+ @sale_price = args[:sale_price] if args.key?(:sale_price)
3569
+ @sale_price_effective_date = args[:sale_price_effective_date] if args.key?(:sale_price_effective_date)
3570
+ @store_code = args[:store_code] if args.key?(:store_code)
3571
+ end
3572
+ end
3573
+
3574
+ #
3575
+ class LocalinventoryCustomBatchRequest
3576
+ include Google::Apis::Core::Hashable
3577
+
3578
+ # The request entries to be processed in the batch.
3579
+ # Corresponds to the JSON property `entries`
3580
+ # @return [Array<Google::Apis::ContentV2_1::LocalinventoryCustomBatchRequestEntry>]
3581
+ attr_accessor :entries
3582
+
3583
+ def initialize(**args)
3584
+ update!(**args)
3585
+ end
3586
+
3587
+ # Update properties of this object
3588
+ def update!(**args)
3589
+ @entries = args[:entries] if args.key?(:entries)
3590
+ end
3591
+ end
3592
+
3593
+ # Batch entry encoding a single local inventory update request.
3594
+ class LocalinventoryCustomBatchRequestEntry
3595
+ include Google::Apis::Core::Hashable
3596
+
3597
+ # An entry ID, unique within the batch request.
3598
+ # Corresponds to the JSON property `batchId`
3599
+ # @return [Fixnum]
3600
+ attr_accessor :batch_id
3601
+
3602
+ # Local inventory resource. For accepted attribute values, see the local product
3603
+ # inventory feed specification.
3604
+ # Corresponds to the JSON property `localInventory`
3605
+ # @return [Google::Apis::ContentV2_1::LocalInventory]
3606
+ attr_accessor :local_inventory
3607
+
3608
+ # The ID of the managing account.
3609
+ # Corresponds to the JSON property `merchantId`
3610
+ # @return [Fixnum]
3611
+ attr_accessor :merchant_id
3612
+
3613
+ # Method of the batch request entry.
3614
+ # Acceptable values are:
3615
+ # - "insert"
3616
+ # Corresponds to the JSON property `method`
3617
+ # @return [String]
3618
+ attr_accessor :method_prop
3619
+
3620
+ # The ID of the product for which to update local inventory.
3621
+ # Corresponds to the JSON property `productId`
3622
+ # @return [String]
3623
+ attr_accessor :product_id
3624
+
3625
+ def initialize(**args)
3626
+ update!(**args)
3627
+ end
3628
+
3629
+ # Update properties of this object
3630
+ def update!(**args)
3631
+ @batch_id = args[:batch_id] if args.key?(:batch_id)
3632
+ @local_inventory = args[:local_inventory] if args.key?(:local_inventory)
3633
+ @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
3634
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
3635
+ @product_id = args[:product_id] if args.key?(:product_id)
3636
+ end
3637
+ end
3638
+
3639
+ #
3640
+ class LocalinventoryCustomBatchResponse
3641
+ include Google::Apis::Core::Hashable
3642
+
3643
+ # The result of the execution of the batch requests.
3644
+ # Corresponds to the JSON property `entries`
3645
+ # @return [Array<Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponseEntry>]
3646
+ attr_accessor :entries
3647
+
3648
+ # Identifies what kind of resource this is. Value: the fixed string "content#
3649
+ # localinventoryCustomBatchResponse".
3650
+ # Corresponds to the JSON property `kind`
3651
+ # @return [String]
3652
+ attr_accessor :kind
3653
+
3654
+ def initialize(**args)
3655
+ update!(**args)
3656
+ end
3657
+
3658
+ # Update properties of this object
3659
+ def update!(**args)
3660
+ @entries = args[:entries] if args.key?(:entries)
3661
+ @kind = args[:kind] if args.key?(:kind)
3662
+ end
3663
+ end
3664
+
3665
+ # Batch entry encoding a single local inventory update response.
3666
+ class LocalinventoryCustomBatchResponseEntry
3667
+ include Google::Apis::Core::Hashable
3668
+
3669
+ # The ID of the request entry this entry responds to.
3670
+ # Corresponds to the JSON property `batchId`
3671
+ # @return [Fixnum]
3672
+ attr_accessor :batch_id
3673
+
3674
+ # A list of errors returned by a failed batch entry.
3675
+ # Corresponds to the JSON property `errors`
3676
+ # @return [Google::Apis::ContentV2_1::Errors]
3677
+ attr_accessor :errors
3678
+
3679
+ # Identifies what kind of resource this is. Value: the fixed string "content#
3680
+ # localinventoryCustomBatchResponseEntry".
3681
+ # Corresponds to the JSON property `kind`
3682
+ # @return [String]
3683
+ attr_accessor :kind
3684
+
3685
+ def initialize(**args)
3686
+ update!(**args)
3687
+ end
3688
+
3689
+ # Update properties of this object
3690
+ def update!(**args)
3691
+ @batch_id = args[:batch_id] if args.key?(:batch_id)
3692
+ @errors = args[:errors] if args.key?(:errors)
3693
+ @kind = args[:kind] if args.key?(:kind)
3694
+ end
3695
+ end
3696
+
3360
3697
  #
3361
3698
  class LocationIdSet
3362
3699
  include Google::Apis::Core::Hashable
@@ -3491,6 +3828,12 @@ module Google
3491
3828
  attr_accessor :return_shipment_ids
3492
3829
 
3493
3830
  # State of the item.
3831
+ # Acceptable values are:
3832
+ # - "canceled"
3833
+ # - "new"
3834
+ # - "received"
3835
+ # - "refunded"
3836
+ # - "rejected"
3494
3837
  # Corresponds to the JSON property `state`
3495
3838
  # @return [String]
3496
3839
  attr_accessor :state
@@ -3577,6 +3920,11 @@ module Google
3577
3920
  attr_accessor :net_tax_amount
3578
3921
 
3579
3922
  # The status of the payment.
3923
+ # Acceptable values are:
3924
+ # - "paymentCaptured"
3925
+ # - "paymentRejected"
3926
+ # - "paymentSecured"
3927
+ # - "pendingAuthorization"
3580
3928
  # Corresponds to the JSON property `paymentStatus`
3581
3929
  # @return [String]
3582
3930
  attr_accessor :payment_status
@@ -3635,11 +3983,24 @@ module Google
3635
3983
  attr_accessor :shipping_cost_tax
3636
3984
 
3637
3985
  # The status of the order.
3986
+ # Acceptable values are:
3987
+ # - "canceled"
3988
+ # - "delivered"
3989
+ # - "inProgress"
3990
+ # - "partiallyDelivered"
3991
+ # - "partiallyReturned"
3992
+ # - "partiallyShipped"
3993
+ # - "pendingShipment"
3994
+ # - "returned"
3995
+ # - "shipped"
3638
3996
  # Corresponds to the JSON property `status`
3639
3997
  # @return [String]
3640
3998
  attr_accessor :status
3641
3999
 
3642
4000
  # The party responsible for collecting and remitting taxes.
4001
+ # Acceptable values are:
4002
+ # - "marketplaceFacilitator"
4003
+ # - "merchant"
3643
4004
  # Corresponds to the JSON property `taxCollector`
3644
4005
  # @return [String]
3645
4006
  attr_accessor :tax_collector
@@ -3748,6 +4109,13 @@ module Google
3748
4109
  include Google::Apis::Core::Hashable
3749
4110
 
3750
4111
  # The actor that created the cancellation.
4112
+ # Acceptable values are:
4113
+ # - "customer"
4114
+ # - "googleBot"
4115
+ # - "googleCustomerService"
4116
+ # - "googlePayments"
4117
+ # - "googleSabre"
4118
+ # - "merchant"
3751
4119
  # Corresponds to the JSON property `actor`
3752
4120
  # @return [String]
3753
4121
  attr_accessor :actor
@@ -3765,6 +4133,35 @@ module Google
3765
4133
  # The reason for the cancellation. Orders that are canceled with a noInventory
3766
4134
  # reason will lead to the removal of the product from Shopping Actions until you
3767
4135
  # make an update to that product. This will not affect your Shopping ads.
4136
+ # Acceptable values are:
4137
+ # - "autoPostInternal"
4138
+ # - "autoPostInvalidBillingAddress"
4139
+ # - "autoPostNoInventory"
4140
+ # - "autoPostPriceError"
4141
+ # - "autoPostUndeliverableShippingAddress"
4142
+ # - "couponAbuse"
4143
+ # - "customerCanceled"
4144
+ # - "customerInitiatedCancel"
4145
+ # - "customerSupportRequested"
4146
+ # - "failToPushOrderGoogleError"
4147
+ # - "failToPushOrderMerchantError"
4148
+ # - "failToPushOrderMerchantFulfillmentError"
4149
+ # - "failToPushOrderToMerchant"
4150
+ # - "failToPushOrderToMerchantOutOfStock"
4151
+ # - "invalidCoupon"
4152
+ # - "malformedShippingAddress"
4153
+ # - "merchantDidNotShipOnTime"
4154
+ # - "noInventory"
4155
+ # - "orderTimeout"
4156
+ # - "other"
4157
+ # - "paymentAbuse"
4158
+ # - "paymentDeclined"
4159
+ # - "priceError"
4160
+ # - "returnRefundAbuse"
4161
+ # - "shippingPriceError"
4162
+ # - "taxError"
4163
+ # - "undeliverableShippingAddress"
4164
+ # - "unsupportedPoBoxAddress"
3768
4165
  # Corresponds to the JSON property `reason`
3769
4166
  # @return [String]
3770
4167
  attr_accessor :reason
@@ -3864,6 +4261,9 @@ module Google
3864
4261
  # customer selected granted in their most recent order, they can be subscribed
3865
4262
  # to marketing emails. Customers who have chosen denied must not be subscribed,
3866
4263
  # or must be unsubscribed if already opted-in.
4264
+ # Acceptable values are:
4265
+ # - "denied"
4266
+ # - "granted"
3867
4267
  # Corresponds to the JSON property `explicitMarketingPreference`
3868
4268
  # @return [String]
3869
4269
  attr_accessor :explicit_marketing_preference
@@ -4058,6 +4458,8 @@ module Google
4058
4458
  attr_accessor :tax_adjustment
4059
4459
 
4060
4460
  # Type of this adjustment.
4461
+ # Acceptable values are:
4462
+ # - "promotion"
4061
4463
  # Corresponds to the JSON property `type`
4062
4464
  # @return [String]
4063
4465
  attr_accessor :type
@@ -4084,6 +4486,10 @@ module Google
4084
4486
  attr_accessor :brand
4085
4487
 
4086
4488
  # Condition or state of the item.
4489
+ # Acceptable values are:
4490
+ # - "new"
4491
+ # - "refurbished"
4492
+ # - "used"
4087
4493
  # Corresponds to the JSON property `condition`
4088
4494
  # @return [String]
4089
4495
  attr_accessor :condition
@@ -4233,18 +4639,18 @@ module Google
4233
4639
  class OrderLineItemReturnInfo
4234
4640
  include Google::Apis::Core::Hashable
4235
4641
 
4236
- # How many days later the item can be returned.
4642
+ # Required. How many days later the item can be returned.
4237
4643
  # Corresponds to the JSON property `daysToReturn`
4238
4644
  # @return [Fixnum]
4239
4645
  attr_accessor :days_to_return
4240
4646
 
4241
- # Whether the item is returnable.
4647
+ # Required. Whether the item is returnable.
4242
4648
  # Corresponds to the JSON property `isReturnable`
4243
4649
  # @return [Boolean]
4244
4650
  attr_accessor :is_returnable
4245
4651
  alias_method :is_returnable?, :is_returnable
4246
4652
 
4247
- # URL of the item return policy.
4653
+ # Required. URL of the item return policy.
4248
4654
  # Corresponds to the JSON property `policyUrl`
4249
4655
  # @return [String]
4250
4656
  attr_accessor :policy_url
@@ -4265,23 +4671,26 @@ module Google
4265
4671
  class OrderLineItemShippingDetails
4266
4672
  include Google::Apis::Core::Hashable
4267
4673
 
4268
- # The delivery by date, in ISO 8601 format.
4674
+ # Required. The delivery by date, in ISO 8601 format.
4269
4675
  # Corresponds to the JSON property `deliverByDate`
4270
4676
  # @return [String]
4271
4677
  attr_accessor :deliver_by_date
4272
4678
 
4273
- # Details of the shipping method.
4679
+ # Required. Details of the shipping method.
4274
4680
  # Corresponds to the JSON property `method`
4275
4681
  # @return [Google::Apis::ContentV2_1::OrderLineItemShippingDetailsMethod]
4276
4682
  attr_accessor :method_prop
4277
4683
 
4278
- # The ship by date, in ISO 8601 format.
4684
+ # Required. The ship by date, in ISO 8601 format.
4279
4685
  # Corresponds to the JSON property `shipByDate`
4280
4686
  # @return [String]
4281
4687
  attr_accessor :ship_by_date
4282
4688
 
4283
4689
  # Type of shipment. Indicates whether deliveryDetails or pickupDetails is
4284
4690
  # applicable for this shipment.
4691
+ # Acceptable values are:
4692
+ # - "delivery"
4693
+ # - "pickup"
4285
4694
  # Corresponds to the JSON property `type`
4286
4695
  # @return [String]
4287
4696
  attr_accessor :type
@@ -4309,17 +4718,17 @@ module Google
4309
4718
  # @return [String]
4310
4719
  attr_accessor :carrier
4311
4720
 
4312
- # Maximum transit time.
4721
+ # Required. Maximum transit time.
4313
4722
  # Corresponds to the JSON property `maxDaysInTransit`
4314
4723
  # @return [Fixnum]
4315
4724
  attr_accessor :max_days_in_transit
4316
4725
 
4317
- # The name of the shipping method.
4726
+ # Required. The name of the shipping method.
4318
4727
  # Corresponds to the JSON property `methodName`
4319
4728
  # @return [String]
4320
4729
  attr_accessor :method_name
4321
4730
 
4322
- # Minimum transit time.
4731
+ # Required. Minimum transit time.
4323
4732
  # Corresponds to the JSON property `minDaysInTransit`
4324
4733
  # @return [Fixnum]
4325
4734
  attr_accessor :min_days_in_transit
@@ -4444,13 +4853,17 @@ module Google
4444
4853
  # @return [String]
4445
4854
  attr_accessor :end_time
4446
4855
 
4447
- # The party funding the promotion. Only merchant is supported for orders.
4448
- # createtestorder.
4856
+ # Required. The party funding the promotion. Only merchant is supported for
4857
+ # orders.createtestorder.
4858
+ # Acceptable values are:
4859
+ # - "google"
4860
+ # - "merchant"
4449
4861
  # Corresponds to the JSON property `funder`
4450
4862
  # @return [String]
4451
4863
  attr_accessor :funder
4452
4864
 
4453
- # This field is used to identify promotions within merchants' own systems.
4865
+ # Required. This field is used to identify promotions within merchants' own
4866
+ # systems.
4454
4867
  # Corresponds to the JSON property `merchantPromotionId`
4455
4868
  # @return [String]
4456
4869
  attr_accessor :merchant_promotion_id
@@ -4473,8 +4886,23 @@ module Google
4473
4886
  # @return [String]
4474
4887
  attr_accessor :start_time
4475
4888
 
4476
- # The category of the promotion. Only moneyOff is supported for orders.
4889
+ # Required. The category of the promotion. Only moneyOff is supported for orders.
4477
4890
  # createtestorder.
4891
+ # Acceptable values are:
4892
+ # - "buyMGetMoneyOff"
4893
+ # - "buyMGetNMoneyOff"
4894
+ # - "buyMGetNPercentOff"
4895
+ # - "buyMGetPercentOff"
4896
+ # - "freeGift"
4897
+ # - "freeGiftWithItemId"
4898
+ # - "freeGiftWithValue"
4899
+ # - "freeShippingOvernight"
4900
+ # - "freeShippingStandard"
4901
+ # - "freeShippingTwoDay"
4902
+ # - "moneyOff"
4903
+ # - "percentOff"
4904
+ # - "rewardPoints"
4905
+ # - "salePrice"
4478
4906
  # Corresponds to the JSON property `subtype`
4479
4907
  # @return [String]
4480
4908
  attr_accessor :subtype
@@ -4485,13 +4913,16 @@ module Google
4485
4913
  # @return [Google::Apis::ContentV2_1::Price]
4486
4914
  attr_accessor :tax_value
4487
4915
 
4488
- # The title of the promotion.
4916
+ # Required. The title of the promotion.
4489
4917
  # Corresponds to the JSON property `title`
4490
4918
  # @return [String]
4491
4919
  attr_accessor :title
4492
4920
 
4493
- # The scope of the promotion. Only product is supported for orders.
4921
+ # Required. The scope of the promotion. Only product is supported for orders.
4494
4922
  # createtestorder.
4923
+ # Acceptable values are:
4924
+ # - "product"
4925
+ # - "shipping"
4495
4926
  # Corresponds to the JSON property `type`
4496
4927
  # @return [String]
4497
4928
  attr_accessor :type
@@ -4526,7 +4957,7 @@ module Google
4526
4957
  # @return [String]
4527
4958
  attr_accessor :line_item_id
4528
4959
 
4529
- # Offer ID of a product. Only for orders.createtestorder.
4960
+ # Required. Offer ID of a product. Only for orders.createtestorder.
4530
4961
  # Corresponds to the JSON property `offerId`
4531
4962
  # @return [String]
4532
4963
  attr_accessor :offer_id
@@ -4560,6 +4991,13 @@ module Google
4560
4991
  include Google::Apis::Core::Hashable
4561
4992
 
4562
4993
  # The actor that created the refund.
4994
+ # Acceptable values are:
4995
+ # - "customer"
4996
+ # - "googleBot"
4997
+ # - "googleCustomerService"
4998
+ # - "googlePayments"
4999
+ # - "googleSabre"
5000
+ # - "merchant"
4563
5001
  # Corresponds to the JSON property `actor`
4564
5002
  # @return [String]
4565
5003
  attr_accessor :actor
@@ -4575,6 +5013,51 @@ module Google
4575
5013
  attr_accessor :creation_date
4576
5014
 
4577
5015
  # The reason for the refund.
5016
+ # Acceptable values are:
5017
+ # - "adjustment"
5018
+ # - "autoPostInternal"
5019
+ # - "autoPostInvalidBillingAddress"
5020
+ # - "autoPostNoInventory"
5021
+ # - "autoPostPriceError"
5022
+ # - "autoPostUndeliverableShippingAddress"
5023
+ # - "couponAbuse"
5024
+ # - "courtesyAdjustment"
5025
+ # - "customerCanceled"
5026
+ # - "customerDiscretionaryReturn"
5027
+ # - "customerInitiatedMerchantCancel"
5028
+ # - "customerSupportRequested"
5029
+ # - "deliveredLateByCarrier"
5030
+ # - "deliveredTooLate"
5031
+ # - "expiredItem"
5032
+ # - "failToPushOrderGoogleError"
5033
+ # - "failToPushOrderMerchantError"
5034
+ # - "failToPushOrderMerchantFulfillmentError"
5035
+ # - "failToPushOrderToMerchant"
5036
+ # - "failToPushOrderToMerchantOutOfStock"
5037
+ # - "feeAdjustment"
5038
+ # - "invalidCoupon"
5039
+ # - "lateShipmentCredit"
5040
+ # - "malformedShippingAddress"
5041
+ # - "merchantDidNotShipOnTime"
5042
+ # - "noInventory"
5043
+ # - "orderTimeout"
5044
+ # - "other"
5045
+ # - "paymentAbuse"
5046
+ # - "paymentDeclined"
5047
+ # - "priceAdjustment"
5048
+ # - "priceError"
5049
+ # - "productArrivedDamaged"
5050
+ # - "productNotAsDescribed"
5051
+ # - "promoReallocation"
5052
+ # - "qualityNotAsExpected"
5053
+ # - "returnRefundAbuse"
5054
+ # - "shippingCostAdjustment"
5055
+ # - "shippingPriceError"
5056
+ # - "taxAdjustment"
5057
+ # - "taxError"
5058
+ # - "undeliverableShippingAddress"
5059
+ # - "unsupportedPoBoxAddress"
5060
+ # - "wrongProductShipped"
4578
5061
  # Corresponds to the JSON property `reason`
4579
5062
  # @return [String]
4580
5063
  attr_accessor :reason
@@ -4713,6 +5196,13 @@ module Google
4713
5196
  include Google::Apis::Core::Hashable
4714
5197
 
4715
5198
  # The actor that created the refund.
5199
+ # Acceptable values are:
5200
+ # - "customer"
5201
+ # - "googleBot"
5202
+ # - "googleCustomerService"
5203
+ # - "googlePayments"
5204
+ # - "googleSabre"
5205
+ # - "merchant"
4716
5206
  # Corresponds to the JSON property `actor`
4717
5207
  # @return [String]
4718
5208
  attr_accessor :actor
@@ -4728,6 +5218,20 @@ module Google
4728
5218
  attr_accessor :quantity
4729
5219
 
4730
5220
  # The reason for the return.
5221
+ # Acceptable values are:
5222
+ # - "customerDiscretionaryReturn"
5223
+ # - "customerInitiatedMerchantCancel"
5224
+ # - "deliveredTooLate"
5225
+ # - "expiredItem"
5226
+ # - "invalidCoupon"
5227
+ # - "malformedShippingAddress"
5228
+ # - "other"
5229
+ # - "productArrivedDamaged"
5230
+ # - "productNotAsDescribed"
5231
+ # - "qualityNotAsExpected"
5232
+ # - "undeliverableShippingAddress"
5233
+ # - "unsupportedPoBoxAddress"
5234
+ # - "wrongProductShipped"
4731
5235
  # Corresponds to the JSON property `reason`
4732
5236
  # @return [String]
4733
5237
  attr_accessor :reason
@@ -4830,6 +5334,11 @@ module Google
4830
5334
  attr_accessor :shipment_group_id
4831
5335
 
4832
5336
  # The status of the shipment.
5337
+ # Acceptable values are:
5338
+ # - "delivered"
5339
+ # - "readyForPickup"
5340
+ # - "shipped"
5341
+ # - "undeliverable"
4833
5342
  # Corresponds to the JSON property `status`
4834
5343
  # @return [String]
4835
5344
  attr_accessor :status
@@ -4940,6 +5449,9 @@ module Google
4940
5449
  include Google::Apis::Core::Hashable
4941
5450
 
4942
5451
  # The status of the execution.
5452
+ # Acceptable values are:
5453
+ # - "duplicate"
5454
+ # - "executed"
4943
5455
  # Corresponds to the JSON property `executionStatus`
4944
5456
  # @return [String]
4945
5457
  attr_accessor :execution_status
@@ -5012,6 +5524,9 @@ module Google
5012
5524
  include Google::Apis::Core::Hashable
5013
5525
 
5014
5526
  # The status of the execution.
5527
+ # Acceptable values are:
5528
+ # - "duplicate"
5529
+ # - "executed"
5015
5530
  # Corresponds to the JSON property `executionStatus`
5016
5531
  # @return [String]
5017
5532
  attr_accessor :execution_status
@@ -5043,6 +5558,51 @@ module Google
5043
5558
  attr_accessor :description
5044
5559
 
5045
5560
  # [required] Reason for the refund.
5561
+ # Acceptable values are:
5562
+ # - "adjustment"
5563
+ # - "autoPostInternal"
5564
+ # - "autoPostInvalidBillingAddress"
5565
+ # - "autoPostNoInventory"
5566
+ # - "autoPostPriceError"
5567
+ # - "autoPostUndeliverableShippingAddress"
5568
+ # - "couponAbuse"
5569
+ # - "courtesyAdjustment"
5570
+ # - "customerCanceled"
5571
+ # - "customerDiscretionaryReturn"
5572
+ # - "customerInitiatedMerchantCancel"
5573
+ # - "customerSupportRequested"
5574
+ # - "deliveredLateByCarrier"
5575
+ # - "deliveredTooLate"
5576
+ # - "expiredItem"
5577
+ # - "failToPushOrderGoogleError"
5578
+ # - "failToPushOrderMerchantError"
5579
+ # - "failToPushOrderMerchantFulfillmentError"
5580
+ # - "failToPushOrderToMerchant"
5581
+ # - "failToPushOrderToMerchantOutOfStock"
5582
+ # - "feeAdjustment"
5583
+ # - "invalidCoupon"
5584
+ # - "lateShipmentCredit"
5585
+ # - "malformedShippingAddress"
5586
+ # - "merchantDidNotShipOnTime"
5587
+ # - "noInventory"
5588
+ # - "orderTimeout"
5589
+ # - "other"
5590
+ # - "paymentAbuse"
5591
+ # - "paymentDeclined"
5592
+ # - "priceAdjustment"
5593
+ # - "priceError"
5594
+ # - "productArrivedDamaged"
5595
+ # - "productNotAsDescribed"
5596
+ # - "promoReallocation"
5597
+ # - "qualityNotAsExpected"
5598
+ # - "returnRefundAbuse"
5599
+ # - "shippingCostAdjustment"
5600
+ # - "shippingPriceError"
5601
+ # - "taxAdjustment"
5602
+ # - "taxError"
5603
+ # - "undeliverableShippingAddress"
5604
+ # - "unsupportedPoBoxAddress"
5605
+ # - "wrongProductShipped"
5046
5606
  # Corresponds to the JSON property `reason`
5047
5607
  # @return [String]
5048
5608
  attr_accessor :reason
@@ -5068,6 +5628,20 @@ module Google
5068
5628
  attr_accessor :description
5069
5629
 
5070
5630
  # [required] Reason for the return.
5631
+ # Acceptable values are:
5632
+ # - "customerDiscretionaryReturn"
5633
+ # - "customerInitiatedMerchantCancel"
5634
+ # - "deliveredTooLate"
5635
+ # - "expiredItem"
5636
+ # - "invalidCoupon"
5637
+ # - "malformedShippingAddress"
5638
+ # - "other"
5639
+ # - "productArrivedDamaged"
5640
+ # - "productNotAsDescribed"
5641
+ # - "qualityNotAsExpected"
5642
+ # - "undeliverableShippingAddress"
5643
+ # - "unsupportedPoBoxAddress"
5644
+ # - "wrongProductShipped"
5071
5645
  # Corresponds to the JSON property `reason`
5072
5646
  # @return [String]
5073
5647
  attr_accessor :reason
@@ -5203,6 +5777,9 @@ module Google
5203
5777
  include Google::Apis::Core::Hashable
5204
5778
 
5205
5779
  # The status of the execution.
5780
+ # Acceptable values are:
5781
+ # - "duplicate"
5782
+ # - "executed"
5206
5783
  # Corresponds to the JSON property `executionStatus`
5207
5784
  # @return [String]
5208
5785
  attr_accessor :execution_status
@@ -5270,6 +5847,17 @@ module Google
5270
5847
  attr_accessor :quantity
5271
5848
 
5272
5849
  # The reason for the cancellation.
5850
+ # Acceptable values are:
5851
+ # - "customerInitiatedCancel"
5852
+ # - "invalidCoupon"
5853
+ # - "malformedShippingAddress"
5854
+ # - "noInventory"
5855
+ # - "other"
5856
+ # - "priceError"
5857
+ # - "shippingPriceError"
5858
+ # - "taxError"
5859
+ # - "undeliverableShippingAddress"
5860
+ # - "unsupportedPoBoxAddress"
5273
5861
  # Corresponds to the JSON property `reason`
5274
5862
  # @return [String]
5275
5863
  attr_accessor :reason
@@ -5299,6 +5887,9 @@ module Google
5299
5887
  include Google::Apis::Core::Hashable
5300
5888
 
5301
5889
  # The status of the execution.
5890
+ # Acceptable values are:
5891
+ # - "duplicate"
5892
+ # - "executed"
5302
5893
  # Corresponds to the JSON property `executionStatus`
5303
5894
  # @return [String]
5304
5895
  attr_accessor :execution_status
@@ -5330,6 +5921,17 @@ module Google
5330
5921
  attr_accessor :operation_id
5331
5922
 
5332
5923
  # The reason for the cancellation.
5924
+ # Acceptable values are:
5925
+ # - "customerInitiatedCancel"
5926
+ # - "invalidCoupon"
5927
+ # - "malformedShippingAddress"
5928
+ # - "noInventory"
5929
+ # - "other"
5930
+ # - "priceError"
5931
+ # - "shippingPriceError"
5932
+ # - "taxError"
5933
+ # - "undeliverableShippingAddress"
5934
+ # - "unsupportedPoBoxAddress"
5333
5935
  # Corresponds to the JSON property `reason`
5334
5936
  # @return [String]
5335
5937
  attr_accessor :reason
@@ -5356,6 +5958,9 @@ module Google
5356
5958
  include Google::Apis::Core::Hashable
5357
5959
 
5358
5960
  # The status of the execution.
5961
+ # Acceptable values are:
5962
+ # - "duplicate"
5963
+ # - "executed"
5359
5964
  # Corresponds to the JSON property `executionStatus`
5360
5965
  # @return [String]
5361
5966
  attr_accessor :execution_status
@@ -5382,6 +5987,10 @@ module Google
5382
5987
  include Google::Apis::Core::Hashable
5383
5988
 
5384
5989
  # The reason for the cancellation.
5990
+ # Acceptable values are:
5991
+ # - "changedMind"
5992
+ # - "orderedWrongItem"
5993
+ # - "other"
5385
5994
  # Corresponds to the JSON property `reason`
5386
5995
  # @return [String]
5387
5996
  attr_accessor :reason
@@ -5433,6 +6042,12 @@ module Google
5433
6042
  # The test order template to use. Specify as an alternative to testOrder as a
5434
6043
  # shortcut for retrieving a template and then creating an order using that
5435
6044
  # template.
6045
+ # Acceptable values are:
6046
+ # - "template1"
6047
+ # - "template1a"
6048
+ # - "template1b"
6049
+ # - "template2"
6050
+ # - "template3"
5436
6051
  # Corresponds to the JSON property `templateName`
5437
6052
  # @return [String]
5438
6053
  attr_accessor :template_name
@@ -5560,8 +6175,8 @@ module Google
5560
6175
  # @return [String]
5561
6176
  attr_accessor :carrier
5562
6177
 
5563
- # The ID of the shipment. This is assigned by the merchant and is unique to each
5564
- # shipment.
6178
+ # Required. The ID of the shipment. This is assigned by the merchant and is
6179
+ # unique to each shipment.
5565
6180
  # Corresponds to the JSON property `shipmentId`
5566
6181
  # @return [String]
5567
6182
  attr_accessor :shipment_id
@@ -5668,6 +6283,20 @@ module Google
5668
6283
  attr_accessor :quantity
5669
6284
 
5670
6285
  # The reason for the return.
6286
+ # Acceptable values are:
6287
+ # - "customerDiscretionaryReturn"
6288
+ # - "customerInitiatedMerchantCancel"
6289
+ # - "deliveredTooLate"
6290
+ # - "expiredItem"
6291
+ # - "invalidCoupon"
6292
+ # - "malformedShippingAddress"
6293
+ # - "other"
6294
+ # - "productArrivedDamaged"
6295
+ # - "productNotAsDescribed"
6296
+ # - "qualityNotAsExpected"
6297
+ # - "undeliverableShippingAddress"
6298
+ # - "unsupportedPoBoxAddress"
6299
+ # - "wrongProductShipped"
5671
6300
  # Corresponds to the JSON property `reason`
5672
6301
  # @return [String]
5673
6302
  attr_accessor :reason
@@ -5704,6 +6333,9 @@ module Google
5704
6333
  include Google::Apis::Core::Hashable
5705
6334
 
5706
6335
  # The status of the execution.
6336
+ # Acceptable values are:
6337
+ # - "duplicate"
6338
+ # - "executed"
5707
6339
  # Corresponds to the JSON property `executionStatus`
5708
6340
  # @return [String]
5709
6341
  attr_accessor :execution_status
@@ -5783,6 +6415,12 @@ module Google
5783
6415
  attr_accessor :quantity
5784
6416
 
5785
6417
  # The reason for the return.
6418
+ # Acceptable values are:
6419
+ # - "damagedOrUsed"
6420
+ # - "missingComponent"
6421
+ # - "notEligible"
6422
+ # - "other"
6423
+ # - "outOfReturnWindow"
5786
6424
  # Corresponds to the JSON property `reason`
5787
6425
  # @return [String]
5788
6426
  attr_accessor :reason
@@ -5812,6 +6450,9 @@ module Google
5812
6450
  include Google::Apis::Core::Hashable
5813
6451
 
5814
6452
  # The status of the execution.
6453
+ # Acceptable values are:
6454
+ # - "duplicate"
6455
+ # - "executed"
5815
6456
  # Corresponds to the JSON property `executionStatus`
5816
6457
  # @return [String]
5817
6458
  attr_accessor :execution_status
@@ -5865,6 +6506,20 @@ module Google
5865
6506
  attr_accessor :quantity
5866
6507
 
5867
6508
  # The reason for the return.
6509
+ # Acceptable values are:
6510
+ # - "customerDiscretionaryReturn"
6511
+ # - "customerInitiatedMerchantCancel"
6512
+ # - "deliveredTooLate"
6513
+ # - "expiredItem"
6514
+ # - "invalidCoupon"
6515
+ # - "malformedShippingAddress"
6516
+ # - "other"
6517
+ # - "productArrivedDamaged"
6518
+ # - "productNotAsDescribed"
6519
+ # - "qualityNotAsExpected"
6520
+ # - "undeliverableShippingAddress"
6521
+ # - "unsupportedPoBoxAddress"
6522
+ # - "wrongProductShipped"
5868
6523
  # Corresponds to the JSON property `reason`
5869
6524
  # @return [String]
5870
6525
  attr_accessor :reason
@@ -5902,6 +6557,9 @@ module Google
5902
6557
  include Google::Apis::Core::Hashable
5903
6558
 
5904
6559
  # The status of the execution.
6560
+ # Acceptable values are:
6561
+ # - "duplicate"
6562
+ # - "executed"
5905
6563
  # Corresponds to the JSON property `executionStatus`
5906
6564
  # @return [String]
5907
6565
  attr_accessor :execution_status
@@ -5967,6 +6625,9 @@ module Google
5967
6625
  include Google::Apis::Core::Hashable
5968
6626
 
5969
6627
  # The status of the execution.
6628
+ # Acceptable values are:
6629
+ # - "duplicate"
6630
+ # - "executed"
5970
6631
  # Corresponds to the JSON property `executionStatus`
5971
6632
  # @return [String]
5972
6633
  attr_accessor :execution_status
@@ -6032,6 +6693,9 @@ module Google
6032
6693
  include Google::Apis::Core::Hashable
6033
6694
 
6034
6695
  # The status of the execution.
6696
+ # Acceptable values are:
6697
+ # - "duplicate"
6698
+ # - "executed"
6035
6699
  # Corresponds to the JSON property `executionStatus`
6036
6700
  # @return [String]
6037
6701
  attr_accessor :execution_status
@@ -6109,6 +6773,9 @@ module Google
6109
6773
  include Google::Apis::Core::Hashable
6110
6774
 
6111
6775
  # The status of the execution.
6776
+ # Acceptable values are:
6777
+ # - "duplicate"
6778
+ # - "executed"
6112
6779
  # Corresponds to the JSON property `executionStatus`
6113
6780
  # @return [String]
6114
6781
  attr_accessor :execution_status
@@ -6160,6 +6827,9 @@ module Google
6160
6827
  include Google::Apis::Core::Hashable
6161
6828
 
6162
6829
  # The status of the execution.
6830
+ # Acceptable values are:
6831
+ # - "duplicate"
6832
+ # - "executed"
6163
6833
  # Corresponds to the JSON property `executionStatus`
6164
6834
  # @return [String]
6165
6835
  attr_accessor :execution_status
@@ -6208,6 +6878,9 @@ module Google
6208
6878
  attr_accessor :shipment_id
6209
6879
 
6210
6880
  # New status for the shipment. Not updated if missing.
6881
+ # Acceptable values are:
6882
+ # - "delivered"
6883
+ # - "undeliverable"
6211
6884
  # Corresponds to the JSON property `status`
6212
6885
  # @return [String]
6213
6886
  attr_accessor :status
@@ -6237,6 +6910,9 @@ module Google
6237
6910
  include Google::Apis::Core::Hashable
6238
6911
 
6239
6912
  # The status of the execution.
6913
+ # Acceptable values are:
6914
+ # - "duplicate"
6915
+ # - "executed"
6240
6916
  # Corresponds to the JSON property `executionStatus`
6241
6917
  # @return [String]
6242
6918
  attr_accessor :execution_status
@@ -6352,7 +7028,13 @@ module Google
6352
7028
  # @return [Fixnum]
6353
7029
  attr_accessor :merchant_id
6354
7030
 
6355
- #
7031
+ # The method of the batch entry.
7032
+ # Acceptable values are:
7033
+ # - "delete"
7034
+ # - "get"
7035
+ # - "insert"
7036
+ # - "inventory"
7037
+ # - "sale"
6356
7038
  # Corresponds to the JSON property `method`
6357
7039
  # @return [String]
6358
7040
  attr_accessor :method_prop
@@ -6530,7 +7212,7 @@ module Google
6530
7212
  class PosInventory
6531
7213
  include Google::Apis::Core::Hashable
6532
7214
 
6533
- # The two-letter ISO 639-1 language code for the item.
7215
+ # Required. The two-letter ISO 639-1 language code for the item.
6534
7216
  # Corresponds to the JSON property `contentLanguage`
6535
7217
  # @return [String]
6536
7218
  attr_accessor :content_language
@@ -6540,7 +7222,7 @@ module Google
6540
7222
  # @return [String]
6541
7223
  attr_accessor :gtin
6542
7224
 
6543
- # A unique identifier for the item.
7225
+ # Required. A unique identifier for the item.
6544
7226
  # Corresponds to the JSON property `itemId`
6545
7227
  # @return [String]
6546
7228
  attr_accessor :item_id
@@ -6551,28 +7233,28 @@ module Google
6551
7233
  # @return [String]
6552
7234
  attr_accessor :kind
6553
7235
 
6554
- # The current price of the item.
7236
+ # Required. The current price of the item.
6555
7237
  # Corresponds to the JSON property `price`
6556
7238
  # @return [Google::Apis::ContentV2_1::Price]
6557
7239
  attr_accessor :price
6558
7240
 
6559
- # The available quantity of the item.
7241
+ # Required. The available quantity of the item.
6560
7242
  # Corresponds to the JSON property `quantity`
6561
7243
  # @return [Fixnum]
6562
7244
  attr_accessor :quantity
6563
7245
 
6564
- # The identifier of the merchant's store. Either a storeCode inserted via the
6565
- # API or the code of the store in Google My Business.
7246
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
7247
+ # via the API or the code of the store in Google My Business.
6566
7248
  # Corresponds to the JSON property `storeCode`
6567
7249
  # @return [String]
6568
7250
  attr_accessor :store_code
6569
7251
 
6570
- # The CLDR territory code for the item.
7252
+ # Required. The CLDR territory code for the item.
6571
7253
  # Corresponds to the JSON property `targetCountry`
6572
7254
  # @return [String]
6573
7255
  attr_accessor :target_country
6574
7256
 
6575
- # The inventory timestamp, in ISO 8601 format.
7257
+ # Required. The inventory timestamp, in ISO 8601 format.
6576
7258
  # Corresponds to the JSON property `timestamp`
6577
7259
  # @return [String]
6578
7260
  attr_accessor :timestamp
@@ -6599,7 +7281,7 @@ module Google
6599
7281
  class PosInventoryRequest
6600
7282
  include Google::Apis::Core::Hashable
6601
7283
 
6602
- # The two-letter ISO 639-1 language code for the item.
7284
+ # Required. The two-letter ISO 639-1 language code for the item.
6603
7285
  # Corresponds to the JSON property `contentLanguage`
6604
7286
  # @return [String]
6605
7287
  attr_accessor :content_language
@@ -6609,33 +7291,33 @@ module Google
6609
7291
  # @return [String]
6610
7292
  attr_accessor :gtin
6611
7293
 
6612
- # A unique identifier for the item.
7294
+ # Required. A unique identifier for the item.
6613
7295
  # Corresponds to the JSON property `itemId`
6614
7296
  # @return [String]
6615
7297
  attr_accessor :item_id
6616
7298
 
6617
- # The current price of the item.
7299
+ # Required. The current price of the item.
6618
7300
  # Corresponds to the JSON property `price`
6619
7301
  # @return [Google::Apis::ContentV2_1::Price]
6620
7302
  attr_accessor :price
6621
7303
 
6622
- # The available quantity of the item.
7304
+ # Required. The available quantity of the item.
6623
7305
  # Corresponds to the JSON property `quantity`
6624
7306
  # @return [Fixnum]
6625
7307
  attr_accessor :quantity
6626
7308
 
6627
- # The identifier of the merchant's store. Either a storeCode inserted via the
6628
- # API or the code of the store in Google My Business.
7309
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
7310
+ # via the API or the code of the store in Google My Business.
6629
7311
  # Corresponds to the JSON property `storeCode`
6630
7312
  # @return [String]
6631
7313
  attr_accessor :store_code
6632
7314
 
6633
- # The CLDR territory code for the item.
7315
+ # Required. The CLDR territory code for the item.
6634
7316
  # Corresponds to the JSON property `targetCountry`
6635
7317
  # @return [String]
6636
7318
  attr_accessor :target_country
6637
7319
 
6638
- # The inventory timestamp, in ISO 8601 format.
7320
+ # Required. The inventory timestamp, in ISO 8601 format.
6639
7321
  # Corresponds to the JSON property `timestamp`
6640
7322
  # @return [String]
6641
7323
  attr_accessor :timestamp
@@ -6661,7 +7343,7 @@ module Google
6661
7343
  class PosInventoryResponse
6662
7344
  include Google::Apis::Core::Hashable
6663
7345
 
6664
- # The two-letter ISO 639-1 language code for the item.
7346
+ # Required. The two-letter ISO 639-1 language code for the item.
6665
7347
  # Corresponds to the JSON property `contentLanguage`
6666
7348
  # @return [String]
6667
7349
  attr_accessor :content_language
@@ -6671,7 +7353,7 @@ module Google
6671
7353
  # @return [String]
6672
7354
  attr_accessor :gtin
6673
7355
 
6674
- # A unique identifier for the item.
7356
+ # Required. A unique identifier for the item.
6675
7357
  # Corresponds to the JSON property `itemId`
6676
7358
  # @return [String]
6677
7359
  attr_accessor :item_id
@@ -6682,28 +7364,28 @@ module Google
6682
7364
  # @return [String]
6683
7365
  attr_accessor :kind
6684
7366
 
6685
- # The current price of the item.
7367
+ # Required. The current price of the item.
6686
7368
  # Corresponds to the JSON property `price`
6687
7369
  # @return [Google::Apis::ContentV2_1::Price]
6688
7370
  attr_accessor :price
6689
7371
 
6690
- # The available quantity of the item.
7372
+ # Required. The available quantity of the item.
6691
7373
  # Corresponds to the JSON property `quantity`
6692
7374
  # @return [Fixnum]
6693
7375
  attr_accessor :quantity
6694
7376
 
6695
- # The identifier of the merchant's store. Either a storeCode inserted via the
6696
- # API or the code of the store in Google My Business.
7377
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
7378
+ # via the API or the code of the store in Google My Business.
6697
7379
  # Corresponds to the JSON property `storeCode`
6698
7380
  # @return [String]
6699
7381
  attr_accessor :store_code
6700
7382
 
6701
- # The CLDR territory code for the item.
7383
+ # Required. The CLDR territory code for the item.
6702
7384
  # Corresponds to the JSON property `targetCountry`
6703
7385
  # @return [String]
6704
7386
  attr_accessor :target_country
6705
7387
 
6706
- # The inventory timestamp, in ISO 8601 format.
7388
+ # Required. The inventory timestamp, in ISO 8601 format.
6707
7389
  # Corresponds to the JSON property `timestamp`
6708
7390
  # @return [String]
6709
7391
  attr_accessor :timestamp
@@ -6756,7 +7438,7 @@ module Google
6756
7438
  class PosSale
6757
7439
  include Google::Apis::Core::Hashable
6758
7440
 
6759
- # The two-letter ISO 639-1 language code for the item.
7441
+ # Required. The two-letter ISO 639-1 language code for the item.
6760
7442
  # Corresponds to the JSON property `contentLanguage`
6761
7443
  # @return [String]
6762
7444
  attr_accessor :content_language
@@ -6766,7 +7448,7 @@ module Google
6766
7448
  # @return [String]
6767
7449
  attr_accessor :gtin
6768
7450
 
6769
- # A unique identifier for the item.
7451
+ # Required. A unique identifier for the item.
6770
7452
  # Corresponds to the JSON property `itemId`
6771
7453
  # @return [String]
6772
7454
  attr_accessor :item_id
@@ -6777,12 +7459,13 @@ module Google
6777
7459
  # @return [String]
6778
7460
  attr_accessor :kind
6779
7461
 
6780
- # The price of the item.
7462
+ # Required. The price of the item.
6781
7463
  # Corresponds to the JSON property `price`
6782
7464
  # @return [Google::Apis::ContentV2_1::Price]
6783
7465
  attr_accessor :price
6784
7466
 
6785
- # The relative change of the available quantity. Negative for items returned.
7467
+ # Required. The relative change of the available quantity. Negative for items
7468
+ # returned.
6786
7469
  # Corresponds to the JSON property `quantity`
6787
7470
  # @return [Fixnum]
6788
7471
  attr_accessor :quantity
@@ -6792,18 +7475,18 @@ module Google
6792
7475
  # @return [String]
6793
7476
  attr_accessor :sale_id
6794
7477
 
6795
- # The identifier of the merchant's store. Either a storeCode inserted via the
6796
- # API or the code of the store in Google My Business.
7478
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
7479
+ # via the API or the code of the store in Google My Business.
6797
7480
  # Corresponds to the JSON property `storeCode`
6798
7481
  # @return [String]
6799
7482
  attr_accessor :store_code
6800
7483
 
6801
- # The CLDR territory code for the item.
7484
+ # Required. The CLDR territory code for the item.
6802
7485
  # Corresponds to the JSON property `targetCountry`
6803
7486
  # @return [String]
6804
7487
  attr_accessor :target_country
6805
7488
 
6806
- # The inventory timestamp, in ISO 8601 format.
7489
+ # Required. The inventory timestamp, in ISO 8601 format.
6807
7490
  # Corresponds to the JSON property `timestamp`
6808
7491
  # @return [String]
6809
7492
  attr_accessor :timestamp
@@ -6831,7 +7514,7 @@ module Google
6831
7514
  class PosSaleRequest
6832
7515
  include Google::Apis::Core::Hashable
6833
7516
 
6834
- # The two-letter ISO 639-1 language code for the item.
7517
+ # Required. The two-letter ISO 639-1 language code for the item.
6835
7518
  # Corresponds to the JSON property `contentLanguage`
6836
7519
  # @return [String]
6837
7520
  attr_accessor :content_language
@@ -6841,17 +7524,18 @@ module Google
6841
7524
  # @return [String]
6842
7525
  attr_accessor :gtin
6843
7526
 
6844
- # A unique identifier for the item.
7527
+ # Required. A unique identifier for the item.
6845
7528
  # Corresponds to the JSON property `itemId`
6846
7529
  # @return [String]
6847
7530
  attr_accessor :item_id
6848
7531
 
6849
- # The price of the item.
7532
+ # Required. The price of the item.
6850
7533
  # Corresponds to the JSON property `price`
6851
7534
  # @return [Google::Apis::ContentV2_1::Price]
6852
7535
  attr_accessor :price
6853
7536
 
6854
- # The relative change of the available quantity. Negative for items returned.
7537
+ # Required. The relative change of the available quantity. Negative for items
7538
+ # returned.
6855
7539
  # Corresponds to the JSON property `quantity`
6856
7540
  # @return [Fixnum]
6857
7541
  attr_accessor :quantity
@@ -6861,18 +7545,18 @@ module Google
6861
7545
  # @return [String]
6862
7546
  attr_accessor :sale_id
6863
7547
 
6864
- # The identifier of the merchant's store. Either a storeCode inserted via the
6865
- # API or the code of the store in Google My Business.
7548
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
7549
+ # via the API or the code of the store in Google My Business.
6866
7550
  # Corresponds to the JSON property `storeCode`
6867
7551
  # @return [String]
6868
7552
  attr_accessor :store_code
6869
7553
 
6870
- # The CLDR territory code for the item.
7554
+ # Required. The CLDR territory code for the item.
6871
7555
  # Corresponds to the JSON property `targetCountry`
6872
7556
  # @return [String]
6873
7557
  attr_accessor :target_country
6874
7558
 
6875
- # The inventory timestamp, in ISO 8601 format.
7559
+ # Required. The inventory timestamp, in ISO 8601 format.
6876
7560
  # Corresponds to the JSON property `timestamp`
6877
7561
  # @return [String]
6878
7562
  attr_accessor :timestamp
@@ -6899,7 +7583,7 @@ module Google
6899
7583
  class PosSaleResponse
6900
7584
  include Google::Apis::Core::Hashable
6901
7585
 
6902
- # The two-letter ISO 639-1 language code for the item.
7586
+ # Required. The two-letter ISO 639-1 language code for the item.
6903
7587
  # Corresponds to the JSON property `contentLanguage`
6904
7588
  # @return [String]
6905
7589
  attr_accessor :content_language
@@ -6909,7 +7593,7 @@ module Google
6909
7593
  # @return [String]
6910
7594
  attr_accessor :gtin
6911
7595
 
6912
- # A unique identifier for the item.
7596
+ # Required. A unique identifier for the item.
6913
7597
  # Corresponds to the JSON property `itemId`
6914
7598
  # @return [String]
6915
7599
  attr_accessor :item_id
@@ -6920,12 +7604,13 @@ module Google
6920
7604
  # @return [String]
6921
7605
  attr_accessor :kind
6922
7606
 
6923
- # The price of the item.
7607
+ # Required. The price of the item.
6924
7608
  # Corresponds to the JSON property `price`
6925
7609
  # @return [Google::Apis::ContentV2_1::Price]
6926
7610
  attr_accessor :price
6927
7611
 
6928
- # The relative change of the available quantity. Negative for items returned.
7612
+ # Required. The relative change of the available quantity. Negative for items
7613
+ # returned.
6929
7614
  # Corresponds to the JSON property `quantity`
6930
7615
  # @return [Fixnum]
6931
7616
  attr_accessor :quantity
@@ -6935,18 +7620,18 @@ module Google
6935
7620
  # @return [String]
6936
7621
  attr_accessor :sale_id
6937
7622
 
6938
- # The identifier of the merchant's store. Either a storeCode inserted via the
6939
- # API or the code of the store in Google My Business.
7623
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
7624
+ # via the API or the code of the store in Google My Business.
6940
7625
  # Corresponds to the JSON property `storeCode`
6941
7626
  # @return [String]
6942
7627
  attr_accessor :store_code
6943
7628
 
6944
- # The CLDR territory code for the item.
7629
+ # Required. The CLDR territory code for the item.
6945
7630
  # Corresponds to the JSON property `targetCountry`
6946
7631
  # @return [String]
6947
7632
  attr_accessor :target_country
6948
7633
 
6949
- # The inventory timestamp, in ISO 8601 format.
7634
+ # Required. The inventory timestamp, in ISO 8601 format.
6950
7635
  # Corresponds to the JSON property `timestamp`
6951
7636
  # @return [String]
6952
7637
  attr_accessor :timestamp
@@ -6980,12 +7665,12 @@ module Google
6980
7665
  # @return [String]
6981
7666
  attr_accessor :kind
6982
7667
 
6983
- # The street address of the store.
7668
+ # Required. The street address of the store.
6984
7669
  # Corresponds to the JSON property `storeAddress`
6985
7670
  # @return [String]
6986
7671
  attr_accessor :store_address
6987
7672
 
6988
- # A store identifier that is unique for the given merchant.
7673
+ # Required. A store identifier that is unique for the given merchant.
6989
7674
  # Corresponds to the JSON property `storeCode`
6990
7675
  # @return [String]
6991
7676
  attr_accessor :store_code
@@ -7145,7 +7830,10 @@ module Google
7145
7830
  # @return [String]
7146
7831
  attr_accessor :brand
7147
7832
 
7148
- # The item's channel (online or local).
7833
+ # Required. The item's channel (online or local).
7834
+ # Acceptable values are:
7835
+ # - "local"
7836
+ # - "online"
7149
7837
  # Corresponds to the JSON property `channel`
7150
7838
  # @return [String]
7151
7839
  attr_accessor :channel
@@ -7160,7 +7848,7 @@ module Google
7160
7848
  # @return [String]
7161
7849
  attr_accessor :condition
7162
7850
 
7163
- # The two-letter ISO 639-1 language code for the item.
7851
+ # Required. The two-letter ISO 639-1 language code for the item.
7164
7852
  # Corresponds to the JSON property `contentLanguage`
7165
7853
  # @return [String]
7166
7854
  attr_accessor :content_language
@@ -7369,8 +8057,8 @@ module Google
7369
8057
  # @return [Fixnum]
7370
8058
  attr_accessor :multipack
7371
8059
 
7372
- # A unique identifier for the item. Leading and trailing whitespaces are
7373
- # stripped and multiple whitespaces are replaced by a single whitespace upon
8060
+ # Required. A unique identifier for the item. Leading and trailing whitespaces
8061
+ # are stripped and multiple whitespaces are replaced by a single whitespace upon
7374
8062
  # submission. Only valid unicode characters are accepted. See the products feed
7375
8063
  # specification for details.
7376
8064
  # Note: Content API methods that operate on products take the REST ID of the
@@ -7464,11 +8152,15 @@ module Google
7464
8152
  attr_accessor :sizes
7465
8153
 
7466
8154
  # The source of the offer, i.e., how the offer was created.
8155
+ # Acceptable values are:
8156
+ # - "api"
8157
+ # - "crawl"
8158
+ # - "feed"
7467
8159
  # Corresponds to the JSON property `source`
7468
8160
  # @return [String]
7469
8161
  attr_accessor :source
7470
8162
 
7471
- # The CLDR territory code for the item.
8163
+ # Required. The CLDR territory code for the item.
7472
8164
  # Corresponds to the JSON property `targetCountry`
7473
8165
  # @return [String]
7474
8166
  attr_accessor :target_country
@@ -8025,7 +8717,11 @@ module Google
8025
8717
  # @return [Fixnum]
8026
8718
  attr_accessor :merchant_id
8027
8719
 
8028
- #
8720
+ # The method of the batch entry.
8721
+ # Acceptable values are:
8722
+ # - "delete"
8723
+ # - "get"
8724
+ # - "insert"
8029
8725
  # Corresponds to the JSON property `method`
8030
8726
  # @return [String]
8031
8727
  attr_accessor :method_prop
@@ -8199,7 +8895,9 @@ module Google
8199
8895
  # @return [Fixnum]
8200
8896
  attr_accessor :merchant_id
8201
8897
 
8202
- #
8898
+ # The method of the batch entry.
8899
+ # Acceptable values are:
8900
+ # - "get"
8203
8901
  # Corresponds to the JSON property `method`
8204
8902
  # @return [String]
8205
8903
  attr_accessor :method_prop
@@ -8421,6 +9119,51 @@ module Google
8421
9119
  attr_accessor :description
8422
9120
 
8423
9121
  # Code of the refund reason.
9122
+ # Acceptable values are:
9123
+ # - "adjustment"
9124
+ # - "autoPostInternal"
9125
+ # - "autoPostInvalidBillingAddress"
9126
+ # - "autoPostNoInventory"
9127
+ # - "autoPostPriceError"
9128
+ # - "autoPostUndeliverableShippingAddress"
9129
+ # - "couponAbuse"
9130
+ # - "courtesyAdjustment"
9131
+ # - "customerCanceled"
9132
+ # - "customerDiscretionaryReturn"
9133
+ # - "customerInitiatedMerchantCancel"
9134
+ # - "customerSupportRequested"
9135
+ # - "deliveredLateByCarrier"
9136
+ # - "deliveredTooLate"
9137
+ # - "expiredItem"
9138
+ # - "failToPushOrderGoogleError"
9139
+ # - "failToPushOrderMerchantError"
9140
+ # - "failToPushOrderMerchantFulfillmentError"
9141
+ # - "failToPushOrderToMerchant"
9142
+ # - "failToPushOrderToMerchantOutOfStock"
9143
+ # - "feeAdjustment"
9144
+ # - "invalidCoupon"
9145
+ # - "lateShipmentCredit"
9146
+ # - "malformedShippingAddress"
9147
+ # - "merchantDidNotShipOnTime"
9148
+ # - "noInventory"
9149
+ # - "orderTimeout"
9150
+ # - "other"
9151
+ # - "paymentAbuse"
9152
+ # - "paymentDeclined"
9153
+ # - "priceAdjustment"
9154
+ # - "priceError"
9155
+ # - "productArrivedDamaged"
9156
+ # - "productNotAsDescribed"
9157
+ # - "promoReallocation"
9158
+ # - "qualityNotAsExpected"
9159
+ # - "returnRefundAbuse"
9160
+ # - "shippingCostAdjustment"
9161
+ # - "shippingPriceError"
9162
+ # - "taxAdjustment"
9163
+ # - "taxError"
9164
+ # - "undeliverableShippingAddress"
9165
+ # - "unsupportedPoBoxAddress"
9166
+ # - "wrongProductShipped"
8424
9167
  # Corresponds to the JSON property `reasonCode`
8425
9168
  # @return [String]
8426
9169
  attr_accessor :reason_code
@@ -8529,7 +9272,9 @@ module Google
8529
9272
  # @return [Fixnum]
8530
9273
  attr_accessor :merchant_id
8531
9274
 
8532
- #
9275
+ # Method of the batch request entry.
9276
+ # Acceptable values are:
9277
+ # - "insert"
8533
9278
  # Corresponds to the JSON property `method`
8534
9279
  # @return [String]
8535
9280
  attr_accessor :method_prop
@@ -8628,12 +9373,12 @@ module Google
8628
9373
  class ReturnAddress
8629
9374
  include Google::Apis::Core::Hashable
8630
9375
 
8631
- # The address.
9376
+ # Required. The address.
8632
9377
  # Corresponds to the JSON property `address`
8633
9378
  # @return [Google::Apis::ContentV2_1::ReturnAddressAddress]
8634
9379
  attr_accessor :address
8635
9380
 
8636
- # The country of sale where the return address is applicable.
9381
+ # Required. The country of sale where the return address is applicable.
8637
9382
  # Corresponds to the JSON property `country`
8638
9383
  # @return [String]
8639
9384
  attr_accessor :country
@@ -8644,13 +9389,13 @@ module Google
8644
9389
  # @return [String]
8645
9390
  attr_accessor :kind
8646
9391
 
8647
- # The user-defined label of the return address. For the default address, use the
8648
- # label "default".
9392
+ # Required. The user-defined label of the return address. For the default
9393
+ # address, use the label "default".
8649
9394
  # Corresponds to the JSON property `label`
8650
9395
  # @return [String]
8651
9396
  attr_accessor :label
8652
9397
 
8653
- # The merchant's contact phone number regarding the return.
9398
+ # Required. The merchant's contact phone number regarding the return.
8654
9399
  # Corresponds to the JSON property `phoneNumber`
8655
9400
  # @return [String]
8656
9401
  attr_accessor :phone_number
@@ -8731,7 +9476,7 @@ module Google
8731
9476
  class ReturnPolicy
8732
9477
  include Google::Apis::Core::Hashable
8733
9478
 
8734
- # The country of sale where the return policy is applicable.
9479
+ # Required. The country of sale where the return policy is applicable.
8735
9480
  # Corresponds to the JSON property `country`
8736
9481
  # @return [String]
8737
9482
  attr_accessor :country
@@ -8742,13 +9487,13 @@ module Google
8742
9487
  # @return [String]
8743
9488
  attr_accessor :kind
8744
9489
 
8745
- # The user-defined label of the return policy. For the default policy, use the
8746
- # label "default".
9490
+ # Required. The user-defined label of the return policy. For the default policy,
9491
+ # use the label "default".
8747
9492
  # Corresponds to the JSON property `label`
8748
9493
  # @return [String]
8749
9494
  attr_accessor :label
8750
9495
 
8751
- # The name of the policy as shown in Merchant Center.
9496
+ # Required. The name of the policy as shown in Merchant Center.
8752
9497
  # Corresponds to the JSON property `name`
8753
9498
  # @return [String]
8754
9499
  attr_accessor :name
@@ -8758,7 +9503,7 @@ module Google
8758
9503
  # @return [Array<String>]
8759
9504
  attr_accessor :non_free_return_reasons
8760
9505
 
8761
- # The policy.
9506
+ # Required. The policy.
8762
9507
  # Corresponds to the JSON property `policy`
8763
9508
  # @return [Google::Apis::ContentV2_1::ReturnPolicyPolicy]
8764
9509
  attr_accessor :policy
@@ -8794,9 +9539,9 @@ module Google
8794
9539
  class ReturnPolicyPolicy
8795
9540
  include Google::Apis::Core::Hashable
8796
9541
 
8797
- # Last day for returning the items. In ISO 8601 format. When specifying the
8798
- # return window like this, set the policy type to "lastReturnDate". Use this for
8799
- # seasonal overrides only.
9542
+ # Required. Last day for returning the items. In ISO 8601 format. When
9543
+ # specifying the return window like this, set the policy type to "lastReturnDate"
9544
+ # . Use this for seasonal overrides only.
8800
9545
  # Corresponds to the JSON property `lastReturnDate`
8801
9546
  # @return [String]
8802
9547
  attr_accessor :last_return_date
@@ -8818,6 +9563,11 @@ module Google
8818
9563
  # made for electronics or non-returnable items such as food, perishables, and
8819
9564
  # living things. A policy of less than 30 days can only be applied to those
8820
9565
  # items.
9566
+ # Acceptable values are:
9567
+ # - "lastReturnDate"
9568
+ # - "lifetimeReturns"
9569
+ # - "noReturns"
9570
+ # - "numberOfDaysAfterDelivery"
8821
9571
  # Corresponds to the JSON property `type`
8822
9572
  # @return [String]
8823
9573
  attr_accessor :type
@@ -8838,22 +9588,22 @@ module Google
8838
9588
  class ReturnPolicySeasonalOverride
8839
9589
  include Google::Apis::Core::Hashable
8840
9590
 
8841
- # Last day on which the override applies. In ISO 8601 format.
9591
+ # Required. Last day on which the override applies. In ISO 8601 format.
8842
9592
  # Corresponds to the JSON property `endDate`
8843
9593
  # @return [String]
8844
9594
  attr_accessor :end_date
8845
9595
 
8846
- # The name of the seasonal override as shown in Merchant Center.
9596
+ # Required. The name of the seasonal override as shown in Merchant Center.
8847
9597
  # Corresponds to the JSON property `name`
8848
9598
  # @return [String]
8849
9599
  attr_accessor :name
8850
9600
 
8851
- # The policy which is in effect during that time.
9601
+ # Required. The policy which is in effect during that time.
8852
9602
  # Corresponds to the JSON property `policy`
8853
9603
  # @return [Google::Apis::ContentV2_1::ReturnPolicyPolicy]
8854
9604
  attr_accessor :policy
8855
9605
 
8856
- # First day on which the override applies. In ISO 8601 format.
9606
+ # Required. First day on which the override applies. In ISO 8601 format.
8857
9607
  # Corresponds to the JSON property `startDate`
8858
9608
  # @return [String]
8859
9609
  attr_accessor :start_date
@@ -8886,6 +9636,10 @@ module Google
8886
9636
  attr_accessor :delivery_date
8887
9637
 
8888
9638
  # Type of the return method.
9639
+ # Acceptable values are:
9640
+ # - "byMail"
9641
+ # - "contactCustomerSupport"
9642
+ # - "returnless"
8889
9643
  # Corresponds to the JSON property `returnMethodType`
8890
9644
  # @return [String]
8891
9645
  attr_accessor :return_method_type
@@ -8907,6 +9661,11 @@ module Google
8907
9661
  attr_accessor :shipping_date
8908
9662
 
8909
9663
  # State of the shipment.
9664
+ # Acceptable values are:
9665
+ # - "completed"
9666
+ # - "new"
9667
+ # - "shipped"
9668
+ # - "undeliverable"
8910
9669
  # Corresponds to the JSON property `state`
8911
9670
  # @return [String]
8912
9671
  attr_accessor :state
@@ -8960,7 +9719,11 @@ module Google
8960
9719
  # @return [Fixnum]
8961
9720
  attr_accessor :merchant_id
8962
9721
 
8963
- #
9722
+ # Method of the batch request entry.
9723
+ # Acceptable values are:
9724
+ # - "delete"
9725
+ # - "get"
9726
+ # - "insert"
8964
9727
  # Corresponds to the JSON property `method`
8965
9728
  # @return [String]
8966
9729
  attr_accessor :method_prop
@@ -9118,7 +9881,11 @@ module Google
9118
9881
  # @return [Fixnum]
9119
9882
  attr_accessor :merchant_id
9120
9883
 
9121
- #
9884
+ # Method of the batch request entry.
9885
+ # Acceptable values are:
9886
+ # - "delete"
9887
+ # - "get"
9888
+ # - "insert"
9122
9889
  # Corresponds to the JSON property `method`
9123
9890
  # @return [String]
9124
9891
  attr_accessor :method_prop
@@ -9286,6 +10053,10 @@ module Google
9286
10053
  attr_accessor :delivery_time
9287
10054
 
9288
10055
  # Eligibility for this service.
10056
+ # Acceptable values are:
10057
+ # - "All scenarios"
10058
+ # - "All scenarios except Shopping Actions"
10059
+ # - "Shopping Actions"
9289
10060
  # Corresponds to the JSON property `eligibility`
9290
10061
  # @return [String]
9291
10062
  attr_accessor :eligibility
@@ -9317,6 +10088,9 @@ module Google
9317
10088
  attr_accessor :rate_groups
9318
10089
 
9319
10090
  # Type of locations this service ships orders to.
10091
+ # Acceptable values are:
10092
+ # - "delivery"
10093
+ # - "pickup"
9320
10094
  # Corresponds to the JSON property `shipmentType`
9321
10095
  # @return [String]
9322
10096
  attr_accessor :shipment_type
@@ -9419,6 +10193,37 @@ module Google
9419
10193
  include Google::Apis::Core::Hashable
9420
10194
 
9421
10195
  # The shipping carrier that handles the package.
10196
+ # Acceptable values are:
10197
+ # - "boxtal"
10198
+ # - "bpost"
10199
+ # - "chronopost"
10200
+ # - "colisPrive"
10201
+ # - "colissimo"
10202
+ # - "cxt"
10203
+ # - "deliv"
10204
+ # - "dhl"
10205
+ # - "dpd"
10206
+ # - "dynamex"
10207
+ # - "eCourier"
10208
+ # - "easypost"
10209
+ # - "efw"
10210
+ # - "fedex"
10211
+ # - "fedexSmartpost"
10212
+ # - "geodis"
10213
+ # - "gls"
10214
+ # - "googleCourier"
10215
+ # - "gsx"
10216
+ # - "jdLogistics"
10217
+ # - "laPoste"
10218
+ # - "lasership"
10219
+ # - "manual"
10220
+ # - "mpx"
10221
+ # - "onTrac"
10222
+ # - "other"
10223
+ # - "tnt"
10224
+ # - "uds"
10225
+ # - "ups"
10226
+ # - "usps"
9422
10227
  # Corresponds to the JSON property `carrier`
9423
10228
  # @return [String]
9424
10229
  attr_accessor :carrier
@@ -9510,7 +10315,10 @@ module Google
9510
10315
  # @return [Fixnum]
9511
10316
  attr_accessor :merchant_id
9512
10317
 
9513
- #
10318
+ # The method of the batch entry.
10319
+ # Acceptable values are:
10320
+ # - "get"
10321
+ # - "update"
9514
10322
  # Corresponds to the JSON property `method`
9515
10323
  # @return [String]
9516
10324
  attr_accessor :method_prop
@@ -9766,34 +10574,54 @@ module Google
9766
10574
  # @return [String]
9767
10575
  attr_accessor :kind
9768
10576
 
9769
- # Line items that are ordered. At least one line item must be provided.
10577
+ # Required. Line items that are ordered. At least one line item must be provided.
9770
10578
  # Corresponds to the JSON property `lineItems`
9771
10579
  # @return [Array<Google::Apis::ContentV2_1::TestOrderLineItem>]
9772
10580
  attr_accessor :line_items
9773
10581
 
9774
10582
  # Determines if test order must be pulled by merchant or pushed to merchant via
9775
10583
  # push integration.
10584
+ # Acceptable values are:
10585
+ # - "checkoutIntegration"
10586
+ # - "merchantPull"
9776
10587
  # Corresponds to the JSON property `notificationMode`
9777
10588
  # @return [String]
9778
10589
  attr_accessor :notification_mode
9779
10590
 
9780
- # The billing address.
10591
+ # Required. The billing address.
10592
+ # Acceptable values are:
10593
+ # - "dwight"
10594
+ # - "jim"
10595
+ # - "pam"
9781
10596
  # Corresponds to the JSON property `predefinedBillingAddress`
9782
10597
  # @return [String]
9783
10598
  attr_accessor :predefined_billing_address
9784
10599
 
9785
- # Identifier of one of the predefined delivery addresses for the delivery.
10600
+ # Required. Identifier of one of the predefined delivery addresses for the
10601
+ # delivery.
10602
+ # Acceptable values are:
10603
+ # - "dwight"
10604
+ # - "jim"
10605
+ # - "pam"
9786
10606
  # Corresponds to the JSON property `predefinedDeliveryAddress`
9787
10607
  # @return [String]
9788
10608
  attr_accessor :predefined_delivery_address
9789
10609
 
9790
- # Email address of the customer.
10610
+ # Required. Email address of the customer.
10611
+ # Acceptable values are:
10612
+ # - "pog.dwight.schrute@gmail.com"
10613
+ # - "pog.jim.halpert@gmail.com"
10614
+ # - "penpog.pam.beesly@gmail.comding"
9791
10615
  # Corresponds to the JSON property `predefinedEmail`
9792
10616
  # @return [String]
9793
10617
  attr_accessor :predefined_email
9794
10618
 
9795
10619
  # Identifier of one of the predefined pickup details. Required for orders
9796
10620
  # containing line items with shipping type pickup.
10621
+ # Acceptable values are:
10622
+ # - "dwight"
10623
+ # - "jim"
10624
+ # - "pam"
9797
10625
  # Corresponds to the JSON property `predefinedPickupDetails`
9798
10626
  # @return [String]
9799
10627
  attr_accessor :predefined_pickup_details
@@ -9803,15 +10631,22 @@ module Google
9803
10631
  # @return [Array<Google::Apis::ContentV2_1::OrderPromotion>]
9804
10632
  attr_accessor :promotions
9805
10633
 
9806
- # The price of shipping for all items. Shipping tax is automatically calculated
9807
- # for orders where marketplace facilitator tax laws are applicable. Otherwise,
9808
- # tax settings from Merchant Center are applied. Note that shipping is not taxed
9809
- # in certain states.
10634
+ # Required. The price of shipping for all items. Shipping tax is automatically
10635
+ # calculated for orders where marketplace facilitator tax laws are applicable.
10636
+ # Otherwise, tax settings from Merchant Center are applied. Note that shipping
10637
+ # is not taxed in certain states.
9810
10638
  # Corresponds to the JSON property `shippingCost`
9811
10639
  # @return [Google::Apis::ContentV2_1::Price]
9812
10640
  attr_accessor :shipping_cost
9813
10641
 
9814
- # The requested shipping option.
10642
+ # Required. The requested shipping option.
10643
+ # Acceptable values are:
10644
+ # - "economy"
10645
+ # - "expedited"
10646
+ # - "oneDay"
10647
+ # - "sameDay"
10648
+ # - "standard"
10649
+ # - "twoDay"
9815
10650
  # Corresponds to the JSON property `shippingOption`
9816
10651
  # @return [String]
9817
10652
  attr_accessor :shipping_option
@@ -9840,22 +10675,22 @@ module Google
9840
10675
  class TestOrderLineItem
9841
10676
  include Google::Apis::Core::Hashable
9842
10677
 
9843
- # Product data from the time of the order placement.
10678
+ # Required. Product data from the time of the order placement.
9844
10679
  # Corresponds to the JSON property `product`
9845
10680
  # @return [Google::Apis::ContentV2_1::TestOrderLineItemProduct]
9846
10681
  attr_accessor :product
9847
10682
 
9848
- # Number of items ordered.
10683
+ # Required. Number of items ordered.
9849
10684
  # Corresponds to the JSON property `quantityOrdered`
9850
10685
  # @return [Fixnum]
9851
10686
  attr_accessor :quantity_ordered
9852
10687
 
9853
- # Details of the return policy for the line item.
10688
+ # Required. Details of the return policy for the line item.
9854
10689
  # Corresponds to the JSON property `returnInfo`
9855
10690
  # @return [Google::Apis::ContentV2_1::OrderLineItemReturnInfo]
9856
10691
  attr_accessor :return_info
9857
10692
 
9858
- # Details of the requested shipping for the line item.
10693
+ # Required. Details of the requested shipping for the line item.
9859
10694
  # Corresponds to the JSON property `shippingDetails`
9860
10695
  # @return [Google::Apis::ContentV2_1::OrderLineItemShippingDetails]
9861
10696
  attr_accessor :shipping_details
@@ -9877,17 +10712,22 @@ module Google
9877
10712
  class TestOrderLineItemProduct
9878
10713
  include Google::Apis::Core::Hashable
9879
10714
 
9880
- # Brand of the item.
10715
+ # Required. Brand of the item.
9881
10716
  # Corresponds to the JSON property `brand`
9882
10717
  # @return [String]
9883
10718
  attr_accessor :brand
9884
10719
 
9885
- # Condition or state of the item.
10720
+ # Required. Condition or state of the item.
10721
+ # Acceptable values are:
10722
+ # - "new"
9886
10723
  # Corresponds to the JSON property `condition`
9887
10724
  # @return [String]
9888
10725
  attr_accessor :condition
9889
10726
 
9890
- # The two-letter ISO 639-1 language code for the item.
10727
+ # Required. The two-letter ISO 639-1 language code for the item.
10728
+ # Acceptable values are:
10729
+ # - "en"
10730
+ # - "fr"
9891
10731
  # Corresponds to the JSON property `contentLanguage`
9892
10732
  # @return [String]
9893
10733
  attr_accessor :content_language
@@ -9902,7 +10742,7 @@ module Google
9902
10742
  # @return [String]
9903
10743
  attr_accessor :gtin
9904
10744
 
9905
- # URL of an image of the item.
10745
+ # Required. URL of an image of the item.
9906
10746
  # Corresponds to the JSON property `imageLink`
9907
10747
  # @return [String]
9908
10748
  attr_accessor :image_link
@@ -9917,24 +10757,24 @@ module Google
9917
10757
  # @return [String]
9918
10758
  attr_accessor :mpn
9919
10759
 
9920
- # An identifier of the item.
10760
+ # Required. An identifier of the item.
9921
10761
  # Corresponds to the JSON property `offerId`
9922
10762
  # @return [String]
9923
10763
  attr_accessor :offer_id
9924
10764
 
9925
- # The price for the product. Tax is automatically calculated for orders where
9926
- # marketplace facilitator tax laws are applicable. Otherwise, tax settings from
9927
- # Merchant Center are applied.
10765
+ # Required. The price for the product. Tax is automatically calculated for
10766
+ # orders where marketplace facilitator tax laws are applicable. Otherwise, tax
10767
+ # settings from Merchant Center are applied.
9928
10768
  # Corresponds to the JSON property `price`
9929
10769
  # @return [Google::Apis::ContentV2_1::Price]
9930
10770
  attr_accessor :price
9931
10771
 
9932
- # The CLDR territory code of the target country of the product.
10772
+ # Required. The CLDR territory code of the target country of the product.
9933
10773
  # Corresponds to the JSON property `targetCountry`
9934
10774
  # @return [String]
9935
10775
  attr_accessor :target_country
9936
10776
 
9937
- # The title of the product.
10777
+ # Required. The title of the product.
9938
10778
  # Corresponds to the JSON property `title`
9939
10779
  # @return [String]
9940
10780
  attr_accessor :title
@@ -10087,6 +10927,8 @@ module Google
10087
10927
  attr_accessor :additional_charge_amount
10088
10928
 
10089
10929
  # [required] Type of the additional charge.
10930
+ # Acceptable values are:
10931
+ # - "shipping"
10090
10932
  # Corresponds to the JSON property `type`
10091
10933
  # @return [String]
10092
10934
  attr_accessor :type
@@ -10118,6 +10960,10 @@ module Google
10118
10960
  attr_accessor :tax_name
10119
10961
 
10120
10962
  # [required] Type of the tax.
10963
+ # Acceptable values are:
10964
+ # - "otherFee"
10965
+ # - "otherFeeTax"
10966
+ # - "sales"
10121
10967
  # Corresponds to the JSON property `taxType`
10122
10968
  # @return [String]
10123
10969
  attr_accessor :tax_type
@@ -10188,12 +11034,15 @@ module Google
10188
11034
  class Weight
10189
11035
  include Google::Apis::Core::Hashable
10190
11036
 
10191
- # The weight unit.
11037
+ # Required. The weight unit.
11038
+ # Acceptable values are:
11039
+ # - "kg"
11040
+ # - "lb"
10192
11041
  # Corresponds to the JSON property `unit`
10193
11042
  # @return [String]
10194
11043
  attr_accessor :unit
10195
11044
 
10196
- # The weight represented as a number.
11045
+ # Required. The weight represented as a number.
10197
11046
  # Corresponds to the JSON property `value`
10198
11047
  # @return [String]
10199
11048
  attr_accessor :value