google-api-client 0.37.3 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -166,12 +166,6 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
- class FeatureConfig
170
- class Representation < Google::Apis::Core::JsonRepresentation; end
171
-
172
- include Google::Apis::Core::JsonObjectSupport
173
- end
174
-
175
169
  class GcePersistentDiskCsiDriverConfig
176
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
171
 
@@ -388,13 +382,13 @@ module Google
388
382
  include Google::Apis::Core::JsonObjectSupport
389
383
  end
390
384
 
391
- class PremiumConfig
385
+ class PrivateClusterConfig
392
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
387
 
394
388
  include Google::Apis::Core::JsonObjectSupport
395
389
  end
396
390
 
397
- class PrivateClusterConfig
391
+ class PrivateClusterMasterGlobalAccessConfig
398
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
393
 
400
394
  include Google::Apis::Core::JsonObjectSupport
@@ -550,19 +544,13 @@ module Google
550
544
  include Google::Apis::Core::JsonObjectSupport
551
545
  end
552
546
 
553
- class TierConfig
554
- class Representation < Google::Apis::Core::JsonRepresentation; end
555
-
556
- include Google::Apis::Core::JsonObjectSupport
557
- end
558
-
559
- class TierSettings
547
+ class TimeWindow
560
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
561
549
 
562
550
  include Google::Apis::Core::JsonObjectSupport
563
551
  end
564
552
 
565
- class TimeWindow
553
+ class TpuConfig
566
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
555
 
568
556
  include Google::Apis::Core::JsonObjectSupport
@@ -813,7 +801,7 @@ module Google
813
801
  property :status, as: 'status'
814
802
  property :status_message, as: 'statusMessage'
815
803
  property :subnetwork, as: 'subnetwork'
816
- property :tier_settings, as: 'tierSettings', class: Google::Apis::ContainerV1beta1::TierSettings, decorator: Google::Apis::ContainerV1beta1::TierSettings::Representation
804
+ property :tpu_config, as: 'tpuConfig', class: Google::Apis::ContainerV1beta1::TpuConfig, decorator: Google::Apis::ContainerV1beta1::TpuConfig::Representation
817
805
 
818
806
  property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
819
807
  property :vertical_pod_autoscaling, as: 'verticalPodAutoscaling', class: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling::Representation
@@ -880,6 +868,8 @@ module Google
880
868
 
881
869
  property :desired_shielded_nodes, as: 'desiredShieldedNodes', class: Google::Apis::ContainerV1beta1::ShieldedNodes, decorator: Google::Apis::ContainerV1beta1::ShieldedNodes::Representation
882
870
 
871
+ property :desired_tpu_config, as: 'desiredTpuConfig', class: Google::Apis::ContainerV1beta1::TpuConfig, decorator: Google::Apis::ContainerV1beta1::TpuConfig::Representation
872
+
883
873
  property :desired_vertical_pod_autoscaling, as: 'desiredVerticalPodAutoscaling', class: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling::Representation
884
874
 
885
875
  property :desired_workload_identity_config, as: 'desiredWorkloadIdentityConfig', class: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig, decorator: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig::Representation
@@ -956,14 +946,6 @@ module Google
956
946
  end
957
947
  end
958
948
 
959
- class FeatureConfig
960
- # @private
961
- class Representation < Google::Apis::Core::JsonRepresentation
962
- property :feature, as: 'feature'
963
- property :tier, as: 'tier'
964
- end
965
- end
966
-
967
949
  class GcePersistentDiskCsiDriverConfig
968
950
  # @private
969
951
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1355,22 +1337,13 @@ module Google
1355
1337
  end
1356
1338
  end
1357
1339
 
1358
- class PremiumConfig
1359
- # @private
1360
- class Representation < Google::Apis::Core::JsonRepresentation
1361
- collection :features, as: 'features', class: Google::Apis::ContainerV1beta1::FeatureConfig, decorator: Google::Apis::ContainerV1beta1::FeatureConfig::Representation
1362
-
1363
- collection :tiers, as: 'tiers', class: Google::Apis::ContainerV1beta1::TierConfig, decorator: Google::Apis::ContainerV1beta1::TierConfig::Representation
1364
-
1365
- end
1366
- end
1367
-
1368
1340
  class PrivateClusterConfig
1369
1341
  # @private
1370
1342
  class Representation < Google::Apis::Core::JsonRepresentation
1371
- property :enable_peering_route_sharing, as: 'enablePeeringRouteSharing'
1372
1343
  property :enable_private_endpoint, as: 'enablePrivateEndpoint'
1373
1344
  property :enable_private_nodes, as: 'enablePrivateNodes'
1345
+ property :master_global_access_config, as: 'masterGlobalAccessConfig', class: Google::Apis::ContainerV1beta1::PrivateClusterMasterGlobalAccessConfig, decorator: Google::Apis::ContainerV1beta1::PrivateClusterMasterGlobalAccessConfig::Representation
1346
+
1374
1347
  property :master_ipv4_cidr_block, as: 'masterIpv4CidrBlock'
1375
1348
  property :peering_name, as: 'peeringName'
1376
1349
  property :private_endpoint, as: 'privateEndpoint'
@@ -1378,6 +1351,13 @@ module Google
1378
1351
  end
1379
1352
  end
1380
1353
 
1354
+ class PrivateClusterMasterGlobalAccessConfig
1355
+ # @private
1356
+ class Representation < Google::Apis::Core::JsonRepresentation
1357
+ property :enabled, as: 'enabled'
1358
+ end
1359
+ end
1360
+
1381
1361
  class RecurringTimeWindow
1382
1362
  # @private
1383
1363
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1459,8 +1439,6 @@ module Google
1459
1439
 
1460
1440
  property :default_cluster_version, as: 'defaultClusterVersion'
1461
1441
  property :default_image_type, as: 'defaultImageType'
1462
- property :premium_config, as: 'premiumConfig', class: Google::Apis::ContainerV1beta1::PremiumConfig, decorator: Google::Apis::ContainerV1beta1::PremiumConfig::Representation
1463
-
1464
1442
  collection :valid_image_types, as: 'validImageTypes'
1465
1443
  collection :valid_master_versions, as: 'validMasterVersions'
1466
1444
  collection :valid_node_versions, as: 'validNodeVersions'
@@ -1644,26 +1622,20 @@ module Google
1644
1622
  end
1645
1623
  end
1646
1624
 
1647
- class TierConfig
1648
- # @private
1649
- class Representation < Google::Apis::Core::JsonRepresentation
1650
- property :parent, as: 'parent'
1651
- property :tier, as: 'tier'
1652
- end
1653
- end
1654
-
1655
- class TierSettings
1625
+ class TimeWindow
1656
1626
  # @private
1657
1627
  class Representation < Google::Apis::Core::JsonRepresentation
1658
- property :tier, as: 'tier'
1628
+ property :end_time, as: 'endTime'
1629
+ property :start_time, as: 'startTime'
1659
1630
  end
1660
1631
  end
1661
1632
 
1662
- class TimeWindow
1633
+ class TpuConfig
1663
1634
  # @private
1664
1635
  class Representation < Google::Apis::Core::JsonRepresentation
1665
- property :end_time, as: 'endTime'
1666
- property :start_time, as: 'startTime'
1636
+ property :enabled, as: 'enabled'
1637
+ property :ipv4_cidr_block, as: 'ipv4CidrBlock'
1638
+ property :use_service_networking, as: 'useServiceNetworking'
1667
1639
  end
1668
1640
  end
1669
1641
 
@@ -491,7 +491,7 @@ module Google
491
491
  # Sets the locations for a specific cluster.
492
492
  # Deprecated. Use
493
493
  # [projects.locations.clusters.update](/kubernetes-engine/docs/reference/rest/
494
- # v1beta1/projects.locations.clusters.update)
494
+ # v1beta1/projects.locations.clusters/update)
495
495
  # instead.
496
496
  # @param [String] name
497
497
  # The name (project, location, cluster) of the cluster to set locations.
@@ -1724,7 +1724,7 @@ module Google
1724
1724
  # Sets the locations for a specific cluster.
1725
1725
  # Deprecated. Use
1726
1726
  # [projects.locations.clusters.update](/kubernetes-engine/docs/reference/rest/
1727
- # v1beta1/projects.locations.clusters.update)
1727
+ # v1beta1/projects.locations.clusters/update)
1728
1728
  # instead.
1729
1729
  # @param [String] project_id
1730
1730
  # Required. Deprecated. The Google Developers Console [project ID or project
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2
28
28
  VERSION = 'V2'
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::AccountGoogleMyBusinessLink]
55
55
  attr_accessor :google_my_business_link
56
56
 
57
- # Merchant Center account ID.
57
+ # Required for update. Merchant Center account ID.
58
58
  # Corresponds to the JSON property `id`
59
59
  # @return [Fixnum]
60
60
  attr_accessor :id
@@ -65,7 +65,7 @@ module Google
65
65
  # @return [String]
66
66
  attr_accessor :kind
67
67
 
68
- # Display name for the account.
68
+ # Required. Display name for the account.
69
69
  # Corresponds to the JSON property `name`
70
70
  # @return [String]
71
71
  attr_accessor :name
@@ -184,6 +184,9 @@ module Google
184
184
  # remain unchanged. Re-uploading a link with deprecated status inactive is
185
185
  # equivalent to not submitting the link at all and will delete the link if it
186
186
  # was active or cancel the link request if it was pending.
187
+ # Acceptable values are:
188
+ # - "active"
189
+ # - "pending"
187
190
  # Corresponds to the JSON property `status`
188
191
  # @return [String]
189
192
  attr_accessor :status
@@ -273,6 +276,9 @@ module Google
273
276
  attr_accessor :gmb_email
274
277
 
275
278
  # Status of the link between this Merchant Center account and the GMB account.
279
+ # Acceptable values are:
280
+ # - "active"
281
+ # - "pending"
276
282
  # Corresponds to the JSON property `status`
277
283
  # @return [String]
278
284
  attr_accessor :status
@@ -397,6 +403,10 @@ module Google
397
403
  attr_accessor :id
398
404
 
399
405
  # Severity of the issue.
406
+ # Acceptable values are:
407
+ # - "critical"
408
+ # - "error"
409
+ # - "suggestion"
400
410
  # Corresponds to the JSON property `severity`
401
411
  # @return [String]
402
412
  attr_accessor :severity
@@ -471,7 +481,10 @@ module Google
471
481
  # @return [Fixnum]
472
482
  attr_accessor :num_items
473
483
 
474
- #
484
+ # Acceptable values are:
485
+ # - "critical"
486
+ # - "error"
487
+ # - "suggestion"
475
488
  # Corresponds to the JSON property `severity`
476
489
  # @return [String]
477
490
  attr_accessor :severity
@@ -610,6 +623,9 @@ module Google
610
623
  include Google::Apis::Core::Hashable
611
624
 
612
625
  # The channel the data applies to.
626
+ # Acceptable values are:
627
+ # - "local"
628
+ # - "online"
613
629
  # Corresponds to the JSON property `channel`
614
630
  # @return [String]
615
631
  attr_accessor :channel
@@ -689,7 +705,7 @@ module Google
689
705
  class AccountTax
690
706
  include Google::Apis::Core::Hashable
691
707
 
692
- # The ID of the account to which these account tax settings belong.
708
+ # Required. The ID of the account to which these account tax settings belong.
693
709
  # Corresponds to the JSON property `accountId`
694
710
  # @return [Fixnum]
695
711
  attr_accessor :account_id
@@ -727,8 +743,8 @@ module Google
727
743
  # @return [String]
728
744
  attr_accessor :country
729
745
 
730
- # State (or province) is which the tax is applicable, described by its location
731
- # ID (also called criteria ID).
746
+ # Required. State (or province) is which the tax is applicable, described by its
747
+ # location ID (also called criteria ID).
732
748
  # Corresponds to the JSON property `locationId`
733
749
  # @return [Fixnum]
734
750
  attr_accessor :location_id
@@ -953,6 +969,13 @@ module Google
953
969
  attr_accessor :merchant_id
954
970
 
955
971
  # The method of the batch entry.
972
+ # Acceptable values are:
973
+ # - "claimWebsite"
974
+ # - "delete"
975
+ # - "get"
976
+ # - "insert"
977
+ # - "link"
978
+ # - "update"
956
979
  # Corresponds to the JSON property `method`
957
980
  # @return [String]
958
981
  attr_accessor :request_method
@@ -987,11 +1010,18 @@ module Google
987
1010
 
988
1011
  # Action to perform for this link. The "request" action is only available to
989
1012
  # select merchants.
1013
+ # Acceptable values are:
1014
+ # - "approve"
1015
+ # - "remove"
1016
+ # - "request"
990
1017
  # Corresponds to the JSON property `action`
991
1018
  # @return [String]
992
1019
  attr_accessor :action
993
1020
 
994
1021
  # Type of the link between the two accounts.
1022
+ # Acceptable values are:
1023
+ # - "channelPartner"
1024
+ # - "eCommercePlatform"
995
1025
  # Corresponds to the JSON property `linkType`
996
1026
  # @return [String]
997
1027
  attr_accessor :link_type
@@ -1067,6 +1097,10 @@ module Google
1067
1097
  attr_accessor :kind
1068
1098
 
1069
1099
  # Deprecated. This field is never set.
1100
+ # Acceptable values are:
1101
+ # - "active"
1102
+ # - "inactive"
1103
+ # - "pending"
1070
1104
  # Corresponds to the JSON property `linkStatus`
1071
1105
  # @return [String]
1072
1106
  attr_accessor :link_status
@@ -1091,11 +1125,18 @@ module Google
1091
1125
 
1092
1126
  # Action to perform for this link. The "request" action is only available to
1093
1127
  # select merchants.
1128
+ # Acceptable values are:
1129
+ # - "approve"
1130
+ # - "remove"
1131
+ # - "request"
1094
1132
  # Corresponds to the JSON property `action`
1095
1133
  # @return [String]
1096
1134
  attr_accessor :action
1097
1135
 
1098
1136
  # Type of the link between the two accounts.
1137
+ # Acceptable values are:
1138
+ # - "channelPartner"
1139
+ # - "eCommercePlatform"
1099
1140
  # Corresponds to the JSON property `linkType`
1100
1141
  # @return [String]
1101
1142
  attr_accessor :link_type
@@ -1213,7 +1254,9 @@ module Google
1213
1254
  # @return [Fixnum]
1214
1255
  attr_accessor :merchant_id
1215
1256
 
1216
- # The method (get).
1257
+ # The method of the batch entry.
1258
+ # Acceptable values are:
1259
+ # - "get"
1217
1260
  # Corresponds to the JSON property `method`
1218
1261
  # @return [String]
1219
1262
  attr_accessor :request_method
@@ -1365,7 +1408,10 @@ module Google
1365
1408
  # @return [Fixnum]
1366
1409
  attr_accessor :merchant_id
1367
1410
 
1368
- #
1411
+ # The method of the batch entry.
1412
+ # Acceptable values are:
1413
+ # - "get"
1414
+ # - "update"
1369
1415
  # Corresponds to the JSON property `method`
1370
1416
  # @return [String]
1371
1417
  attr_accessor :request_method
@@ -1622,6 +1668,16 @@ module Google
1622
1668
  attr_accessor :name
1623
1669
 
1624
1670
  # The type of the attribute.
1671
+ # Acceptable values are:
1672
+ # - "boolean"
1673
+ # - "datetimerange"
1674
+ # - "float"
1675
+ # - "group"
1676
+ # - "int"
1677
+ # - "price"
1678
+ # - "text"
1679
+ # - "time"
1680
+ # - "url"
1625
1681
  # Corresponds to the JSON property `type`
1626
1682
  # @return [String]
1627
1683
  attr_accessor :type
@@ -1685,6 +1741,21 @@ module Google
1685
1741
  attr_accessor :description
1686
1742
 
1687
1743
  # Code of the return reason.
1744
+ # Acceptable values are:
1745
+ # - "betterPriceFound"
1746
+ # - "changedMind"
1747
+ # - "damagedOrDefectiveItem"
1748
+ # - "didNotMatchDescription"
1749
+ # - "doesNotFit"
1750
+ # - "expiredItem"
1751
+ # - "incorrectItemReceived"
1752
+ # - "noLongerNeeded"
1753
+ # - "notSpecified"
1754
+ # - "orderedWrongItem"
1755
+ # - "other"
1756
+ # - "qualityNotExpected"
1757
+ # - "receivedTooLate"
1758
+ # - "undeliverable"
1688
1759
  # Corresponds to the JSON property `reasonCode`
1689
1760
  # @return [String]
1690
1761
  attr_accessor :reason_code
@@ -1750,8 +1821,12 @@ module Google
1750
1821
  # @return [String]
1751
1822
  attr_accessor :content_language
1752
1823
 
1753
- # The type of data feed. For product inventory feeds, only feeds for local
1754
- # stores, not online stores, are supported.
1824
+ # Required. The type of data feed. For product inventory feeds, only feeds for
1825
+ # local stores, not online stores, are supported.
1826
+ # Acceptable values are:
1827
+ # - "local products"
1828
+ # - "product inventory"
1829
+ # - "products"
1755
1830
  # Corresponds to the JSON property `contentType`
1756
1831
  # @return [String]
1757
1832
  attr_accessor :content_type
@@ -1764,7 +1839,7 @@ module Google
1764
1839
  # @return [Google::Apis::ContentV2::DatafeedFetchSchedule]
1765
1840
  attr_accessor :fetch_schedule
1766
1841
 
1767
- # The filename of the feed. All feeds must have a unique file name.
1842
+ # Required. The filename of the feed. All feeds must have a unique file name.
1768
1843
  # Corresponds to the JSON property `fileName`
1769
1844
  # @return [String]
1770
1845
  attr_accessor :file_name
@@ -1774,7 +1849,7 @@ module Google
1774
1849
  # @return [Google::Apis::ContentV2::DatafeedFormat]
1775
1850
  attr_accessor :format
1776
1851
 
1777
- # The ID of the data feed.
1852
+ # Required for update. The ID of the data feed.
1778
1853
  # Corresponds to the JSON property `id`
1779
1854
  # @return [Fixnum]
1780
1855
  attr_accessor :id
@@ -1791,7 +1866,7 @@ module Google
1791
1866
  # @return [String]
1792
1867
  attr_accessor :kind
1793
1868
 
1794
- # A descriptive name of the data feed.
1869
+ # Required for insert. A descriptive name of the data feed.
1795
1870
  # Corresponds to the JSON property `name`
1796
1871
  # @return [String]
1797
1872
  attr_accessor :name
@@ -1881,6 +1956,14 @@ module Google
1881
1956
  attr_accessor :username
1882
1957
 
1883
1958
  # The day of the week the feed file should be fetched.
1959
+ # Acceptable values are:
1960
+ # - "monday"
1961
+ # - "tuesday"
1962
+ # - "wednesday"
1963
+ # - "thursday"
1964
+ # - "friday"
1965
+ # - "saturday"
1966
+ # - "sunday"
1884
1967
  # Corresponds to the JSON property `weekday`
1885
1968
  # @return [String]
1886
1969
  attr_accessor :weekday
@@ -1910,18 +1993,31 @@ module Google
1910
1993
  # Delimiter for the separation of values in a delimiter-separated values feed.
1911
1994
  # If not specified, the delimiter will be auto-detected. Ignored for non-DSV
1912
1995
  # data feeds.
1996
+ # Acceptable values are:
1997
+ # - "pipe"
1998
+ # - "tab"
1999
+ # - "tilde"
1913
2000
  # Corresponds to the JSON property `columnDelimiter`
1914
2001
  # @return [String]
1915
2002
  attr_accessor :column_delimiter
1916
2003
 
1917
2004
  # Character encoding scheme of the data feed. If not specified, the encoding
1918
2005
  # will be auto-detected.
2006
+ # Acceptable values are:
2007
+ # - "latin-1"
2008
+ # - "utf-16be"
2009
+ # - "utf-16le"
2010
+ # - "utf-8"
2011
+ # - "windows-1252"
1919
2012
  # Corresponds to the JSON property `fileEncoding`
1920
2013
  # @return [String]
1921
2014
  attr_accessor :file_encoding
1922
2015
 
1923
2016
  # Specifies how double quotes are interpreted. If not specified, the mode will
1924
2017
  # be auto-detected. Ignored for non-DSV data feeds.
2018
+ # Acceptable values are:
2019
+ # - "normal character"
2020
+ # - "value quoting"
1925
2021
  # Corresponds to the JSON property `quotingMode`
1926
2022
  # @return [String]
1927
2023
  attr_accessor :quoting_mode
@@ -1986,6 +2082,13 @@ module Google
1986
2082
  attr_accessor :last_upload_date
1987
2083
 
1988
2084
  # The processing status of the feed.
2085
+ # Acceptable values are:
2086
+ # - ""failure": The feed could not be processed or all items had errors."
2087
+ # - "in progress": The feed is being processed.
2088
+ # - "none": The feed has not yet been processed. For example, a feed that has
2089
+ # never been uploaded will have this processing status.
2090
+ # - "success": The feed was processed successfully, though some items might have
2091
+ # had errors.
1989
2092
  # Corresponds to the JSON property `processingStatus`
1990
2093
  # @return [String]
1991
2094
  attr_accessor :processing_status
@@ -2172,7 +2275,13 @@ module Google
2172
2275
  # @return [Fixnum]
2173
2276
  attr_accessor :merchant_id
2174
2277
 
2175
- #
2278
+ # The method of the batch entry.
2279
+ # Acceptable values are:
2280
+ # - "delete"
2281
+ # - "fetchNow"
2282
+ # - "get"
2283
+ # - "insert"
2284
+ # - "update"
2176
2285
  # Corresponds to the JSON property `method`
2177
2286
  # @return [String]
2178
2287
  attr_accessor :request_method
@@ -2352,7 +2461,9 @@ module Google
2352
2461
  # @return [Fixnum]
2353
2462
  attr_accessor :merchant_id
2354
2463
 
2355
- #
2464
+ # The method of the batch entry.
2465
+ # Acceptable values are:
2466
+ # - "get"
2356
2467
  # Corresponds to the JSON property `method`
2357
2468
  # @return [String]
2358
2469
  attr_accessor :request_method
@@ -2810,6 +2921,15 @@ module Google
2810
2921
  attr_accessor :id
2811
2922
 
2812
2923
  # The holiday type. Always present.
2924
+ # Acceptable values are:
2925
+ # - "Christmas"
2926
+ # - "Easter"
2927
+ # - "Father's Day"
2928
+ # - "Halloween"
2929
+ # - "Independence Day (USA)"
2930
+ # - "Mother's Day"
2931
+ # - "Thanksgiving"
2932
+ # - "Valentine's Day"
2813
2933
  # Corresponds to the JSON property `type`
2814
2934
  # @return [String]
2815
2935
  attr_accessor :type
@@ -2859,6 +2979,10 @@ module Google
2859
2979
  include Google::Apis::Core::Hashable
2860
2980
 
2861
2981
  # The availability of the product.
2982
+ # Acceptable values are:
2983
+ # - "in stock"
2984
+ # - "out of stock"
2985
+ # - "preorder"
2862
2986
  # Corresponds to the JSON property `availability`
2863
2987
  # @return [String]
2864
2988
  attr_accessor :availability
@@ -3105,6 +3229,11 @@ module Google
3105
3229
  # should be shown as buy, reserve, or not supported. Only supported for local
3106
3230
  # inventory. Unless the value is "not supported", must be submitted together
3107
3231
  # with pickupSla.
3232
+ # Acceptable values are:
3233
+ # - "buy"
3234
+ # - "not supported"
3235
+ # - "reserve"
3236
+ # - "ship to store"
3108
3237
  # Corresponds to the JSON property `pickupMethod`
3109
3238
  # @return [String]
3110
3239
  attr_accessor :pickup_method
@@ -3112,6 +3241,17 @@ module Google
3112
3241
  # The expected date that an order will be ready for pickup, relative to when the
3113
3242
  # order is placed. Only supported for local inventory. Must be submitted
3114
3243
  # together with pickupMethod.
3244
+ # Acceptable values are:
3245
+ # - "five day"
3246
+ # - "four day"
3247
+ # - "multi day"
3248
+ # - "multi week"
3249
+ # - "next day"
3250
+ # - "same day"
3251
+ # - "seven day"
3252
+ # - "six day"
3253
+ # - "three day"
3254
+ # - "two day"
3115
3255
  # Corresponds to the JSON property `pickupSla`
3116
3256
  # @return [String]
3117
3257
  attr_accessor :pickup_sla
@@ -3132,6 +3272,10 @@ module Google
3132
3272
  include Google::Apis::Core::Hashable
3133
3273
 
3134
3274
  # The availability of the product.
3275
+ # Acceptable values are:
3276
+ # - "in stock"
3277
+ # - "out of stock"
3278
+ # - "preorder"
3135
3279
  # Corresponds to the JSON property `availability`
3136
3280
  # @return [String]
3137
3281
  attr_accessor :availability
@@ -3321,6 +3465,8 @@ module Google
3321
3465
  attr_accessor :total_amount
3322
3466
 
3323
3467
  # [required] Type of the additional charge.
3468
+ # Acceptable values are:
3469
+ # - "shipping"
3324
3470
  # Corresponds to the JSON property `type`
3325
3471
  # @return [String]
3326
3472
  attr_accessor :type
@@ -3341,6 +3487,10 @@ module Google
3341
3487
  include Google::Apis::Core::Hashable
3342
3488
 
3343
3489
  # The status of the verification process for the About page.
3490
+ # Acceptable values are:
3491
+ # - "active"
3492
+ # - "inactive"
3493
+ # - "pending"
3344
3494
  # Corresponds to the JSON property `status`
3345
3495
  # @return [String]
3346
3496
  attr_accessor :status
@@ -3370,7 +3520,7 @@ module Google
3370
3520
  # @return [Google::Apis::ContentV2::LiaAboutPageSettings]
3371
3521
  attr_accessor :about
3372
3522
 
3373
- # CLDR country code (e.g. "US").
3523
+ # Required. CLDR country code (e.g. "US").
3374
3524
  # Corresponds to the JSON property `country`
3375
3525
  # @return [String]
3376
3526
  attr_accessor :country
@@ -3433,11 +3583,19 @@ module Google
3433
3583
  attr_accessor :inventory_verification_contact_name
3434
3584
 
3435
3585
  # The status of the verification contact.
3586
+ # Acceptable values are:
3587
+ # - "active"
3588
+ # - "inactive"
3589
+ # - "pending"
3436
3590
  # Corresponds to the JSON property `inventoryVerificationContactStatus`
3437
3591
  # @return [String]
3438
3592
  attr_accessor :inventory_verification_contact_status
3439
3593
 
3440
3594
  # The status of the inventory verification process.
3595
+ # Acceptable values are:
3596
+ # - "active"
3597
+ # - "inactive"
3598
+ # - "pending"
3441
3599
  # Corresponds to the JSON property `status`
3442
3600
  # @return [String]
3443
3601
  attr_accessor :status
@@ -3465,6 +3623,10 @@ module Google
3465
3623
  attr_accessor :shipping_cost_policy_url
3466
3624
 
3467
3625
  # The status of the ?On display to order? feature.
3626
+ # Acceptable values are:
3627
+ # - "active"
3628
+ # - "inactive"
3629
+ # - "pending"
3468
3630
  # Corresponds to the JSON property `status`
3469
3631
  # @return [String]
3470
3632
  attr_accessor :status
@@ -3605,7 +3767,14 @@ module Google
3605
3767
  # @return [Fixnum]
3606
3768
  attr_accessor :merchant_id
3607
3769
 
3608
- #
3770
+ # The method of the batch entry.
3771
+ # Acceptable values are:
3772
+ # - "get"
3773
+ # - "getAccessibleGmbAccounts"
3774
+ # - "requestGmbAccess"
3775
+ # - "requestInventoryVerification"
3776
+ # - "setInventoryVerificationContact"
3777
+ # - "update"
3609
3778
  # Corresponds to the JSON property `method`
3610
3779
  # @return [String]
3611
3780
  attr_accessor :method_prop
@@ -4021,6 +4190,12 @@ module Google
4021
4190
  attr_accessor :return_shipment_ids
4022
4191
 
4023
4192
  # State of the item.
4193
+ # Acceptable values are:
4194
+ # - "canceled"
4195
+ # - "new"
4196
+ # - "received"
4197
+ # - "refunded"
4198
+ # - "rejected"
4024
4199
  # Corresponds to the JSON property `state`
4025
4200
  # @return [String]
4026
4201
  attr_accessor :state
@@ -4052,6 +4227,9 @@ module Google
4052
4227
  alias_method :acknowledged?, :acknowledged
4053
4228
 
4054
4229
  # Deprecated.
4230
+ # Acceptable values are:
4231
+ # - "googleExpress"
4232
+ # - "purchasesOnGoogle"
4055
4233
  # Corresponds to the JSON property `channelType`
4056
4234
  # @return [String]
4057
4235
  attr_accessor :channel_type
@@ -4105,6 +4283,11 @@ module Google
4105
4283
  attr_accessor :payment_method
4106
4284
 
4107
4285
  # The status of the payment.
4286
+ # Acceptable values are:
4287
+ # - "paymentCaptured"
4288
+ # - "paymentRejected"
4289
+ # - "paymentSecured"
4290
+ # - "pendingAuthorization"
4108
4291
  # Corresponds to the JSON property `paymentStatus`
4109
4292
  # @return [String]
4110
4293
  attr_accessor :payment_status
@@ -4162,16 +4345,36 @@ module Google
4162
4345
  attr_accessor :shipping_cost_tax
4163
4346
 
4164
4347
  # Deprecated. Shipping details are provided with line items instead.
4348
+ # Acceptable values are:
4349
+ # - "economy"
4350
+ # - "expedited"
4351
+ # - "oneDay"
4352
+ # - "sameDay"
4353
+ # - "standard"
4354
+ # - "twoDay"
4165
4355
  # Corresponds to the JSON property `shippingOption`
4166
4356
  # @return [String]
4167
4357
  attr_accessor :shipping_option
4168
4358
 
4169
4359
  # The status of the order.
4360
+ # Acceptable values are:
4361
+ # - "canceled"
4362
+ # - "delivered"
4363
+ # - "inProgress"
4364
+ # - "partiallyDelivered"
4365
+ # - "partiallyReturned"
4366
+ # - "partiallyShipped"
4367
+ # - "pendingShipment"
4368
+ # - "returned"
4369
+ # - "shipped"
4170
4370
  # Corresponds to the JSON property `status`
4171
4371
  # @return [String]
4172
4372
  attr_accessor :status
4173
4373
 
4174
4374
  # The party responsible for collecting and remitting taxes.
4375
+ # Acceptable values are:
4376
+ # - "marketplaceFacilitator"
4377
+ # - "merchant"
4175
4378
  # Corresponds to the JSON property `taxCollector`
4176
4379
  # @return [String]
4177
4380
  attr_accessor :tax_collector
@@ -4281,6 +4484,13 @@ module Google
4281
4484
  include Google::Apis::Core::Hashable
4282
4485
 
4283
4486
  # The actor that created the cancellation.
4487
+ # Acceptable values are:
4488
+ # - "customer"
4489
+ # - "googleBot"
4490
+ # - "googleCustomerService"
4491
+ # - "googlePayments"
4492
+ # - "googleSabre"
4493
+ # - "merchant"
4284
4494
  # Corresponds to the JSON property `actor`
4285
4495
  # @return [String]
4286
4496
  attr_accessor :actor
@@ -4298,6 +4508,35 @@ module Google
4298
4508
  # The reason for the cancellation. Orders that are canceled with a noInventory
4299
4509
  # reason will lead to the removal of the product from Shopping Actions until you
4300
4510
  # make an update to that product. This will not affect your Shopping ads.
4511
+ # Acceptable values are:
4512
+ # - "autoPostInternal"
4513
+ # - "autoPostInvalidBillingAddress"
4514
+ # - "autoPostNoInventory"
4515
+ # - "autoPostPriceError"
4516
+ # - "autoPostUndeliverableShippingAddress"
4517
+ # - "couponAbuse"
4518
+ # - "customerCanceled"
4519
+ # - "customerInitiatedCancel"
4520
+ # - "customerSupportRequested"
4521
+ # - "failToPushOrderGoogleError"
4522
+ # - "failToPushOrderMerchantError"
4523
+ # - "failToPushOrderMerchantFulfillmentError"
4524
+ # - "failToPushOrderToMerchant"
4525
+ # - "failToPushOrderToMerchantOutOfStock"
4526
+ # - "invalidCoupon"
4527
+ # - "malformedShippingAddress"
4528
+ # - "merchantDidNotShipOnTime"
4529
+ # - "noInventory"
4530
+ # - "orderTimeout"
4531
+ # - "other"
4532
+ # - "paymentAbuse"
4533
+ # - "paymentDeclined"
4534
+ # - "priceError"
4535
+ # - "returnRefundAbuse"
4536
+ # - "shippingPriceError"
4537
+ # - "taxError"
4538
+ # - "undeliverableShippingAddress"
4539
+ # - "unsupportedPoBoxAddress"
4301
4540
  # Corresponds to the JSON property `reason`
4302
4541
  # @return [String]
4303
4542
  attr_accessor :reason
@@ -4379,6 +4618,9 @@ module Google
4379
4618
  # customer selected granted in their most recent order, they can be subscribed
4380
4619
  # to marketing emails. Customers who have chosen denied must not be subscribed,
4381
4620
  # or must be unsubscribed if already opted-in.
4621
+ # Acceptable values are:
4622
+ # - "denied"
4623
+ # - "granted"
4382
4624
  # Corresponds to the JSON property `explicitMarketingPreference`
4383
4625
  # @return [String]
4384
4626
  attr_accessor :explicit_marketing_preference
@@ -4470,11 +4712,16 @@ module Google
4470
4712
  attr_accessor :long_title
4471
4713
 
4472
4714
  # Whether the promotion is applicable to all products or only specific products.
4715
+ # Acceptable values are:
4716
+ # - "allProducts"
4717
+ # - "specificProducts"
4473
4718
  # Corresponds to the JSON property `productApplicability`
4474
4719
  # @return [String]
4475
4720
  attr_accessor :product_applicability
4476
4721
 
4477
4722
  # Indicates that the promotion is valid online.
4723
+ # Acceptable values are:
4724
+ # - "online"
4478
4725
  # Corresponds to the JSON property `redemptionChannel`
4479
4726
  # @return [String]
4480
4727
  attr_accessor :redemption_channel
@@ -4512,6 +4759,21 @@ module Google
4512
4759
 
4513
4760
  # Further describes the benefit of the promotion. Note that we will expand on
4514
4761
  # this enumeration as we support new promotion sub-types.
4762
+ # Acceptable values are:
4763
+ # - "buyMGetMoneyOff"
4764
+ # - "buyMGetNMoneyOff"
4765
+ # - "buyMGetNPercentOff"
4766
+ # - "buyMGetPercentOff"
4767
+ # - "freeGift"
4768
+ # - "freeGiftWithItemId"
4769
+ # - "freeGiftWithValue"
4770
+ # - "freeOvernightShipping"
4771
+ # - "freeShipping"
4772
+ # - "freeTwoDayShipping"
4773
+ # - "moneyOff"
4774
+ # - "percentageOff"
4775
+ # - "rewardPoints"
4776
+ # - "salePrice"
4515
4777
  # Corresponds to the JSON property `subType`
4516
4778
  # @return [String]
4517
4779
  attr_accessor :sub_type
@@ -4523,6 +4785,9 @@ module Google
4523
4785
 
4524
4786
  # Describes whether the promotion applies to products (e.g. 20% off) or to
4525
4787
  # shipping (e.g. Free Shipping).
4788
+ # Acceptable values are:
4789
+ # - "product"
4790
+ # - "shipping"
4526
4791
  # Corresponds to the JSON property `type`
4527
4792
  # @return [String]
4528
4793
  attr_accessor :type
@@ -4664,11 +4929,18 @@ module Google
4664
4929
  attr_accessor :brand
4665
4930
 
4666
4931
  # The item's channel (online or local).
4932
+ # Acceptable values are:
4933
+ # - "local"
4934
+ # - "online"
4667
4935
  # Corresponds to the JSON property `channel`
4668
4936
  # @return [String]
4669
4937
  attr_accessor :channel
4670
4938
 
4671
4939
  # Condition or state of the item.
4940
+ # Acceptable values are:
4941
+ # - "new"
4942
+ # - "refurbished"
4943
+ # - "used"
4672
4944
  # Corresponds to the JSON property `condition`
4673
4945
  # @return [String]
4674
4946
  attr_accessor :condition
@@ -4819,18 +5091,18 @@ module Google
4819
5091
  class OrderLineItemReturnInfo
4820
5092
  include Google::Apis::Core::Hashable
4821
5093
 
4822
- # How many days later the item can be returned.
5094
+ # Required. How many days later the item can be returned.
4823
5095
  # Corresponds to the JSON property `daysToReturn`
4824
5096
  # @return [Fixnum]
4825
5097
  attr_accessor :days_to_return
4826
5098
 
4827
- # Whether the item is returnable.
5099
+ # Required. Whether the item is returnable.
4828
5100
  # Corresponds to the JSON property `isReturnable`
4829
5101
  # @return [Boolean]
4830
5102
  attr_accessor :is_returnable
4831
5103
  alias_method :is_returnable?, :is_returnable
4832
5104
 
4833
- # URL of the item return policy.
5105
+ # Required. URL of the item return policy.
4834
5106
  # Corresponds to the JSON property `policyUrl`
4835
5107
  # @return [String]
4836
5108
  attr_accessor :policy_url
@@ -4851,23 +5123,26 @@ module Google
4851
5123
  class OrderLineItemShippingDetails
4852
5124
  include Google::Apis::Core::Hashable
4853
5125
 
4854
- # The delivery by date, in ISO 8601 format.
5126
+ # Required. The delivery by date, in ISO 8601 format.
4855
5127
  # Corresponds to the JSON property `deliverByDate`
4856
5128
  # @return [String]
4857
5129
  attr_accessor :deliver_by_date
4858
5130
 
4859
- # Details of the shipping method.
5131
+ # Required. Details of the shipping method.
4860
5132
  # Corresponds to the JSON property `method`
4861
5133
  # @return [Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod]
4862
5134
  attr_accessor :method_prop
4863
5135
 
4864
- # The ship by date, in ISO 8601 format.
5136
+ # Required. The ship by date, in ISO 8601 format.
4865
5137
  # Corresponds to the JSON property `shipByDate`
4866
5138
  # @return [String]
4867
5139
  attr_accessor :ship_by_date
4868
5140
 
4869
5141
  # Type of shipment. Indicates whether deliveryDetails or pickupDetails is
4870
5142
  # applicable for this shipment.
5143
+ # Acceptable values are:
5144
+ # - "delivery"
5145
+ # - "pickup"
4871
5146
  # Corresponds to the JSON property `type`
4872
5147
  # @return [String]
4873
5148
  attr_accessor :type
@@ -4895,17 +5170,17 @@ module Google
4895
5170
  # @return [String]
4896
5171
  attr_accessor :carrier
4897
5172
 
4898
- # Maximum transit time.
5173
+ # Required. Maximum transit time.
4899
5174
  # Corresponds to the JSON property `maxDaysInTransit`
4900
5175
  # @return [Fixnum]
4901
5176
  attr_accessor :max_days_in_transit
4902
5177
 
4903
- # The name of the shipping method.
5178
+ # Required. The name of the shipping method.
4904
5179
  # Corresponds to the JSON property `methodName`
4905
5180
  # @return [String]
4906
5181
  attr_accessor :method_name
4907
5182
 
4908
- # Minimum transit time.
5183
+ # Required. Minimum transit time.
4909
5184
  # Corresponds to the JSON property `minDaysInTransit`
4910
5185
  # @return [Fixnum]
4911
5186
  attr_accessor :min_days_in_transit
@@ -5070,6 +5345,13 @@ module Google
5070
5345
  include Google::Apis::Core::Hashable
5071
5346
 
5072
5347
  # The actor that created the refund.
5348
+ # Acceptable values are:
5349
+ # - "customer"
5350
+ # - "googleBot"
5351
+ # - "googleCustomerService"
5352
+ # - "googlePayments"
5353
+ # - "googleSabre"
5354
+ # - "merchant"
5073
5355
  # Corresponds to the JSON property `actor`
5074
5356
  # @return [String]
5075
5357
  attr_accessor :actor
@@ -5085,6 +5367,51 @@ module Google
5085
5367
  attr_accessor :creation_date
5086
5368
 
5087
5369
  # The reason for the refund.
5370
+ # Acceptable values are:
5371
+ # - "adjustment"
5372
+ # - "autoPostInternal"
5373
+ # - "autoPostInvalidBillingAddress"
5374
+ # - "autoPostNoInventory"
5375
+ # - "autoPostPriceError"
5376
+ # - "autoPostUndeliverableShippingAddress"
5377
+ # - "couponAbuse"
5378
+ # - "courtesyAdjustment"
5379
+ # - "customerCanceled"
5380
+ # - "customerDiscretionaryReturn"
5381
+ # - "customerInitiatedMerchantCancel"
5382
+ # - "customerSupportRequested"
5383
+ # - "deliveredLateByCarrier"
5384
+ # - "deliveredTooLate"
5385
+ # - "expiredItem"
5386
+ # - "failToPushOrderGoogleError"
5387
+ # - "failToPushOrderMerchantError"
5388
+ # - "failToPushOrderMerchantFulfillmentError"
5389
+ # - "failToPushOrderToMerchant"
5390
+ # - "failToPushOrderToMerchantOutOfStock"
5391
+ # - "feeAdjustment"
5392
+ # - "invalidCoupon"
5393
+ # - "lateShipmentCredit"
5394
+ # - "malformedShippingAddress"
5395
+ # - "merchantDidNotShipOnTime"
5396
+ # - "noInventory"
5397
+ # - "orderTimeout"
5398
+ # - "other"
5399
+ # - "paymentAbuse"
5400
+ # - "paymentDeclined"
5401
+ # - "priceAdjustment"
5402
+ # - "priceError"
5403
+ # - "productArrivedDamaged"
5404
+ # - "productNotAsDescribed"
5405
+ # - "promoReallocation"
5406
+ # - "qualityNotAsExpected"
5407
+ # - "returnRefundAbuse"
5408
+ # - "shippingCostAdjustment"
5409
+ # - "shippingPriceError"
5410
+ # - "taxAdjustment"
5411
+ # - "taxError"
5412
+ # - "undeliverableShippingAddress"
5413
+ # - "unsupportedPoBoxAddress"
5414
+ # - "wrongProductShipped"
5088
5415
  # Corresponds to the JSON property `reason`
5089
5416
  # @return [String]
5090
5417
  attr_accessor :reason
@@ -5229,6 +5556,13 @@ module Google
5229
5556
  include Google::Apis::Core::Hashable
5230
5557
 
5231
5558
  # The actor that created the refund.
5559
+ # Acceptable values are:
5560
+ # - "customer"
5561
+ # - "googleBot"
5562
+ # - "googleCustomerService"
5563
+ # - "googlePayments"
5564
+ # - "googleSabre"
5565
+ # - "merchant"
5232
5566
  # Corresponds to the JSON property `actor`
5233
5567
  # @return [String]
5234
5568
  attr_accessor :actor
@@ -5244,6 +5578,20 @@ module Google
5244
5578
  attr_accessor :quantity
5245
5579
 
5246
5580
  # The reason for the return.
5581
+ # Acceptable values are:
5582
+ # - "customerDiscretionaryReturn"
5583
+ # - "customerInitiatedMerchantCancel"
5584
+ # - "deliveredTooLate"
5585
+ # - "expiredItem"
5586
+ # - "invalidCoupon"
5587
+ # - "malformedShippingAddress"
5588
+ # - "other"
5589
+ # - "productArrivedDamaged"
5590
+ # - "productNotAsDescribed"
5591
+ # - "qualityNotAsExpected"
5592
+ # - "undeliverableShippingAddress"
5593
+ # - "unsupportedPoBoxAddress"
5594
+ # - "wrongProductShipped"
5247
5595
  # Corresponds to the JSON property `reason`
5248
5596
  # @return [String]
5249
5597
  attr_accessor :reason
@@ -5341,6 +5689,11 @@ module Google
5341
5689
  attr_accessor :line_items
5342
5690
 
5343
5691
  # The status of the shipment.
5692
+ # Acceptable values are:
5693
+ # - "delivered"
5694
+ # - "readyForPickup"
5695
+ # - "shipped"
5696
+ # - "undeliverable"
5344
5697
  # Corresponds to the JSON property `status`
5345
5698
  # @return [String]
5346
5699
  attr_accessor :status
@@ -5450,6 +5803,9 @@ module Google
5450
5803
  include Google::Apis::Core::Hashable
5451
5804
 
5452
5805
  # The status of the execution.
5806
+ # Acceptable values are:
5807
+ # - "duplicate"
5808
+ # - "executed"
5453
5809
  # Corresponds to the JSON property `executionStatus`
5454
5810
  # @return [String]
5455
5811
  attr_accessor :execution_status
@@ -5522,6 +5878,9 @@ module Google
5522
5878
  include Google::Apis::Core::Hashable
5523
5879
 
5524
5880
  # The status of the execution.
5881
+ # Acceptable values are:
5882
+ # - "duplicate"
5883
+ # - "executed"
5525
5884
  # Corresponds to the JSON property `executionStatus`
5526
5885
  # @return [String]
5527
5886
  attr_accessor :execution_status
@@ -5553,6 +5912,51 @@ module Google
5553
5912
  attr_accessor :description
5554
5913
 
5555
5914
  # [required] Reason for the refund.
5915
+ # Acceptable values are:
5916
+ # - "adjustment"
5917
+ # - "autoPostInternal"
5918
+ # - "autoPostInvalidBillingAddress"
5919
+ # - "autoPostNoInventory"
5920
+ # - "autoPostPriceError"
5921
+ # - "autoPostUndeliverableShippingAddress"
5922
+ # - "couponAbuse"
5923
+ # - "courtesyAdjustment"
5924
+ # - "customerCanceled"
5925
+ # - "customerDiscretionaryReturn"
5926
+ # - "customerInitiatedMerchantCancel"
5927
+ # - "customerSupportRequested"
5928
+ # - "deliveredLateByCarrier"
5929
+ # - "deliveredTooLate"
5930
+ # - "expiredItem"
5931
+ # - "failToPushOrderGoogleError"
5932
+ # - "failToPushOrderMerchantError"
5933
+ # - "failToPushOrderMerchantFulfillmentError"
5934
+ # - "failToPushOrderToMerchant"
5935
+ # - "failToPushOrderToMerchantOutOfStock"
5936
+ # - "feeAdjustment"
5937
+ # - "invalidCoupon"
5938
+ # - "lateShipmentCredit"
5939
+ # - "malformedShippingAddress"
5940
+ # - "merchantDidNotShipOnTime"
5941
+ # - "noInventory"
5942
+ # - "orderTimeout"
5943
+ # - "other"
5944
+ # - "paymentAbuse"
5945
+ # - "paymentDeclined"
5946
+ # - "priceAdjustment"
5947
+ # - "priceError"
5948
+ # - "productArrivedDamaged"
5949
+ # - "productNotAsDescribed"
5950
+ # - "promoReallocation"
5951
+ # - "qualityNotAsExpected"
5952
+ # - "returnRefundAbuse"
5953
+ # - "shippingCostAdjustment"
5954
+ # - "shippingPriceError"
5955
+ # - "taxAdjustment"
5956
+ # - "taxError"
5957
+ # - "undeliverableShippingAddress"
5958
+ # - "unsupportedPoBoxAddress"
5959
+ # - "wrongProductShipped"
5556
5960
  # Corresponds to the JSON property `reason`
5557
5961
  # @return [String]
5558
5962
  attr_accessor :reason
@@ -5578,6 +5982,20 @@ module Google
5578
5982
  attr_accessor :description
5579
5983
 
5580
5984
  # [required] Reason for the return.
5985
+ # Acceptable values are:
5986
+ # - "customerDiscretionaryReturn"
5987
+ # - "customerInitiatedMerchantCancel"
5988
+ # - "deliveredTooLate"
5989
+ # - "expiredItem"
5990
+ # - "invalidCoupon"
5991
+ # - "malformedShippingAddress"
5992
+ # - "other"
5993
+ # - "productArrivedDamaged"
5994
+ # - "productNotAsDescribed"
5995
+ # - "qualityNotAsExpected"
5996
+ # - "undeliverableShippingAddress"
5997
+ # - "unsupportedPoBoxAddress"
5998
+ # - "wrongProductShipped"
5581
5999
  # Corresponds to the JSON property `reason`
5582
6000
  # @return [String]
5583
6001
  attr_accessor :reason
@@ -5713,6 +6131,9 @@ module Google
5713
6131
  include Google::Apis::Core::Hashable
5714
6132
 
5715
6133
  # The status of the execution.
6134
+ # Acceptable values are:
6135
+ # - "duplicate"
6136
+ # - "executed"
5716
6137
  # Corresponds to the JSON property `executionStatus`
5717
6138
  # @return [String]
5718
6139
  attr_accessor :execution_status
@@ -5799,6 +6220,17 @@ module Google
5799
6220
  attr_accessor :quantity
5800
6221
 
5801
6222
  # The reason for the cancellation.
6223
+ # Acceptable values are:
6224
+ # - "customerInitiatedCancel"
6225
+ # - "invalidCoupon"
6226
+ # - "malformedShippingAddress"
6227
+ # - "noInventory"
6228
+ # - "other"
6229
+ # - "priceError"
6230
+ # - "shippingPriceError"
6231
+ # - "taxError"
6232
+ # - "undeliverableShippingAddress"
6233
+ # - "unsupportedPoBoxAddress"
5802
6234
  # Corresponds to the JSON property `reason`
5803
6235
  # @return [String]
5804
6236
  attr_accessor :reason
@@ -5831,6 +6263,9 @@ module Google
5831
6263
  include Google::Apis::Core::Hashable
5832
6264
 
5833
6265
  # The status of the execution.
6266
+ # Acceptable values are:
6267
+ # - "duplicate"
6268
+ # - "executed"
5834
6269
  # Corresponds to the JSON property `executionStatus`
5835
6270
  # @return [String]
5836
6271
  attr_accessor :execution_status
@@ -5862,6 +6297,17 @@ module Google
5862
6297
  attr_accessor :operation_id
5863
6298
 
5864
6299
  # The reason for the cancellation.
6300
+ # Acceptable values are:
6301
+ # - "customerInitiatedCancel"
6302
+ # - "invalidCoupon"
6303
+ # - "malformedShippingAddress"
6304
+ # - "noInventory"
6305
+ # - "other"
6306
+ # - "priceError"
6307
+ # - "shippingPriceError"
6308
+ # - "taxError"
6309
+ # - "undeliverableShippingAddress"
6310
+ # - "unsupportedPoBoxAddress"
5865
6311
  # Corresponds to the JSON property `reason`
5866
6312
  # @return [String]
5867
6313
  attr_accessor :reason
@@ -5888,6 +6334,9 @@ module Google
5888
6334
  include Google::Apis::Core::Hashable
5889
6335
 
5890
6336
  # The status of the execution.
6337
+ # Acceptable values are:
6338
+ # - "duplicate"
6339
+ # - "executed"
5891
6340
  # Corresponds to the JSON property `executionStatus`
5892
6341
  # @return [String]
5893
6342
  attr_accessor :execution_status
@@ -5914,6 +6363,10 @@ module Google
5914
6363
  include Google::Apis::Core::Hashable
5915
6364
 
5916
6365
  # The reason for the cancellation.
6366
+ # Acceptable values are:
6367
+ # - "changedMind"
6368
+ # - "orderedWrongItem"
6369
+ # - "other"
5917
6370
  # Corresponds to the JSON property `reason`
5918
6371
  # @return [String]
5919
6372
  attr_accessor :reason
@@ -5965,6 +6418,12 @@ module Google
5965
6418
  # The test order template to use. Specify as an alternative to testOrder as a
5966
6419
  # shortcut for retrieving a template and then creating an order using that
5967
6420
  # template.
6421
+ # Acceptable values are:
6422
+ # - "template1"
6423
+ # - "template1a"
6424
+ # - "template1b"
6425
+ # - "template2"
6426
+ # - "template3"
5968
6427
  # Corresponds to the JSON property `templateName`
5969
6428
  # @return [String]
5970
6429
  attr_accessor :template_name
@@ -6111,7 +6570,23 @@ module Google
6111
6570
  # @return [String]
6112
6571
  attr_accessor :merchant_order_id
6113
6572
 
6114
- # The method to apply.
6573
+ # The method of the batch entry.
6574
+ # Acceptable values are:
6575
+ # - "acknowledge"
6576
+ # - "cancel"
6577
+ # - "cancelLineItem"
6578
+ # - "get"
6579
+ # - "getByMerchantOrderId"
6580
+ # - "inStoreRefundLineItem"
6581
+ # - "refund"
6582
+ # - "rejectReturnLineItem"
6583
+ # - "returnLineItem"
6584
+ # - "returnRefundLineItem"
6585
+ # - "setLineItemMetadata"
6586
+ # - "shipLineItems"
6587
+ # - "updateLineItemShippingDetails"
6588
+ # - "updateMerchantOrderId"
6589
+ # - "updateShipment"
6115
6590
  # Corresponds to the JSON property `method`
6116
6591
  # @return [String]
6117
6592
  attr_accessor :method_prop
@@ -6198,6 +6673,17 @@ module Google
6198
6673
  include Google::Apis::Core::Hashable
6199
6674
 
6200
6675
  # The reason for the cancellation.
6676
+ # Acceptable values are:
6677
+ # - "customerInitiatedCancel"
6678
+ # - "invalidCoupon"
6679
+ # - "malformedShippingAddress"
6680
+ # - "noInventory"
6681
+ # - "other"
6682
+ # - "priceError"
6683
+ # - "shippingPriceError"
6684
+ # - "taxError"
6685
+ # - "undeliverableShippingAddress"
6686
+ # - "unsupportedPoBoxAddress"
6201
6687
  # Corresponds to the JSON property `reason`
6202
6688
  # @return [String]
6203
6689
  attr_accessor :reason
@@ -6258,6 +6744,17 @@ module Google
6258
6744
  attr_accessor :quantity
6259
6745
 
6260
6746
  # The reason for the cancellation.
6747
+ # Acceptable values are:
6748
+ # - "customerInitiatedCancel"
6749
+ # - "invalidCoupon"
6750
+ # - "malformedShippingAddress"
6751
+ # - "noInventory"
6752
+ # - "other"
6753
+ # - "priceError"
6754
+ # - "shippingPriceError"
6755
+ # - "taxError"
6756
+ # - "undeliverableShippingAddress"
6757
+ # - "unsupportedPoBoxAddress"
6261
6758
  # Corresponds to the JSON property `reason`
6262
6759
  # @return [String]
6263
6760
  attr_accessor :reason
@@ -6340,6 +6837,20 @@ module Google
6340
6837
  attr_accessor :quantity
6341
6838
 
6342
6839
  # The reason for the return.
6840
+ # Acceptable values are:
6841
+ # - "customerDiscretionaryReturn"
6842
+ # - "customerInitiatedMerchantCancel"
6843
+ # - "deliveredTooLate"
6844
+ # - "expiredItem"
6845
+ # - "invalidCoupon"
6846
+ # - "malformedShippingAddress"
6847
+ # - "other"
6848
+ # - "productArrivedDamaged"
6849
+ # - "productNotAsDescribed"
6850
+ # - "qualityNotAsExpected"
6851
+ # - "undeliverableShippingAddress"
6852
+ # - "unsupportedPoBoxAddress"
6853
+ # - "wrongProductShipped"
6343
6854
  # Corresponds to the JSON property `reason`
6344
6855
  # @return [String]
6345
6856
  attr_accessor :reason
@@ -6386,6 +6897,23 @@ module Google
6386
6897
  attr_accessor :amount_tax
6387
6898
 
6388
6899
  # The reason for the refund.
6900
+ # Acceptable values are:
6901
+ # - "adjustment"
6902
+ # - "courtesyAdjustment"
6903
+ # - "customerCanceled"
6904
+ # - "customerDiscretionaryReturn"
6905
+ # - "deliveredLateByCarrier"
6906
+ # - "feeAdjustment"
6907
+ # - "lateShipmentCredit"
6908
+ # - "noInventory"
6909
+ # - "other"
6910
+ # - "priceError"
6911
+ # - "productArrivedDamaged"
6912
+ # - "productNotAsDescribed"
6913
+ # - "shippingCostAdjustment"
6914
+ # - "taxAdjustment"
6915
+ # - "undeliverableShippingAddress"
6916
+ # - "wrongProductShipped"
6389
6917
  # Corresponds to the JSON property `reason`
6390
6918
  # @return [String]
6391
6919
  attr_accessor :reason
@@ -6430,6 +6958,12 @@ module Google
6430
6958
  attr_accessor :quantity
6431
6959
 
6432
6960
  # The reason for the return.
6961
+ # Acceptable values are:
6962
+ # - "damagedOrUsed"
6963
+ # - "missingComponent"
6964
+ # - "notEligible"
6965
+ # - "other"
6966
+ # - "outOfReturnWindow"
6433
6967
  # Corresponds to the JSON property `reason`
6434
6968
  # @return [String]
6435
6969
  attr_accessor :reason
@@ -6474,6 +7008,20 @@ module Google
6474
7008
  attr_accessor :quantity
6475
7009
 
6476
7010
  # The reason for the return.
7011
+ # Acceptable values are:
7012
+ # - "customerDiscretionaryReturn"
7013
+ # - "customerInitiatedMerchantCancel"
7014
+ # - "deliveredTooLate"
7015
+ # - "expiredItem"
7016
+ # - "invalidCoupon"
7017
+ # - "malformedShippingAddress"
7018
+ # - "other"
7019
+ # - "productArrivedDamaged"
7020
+ # - "productNotAsDescribed"
7021
+ # - "qualityNotAsExpected"
7022
+ # - "undeliverableShippingAddress"
7023
+ # - "unsupportedPoBoxAddress"
7024
+ # - "wrongProductShipped"
6477
7025
  # Corresponds to the JSON property `reason`
6478
7026
  # @return [String]
6479
7027
  attr_accessor :reason
@@ -6531,6 +7079,20 @@ module Google
6531
7079
  attr_accessor :quantity
6532
7080
 
6533
7081
  # The reason for the return.
7082
+ # Acceptable values are:
7083
+ # - "customerDiscretionaryReturn"
7084
+ # - "customerInitiatedMerchantCancel"
7085
+ # - "deliveredTooLate"
7086
+ # - "expiredItem"
7087
+ # - "invalidCoupon"
7088
+ # - "malformedShippingAddress"
7089
+ # - "other"
7090
+ # - "productArrivedDamaged"
7091
+ # - "productNotAsDescribed"
7092
+ # - "qualityNotAsExpected"
7093
+ # - "undeliverableShippingAddress"
7094
+ # - "unsupportedPoBoxAddress"
7095
+ # - "wrongProductShipped"
6534
7096
  # Corresponds to the JSON property `reason`
6535
7097
  # @return [String]
6536
7098
  attr_accessor :reason
@@ -6652,8 +7214,8 @@ module Google
6652
7214
  # @return [String]
6653
7215
  attr_accessor :carrier
6654
7216
 
6655
- # The ID of the shipment. This is assigned by the merchant and is unique to each
6656
- # shipment.
7217
+ # Required. The ID of the shipment. This is assigned by the merchant and is
7218
+ # unique to each shipment.
6657
7219
  # Corresponds to the JSON property `shipmentId`
6658
7220
  # @return [String]
6659
7221
  attr_accessor :shipment_id
@@ -6742,6 +7304,9 @@ module Google
6742
7304
  attr_accessor :shipment_id
6743
7305
 
6744
7306
  # New status for the shipment. Not updated if missing.
7307
+ # Acceptable values are:
7308
+ # - "delivered"
7309
+ # - "undeliverable"
6745
7310
  # Corresponds to the JSON property `status`
6746
7311
  # @return [String]
6747
7312
  attr_accessor :status
@@ -6808,6 +7373,9 @@ module Google
6808
7373
  # The status of the execution. Only defined if
6809
7374
  # - the request was successful; and
6810
7375
  # - the method is not get, getByMerchantOrderId, or one of the test methods.
7376
+ # Acceptable values are:
7377
+ # - "duplicate"
7378
+ # - "executed"
6811
7379
  # Corresponds to the JSON property `executionStatus`
6812
7380
  # @return [String]
6813
7381
  attr_accessor :execution_status
@@ -6927,6 +7495,20 @@ module Google
6927
7495
  attr_accessor :quantity
6928
7496
 
6929
7497
  # The reason for the return.
7498
+ # Acceptable values are:
7499
+ # - "customerDiscretionaryReturn"
7500
+ # - "customerInitiatedMerchantCancel"
7501
+ # - "deliveredTooLate"
7502
+ # - "expiredItem"
7503
+ # - "invalidCoupon"
7504
+ # - "malformedShippingAddress"
7505
+ # - "other"
7506
+ # - "productArrivedDamaged"
7507
+ # - "productNotAsDescribed"
7508
+ # - "qualityNotAsExpected"
7509
+ # - "undeliverableShippingAddress"
7510
+ # - "unsupportedPoBoxAddress"
7511
+ # - "wrongProductShipped"
6930
7512
  # Corresponds to the JSON property `reason`
6931
7513
  # @return [String]
6932
7514
  attr_accessor :reason
@@ -6958,6 +7540,9 @@ module Google
6958
7540
  include Google::Apis::Core::Hashable
6959
7541
 
6960
7542
  # The status of the execution.
7543
+ # Acceptable values are:
7544
+ # - "duplicate"
7545
+ # - "executed"
6961
7546
  # Corresponds to the JSON property `executionStatus`
6962
7547
  # @return [String]
6963
7548
  attr_accessor :execution_status
@@ -7037,6 +7622,23 @@ module Google
7037
7622
  attr_accessor :operation_id
7038
7623
 
7039
7624
  # The reason for the refund.
7625
+ # Acceptable values are:
7626
+ # - "adjustment"
7627
+ # - "courtesyAdjustment"
7628
+ # - "customerCanceled"
7629
+ # - "customerDiscretionaryReturn"
7630
+ # - "deliveredLateByCarrier"
7631
+ # - "feeAdjustment"
7632
+ # - "lateShipmentCredit"
7633
+ # - "noInventory"
7634
+ # - "other"
7635
+ # - "priceError"
7636
+ # - "productArrivedDamaged"
7637
+ # - "productNotAsDescribed"
7638
+ # - "shippingCostAdjustment"
7639
+ # - "taxAdjustment"
7640
+ # - "undeliverableShippingAddress"
7641
+ # - "wrongProductShipped"
7040
7642
  # Corresponds to the JSON property `reason`
7041
7643
  # @return [String]
7042
7644
  attr_accessor :reason
@@ -7066,6 +7668,9 @@ module Google
7066
7668
  include Google::Apis::Core::Hashable
7067
7669
 
7068
7670
  # The status of the execution.
7671
+ # Acceptable values are:
7672
+ # - "duplicate"
7673
+ # - "executed"
7069
7674
  # Corresponds to the JSON property `executionStatus`
7070
7675
  # @return [String]
7071
7676
  attr_accessor :execution_status
@@ -7113,6 +7718,12 @@ module Google
7113
7718
  attr_accessor :quantity
7114
7719
 
7115
7720
  # The reason for the return.
7721
+ # Acceptable values are:
7722
+ # - "damagedOrUsed"
7723
+ # - "missingComponent"
7724
+ # - "notEligible"
7725
+ # - "other"
7726
+ # - "outOfReturnWindow"
7116
7727
  # Corresponds to the JSON property `reason`
7117
7728
  # @return [String]
7118
7729
  attr_accessor :reason
@@ -7142,6 +7753,9 @@ module Google
7142
7753
  include Google::Apis::Core::Hashable
7143
7754
 
7144
7755
  # The status of the execution.
7756
+ # Acceptable values are:
7757
+ # - "duplicate"
7758
+ # - "executed"
7145
7759
  # Corresponds to the JSON property `executionStatus`
7146
7760
  # @return [String]
7147
7761
  attr_accessor :execution_status
@@ -7189,6 +7803,20 @@ module Google
7189
7803
  attr_accessor :quantity
7190
7804
 
7191
7805
  # The reason for the return.
7806
+ # Acceptable values are:
7807
+ # - "customerDiscretionaryReturn"
7808
+ # - "customerInitiatedMerchantCancel"
7809
+ # - "deliveredTooLate"
7810
+ # - "expiredItem"
7811
+ # - "invalidCoupon"
7812
+ # - "malformedShippingAddress"
7813
+ # - "other"
7814
+ # - "productArrivedDamaged"
7815
+ # - "productNotAsDescribed"
7816
+ # - "qualityNotAsExpected"
7817
+ # - "undeliverableShippingAddress"
7818
+ # - "unsupportedPoBoxAddress"
7819
+ # - "wrongProductShipped"
7192
7820
  # Corresponds to the JSON property `reason`
7193
7821
  # @return [String]
7194
7822
  attr_accessor :reason
@@ -7218,6 +7846,9 @@ module Google
7218
7846
  include Google::Apis::Core::Hashable
7219
7847
 
7220
7848
  # The status of the execution.
7849
+ # Acceptable values are:
7850
+ # - "duplicate"
7851
+ # - "executed"
7221
7852
  # Corresponds to the JSON property `executionStatus`
7222
7853
  # @return [String]
7223
7854
  attr_accessor :execution_status
@@ -7278,6 +7909,20 @@ module Google
7278
7909
  attr_accessor :quantity
7279
7910
 
7280
7911
  # The reason for the return.
7912
+ # Acceptable values are:
7913
+ # - "customerDiscretionaryReturn"
7914
+ # - "customerInitiatedMerchantCancel"
7915
+ # - "deliveredTooLate"
7916
+ # - "expiredItem"
7917
+ # - "invalidCoupon"
7918
+ # - "malformedShippingAddress"
7919
+ # - "other"
7920
+ # - "productArrivedDamaged"
7921
+ # - "productNotAsDescribed"
7922
+ # - "qualityNotAsExpected"
7923
+ # - "undeliverableShippingAddress"
7924
+ # - "unsupportedPoBoxAddress"
7925
+ # - "wrongProductShipped"
7281
7926
  # Corresponds to the JSON property `reason`
7282
7927
  # @return [String]
7283
7928
  attr_accessor :reason
@@ -7309,6 +7954,9 @@ module Google
7309
7954
  include Google::Apis::Core::Hashable
7310
7955
 
7311
7956
  # The status of the execution.
7957
+ # Acceptable values are:
7958
+ # - "duplicate"
7959
+ # - "executed"
7312
7960
  # Corresponds to the JSON property `executionStatus`
7313
7961
  # @return [String]
7314
7962
  attr_accessor :execution_status
@@ -7374,6 +8022,9 @@ module Google
7374
8022
  include Google::Apis::Core::Hashable
7375
8023
 
7376
8024
  # The status of the execution.
8025
+ # Acceptable values are:
8026
+ # - "duplicate"
8027
+ # - "executed"
7377
8028
  # Corresponds to the JSON property `executionStatus`
7378
8029
  # @return [String]
7379
8030
  attr_accessor :execution_status
@@ -7459,6 +8110,9 @@ module Google
7459
8110
  include Google::Apis::Core::Hashable
7460
8111
 
7461
8112
  # The status of the execution.
8113
+ # Acceptable values are:
8114
+ # - "duplicate"
8115
+ # - "executed"
7462
8116
  # Corresponds to the JSON property `executionStatus`
7463
8117
  # @return [String]
7464
8118
  attr_accessor :execution_status
@@ -7536,6 +8190,9 @@ module Google
7536
8190
  include Google::Apis::Core::Hashable
7537
8191
 
7538
8192
  # The status of the execution.
8193
+ # Acceptable values are:
8194
+ # - "duplicate"
8195
+ # - "executed"
7539
8196
  # Corresponds to the JSON property `executionStatus`
7540
8197
  # @return [String]
7541
8198
  attr_accessor :execution_status
@@ -7587,6 +8244,9 @@ module Google
7587
8244
  include Google::Apis::Core::Hashable
7588
8245
 
7589
8246
  # The status of the execution.
8247
+ # Acceptable values are:
8248
+ # - "duplicate"
8249
+ # - "executed"
7590
8250
  # Corresponds to the JSON property `executionStatus`
7591
8251
  # @return [String]
7592
8252
  attr_accessor :execution_status
@@ -7635,6 +8295,9 @@ module Google
7635
8295
  attr_accessor :shipment_id
7636
8296
 
7637
8297
  # New status for the shipment. Not updated if missing.
8298
+ # Acceptable values are:
8299
+ # - "delivered"
8300
+ # - "undeliverable"
7638
8301
  # Corresponds to the JSON property `status`
7639
8302
  # @return [String]
7640
8303
  attr_accessor :status
@@ -7664,6 +8327,9 @@ module Google
7664
8327
  include Google::Apis::Core::Hashable
7665
8328
 
7666
8329
  # The status of the execution.
8330
+ # Acceptable values are:
8331
+ # - "duplicate"
8332
+ # - "executed"
7667
8333
  # Corresponds to the JSON property `executionStatus`
7668
8334
  # @return [String]
7669
8335
  attr_accessor :execution_status
@@ -7779,7 +8445,13 @@ module Google
7779
8445
  # @return [Fixnum]
7780
8446
  attr_accessor :merchant_id
7781
8447
 
7782
- #
8448
+ # The method of the batch entry.
8449
+ # Acceptable values are:
8450
+ # - "delete"
8451
+ # - "get"
8452
+ # - "insert"
8453
+ # - "inventory"
8454
+ # - "sale"
7783
8455
  # Corresponds to the JSON property `method`
7784
8456
  # @return [String]
7785
8457
  attr_accessor :method_prop
@@ -7957,7 +8629,7 @@ module Google
7957
8629
  class PosInventory
7958
8630
  include Google::Apis::Core::Hashable
7959
8631
 
7960
- # The two-letter ISO 639-1 language code for the item.
8632
+ # Required. The two-letter ISO 639-1 language code for the item.
7961
8633
  # Corresponds to the JSON property `contentLanguage`
7962
8634
  # @return [String]
7963
8635
  attr_accessor :content_language
@@ -7967,7 +8639,7 @@ module Google
7967
8639
  # @return [String]
7968
8640
  attr_accessor :gtin
7969
8641
 
7970
- # A unique identifier for the item.
8642
+ # Required. A unique identifier for the item.
7971
8643
  # Corresponds to the JSON property `itemId`
7972
8644
  # @return [String]
7973
8645
  attr_accessor :item_id
@@ -7978,28 +8650,28 @@ module Google
7978
8650
  # @return [String]
7979
8651
  attr_accessor :kind
7980
8652
 
7981
- # The current price of the item.
8653
+ # Required. The current price of the item.
7982
8654
  # Corresponds to the JSON property `price`
7983
8655
  # @return [Google::Apis::ContentV2::Price]
7984
8656
  attr_accessor :price
7985
8657
 
7986
- # The available quantity of the item.
8658
+ # Required. The available quantity of the item.
7987
8659
  # Corresponds to the JSON property `quantity`
7988
8660
  # @return [Fixnum]
7989
8661
  attr_accessor :quantity
7990
8662
 
7991
- # The identifier of the merchant's store. Either a storeCode inserted via the
7992
- # API or the code of the store in Google My Business.
8663
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
8664
+ # via the API or the code of the store in Google My Business.
7993
8665
  # Corresponds to the JSON property `storeCode`
7994
8666
  # @return [String]
7995
8667
  attr_accessor :store_code
7996
8668
 
7997
- # The CLDR territory code for the item.
8669
+ # Required. The CLDR territory code for the item.
7998
8670
  # Corresponds to the JSON property `targetCountry`
7999
8671
  # @return [String]
8000
8672
  attr_accessor :target_country
8001
8673
 
8002
- # The inventory timestamp, in ISO 8601 format.
8674
+ # Required. The inventory timestamp, in ISO 8601 format.
8003
8675
  # Corresponds to the JSON property `timestamp`
8004
8676
  # @return [String]
8005
8677
  attr_accessor :timestamp
@@ -8026,7 +8698,7 @@ module Google
8026
8698
  class PosInventoryRequest
8027
8699
  include Google::Apis::Core::Hashable
8028
8700
 
8029
- # The two-letter ISO 639-1 language code for the item.
8701
+ # Required. The two-letter ISO 639-1 language code for the item.
8030
8702
  # Corresponds to the JSON property `contentLanguage`
8031
8703
  # @return [String]
8032
8704
  attr_accessor :content_language
@@ -8036,33 +8708,33 @@ module Google
8036
8708
  # @return [String]
8037
8709
  attr_accessor :gtin
8038
8710
 
8039
- # A unique identifier for the item.
8711
+ # Required. A unique identifier for the item.
8040
8712
  # Corresponds to the JSON property `itemId`
8041
8713
  # @return [String]
8042
8714
  attr_accessor :item_id
8043
8715
 
8044
- # The current price of the item.
8716
+ # Required. The current price of the item.
8045
8717
  # Corresponds to the JSON property `price`
8046
8718
  # @return [Google::Apis::ContentV2::Price]
8047
8719
  attr_accessor :price
8048
8720
 
8049
- # The available quantity of the item.
8721
+ # Required. The available quantity of the item.
8050
8722
  # Corresponds to the JSON property `quantity`
8051
8723
  # @return [Fixnum]
8052
8724
  attr_accessor :quantity
8053
8725
 
8054
- # The identifier of the merchant's store. Either a storeCode inserted via the
8055
- # API or the code of the store in Google My Business.
8726
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
8727
+ # via the API or the code of the store in Google My Business.
8056
8728
  # Corresponds to the JSON property `storeCode`
8057
8729
  # @return [String]
8058
8730
  attr_accessor :store_code
8059
8731
 
8060
- # The CLDR territory code for the item.
8732
+ # Required. The CLDR territory code for the item.
8061
8733
  # Corresponds to the JSON property `targetCountry`
8062
8734
  # @return [String]
8063
8735
  attr_accessor :target_country
8064
8736
 
8065
- # The inventory timestamp, in ISO 8601 format.
8737
+ # Required. The inventory timestamp, in ISO 8601 format.
8066
8738
  # Corresponds to the JSON property `timestamp`
8067
8739
  # @return [String]
8068
8740
  attr_accessor :timestamp
@@ -8088,7 +8760,7 @@ module Google
8088
8760
  class PosInventoryResponse
8089
8761
  include Google::Apis::Core::Hashable
8090
8762
 
8091
- # The two-letter ISO 639-1 language code for the item.
8763
+ # Required. The two-letter ISO 639-1 language code for the item.
8092
8764
  # Corresponds to the JSON property `contentLanguage`
8093
8765
  # @return [String]
8094
8766
  attr_accessor :content_language
@@ -8098,7 +8770,7 @@ module Google
8098
8770
  # @return [String]
8099
8771
  attr_accessor :gtin
8100
8772
 
8101
- # A unique identifier for the item.
8773
+ # Required. A unique identifier for the item.
8102
8774
  # Corresponds to the JSON property `itemId`
8103
8775
  # @return [String]
8104
8776
  attr_accessor :item_id
@@ -8109,28 +8781,28 @@ module Google
8109
8781
  # @return [String]
8110
8782
  attr_accessor :kind
8111
8783
 
8112
- # The current price of the item.
8784
+ # Required. The current price of the item.
8113
8785
  # Corresponds to the JSON property `price`
8114
8786
  # @return [Google::Apis::ContentV2::Price]
8115
8787
  attr_accessor :price
8116
8788
 
8117
- # The available quantity of the item.
8789
+ # Required. The available quantity of the item.
8118
8790
  # Corresponds to the JSON property `quantity`
8119
8791
  # @return [Fixnum]
8120
8792
  attr_accessor :quantity
8121
8793
 
8122
- # The identifier of the merchant's store. Either a storeCode inserted via the
8123
- # API or the code of the store in Google My Business.
8794
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
8795
+ # via the API or the code of the store in Google My Business.
8124
8796
  # Corresponds to the JSON property `storeCode`
8125
8797
  # @return [String]
8126
8798
  attr_accessor :store_code
8127
8799
 
8128
- # The CLDR territory code for the item.
8800
+ # Required. The CLDR territory code for the item.
8129
8801
  # Corresponds to the JSON property `targetCountry`
8130
8802
  # @return [String]
8131
8803
  attr_accessor :target_country
8132
8804
 
8133
- # The inventory timestamp, in ISO 8601 format.
8805
+ # Required. The inventory timestamp, in ISO 8601 format.
8134
8806
  # Corresponds to the JSON property `timestamp`
8135
8807
  # @return [String]
8136
8808
  attr_accessor :timestamp
@@ -8183,7 +8855,7 @@ module Google
8183
8855
  class PosSale
8184
8856
  include Google::Apis::Core::Hashable
8185
8857
 
8186
- # The two-letter ISO 639-1 language code for the item.
8858
+ # Required. The two-letter ISO 639-1 language code for the item.
8187
8859
  # Corresponds to the JSON property `contentLanguage`
8188
8860
  # @return [String]
8189
8861
  attr_accessor :content_language
@@ -8193,7 +8865,7 @@ module Google
8193
8865
  # @return [String]
8194
8866
  attr_accessor :gtin
8195
8867
 
8196
- # A unique identifier for the item.
8868
+ # Required. A unique identifier for the item.
8197
8869
  # Corresponds to the JSON property `itemId`
8198
8870
  # @return [String]
8199
8871
  attr_accessor :item_id
@@ -8204,12 +8876,13 @@ module Google
8204
8876
  # @return [String]
8205
8877
  attr_accessor :kind
8206
8878
 
8207
- # The price of the item.
8879
+ # Required. The price of the item.
8208
8880
  # Corresponds to the JSON property `price`
8209
8881
  # @return [Google::Apis::ContentV2::Price]
8210
8882
  attr_accessor :price
8211
8883
 
8212
- # The relative change of the available quantity. Negative for items returned.
8884
+ # Required. The relative change of the available quantity. Negative for items
8885
+ # returned.
8213
8886
  # Corresponds to the JSON property `quantity`
8214
8887
  # @return [Fixnum]
8215
8888
  attr_accessor :quantity
@@ -8219,18 +8892,18 @@ module Google
8219
8892
  # @return [String]
8220
8893
  attr_accessor :sale_id
8221
8894
 
8222
- # The identifier of the merchant's store. Either a storeCode inserted via the
8223
- # API or the code of the store in Google My Business.
8895
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
8896
+ # via the API or the code of the store in Google My Business.
8224
8897
  # Corresponds to the JSON property `storeCode`
8225
8898
  # @return [String]
8226
8899
  attr_accessor :store_code
8227
8900
 
8228
- # The CLDR territory code for the item.
8901
+ # Required. The CLDR territory code for the item.
8229
8902
  # Corresponds to the JSON property `targetCountry`
8230
8903
  # @return [String]
8231
8904
  attr_accessor :target_country
8232
8905
 
8233
- # The inventory timestamp, in ISO 8601 format.
8906
+ # Required. The inventory timestamp, in ISO 8601 format.
8234
8907
  # Corresponds to the JSON property `timestamp`
8235
8908
  # @return [String]
8236
8909
  attr_accessor :timestamp
@@ -8258,7 +8931,7 @@ module Google
8258
8931
  class PosSaleRequest
8259
8932
  include Google::Apis::Core::Hashable
8260
8933
 
8261
- # The two-letter ISO 639-1 language code for the item.
8934
+ # Required. The two-letter ISO 639-1 language code for the item.
8262
8935
  # Corresponds to the JSON property `contentLanguage`
8263
8936
  # @return [String]
8264
8937
  attr_accessor :content_language
@@ -8268,17 +8941,18 @@ module Google
8268
8941
  # @return [String]
8269
8942
  attr_accessor :gtin
8270
8943
 
8271
- # A unique identifier for the item.
8944
+ # Required. A unique identifier for the item.
8272
8945
  # Corresponds to the JSON property `itemId`
8273
8946
  # @return [String]
8274
8947
  attr_accessor :item_id
8275
8948
 
8276
- # The price of the item.
8949
+ # Required. The price of the item.
8277
8950
  # Corresponds to the JSON property `price`
8278
8951
  # @return [Google::Apis::ContentV2::Price]
8279
8952
  attr_accessor :price
8280
8953
 
8281
- # The relative change of the available quantity. Negative for items returned.
8954
+ # Required. The relative change of the available quantity. Negative for items
8955
+ # returned.
8282
8956
  # Corresponds to the JSON property `quantity`
8283
8957
  # @return [Fixnum]
8284
8958
  attr_accessor :quantity
@@ -8288,18 +8962,18 @@ module Google
8288
8962
  # @return [String]
8289
8963
  attr_accessor :sale_id
8290
8964
 
8291
- # The identifier of the merchant's store. Either a storeCode inserted via the
8292
- # API or the code of the store in Google My Business.
8965
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
8966
+ # via the API or the code of the store in Google My Business.
8293
8967
  # Corresponds to the JSON property `storeCode`
8294
8968
  # @return [String]
8295
8969
  attr_accessor :store_code
8296
8970
 
8297
- # The CLDR territory code for the item.
8971
+ # Required. The CLDR territory code for the item.
8298
8972
  # Corresponds to the JSON property `targetCountry`
8299
8973
  # @return [String]
8300
8974
  attr_accessor :target_country
8301
8975
 
8302
- # The inventory timestamp, in ISO 8601 format.
8976
+ # Required. The inventory timestamp, in ISO 8601 format.
8303
8977
  # Corresponds to the JSON property `timestamp`
8304
8978
  # @return [String]
8305
8979
  attr_accessor :timestamp
@@ -8326,7 +9000,7 @@ module Google
8326
9000
  class PosSaleResponse
8327
9001
  include Google::Apis::Core::Hashable
8328
9002
 
8329
- # The two-letter ISO 639-1 language code for the item.
9003
+ # Required. The two-letter ISO 639-1 language code for the item.
8330
9004
  # Corresponds to the JSON property `contentLanguage`
8331
9005
  # @return [String]
8332
9006
  attr_accessor :content_language
@@ -8336,7 +9010,7 @@ module Google
8336
9010
  # @return [String]
8337
9011
  attr_accessor :gtin
8338
9012
 
8339
- # A unique identifier for the item.
9013
+ # Required. A unique identifier for the item.
8340
9014
  # Corresponds to the JSON property `itemId`
8341
9015
  # @return [String]
8342
9016
  attr_accessor :item_id
@@ -8347,12 +9021,13 @@ module Google
8347
9021
  # @return [String]
8348
9022
  attr_accessor :kind
8349
9023
 
8350
- # The price of the item.
9024
+ # Required. The price of the item.
8351
9025
  # Corresponds to the JSON property `price`
8352
9026
  # @return [Google::Apis::ContentV2::Price]
8353
9027
  attr_accessor :price
8354
9028
 
8355
- # The relative change of the available quantity. Negative for items returned.
9029
+ # Required. The relative change of the available quantity. Negative for items
9030
+ # returned.
8356
9031
  # Corresponds to the JSON property `quantity`
8357
9032
  # @return [Fixnum]
8358
9033
  attr_accessor :quantity
@@ -8362,18 +9037,18 @@ module Google
8362
9037
  # @return [String]
8363
9038
  attr_accessor :sale_id
8364
9039
 
8365
- # The identifier of the merchant's store. Either a storeCode inserted via the
8366
- # API or the code of the store in Google My Business.
9040
+ # Required. The identifier of the merchant's store. Either a storeCode inserted
9041
+ # via the API or the code of the store in Google My Business.
8367
9042
  # Corresponds to the JSON property `storeCode`
8368
9043
  # @return [String]
8369
9044
  attr_accessor :store_code
8370
9045
 
8371
- # The CLDR territory code for the item.
9046
+ # Required. The CLDR territory code for the item.
8372
9047
  # Corresponds to the JSON property `targetCountry`
8373
9048
  # @return [String]
8374
9049
  attr_accessor :target_country
8375
9050
 
8376
- # The inventory timestamp, in ISO 8601 format.
9051
+ # Required. The inventory timestamp, in ISO 8601 format.
8377
9052
  # Corresponds to the JSON property `timestamp`
8378
9053
  # @return [String]
8379
9054
  attr_accessor :timestamp
@@ -8407,12 +9082,12 @@ module Google
8407
9082
  # @return [String]
8408
9083
  attr_accessor :kind
8409
9084
 
8410
- # The street address of the store.
9085
+ # Required. The street address of the store.
8411
9086
  # Corresponds to the JSON property `storeAddress`
8412
9087
  # @return [String]
8413
9088
  attr_accessor :store_address
8414
9089
 
8415
- # A store identifier that is unique for the given merchant.
9090
+ # Required. A store identifier that is unique for the given merchant.
8416
9091
  # Corresponds to the JSON property `storeCode`
8417
9092
  # @return [String]
8418
9093
  attr_accessor :store_code
@@ -8558,6 +9233,13 @@ module Google
8558
9233
  attr_accessor :adwords_redirect
8559
9234
 
8560
9235
  # Target age group of the item.
9236
+ # Acceptable values are:
9237
+ # - "adult"
9238
+ # - "infant"
9239
+ # - "kids"
9240
+ # - "newborn"
9241
+ # - "toddler"
9242
+ # - "youngAdult"
8561
9243
  # Corresponds to the JSON property `ageGroup`
8562
9244
  # @return [String]
8563
9245
  attr_accessor :age_group
@@ -8568,6 +9250,10 @@ module Google
8568
9250
  attr_accessor :aspects
8569
9251
 
8570
9252
  # Availability status of the item.
9253
+ # Acceptable values are:
9254
+ # - "in stock"
9255
+ # - "out of stock"
9256
+ # - "preorder"
8571
9257
  # Corresponds to the JSON property `availability`
8572
9258
  # @return [String]
8573
9259
  attr_accessor :availability
@@ -8583,7 +9269,10 @@ module Google
8583
9269
  # @return [String]
8584
9270
  attr_accessor :brand
8585
9271
 
8586
- # The item's channel (online or local).
9272
+ # Required. The item's channel (online or local).
9273
+ # Acceptable values are:
9274
+ # - "local"
9275
+ # - "online"
8587
9276
  # Corresponds to the JSON property `channel`
8588
9277
  # @return [String]
8589
9278
  attr_accessor :channel
@@ -8594,11 +9283,14 @@ module Google
8594
9283
  attr_accessor :color
8595
9284
 
8596
9285
  # Condition or state of the item.
9286
+ # Acceptable values are:
9287
+ # - "local"
9288
+ # - "online"
8597
9289
  # Corresponds to the JSON property `condition`
8598
9290
  # @return [String]
8599
9291
  attr_accessor :condition
8600
9292
 
8601
- # The two-letter ISO 639-1 language code for the item.
9293
+ # Required. The two-letter ISO 639-1 language code for the item.
8602
9294
  # Corresponds to the JSON property `contentLanguage`
8603
9295
  # @return [String]
8604
9296
  attr_accessor :content_language
@@ -8683,6 +9375,17 @@ module Google
8683
9375
  attr_accessor :display_ads_value
8684
9376
 
8685
9377
  # The energy efficiency class as defined in EU directive 2010/30/EU.
9378
+ # Acceptable values are:
9379
+ # - "A"
9380
+ # - "A+"
9381
+ # - "A++"
9382
+ # - "A+++"
9383
+ # - "B"
9384
+ # - "C"
9385
+ # - "D"
9386
+ # - "E"
9387
+ # - "F"
9388
+ # - "G"
8686
9389
  # Corresponds to the JSON property `energyEfficiencyClass`
8687
9390
  # @return [String]
8688
9391
  attr_accessor :energy_efficiency_class
@@ -8696,6 +9399,10 @@ module Google
8696
9399
  attr_accessor :expiration_date
8697
9400
 
8698
9401
  # Target gender of the item.
9402
+ # Acceptable values are:
9403
+ # - "female"
9404
+ # - "male"
9405
+ # - "unisex"
8699
9406
  # Corresponds to the JSON property `gender`
8700
9407
  # @return [String]
8701
9408
  attr_accessor :gender
@@ -8770,6 +9477,17 @@ module Google
8770
9477
  attr_accessor :material
8771
9478
 
8772
9479
  # The energy efficiency class as defined in EU directive 2010/30/EU.
9480
+ # Acceptable values are:
9481
+ # - "A"
9482
+ # - "A+"
9483
+ # - "A++"
9484
+ # - "A+++"
9485
+ # - "B"
9486
+ # - "C"
9487
+ # - "D"
9488
+ # - "E"
9489
+ # - "F"
9490
+ # - "G"
8773
9491
  # Corresponds to the JSON property `maxEnergyEfficiencyClass`
8774
9492
  # @return [String]
8775
9493
  attr_accessor :max_energy_efficiency_class
@@ -8780,6 +9498,17 @@ module Google
8780
9498
  attr_accessor :max_handling_time
8781
9499
 
8782
9500
  # The energy efficiency class as defined in EU directive 2010/30/EU.
9501
+ # Acceptable values are:
9502
+ # - "A"
9503
+ # - "A+"
9504
+ # - "A++"
9505
+ # - "A+++"
9506
+ # - "B"
9507
+ # - "C"
9508
+ # - "D"
9509
+ # - "E"
9510
+ # - "F"
9511
+ # - "G"
8783
9512
  # Corresponds to the JSON property `minEnergyEfficiencyClass`
8784
9513
  # @return [String]
8785
9514
  attr_accessor :min_energy_efficiency_class
@@ -8804,8 +9533,8 @@ module Google
8804
9533
  # @return [Fixnum]
8805
9534
  attr_accessor :multipack
8806
9535
 
8807
- # A unique identifier for the item. Leading and trailing whitespaces are
8808
- # stripped and multiple whitespaces are replaced by a single whitespace upon
9536
+ # Required. A unique identifier for the item. Leading and trailing whitespaces
9537
+ # are stripped and multiple whitespaces are replaced by a single whitespace upon
8809
9538
  # submission. Only valid unicode characters are accepted. See the products feed
8810
9539
  # specification for details.
8811
9540
  # Note: Content API methods that operate on products take the REST ID of the
@@ -8888,11 +9617,30 @@ module Google
8888
9617
  attr_accessor :shipping_width
8889
9618
 
8890
9619
  # System in which the size is specified. Recommended for apparel items.
9620
+ # Acceptable values are:
9621
+ # - "AU"
9622
+ # - "BR"
9623
+ # - "CN"
9624
+ # - "DE"
9625
+ # - "EU"
9626
+ # - "FR"
9627
+ # - "IT"
9628
+ # - "JP"
9629
+ # - "MEX"
9630
+ # - "UK"
9631
+ # - "US"
8891
9632
  # Corresponds to the JSON property `sizeSystem`
8892
9633
  # @return [String]
8893
9634
  attr_accessor :size_system
8894
9635
 
8895
9636
  # The cut of the item. Recommended for apparel items.
9637
+ # Acceptable values are:
9638
+ # - "big and tall"
9639
+ # - "maternity"
9640
+ # - "oversize"
9641
+ # - "petite"
9642
+ # - "plus"
9643
+ # - "regular"
8896
9644
  # Corresponds to the JSON property `sizeType`
8897
9645
  # @return [String]
8898
9646
  attr_accessor :size_type
@@ -8905,11 +9653,15 @@ module Google
8905
9653
  attr_accessor :sizes
8906
9654
 
8907
9655
  # The source of the offer, i.e., how the offer was created.
9656
+ # Acceptable values are:
9657
+ # - "api"
9658
+ # - "crawl"
9659
+ # - "feed"
8908
9660
  # Corresponds to the JSON property `source`
8909
9661
  # @return [String]
8910
9662
  attr_accessor :source
8911
9663
 
8912
- # The CLDR territory code for the item.
9664
+ # Required. The CLDR territory code for the item.
8913
9665
  # Corresponds to the JSON property `targetCountry`
8914
9666
  # @return [String]
8915
9667
  attr_accessor :target_country
@@ -9104,6 +9856,11 @@ module Google
9104
9856
  attr_accessor :destination_name
9105
9857
 
9106
9858
  # Whether the destination is required, excluded or should be validated.
9859
+ # Acceptable values are:
9860
+ # - "default"
9861
+ # - "excluded"
9862
+ # - "optional"
9863
+ # - "required"
9107
9864
  # Corresponds to the JSON property `intention`
9108
9865
  # @return [String]
9109
9866
  attr_accessor :intention
@@ -9388,6 +10145,9 @@ module Google
9388
10145
  alias_method :approval_pending?, :approval_pending
9389
10146
 
9390
10147
  # The destination's approval status.
10148
+ # Acceptable values are:
10149
+ # - "approved"
10150
+ # - "disapproved"
9391
10151
  # Corresponds to the JSON property `approvalStatus`
9392
10152
  # @return [String]
9393
10153
  attr_accessor :approval_status
@@ -9398,6 +10158,11 @@ module Google
9398
10158
  attr_accessor :destination
9399
10159
 
9400
10160
  # Provided for backward compatibility only. Always set to "required".
10161
+ # Acceptable values are:
10162
+ # - "default"
10163
+ # - "excluded"
10164
+ # - "optional"
10165
+ # - "required"
9401
10166
  # Corresponds to the JSON property `intention`
9402
10167
  # @return [String]
9403
10168
  attr_accessor :intention
@@ -9612,7 +10377,11 @@ module Google
9612
10377
  # @return [Fixnum]
9613
10378
  attr_accessor :merchant_id
9614
10379
 
9615
- #
10380
+ # The method of the batch entry.
10381
+ # Acceptable values are:
10382
+ # - "delete"
10383
+ # - "get"
10384
+ # - "insert"
9616
10385
  # Corresponds to the JSON property `method`
9617
10386
  # @return [String]
9618
10387
  attr_accessor :request_method
@@ -9785,7 +10554,9 @@ module Google
9785
10554
  # @return [Fixnum]
9786
10555
  attr_accessor :merchant_id
9787
10556
 
9788
- #
10557
+ # The method of the batch entry.
10558
+ # Acceptable values are:
10559
+ # - "get"
9789
10560
  # Corresponds to the JSON property `method`
9790
10561
  # @return [String]
9791
10562
  attr_accessor :request_method
@@ -10000,6 +10771,51 @@ module Google
10000
10771
  attr_accessor :description
10001
10772
 
10002
10773
  # Code of the refund reason.
10774
+ # Acceptable values are:
10775
+ # - "adjustment"
10776
+ # - "autoPostInternal"
10777
+ # - "autoPostInvalidBillingAddress"
10778
+ # - "autoPostNoInventory"
10779
+ # - "autoPostPriceError"
10780
+ # - "autoPostUndeliverableShippingAddress"
10781
+ # - "couponAbuse"
10782
+ # - "courtesyAdjustment"
10783
+ # - "customerCanceled"
10784
+ # - "customerDiscretionaryReturn"
10785
+ # - "customerInitiatedMerchantCancel"
10786
+ # - "customerSupportRequested"
10787
+ # - "deliveredLateByCarrier"
10788
+ # - "deliveredTooLate"
10789
+ # - "expiredItem"
10790
+ # - "failToPushOrderGoogleError"
10791
+ # - "failToPushOrderMerchantError"
10792
+ # - "failToPushOrderMerchantFulfillmentError"
10793
+ # - "failToPushOrderToMerchant"
10794
+ # - "failToPushOrderToMerchantOutOfStock"
10795
+ # - "feeAdjustment"
10796
+ # - "invalidCoupon"
10797
+ # - "lateShipmentCredit"
10798
+ # - "malformedShippingAddress"
10799
+ # - "merchantDidNotShipOnTime"
10800
+ # - "noInventory"
10801
+ # - "orderTimeout"
10802
+ # - "other"
10803
+ # - "paymentAbuse"
10804
+ # - "paymentDeclined"
10805
+ # - "priceAdjustment"
10806
+ # - "priceError"
10807
+ # - "productArrivedDamaged"
10808
+ # - "productNotAsDescribed"
10809
+ # - "promoReallocation"
10810
+ # - "qualityNotAsExpected"
10811
+ # - "returnRefundAbuse"
10812
+ # - "shippingCostAdjustment"
10813
+ # - "shippingPriceError"
10814
+ # - "taxAdjustment"
10815
+ # - "taxError"
10816
+ # - "undeliverableShippingAddress"
10817
+ # - "unsupportedPoBoxAddress"
10818
+ # - "wrongProductShipped"
10003
10819
  # Corresponds to the JSON property `reasonCode`
10004
10820
  # @return [String]
10005
10821
  attr_accessor :reason_code
@@ -10030,6 +10846,10 @@ module Google
10030
10846
  attr_accessor :delivery_date
10031
10847
 
10032
10848
  # Type of the return method.
10849
+ # Acceptable values are:
10850
+ # - "byMail"
10851
+ # - "contactCustomerSupport"
10852
+ # - "returnless"
10033
10853
  # Corresponds to the JSON property `returnMethodType`
10034
10854
  # @return [String]
10035
10855
  attr_accessor :return_method_type
@@ -10051,6 +10871,11 @@ module Google
10051
10871
  attr_accessor :shipping_date
10052
10872
 
10053
10873
  # State of the shipment.
10874
+ # Acceptable values are:
10875
+ # - "completed"
10876
+ # - "new"
10877
+ # - "shipped"
10878
+ # - "undeliverable"
10054
10879
  # Corresponds to the JSON property `state`
10055
10880
  # @return [String]
10056
10881
  attr_accessor :state
@@ -10120,6 +10945,10 @@ module Google
10120
10945
  attr_accessor :delivery_time
10121
10946
 
10122
10947
  # Eligibility for this service.
10948
+ # Acceptable values are:
10949
+ # - "All scenarios"
10950
+ # - "All scenarios except Shopping Actions"
10951
+ # - "Shopping Actions"
10123
10952
  # Corresponds to the JSON property `eligibility`
10124
10953
  # @return [String]
10125
10954
  attr_accessor :eligibility
@@ -10151,6 +10980,9 @@ module Google
10151
10980
  attr_accessor :rate_groups
10152
10981
 
10153
10982
  # Type of locations this service ships orders to.
10983
+ # Acceptable values are:
10984
+ # - "delivery"
10985
+ # - "pickup"
10154
10986
  # Corresponds to the JSON property `shipmentType`
10155
10987
  # @return [String]
10156
10988
  attr_accessor :shipment_type
@@ -10253,6 +11085,37 @@ module Google
10253
11085
  include Google::Apis::Core::Hashable
10254
11086
 
10255
11087
  # The shipping carrier that handles the package.
11088
+ # Acceptable values are:
11089
+ # - "boxtal"
11090
+ # - "bpost"
11091
+ # - "chronopost"
11092
+ # - "colisPrive"
11093
+ # - "colissimo"
11094
+ # - "cxt"
11095
+ # - "deliv"
11096
+ # - "dhl"
11097
+ # - "dpd"
11098
+ # - "dynamex"
11099
+ # - "eCourier"
11100
+ # - "easypost"
11101
+ # - "efw"
11102
+ # - "fedex"
11103
+ # - "fedexSmartpost"
11104
+ # - "geodis"
11105
+ # - "gls"
11106
+ # - "googleCourier"
11107
+ # - "gsx"
11108
+ # - "jdLogistics"
11109
+ # - "laPoste"
11110
+ # - "lasership"
11111
+ # - "manual"
11112
+ # - "mpx"
11113
+ # - "onTrac"
11114
+ # - "other"
11115
+ # - "tnt"
11116
+ # - "uds"
11117
+ # - "ups"
11118
+ # - "usps"
10256
11119
  # Corresponds to the JSON property `carrier`
10257
11120
  # @return [String]
10258
11121
  attr_accessor :carrier
@@ -10344,7 +11207,10 @@ module Google
10344
11207
  # @return [Fixnum]
10345
11208
  attr_accessor :merchant_id
10346
11209
 
10347
- #
11210
+ # The method of the batch entry.
11211
+ # Acceptable values are:
11212
+ # - "get"
11213
+ # - "update"
10348
11214
  # Corresponds to the JSON property `method`
10349
11215
  # @return [String]
10350
11216
  attr_accessor :method_prop
@@ -10588,7 +11454,7 @@ module Google
10588
11454
  class TestOrder
10589
11455
  include Google::Apis::Core::Hashable
10590
11456
 
10591
- # The details of the customer who placed the order.
11457
+ # Required. The details of the customer who placed the order.
10592
11458
  # Corresponds to the JSON property `customer`
10593
11459
  # @return [Google::Apis::ContentV2::TestOrderCustomer]
10594
11460
  attr_accessor :customer
@@ -10605,13 +11471,16 @@ module Google
10605
11471
  # @return [String]
10606
11472
  attr_accessor :kind
10607
11473
 
10608
- # Line items that are ordered. At least one line item must be provided.
11474
+ # Required. Line items that are ordered. At least one line item must be provided.
10609
11475
  # Corresponds to the JSON property `lineItems`
10610
11476
  # @return [Array<Google::Apis::ContentV2::TestOrderLineItem>]
10611
11477
  attr_accessor :line_items
10612
11478
 
10613
11479
  # Determines if test order must be pulled by merchant or pushed to merchant via
10614
11480
  # push integration.
11481
+ # Acceptable values are:
11482
+ # - "checkoutIntegration"
11483
+ # - "merchantPull"
10615
11484
  # Corresponds to the JSON property `notificationMode`
10616
11485
  # @return [String]
10617
11486
  attr_accessor :notification_mode
@@ -10621,13 +11490,22 @@ module Google
10621
11490
  # @return [Google::Apis::ContentV2::TestOrderPaymentMethod]
10622
11491
  attr_accessor :payment_method
10623
11492
 
10624
- # Identifier of one of the predefined delivery addresses for the delivery.
11493
+ # Required. Identifier of one of the predefined delivery addresses for the
11494
+ # delivery.
11495
+ # Acceptable values are:
11496
+ # - "dwight"
11497
+ # - "jim"
11498
+ # - "pam"
10625
11499
  # Corresponds to the JSON property `predefinedDeliveryAddress`
10626
11500
  # @return [String]
10627
11501
  attr_accessor :predefined_delivery_address
10628
11502
 
10629
11503
  # Identifier of one of the predefined pickup details. Required for orders
10630
11504
  # containing line items with shipping type pickup.
11505
+ # Acceptable values are:
11506
+ # - "dwight"
11507
+ # - "jim"
11508
+ # - "pam"
10631
11509
  # Corresponds to the JSON property `predefinedPickupDetails`
10632
11510
  # @return [String]
10633
11511
  attr_accessor :predefined_pickup_details
@@ -10637,10 +11515,10 @@ module Google
10637
11515
  # @return [Array<Google::Apis::ContentV2::OrderLegacyPromotion>]
10638
11516
  attr_accessor :promotions
10639
11517
 
10640
- # The price of shipping for all items. Shipping tax is automatically calculated
10641
- # for orders where marketplace facilitator tax laws are applicable. Otherwise,
10642
- # tax settings from Merchant Center are applied. Note that shipping is not taxed
10643
- # in certain states.
11518
+ # Required. The price of shipping for all items. Shipping tax is automatically
11519
+ # calculated for orders where marketplace facilitator tax laws are applicable.
11520
+ # Otherwise, tax settings from Merchant Center are applied. Note that shipping
11521
+ # is not taxed in certain states.
10644
11522
  # Corresponds to the JSON property `shippingCost`
10645
11523
  # @return [Google::Apis::ContentV2::Price]
10646
11524
  attr_accessor :shipping_cost
@@ -10650,7 +11528,14 @@ module Google
10650
11528
  # @return [Google::Apis::ContentV2::Price]
10651
11529
  attr_accessor :shipping_cost_tax
10652
11530
 
10653
- # The requested shipping option.
11531
+ # Required. The requested shipping option.
11532
+ # Acceptable values are:
11533
+ # - "economy"
11534
+ # - "expedited"
11535
+ # - "oneDay"
11536
+ # - "sameDay"
11537
+ # - "standard"
11538
+ # - "twoDay"
10654
11539
  # Corresponds to the JSON property `shippingOption`
10655
11540
  # @return [String]
10656
11541
  attr_accessor :shipping_option
@@ -10680,7 +11565,11 @@ module Google
10680
11565
  class TestOrderCustomer
10681
11566
  include Google::Apis::Core::Hashable
10682
11567
 
10683
- # Email address of the customer.
11568
+ # Required. Email address of the customer.
11569
+ # Acceptable values are:
11570
+ # - "pog.dwight.schrute@gmail.com"
11571
+ # - "pog.jim.halpert@gmail.com"
11572
+ # - "penpog.pam.beesly@gmail.comding"
10684
11573
  # Corresponds to the JSON property `email`
10685
11574
  # @return [String]
10686
11575
  attr_accessor :email
@@ -10720,6 +11609,9 @@ module Google
10720
11609
 
10721
11610
  # Last know user use selection regards marketing preferences. In certain cases
10722
11611
  # selection might not be known, so this field would be empty.
11612
+ # Acceptable values are:
11613
+ # - "denied"
11614
+ # - "granted"
10723
11615
  # Corresponds to the JSON property `explicitMarketingPreference`
10724
11616
  # @return [String]
10725
11617
  attr_accessor :explicit_marketing_preference
@@ -10745,22 +11637,22 @@ module Google
10745
11637
  class TestOrderLineItem
10746
11638
  include Google::Apis::Core::Hashable
10747
11639
 
10748
- # Product data from the time of the order placement.
11640
+ # Required. Product data from the time of the order placement.
10749
11641
  # Corresponds to the JSON property `product`
10750
11642
  # @return [Google::Apis::ContentV2::TestOrderLineItemProduct]
10751
11643
  attr_accessor :product
10752
11644
 
10753
- # Number of items ordered.
11645
+ # Required. Number of items ordered.
10754
11646
  # Corresponds to the JSON property `quantityOrdered`
10755
11647
  # @return [Fixnum]
10756
11648
  attr_accessor :quantity_ordered
10757
11649
 
10758
- # Details of the return policy for the line item.
11650
+ # Required. Details of the return policy for the line item.
10759
11651
  # Corresponds to the JSON property `returnInfo`
10760
11652
  # @return [Google::Apis::ContentV2::OrderLineItemReturnInfo]
10761
11653
  attr_accessor :return_info
10762
11654
 
10763
- # Details of the requested shipping for the line item.
11655
+ # Required. Details of the requested shipping for the line item.
10764
11656
  # Corresponds to the JSON property `shippingDetails`
10765
11657
  # @return [Google::Apis::ContentV2::OrderLineItemShippingDetails]
10766
11658
  attr_accessor :shipping_details
@@ -10788,22 +11680,29 @@ module Google
10788
11680
  class TestOrderLineItemProduct
10789
11681
  include Google::Apis::Core::Hashable
10790
11682
 
10791
- # Brand of the item.
11683
+ # Required. Brand of the item.
10792
11684
  # Corresponds to the JSON property `brand`
10793
11685
  # @return [String]
10794
11686
  attr_accessor :brand
10795
11687
 
10796
11688
  # Deprecated.
11689
+ # Acceptable values are:
11690
+ # - "online"
10797
11691
  # Corresponds to the JSON property `channel`
10798
11692
  # @return [String]
10799
11693
  attr_accessor :channel
10800
11694
 
10801
- # Condition or state of the item.
11695
+ # Required. Condition or state of the item.
11696
+ # Acceptable values are:
11697
+ # - "new"
10802
11698
  # Corresponds to the JSON property `condition`
10803
11699
  # @return [String]
10804
11700
  attr_accessor :condition
10805
11701
 
10806
- # The two-letter ISO 639-1 language code for the item.
11702
+ # Required. The two-letter ISO 639-1 language code for the item.
11703
+ # Acceptable values are:
11704
+ # - "en"
11705
+ # - "fr"
10807
11706
  # Corresponds to the JSON property `contentLanguage`
10808
11707
  # @return [String]
10809
11708
  attr_accessor :content_language
@@ -10818,7 +11717,7 @@ module Google
10818
11717
  # @return [String]
10819
11718
  attr_accessor :gtin
10820
11719
 
10821
- # URL of an image of the item.
11720
+ # Required. URL of an image of the item.
10822
11721
  # Corresponds to the JSON property `imageLink`
10823
11722
  # @return [String]
10824
11723
  attr_accessor :image_link
@@ -10833,24 +11732,24 @@ module Google
10833
11732
  # @return [String]
10834
11733
  attr_accessor :mpn
10835
11734
 
10836
- # An identifier of the item.
11735
+ # Required. An identifier of the item.
10837
11736
  # Corresponds to the JSON property `offerId`
10838
11737
  # @return [String]
10839
11738
  attr_accessor :offer_id
10840
11739
 
10841
- # The price for the product. Tax is automatically calculated for orders where
10842
- # marketplace facilitator tax laws are applicable. Otherwise, tax settings from
10843
- # Merchant Center are applied.
11740
+ # Required. The price for the product. Tax is automatically calculated for
11741
+ # orders where marketplace facilitator tax laws are applicable. Otherwise, tax
11742
+ # settings from Merchant Center are applied.
10844
11743
  # Corresponds to the JSON property `price`
10845
11744
  # @return [Google::Apis::ContentV2::Price]
10846
11745
  attr_accessor :price
10847
11746
 
10848
- # The CLDR territory code of the target country of the product.
11747
+ # Required. The CLDR territory code of the target country of the product.
10849
11748
  # Corresponds to the JSON property `targetCountry`
10850
11749
  # @return [String]
10851
11750
  attr_accessor :target_country
10852
11751
 
10853
- # The title of the product.
11752
+ # Required. The title of the product.
10854
11753
  # Corresponds to the JSON property `title`
10855
11754
  # @return [String]
10856
11755
  attr_accessor :title
@@ -10903,12 +11802,21 @@ module Google
10903
11802
  attr_accessor :last_four_digits
10904
11803
 
10905
11804
  # The billing address.
11805
+ # Acceptable values are:
11806
+ # - "dwight"
11807
+ # - "jim"
11808
+ # - "pam"
10906
11809
  # Corresponds to the JSON property `predefinedBillingAddress`
10907
11810
  # @return [String]
10908
11811
  attr_accessor :predefined_billing_address
10909
11812
 
10910
11813
  # The type of instrument. Note that real orders might have different values than
10911
11814
  # the four values accepted by createTestOrder.
11815
+ # Acceptable values are:
11816
+ # - "AMEX"
11817
+ # - "DISCOVER"
11818
+ # - "MASTERCARD"
11819
+ # - "VISA"
10912
11820
  # Corresponds to the JSON property `type`
10913
11821
  # @return [String]
10914
11822
  attr_accessor :type
@@ -11058,6 +11966,8 @@ module Google
11058
11966
  attr_accessor :additional_charge_promotions
11059
11967
 
11060
11968
  # [required] Type of the additional charge.
11969
+ # Acceptable values are:
11970
+ # - "shipping"
11061
11971
  # Corresponds to the JSON property `type`
11062
11972
  # @return [String]
11063
11973
  attr_accessor :type
@@ -11090,6 +12000,10 @@ module Google
11090
12000
  attr_accessor :tax_name
11091
12001
 
11092
12002
  # [required] Type of the tax.
12003
+ # Acceptable values are:
12004
+ # - "otherFee"
12005
+ # - "otherFeeTax"
12006
+ # - "sales"
11093
12007
  # Corresponds to the JSON property `taxType`
11094
12008
  # @return [String]
11095
12009
  attr_accessor :tax_type
@@ -11160,12 +12074,15 @@ module Google
11160
12074
  class Weight
11161
12075
  include Google::Apis::Core::Hashable
11162
12076
 
11163
- # The weight unit.
12077
+ # Required. The weight unit.
12078
+ # Acceptable values are:
12079
+ # - "kg"
12080
+ # - "lb"
11164
12081
  # Corresponds to the JSON property `unit`
11165
12082
  # @return [String]
11166
12083
  attr_accessor :unit
11167
12084
 
11168
- # The weight represented as a number.
12085
+ # Required. The weight represented as a number.
11169
12086
  # Corresponds to the JSON property `value`
11170
12087
  # @return [String]
11171
12088
  attr_accessor :value