google-api-client 0.32.1 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (948) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/continuous/linux.cfg +2 -2
  3. data/.kokoro/continuous/post.cfg +30 -0
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/.kokoro/release.cfg +94 -0
  6. data/.repo-metadata.json +5 -0
  7. data/.rubocop.yml +5 -0
  8. data/.yardopts +16 -2
  9. data/CHANGELOG.md +1354 -0
  10. data/Gemfile +1 -0
  11. data/OVERVIEW.md +36 -0
  12. data/README.md +50 -2
  13. data/Rakefile +71 -2
  14. data/api_list_config.yaml +1 -0
  15. data/api_names.yaml +2 -0
  16. data/bin/generate-api +10 -2
  17. data/docs/api-keys.md +20 -0
  18. data/docs/auth.md +53 -0
  19. data/docs/client-secrets.md +69 -0
  20. data/docs/getting-started.md +340 -0
  21. data/docs/installation.md +0 -0
  22. data/docs/logging.md +34 -0
  23. data/docs/media-upload.md +25 -0
  24. data/docs/oauth-installed.md +191 -0
  25. data/docs/oauth-server.md +135 -0
  26. data/docs/oauth-web.md +280 -0
  27. data/docs/oauth.md +268 -0
  28. data/docs/pagination.md +29 -0
  29. data/docs/performance.md +25 -0
  30. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
  31. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  32. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  33. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  34. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  35. data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  36. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  37. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  38. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  39. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  40. data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
  41. data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
  42. data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
  43. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  44. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
  45. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
  46. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
  47. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  48. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
  49. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
  50. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  51. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
  52. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  53. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  54. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
  55. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  56. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  57. data/generated/google/apis/adexperiencereport_v1.rb +1 -4
  58. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  59. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  60. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  61. data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
  62. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  63. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  64. data/generated/google/apis/admin_directory_v1.rb +4 -1
  65. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  66. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  67. data/generated/google/apis/admin_reports_v1.rb +2 -2
  68. data/generated/google/apis/admob_v1/classes.rb +951 -0
  69. data/generated/google/apis/admob_v1/representations.rb +378 -0
  70. data/generated/google/apis/admob_v1/service.rb +196 -0
  71. data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  72. data/generated/google/apis/adsense_v1_4.rb +1 -1
  73. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  74. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  75. data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
  76. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  77. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  78. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  79. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  80. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  81. data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
  82. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  83. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  84. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  85. data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
  86. data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
  87. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  88. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  89. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
  90. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
  91. data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
  92. data/generated/google/apis/androidpublisher_v1.rb +1 -4
  93. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
  94. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
  95. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
  96. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  97. data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
  98. data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
  99. data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
  100. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  101. data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
  102. data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
  103. data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
  104. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  105. data/generated/google/apis/apigee_v1/classes.rb +4928 -0
  106. data/generated/google/apis/apigee_v1/representations.rb +1822 -0
  107. data/generated/google/apis/apigee_v1/service.rb +5578 -0
  108. data/generated/google/apis/apigee_v1.rb +40 -0
  109. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  110. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  111. data/generated/google/apis/appengine_v1/service.rb +10 -6
  112. data/generated/google/apis/appengine_v1.rb +1 -1
  113. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  114. data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
  115. data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
  116. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  117. data/generated/google/apis/appengine_v1beta.rb +1 -1
  118. data/generated/google/apis/appsactivity_v1.rb +1 -1
  119. data/generated/google/apis/appsmarket_v2.rb +1 -1
  120. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
  121. data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
  122. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  123. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  124. data/generated/google/apis/bigquery_v2/classes.rb +993 -43
  125. data/generated/google/apis/bigquery_v2/representations.rb +273 -2
  126. data/generated/google/apis/bigquery_v2/service.rb +137 -4
  127. data/generated/google/apis/bigquery_v2.rb +1 -1
  128. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
  129. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
  130. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
  131. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  132. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  133. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  134. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +90 -34
  135. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  136. data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
  137. data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
  138. data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
  139. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  140. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
  141. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
  142. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  143. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  144. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
  145. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
  146. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
  147. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  148. data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
  149. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  150. data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
  151. data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
  152. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  153. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
  154. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
  155. data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
  156. data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
  157. data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
  158. data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
  159. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  160. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
  161. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
  162. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  163. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  164. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  165. data/generated/google/apis/blogger_v2/service.rb +79 -134
  166. data/generated/google/apis/blogger_v2.rb +5 -4
  167. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  168. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  169. data/generated/google/apis/blogger_v3/service.rb +183 -463
  170. data/generated/google/apis/blogger_v3.rb +4 -3
  171. data/generated/google/apis/books_v1/classes.rb +494 -242
  172. data/generated/google/apis/books_v1/representations.rb +145 -72
  173. data/generated/google/apis/books_v1/service.rb +354 -484
  174. data/generated/google/apis/books_v1.rb +3 -3
  175. data/generated/google/apis/calendar_v3/classes.rb +8 -21
  176. data/generated/google/apis/calendar_v3/service.rb +18 -30
  177. data/generated/google/apis/calendar_v3.rb +1 -1
  178. data/generated/google/apis/chat_v1/classes.rb +29 -3
  179. data/generated/google/apis/chat_v1/representations.rb +3 -0
  180. data/generated/google/apis/chat_v1/service.rb +5 -2
  181. data/generated/google/apis/chat_v1.rb +1 -1
  182. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  183. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  184. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  185. data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
  186. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  187. data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
  188. data/generated/google/apis/civicinfo_v2.rb +1 -1
  189. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  190. data/generated/google/apis/classroom_v1/service.rb +11 -11
  191. data/generated/google/apis/classroom_v1.rb +1 -1
  192. data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
  193. data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
  194. data/generated/google/apis/cloudasset_v1/service.rb +363 -12
  195. data/generated/google/apis/cloudasset_v1.rb +2 -2
  196. data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
  197. data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
  198. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  199. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
  200. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
  201. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
  202. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  203. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
  204. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
  205. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
  206. data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
  207. data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
  208. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  209. data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
  210. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  211. data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
  212. data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
  213. data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
  214. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  215. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
  216. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
  217. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
  218. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  219. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
  220. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
  221. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
  222. data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
  223. data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
  224. data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
  225. data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
  226. data/generated/google/apis/clouddebugger_v2.rb +2 -2
  227. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  228. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
  229. data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
  230. data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
  231. data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
  232. data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
  233. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  234. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  235. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  236. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  237. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  238. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  239. data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
  240. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  241. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
  242. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
  243. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
  244. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  245. data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
  246. data/generated/google/apis/cloudiot_v1.rb +1 -1
  247. data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
  248. data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
  249. data/generated/google/apis/cloudkms_v1/service.rb +15 -3
  250. data/generated/google/apis/cloudkms_v1.rb +1 -1
  251. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  252. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
  253. data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
  254. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  255. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
  256. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  257. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  258. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
  259. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  260. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  261. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
  262. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  263. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  264. data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
  265. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  266. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
  267. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  268. data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
  269. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
  270. data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
  271. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  272. data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
  273. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  274. data/generated/google/apis/cloudshell_v1.rb +1 -1
  275. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
  276. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
  277. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  278. data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
  279. data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
  280. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  281. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
  282. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  283. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  284. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
  285. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  286. data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
  287. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  288. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
  289. data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
  290. data/generated/google/apis/cloudtrace_v2.rb +5 -5
  291. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
  292. data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
  293. data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
  294. data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
  295. data/generated/google/apis/composer_v1/classes.rb +180 -0
  296. data/generated/google/apis/composer_v1/representations.rb +54 -0
  297. data/generated/google/apis/composer_v1.rb +1 -1
  298. data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
  299. data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
  300. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  301. data/generated/google/apis/composer_v1beta1.rb +1 -1
  302. data/generated/google/apis/compute_alpha/classes.rb +3252 -973
  303. data/generated/google/apis/compute_alpha/representations.rb +634 -69
  304. data/generated/google/apis/compute_alpha/service.rb +9085 -6210
  305. data/generated/google/apis/compute_alpha.rb +1 -1
  306. data/generated/google/apis/compute_beta/classes.rb +4787 -1066
  307. data/generated/google/apis/compute_beta/representations.rb +1394 -31
  308. data/generated/google/apis/compute_beta/service.rb +8858 -5018
  309. data/generated/google/apis/compute_beta.rb +1 -1
  310. data/generated/google/apis/compute_v1/classes.rb +2976 -599
  311. data/generated/google/apis/compute_v1/representations.rb +850 -0
  312. data/generated/google/apis/compute_v1/service.rb +4634 -2481
  313. data/generated/google/apis/compute_v1.rb +1 -1
  314. data/generated/google/apis/container_v1/classes.rb +925 -164
  315. data/generated/google/apis/container_v1/representations.rb +278 -0
  316. data/generated/google/apis/container_v1/service.rb +175 -158
  317. data/generated/google/apis/container_v1.rb +1 -1
  318. data/generated/google/apis/container_v1beta1/classes.rb +803 -340
  319. data/generated/google/apis/container_v1beta1/representations.rb +185 -39
  320. data/generated/google/apis/container_v1beta1/service.rb +294 -277
  321. data/generated/google/apis/container_v1beta1.rb +1 -1
  322. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
  323. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  324. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
  325. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
  326. data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
  327. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  328. data/generated/google/apis/content_v2/classes.rb +1566 -634
  329. data/generated/google/apis/content_v2/representations.rb +78 -115
  330. data/generated/google/apis/content_v2/service.rb +81 -206
  331. data/generated/google/apis/content_v2.rb +1 -1
  332. data/generated/google/apis/content_v2_1/classes.rb +2706 -683
  333. data/generated/google/apis/content_v2_1/representations.rb +551 -0
  334. data/generated/google/apis/content_v2_1/service.rb +520 -46
  335. data/generated/google/apis/content_v2_1.rb +1 -1
  336. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  337. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  338. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  339. data/generated/google/apis/customsearch_v1.rb +3 -3
  340. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
  341. data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
  342. data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
  343. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
  344. data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
  345. data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
  346. data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
  347. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  348. data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
  349. data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
  350. data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
  351. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  352. data/generated/google/apis/dataproc_v1/classes.rb +533 -177
  353. data/generated/google/apis/dataproc_v1/representations.rb +85 -0
  354. data/generated/google/apis/dataproc_v1/service.rb +102 -36
  355. data/generated/google/apis/dataproc_v1.rb +1 -1
  356. data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
  357. data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
  358. data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
  359. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  360. data/generated/google/apis/datastore_v1/classes.rb +17 -23
  361. data/generated/google/apis/datastore_v1/service.rb +93 -9
  362. data/generated/google/apis/datastore_v1.rb +1 -1
  363. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  364. data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
  365. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  366. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  367. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  368. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  369. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  370. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  371. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  372. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  373. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  374. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  375. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  376. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  377. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  378. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  379. data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
  380. data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
  381. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  382. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
  383. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
  384. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
  385. data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
  386. data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
  387. data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
  388. data/generated/google/apis/dialogflow_v2/service.rb +849 -158
  389. data/generated/google/apis/dialogflow_v2.rb +1 -1
  390. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
  391. data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
  392. data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
  393. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  394. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
  395. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
  396. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  397. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  398. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  399. data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
  400. data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
  401. data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
  402. data/generated/google/apis/displayvideo_v1.rb +38 -0
  403. data/generated/google/apis/dlp_v2/classes.rb +798 -130
  404. data/generated/google/apis/dlp_v2/representations.rb +277 -3
  405. data/generated/google/apis/dlp_v2/service.rb +2074 -231
  406. data/generated/google/apis/dlp_v2.rb +1 -1
  407. data/generated/google/apis/dns_v1/classes.rb +220 -251
  408. data/generated/google/apis/dns_v1/representations.rb +49 -0
  409. data/generated/google/apis/dns_v1/service.rb +21 -141
  410. data/generated/google/apis/dns_v1.rb +1 -1
  411. data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
  412. data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
  413. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  414. data/generated/google/apis/dns_v1beta2.rb +1 -1
  415. data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
  416. data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
  417. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  418. data/generated/google/apis/dns_v2beta1.rb +1 -1
  419. data/generated/google/apis/docs_v1/classes.rb +608 -2
  420. data/generated/google/apis/docs_v1/representations.rb +211 -0
  421. data/generated/google/apis/docs_v1.rb +1 -1
  422. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  423. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  424. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  425. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
  426. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
  427. data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
  428. data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
  429. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  430. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  431. data/generated/google/apis/drive_v2/classes.rb +58 -5
  432. data/generated/google/apis/drive_v2/representations.rb +18 -0
  433. data/generated/google/apis/drive_v2/service.rb +92 -118
  434. data/generated/google/apis/drive_v2.rb +1 -1
  435. data/generated/google/apis/drive_v3/classes.rb +66 -5
  436. data/generated/google/apis/drive_v3/representations.rb +18 -0
  437. data/generated/google/apis/drive_v3/service.rb +46 -14
  438. data/generated/google/apis/drive_v3.rb +1 -1
  439. data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
  440. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  441. data/generated/google/apis/driveactivity_v2.rb +1 -1
  442. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  443. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  444. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  445. data/generated/google/apis/fcm_v1.rb +1 -1
  446. data/generated/google/apis/file_v1/classes.rb +1235 -158
  447. data/generated/google/apis/file_v1/representations.rb +401 -22
  448. data/generated/google/apis/file_v1/service.rb +14 -10
  449. data/generated/google/apis/file_v1.rb +1 -1
  450. data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
  451. data/generated/google/apis/file_v1beta1/representations.rb +401 -22
  452. data/generated/google/apis/file_v1beta1/service.rb +18 -11
  453. data/generated/google/apis/file_v1beta1.rb +1 -1
  454. data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
  455. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  456. data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
  457. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  458. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  459. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
  460. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
  461. data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
  462. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  463. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  464. data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
  465. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  466. data/generated/google/apis/firebaseml_v1.rb +34 -0
  467. data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
  468. data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
  469. data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
  470. data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
  471. data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
  472. data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
  473. data/generated/google/apis/firebaserules_v1.rb +1 -1
  474. data/generated/google/apis/firestore_v1/classes.rb +16 -5
  475. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  476. data/generated/google/apis/firestore_v1/service.rb +26 -24
  477. data/generated/google/apis/firestore_v1.rb +1 -1
  478. data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
  479. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  480. data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
  481. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  482. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  483. data/generated/google/apis/fitness_v1/classes.rb +189 -153
  484. data/generated/google/apis/fitness_v1/service.rb +192 -198
  485. data/generated/google/apis/fitness_v1.rb +14 -14
  486. data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
  487. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  488. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  489. data/generated/google/apis/games_management_v1management/classes.rb +50 -109
  490. data/generated/google/apis/games_management_v1management/representations.rb +0 -30
  491. data/generated/google/apis/games_management_v1management/service.rb +116 -452
  492. data/generated/google/apis/games_management_v1management.rb +6 -4
  493. data/generated/google/apis/games_v1/classes.rb +14 -293
  494. data/generated/google/apis/games_v1/representations.rb +2 -98
  495. data/generated/google/apis/games_v1/service.rb +3 -135
  496. data/generated/google/apis/games_v1.rb +1 -1
  497. data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
  498. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  499. data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
  500. data/generated/google/apis/gameservices_v1beta.rb +34 -0
  501. data/generated/google/apis/genomics_v1.rb +1 -1
  502. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  503. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  504. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  505. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  506. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  507. data/generated/google/apis/gmail_v1/classes.rb +6 -2
  508. data/generated/google/apis/gmail_v1/service.rb +1 -1
  509. data/generated/google/apis/gmail_v1.rb +13 -1
  510. data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
  511. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  512. data/generated/google/apis/healthcare_v1/service.rb +3439 -0
  513. data/generated/google/apis/healthcare_v1.rb +34 -0
  514. data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
  515. data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
  516. data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
  517. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  518. data/generated/google/apis/homegraph_v1/classes.rb +79 -56
  519. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  520. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  521. data/generated/google/apis/homegraph_v1.rb +1 -1
  522. data/generated/google/apis/iam_v1/classes.rb +201 -169
  523. data/generated/google/apis/iam_v1/representations.rb +1 -6
  524. data/generated/google/apis/iam_v1/service.rb +18 -21
  525. data/generated/google/apis/iam_v1.rb +1 -1
  526. data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
  527. data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
  528. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  529. data/generated/google/apis/iap_v1/classes.rb +691 -59
  530. data/generated/google/apis/iap_v1/representations.rb +254 -0
  531. data/generated/google/apis/iap_v1/service.rb +362 -0
  532. data/generated/google/apis/iap_v1.rb +1 -1
  533. data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
  534. data/generated/google/apis/iap_v1beta1.rb +1 -1
  535. data/generated/google/apis/indexing_v3.rb +1 -1
  536. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  537. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  538. data/generated/google/apis/jobs_v2.rb +1 -1
  539. data/generated/google/apis/jobs_v3/classes.rb +180 -0
  540. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  541. data/generated/google/apis/jobs_v3.rb +1 -1
  542. data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
  543. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  544. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  545. data/generated/google/apis/kgsearch_v1.rb +1 -1
  546. data/generated/google/apis/language_v1/classes.rb +6 -6
  547. data/generated/google/apis/language_v1.rb +1 -1
  548. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  549. data/generated/google/apis/language_v1beta1.rb +1 -1
  550. data/generated/google/apis/language_v1beta2/classes.rb +23 -7
  551. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  552. data/generated/google/apis/language_v1beta2.rb +1 -1
  553. data/generated/google/apis/libraryagent_v1.rb +1 -1
  554. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  555. data/generated/google/apis/licensing_v1/service.rb +81 -37
  556. data/generated/google/apis/licensing_v1.rb +4 -4
  557. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  558. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  559. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  560. data/generated/google/apis/lifesciences_v2beta.rb +35 -0
  561. data/generated/google/apis/logging_v2/classes.rb +292 -91
  562. data/generated/google/apis/logging_v2/representations.rb +51 -0
  563. data/generated/google/apis/logging_v2/service.rb +888 -15
  564. data/generated/google/apis/logging_v2.rb +6 -6
  565. data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
  566. data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
  567. data/generated/google/apis/managedidentities_v1/service.rb +779 -0
  568. data/generated/google/apis/managedidentities_v1.rb +35 -0
  569. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
  570. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
  571. data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
  572. data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
  573. data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
  574. data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
  575. data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
  576. data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
  577. data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
  578. data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
  579. data/generated/google/apis/manufacturers_v1.rb +1 -1
  580. data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
  581. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  582. data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
  583. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  584. data/generated/google/apis/ml_v1/classes.rb +1518 -233
  585. data/generated/google/apis/ml_v1/representations.rb +559 -0
  586. data/generated/google/apis/ml_v1/service.rb +560 -25
  587. data/generated/google/apis/ml_v1.rb +5 -2
  588. data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
  589. data/generated/google/apis/monitoring_v1/representations.rb +513 -0
  590. data/generated/google/apis/monitoring_v1/service.rb +246 -0
  591. data/generated/google/apis/monitoring_v1.rb +47 -0
  592. data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
  593. data/generated/google/apis/monitoring_v3/representations.rb +482 -1
  594. data/generated/google/apis/monitoring_v3/service.rb +614 -162
  595. data/generated/google/apis/monitoring_v3.rb +7 -8
  596. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  597. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  598. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  599. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  600. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
  601. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
  602. data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
  603. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
  604. data/generated/google/apis/oauth2_v2/classes.rb +1 -81
  605. data/generated/google/apis/oauth2_v2/representations.rb +2 -36
  606. data/generated/google/apis/oauth2_v2/service.rb +10 -42
  607. data/generated/google/apis/oauth2_v2.rb +5 -5
  608. data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
  609. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  610. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  611. data/generated/google/apis/osconfig_v1.rb +35 -0
  612. data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -0
  613. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  614. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  615. data/generated/google/apis/osconfig_v1beta.rb +35 -0
  616. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  617. data/generated/google/apis/oslogin_v1/service.rb +10 -7
  618. data/generated/google/apis/oslogin_v1.rb +1 -2
  619. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  620. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  621. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  622. data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
  623. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  624. data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
  625. data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
  626. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  627. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  628. data/generated/google/apis/people_v1/classes.rb +104 -81
  629. data/generated/google/apis/people_v1/representations.rb +1 -0
  630. data/generated/google/apis/people_v1/service.rb +72 -79
  631. data/generated/google/apis/people_v1.rb +10 -1
  632. data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
  633. data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
  634. data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
  635. data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
  636. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
  637. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
  638. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  639. data/generated/google/apis/poly_v1.rb +1 -1
  640. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
  641. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
  642. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
  643. data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
  644. data/generated/google/apis/pubsub_v1/classes.rb +248 -76
  645. data/generated/google/apis/pubsub_v1/representations.rb +18 -0
  646. data/generated/google/apis/pubsub_v1/service.rb +43 -31
  647. data/generated/google/apis/pubsub_v1.rb +1 -1
  648. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  649. data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
  650. data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
  651. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  652. data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
  653. data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
  654. data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
  655. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  656. data/generated/google/apis/redis_v1/classes.rb +48 -18
  657. data/generated/google/apis/redis_v1/representations.rb +14 -0
  658. data/generated/google/apis/redis_v1/service.rb +41 -5
  659. data/generated/google/apis/redis_v1.rb +1 -1
  660. data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
  661. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  662. data/generated/google/apis/redis_v1beta1/service.rb +41 -5
  663. data/generated/google/apis/redis_v1beta1.rb +1 -1
  664. data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
  665. data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
  666. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  667. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
  668. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
  669. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  670. data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
  671. data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
  672. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  673. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  674. data/generated/google/apis/reseller_v1/service.rb +1 -1
  675. data/generated/google/apis/reseller_v1.rb +1 -1
  676. data/generated/google/apis/run_v1/classes.rb +308 -325
  677. data/generated/google/apis/run_v1/representations.rb +63 -103
  678. data/generated/google/apis/run_v1/service.rb +336 -933
  679. data/generated/google/apis/run_v1.rb +1 -1
  680. data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
  681. data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
  682. data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
  683. data/generated/google/apis/run_v1alpha1.rb +1 -1
  684. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  685. data/generated/google/apis/run_v1beta1.rb +4 -1
  686. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  687. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
  688. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
  689. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  690. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  691. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  692. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
  693. data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
  694. data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
  695. data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
  696. data/generated/google/apis/script_v1/classes.rb +4 -22
  697. data/generated/google/apis/script_v1.rb +1 -1
  698. data/generated/google/apis/searchconsole_v1.rb +1 -1
  699. data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
  700. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
  701. data/generated/google/apis/secretmanager_v1/service.rb +681 -0
  702. data/generated/google/apis/secretmanager_v1.rb +35 -0
  703. data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
  704. data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
  705. data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
  706. data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
  707. data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
  708. data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
  709. data/generated/google/apis/securitycenter_v1/service.rb +225 -21
  710. data/generated/google/apis/securitycenter_v1.rb +4 -4
  711. data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
  712. data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
  713. data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
  714. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  715. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
  716. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
  717. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  718. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  719. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
  720. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
  721. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
  722. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  723. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
  724. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
  725. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  726. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
  727. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
  728. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  729. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
  730. data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
  731. data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
  732. data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
  733. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  734. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
  735. data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
  736. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  737. data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
  738. data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
  739. data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
  740. data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
  741. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  742. data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
  743. data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
  744. data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
  745. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  746. data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
  747. data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
  748. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  749. data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
  750. data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
  751. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  752. data/generated/google/apis/serviceusage_v1.rb +1 -1
  753. data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
  754. data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
  755. data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
  756. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  757. data/generated/google/apis/sheets_v4/classes.rb +1741 -253
  758. data/generated/google/apis/sheets_v4/representations.rb +283 -0
  759. data/generated/google/apis/sheets_v4/service.rb +9 -11
  760. data/generated/google/apis/sheets_v4.rb +1 -1
  761. data/generated/google/apis/slides_v1/classes.rb +1 -1
  762. data/generated/google/apis/slides_v1/service.rb +1 -1
  763. data/generated/google/apis/slides_v1.rb +1 -1
  764. data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
  765. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  766. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  767. data/generated/google/apis/spanner_v1/classes.rb +706 -71
  768. data/generated/google/apis/spanner_v1/representations.rb +194 -0
  769. data/generated/google/apis/spanner_v1/service.rb +770 -7
  770. data/generated/google/apis/spanner_v1.rb +1 -1
  771. data/generated/google/apis/speech_v1/classes.rb +15 -11
  772. data/generated/google/apis/speech_v1/representations.rb +2 -1
  773. data/generated/google/apis/speech_v1.rb +1 -1
  774. data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
  775. data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
  776. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  777. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
  778. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
  779. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  780. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  781. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
  782. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
  783. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
  784. data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
  785. data/generated/google/apis/storage_v1/classes.rb +73 -7
  786. data/generated/google/apis/storage_v1/representations.rb +10 -0
  787. data/generated/google/apis/storage_v1/service.rb +29 -4
  788. data/generated/google/apis/storage_v1.rb +1 -1
  789. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  790. data/generated/google/apis/storage_v1beta2.rb +1 -1
  791. data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
  792. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  793. data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
  794. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  795. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  796. data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
  797. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  798. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  799. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  800. data/generated/google/apis/tagmanager_v1.rb +1 -1
  801. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  802. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  803. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  804. data/generated/google/apis/tagmanager_v2.rb +1 -1
  805. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  806. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  807. data/generated/google/apis/tasks_v1/service.rb +78 -124
  808. data/generated/google/apis/tasks_v1.rb +3 -3
  809. data/generated/google/apis/testing_v1/classes.rb +187 -1
  810. data/generated/google/apis/testing_v1/representations.rb +93 -0
  811. data/generated/google/apis/testing_v1.rb +1 -1
  812. data/generated/google/apis/texttospeech_v1.rb +1 -1
  813. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  814. data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
  815. data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
  816. data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
  817. data/generated/google/apis/toolresults_v1beta3.rb +2 -2
  818. data/generated/google/apis/tpu_v1/classes.rb +3 -4
  819. data/generated/google/apis/tpu_v1.rb +1 -1
  820. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
  821. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  822. data/generated/google/apis/translate_v3/classes.rb +946 -0
  823. data/generated/google/apis/translate_v3/representations.rb +439 -0
  824. data/generated/google/apis/translate_v3/service.rb +781 -0
  825. data/generated/google/apis/translate_v3.rb +37 -0
  826. data/generated/google/apis/translate_v3beta1.rb +1 -1
  827. data/generated/google/apis/vault_v1/classes.rb +10 -7
  828. data/generated/google/apis/vault_v1/service.rb +7 -7
  829. data/generated/google/apis/vault_v1.rb +1 -1
  830. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  831. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  832. data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
  833. data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
  834. data/generated/google/apis/videointelligence_v1.rb +1 -1
  835. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
  836. data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
  837. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  838. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
  839. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
  840. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  841. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
  842. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
  843. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  844. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
  845. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
  846. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  847. data/generated/google/apis/vision_v1/classes.rb +67 -1
  848. data/generated/google/apis/vision_v1/representations.rb +32 -0
  849. data/generated/google/apis/vision_v1/service.rb +1 -1
  850. data/generated/google/apis/vision_v1.rb +1 -1
  851. data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
  852. data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
  853. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  854. data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
  855. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  856. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  857. data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
  858. data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
  859. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  860. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  861. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  862. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  863. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  864. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
  865. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
  866. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  867. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  868. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  869. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  870. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  871. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  872. data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
  873. data/generated/google/apis/youtube_v3/representations.rb +99 -191
  874. data/generated/google/apis/youtube_v3/service.rb +1829 -2150
  875. data/generated/google/apis/youtube_v3.rb +8 -5
  876. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  877. data/google-api-client.gemspec +6 -3
  878. data/lib/google/apis/core/api_command.rb +7 -0
  879. data/lib/google/apis/core/base_service.rb +1 -1
  880. data/lib/google/apis/core/http_command.rb +11 -10
  881. data/lib/google/apis/core/upload.rb +4 -0
  882. data/lib/google/apis/generator/annotator.rb +1 -1
  883. data/lib/google/apis/version.rb +9 -4
  884. data/rakelib/devsite/devsite_builder.rb +126 -0
  885. data/rakelib/devsite/link_checker.rb +64 -0
  886. data/rakelib/devsite/repo_metadata.rb +56 -0
  887. metadata +193 -110
  888. data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
  889. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  890. data/generated/google/apis/analytics_v2_4.rb +0 -37
  891. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  892. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  893. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  894. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
  895. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
  896. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
  897. data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
  898. data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
  899. data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
  900. data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
  901. data/generated/google/apis/fusiontables_v1.rb +0 -37
  902. data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
  903. data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
  904. data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
  905. data/generated/google/apis/fusiontables_v2.rb +0 -37
  906. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  907. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  908. data/generated/google/apis/mirror_v1/service.rb +0 -928
  909. data/generated/google/apis/mirror_v1.rb +0 -37
  910. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  911. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  912. data/generated/google/apis/oauth2_v1.rb +0 -40
  913. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  914. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  915. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  916. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  917. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  918. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  919. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  920. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  921. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
  922. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  923. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  924. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  925. data/generated/google/apis/plus_domains_v1.rb +0 -55
  926. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  927. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  928. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
  929. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  930. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  931. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  932. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  933. data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
  934. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  935. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
  936. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  937. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
  938. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
  939. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  940. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  941. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
  942. data/generated/google/apis/storage_v1beta1.rb +0 -40
  943. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  944. data/generated/google/apis/surveys_v2.rb +0 -40
  945. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  946. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  947. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
  948. data/generated/google/apis/urlshortener_v1.rb +0 -34
@@ -23,8 +23,8 @@ module Google
23
23
  module ContentV2
24
24
 
25
25
  # Account data. After the creation of a new account it may take a few minutes
26
- # before it is fully operational. The methods delete, insert, patch, and update
27
- # require the admin role.
26
+ # before it is fully operational. The methods delete, insert, and update require
27
+ # the admin role.
28
28
  class Account
29
29
  include Google::Apis::Core::Hashable
30
30
 
@@ -35,8 +35,8 @@ module Google
35
35
  alias_method :adult_content?, :adult_content
36
36
 
37
37
  # List of linked AdWords accounts that are active or pending approval. To create
38
- # a new link request, add a new link with status active to the list. It will
39
- # remain in a pending state until approved or rejected either in the AdWords
38
+ # a new link request, add a new link with status `active` to the list. It will
39
+ # remain in a `pending` state until approved or rejected either in the AdWords
40
40
  # interface or through the AdWords API. To delete an active link, or to cancel
41
41
  # a link request, remove it from the list.
42
42
  # Corresponds to the JSON property `adwordsLinks`
@@ -54,18 +54,18 @@ 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
61
61
 
62
- # Identifies what kind of resource this is. Value: the fixed string "content#
63
- # account".
62
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
63
+ # account`"
64
64
  # Corresponds to the JSON property `kind`
65
65
  # @return [String]
66
66
  attr_accessor :kind
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
@@ -92,10 +92,10 @@ module Google
92
92
  attr_accessor :website_url
93
93
 
94
94
  # List of linked YouTube channels that are active or pending approval. To create
95
- # a new link request, add a new link with status active to the list. It will
96
- # remain in a pending state until approved or rejected in the YT Creator Studio
97
- # interface. To delete an active link, or to cancel a link request, remove it
98
- # from the list.
95
+ # a new link request, add a new link with status `active` to the list. It will
96
+ # remain in a `pending` state until approved or rejected in the YT Creator
97
+ # Studio interface. To delete an active link, or to cancel a link request,
98
+ # remove it from the list.
99
99
  # Corresponds to the JSON property `youtubeChannelLinks`
100
100
  # @return [Array<Google::Apis::ContentV2::AccountYouTubeChannelLink>]
101
101
  attr_accessor :youtube_channel_links
@@ -177,13 +177,16 @@ module Google
177
177
 
178
178
  # Status of the link between this Merchant Center account and the AdWords
179
179
  # account. Upon retrieval, it represents the actual status of the link and can
180
- # be either active if it was approved in Google AdWords or pending if it's
180
+ # be either `active` if it was approved in Google AdWords or `pending` if it's
181
181
  # pending approval. Upon insertion, it represents the intended status of the
182
- # link. Re-uploading a link with status active when it's still pending or with
183
- # status pending when it's already active will have no effect: the status will
184
- # remain unchanged. Re-uploading a link with deprecated status inactive is
182
+ # link. Re-uploading a link with status `active` when it's still pending or with
183
+ # status `pending` when it's already active will have no effect: the status will
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
@@ -334,8 +340,8 @@ module Google
334
340
  # @return [Array<Google::Apis::ContentV2::AccountStatusDataQualityIssue>]
335
341
  attr_accessor :data_quality_issues
336
342
 
337
- # Identifies what kind of resource this is. Value: the fixed string "content#
338
- # accountStatus".
343
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
344
+ # accountStatus`"
339
345
  # Corresponds to the JSON property `kind`
340
346
  # @return [String]
341
347
  attr_accessor :kind
@@ -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
@@ -823,11 +839,11 @@ module Google
823
839
 
824
840
  # Status of the link between this Merchant Center account and the YouTube
825
841
  # channel. Upon retrieval, it represents the actual status of the link and can
826
- # be either active if it was approved in YT Creator Studio or pending if it's
827
- # pending approval. Upon insertion, it represents the intended status of the
828
- # link. Re-uploading a link with status active when it's still pending or with
829
- # status pending when it's already active will have no effect: the status will
830
- # remain unchanged. Re-uploading a link with deprecated status inactive is
842
+ # be either `active` if it was approved in YT Creator Studio or `pending` if it'
843
+ # s pending approval. Upon insertion, it represents the intended status of the
844
+ # link. Re-uploading a link with status `active` when it's still pending or with
845
+ # status `pending` when it's already active will have no effect: the status will
846
+ # remain unchanged. Re-uploading a link with deprecated status `inactive` is
831
847
  # equivalent to not submitting the link at all and will delete the link if it
832
848
  # was active or cancel the link request if it was pending.
833
849
  # Corresponds to the JSON property `status`
@@ -919,13 +935,13 @@ module Google
919
935
  include Google::Apis::Core::Hashable
920
936
 
921
937
  # Account data. After the creation of a new account it may take a few minutes
922
- # before it is fully operational. The methods delete, insert, patch, and update
923
- # require the admin role.
938
+ # before it is fully operational. The methods delete, insert, and update require
939
+ # the admin role.
924
940
  # Corresponds to the JSON property `account`
925
941
  # @return [Google::Apis::ContentV2::Account]
926
942
  attr_accessor :account
927
943
 
928
- # The ID of the targeted account. Only defined if the method is not insert.
944
+ # The ID of the targeted account. Only defined if the method is not `insert`.
929
945
  # Corresponds to the JSON property `accountId`
930
946
  # @return [Fixnum]
931
947
  attr_accessor :account_id
@@ -936,13 +952,13 @@ module Google
936
952
  attr_accessor :batch_id
937
953
 
938
954
  # Whether the account should be deleted if the account has offers. Only
939
- # applicable if the method is delete.
955
+ # applicable if the method is `delete`.
940
956
  # Corresponds to the JSON property `force`
941
957
  # @return [Boolean]
942
958
  attr_accessor :force
943
959
  alias_method :force?, :force
944
960
 
945
- # Details about the link request.
961
+ # Details about the `link` request.
946
962
  # Corresponds to the JSON property `linkRequest`
947
963
  # @return [Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest]
948
964
  attr_accessor :link_request
@@ -953,11 +969,18 @@ 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
959
982
 
960
- # Only applicable if the method is claimwebsite. Indicates whether or not to
983
+ # Only applicable if the method is `claimwebsite`. Indicates whether or not to
961
984
  # take the claim from another account in case there is a conflict.
962
985
  # Corresponds to the JSON property `overwrite`
963
986
  # @return [Boolean]
@@ -985,13 +1008,20 @@ module Google
985
1008
  class AccountsCustomBatchRequestEntryLinkRequest
986
1009
  include Google::Apis::Core::Hashable
987
1010
 
988
- # Action to perform for this link. The "request" action is only available to
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
@@ -1044,8 +1074,8 @@ module Google
1044
1074
  include Google::Apis::Core::Hashable
1045
1075
 
1046
1076
  # Account data. After the creation of a new account it may take a few minutes
1047
- # before it is fully operational. The methods delete, insert, patch, and update
1048
- # require the admin role.
1077
+ # before it is fully operational. The methods delete, insert, and update require
1078
+ # the admin role.
1049
1079
  # Corresponds to the JSON property `account`
1050
1080
  # @return [Google::Apis::ContentV2::Account]
1051
1081
  attr_accessor :account
@@ -1060,13 +1090,17 @@ module Google
1060
1090
  # @return [Google::Apis::ContentV2::Errors]
1061
1091
  attr_accessor :errors
1062
1092
 
1063
- # Identifies what kind of resource this is. Value: the fixed string "content#
1064
- # accountsCustomBatchResponseEntry".
1093
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
1094
+ # accountsCustomBatchResponseEntry`"
1065
1095
  # Corresponds to the JSON property `kind`
1066
1096
  # @return [String]
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
@@ -1089,13 +1123,20 @@ module Google
1089
1123
  class AccountsLinkRequest
1090
1124
  include Google::Apis::Core::Hashable
1091
1125
 
1092
- # Action to perform for this link. The "request" action is only available to
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
@@ -1429,8 +1475,8 @@ module Google
1429
1475
  # @return [Google::Apis::ContentV2::Errors]
1430
1476
  attr_accessor :errors
1431
1477
 
1432
- # Identifies what kind of resource this is. Value: the fixed string "content#
1433
- # accounttaxCustomBatchResponseEntry".
1478
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
1479
+ # accounttaxCustomBatchResponseEntry`"
1434
1480
  # Corresponds to the JSON property `kind`
1435
1481
  # @return [String]
1436
1482
  attr_accessor :kind
@@ -1528,21 +1574,22 @@ module Google
1528
1574
  class CarrierRate
1529
1575
  include Google::Apis::Core::Hashable
1530
1576
 
1531
- # Carrier service, such as "UPS" or "Fedex". The list of supported carriers can
1532
- # be retrieved via the getSupportedCarriers method. Required.
1577
+ # Carrier service, such as `"UPS"` or `"Fedex"`. The list of supported carriers
1578
+ # can be retrieved via the `getSupportedCarriers` method. Required.
1533
1579
  # Corresponds to the JSON property `carrierName`
1534
1580
  # @return [String]
1535
1581
  attr_accessor :carrier_name
1536
1582
 
1537
- # Carrier service, such as "ground" or "2 days". The list of supported services
1538
- # for a carrier can be retrieved via the getSupportedCarriers method. Required.
1583
+ # Carrier service, such as `"ground"` or `"2 days"`. The list of supported
1584
+ # services for a carrier can be retrieved via the `getSupportedCarriers` method.
1585
+ # Required.
1539
1586
  # Corresponds to the JSON property `carrierService`
1540
1587
  # @return [String]
1541
1588
  attr_accessor :carrier_service
1542
1589
 
1543
- # Additive shipping rate modifier. Can be negative. For example ` "value": "1", "
1544
- # currency" : "USD" ` adds $1 to the rate, ` "value": "-3", "currency" : "USD" `
1545
- # removes $3 from the rate. Optional.
1590
+ # Additive shipping rate modifier. Can be negative. For example `` "value": "1",
1591
+ # "currency" : "USD" `` adds $1 to the rate, `` "value": "-3", "currency" : "USD"
1592
+ # `` removes $3 from the rate. Optional.
1546
1593
  # Corresponds to the JSON property `flatAdjustment`
1547
1594
  # @return [Google::Apis::ContentV2::Price]
1548
1595
  attr_accessor :flat_adjustment
@@ -1558,7 +1605,7 @@ module Google
1558
1605
  attr_accessor :origin_postal_code
1559
1606
 
1560
1607
  # Multiplicative shipping rate modifier as a number in decimal notation. Can be
1561
- # negative. For example "5.4" increases the rate by 5.4%, "-3" decreases the
1608
+ # negative. For example `"5.4"` increases the rate by 5.4%, `"-3"` decreases the
1562
1609
  # rate by 3%. Optional.
1563
1610
  # Corresponds to the JSON property `percentageAdjustment`
1564
1611
  # @return [String]
@@ -1588,12 +1635,12 @@ module Google
1588
1635
  # @return [String]
1589
1636
  attr_accessor :country
1590
1637
 
1591
- # The name of the carrier (e.g., "UPS"). Always present.
1638
+ # The name of the carrier (e.g., `"UPS"`). Always present.
1592
1639
  # Corresponds to the JSON property `name`
1593
1640
  # @return [String]
1594
1641
  attr_accessor :name
1595
1642
 
1596
- # A list of supported services (e.g., "ground") for that carrier. Contains at
1643
+ # A list of supported services (e.g., `"ground"`) for that carrier. Contains at
1597
1644
  # least one service.
1598
1645
  # Corresponds to the JSON property `services`
1599
1646
  # @return [Array<String>]
@@ -1622,6 +1669,16 @@ module Google
1622
1669
  attr_accessor :name
1623
1670
 
1624
1671
  # The type of the attribute.
1672
+ # Acceptable values are:
1673
+ # - "`boolean`"
1674
+ # - "`datetimerange`"
1675
+ # - "`float`"
1676
+ # - "`group`"
1677
+ # - "`int`"
1678
+ # - "`price`"
1679
+ # - "`text`"
1680
+ # - "`time`"
1681
+ # - "`url`"
1625
1682
  # Corresponds to the JSON property `type`
1626
1683
  # @return [String]
1627
1684
  attr_accessor :type
@@ -1679,12 +1736,27 @@ module Google
1679
1736
  class CustomerReturnReason
1680
1737
  include Google::Apis::Core::Hashable
1681
1738
 
1682
- #
1739
+ # Description of the reason.
1683
1740
  # Corresponds to the JSON property `description`
1684
1741
  # @return [String]
1685
1742
  attr_accessor :description
1686
1743
 
1687
- #
1744
+ # Code of the return reason.
1745
+ # Acceptable values are:
1746
+ # - "`betterPriceFound`"
1747
+ # - "`changedMind`"
1748
+ # - "`damagedOrDefectiveItem`"
1749
+ # - "`didNotMatchDescription`"
1750
+ # - "`doesNotFit`"
1751
+ # - "`expiredItem`"
1752
+ # - "`incorrectItemReceived`"
1753
+ # - "`noLongerNeeded`"
1754
+ # - "`notSpecified`"
1755
+ # - "`orderedWrongItem`"
1756
+ # - "`other`"
1757
+ # - "`qualityNotExpected`"
1758
+ # - "`receivedTooLate`"
1759
+ # - "`undeliverable`"
1688
1760
  # Corresponds to the JSON property `reasonCode`
1689
1761
  # @return [String]
1690
1762
  attr_accessor :reason_code
@@ -1745,13 +1817,18 @@ module Google
1745
1817
  attr_accessor :attribute_language
1746
1818
 
1747
1819
  # [DEPRECATED] Please use targets[].language instead. The two-letter ISO 639-1
1748
- # language of the items in the feed. Must be a valid language for targetCountry.
1820
+ # language of the items in the feed. Must be a valid language for `targetCountry`
1821
+ # .
1749
1822
  # Corresponds to the JSON property `contentLanguage`
1750
1823
  # @return [String]
1751
1824
  attr_accessor :content_language
1752
1825
 
1753
- # The type of data feed. For product inventory feeds, only feeds for local
1754
- # stores, not online stores, are supported.
1826
+ # Required. The type of data feed. For product inventory feeds, only feeds for
1827
+ # local stores, not online stores, are supported.
1828
+ # Acceptable values are:
1829
+ # - "`local products`"
1830
+ # - "`product inventory`"
1831
+ # - "`products`"
1755
1832
  # Corresponds to the JSON property `contentType`
1756
1833
  # @return [String]
1757
1834
  attr_accessor :content_type
@@ -1764,7 +1841,7 @@ module Google
1764
1841
  # @return [Google::Apis::ContentV2::DatafeedFetchSchedule]
1765
1842
  attr_accessor :fetch_schedule
1766
1843
 
1767
- # The filename of the feed. All feeds must have a unique file name.
1844
+ # Required. The filename of the feed. All feeds must have a unique file name.
1768
1845
  # Corresponds to the JSON property `fileName`
1769
1846
  # @return [String]
1770
1847
  attr_accessor :file_name
@@ -1774,24 +1851,24 @@ module Google
1774
1851
  # @return [Google::Apis::ContentV2::DatafeedFormat]
1775
1852
  attr_accessor :format
1776
1853
 
1777
- # The ID of the data feed.
1854
+ # Required for update. The ID of the data feed.
1778
1855
  # Corresponds to the JSON property `id`
1779
1856
  # @return [Fixnum]
1780
1857
  attr_accessor :id
1781
1858
 
1782
- # [DEPRECATED] Please use targets[].includedDestinations instead. The list of
1859
+ # [DEPRECATED] Please use targets[].includedDestinations instead. The list of
1783
1860
  # intended destinations (corresponds to checked check boxes in Merchant Center).
1784
1861
  # Corresponds to the JSON property `intendedDestinations`
1785
1862
  # @return [Array<String>]
1786
1863
  attr_accessor :intended_destinations
1787
1864
 
1788
- # Identifies what kind of resource this is. Value: the fixed string "content#
1789
- # datafeed".
1865
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
1866
+ # datafeed`"
1790
1867
  # Corresponds to the JSON property `kind`
1791
1868
  # @return [String]
1792
1869
  attr_accessor :kind
1793
1870
 
1794
- # A descriptive name of the data feed.
1871
+ # Required for insert. A descriptive name of the data feed.
1795
1872
  # Corresponds to the JSON property `name`
1796
1873
  # @return [String]
1797
1874
  attr_accessor :name
@@ -1881,6 +1958,14 @@ module Google
1881
1958
  attr_accessor :username
1882
1959
 
1883
1960
  # The day of the week the feed file should be fetched.
1961
+ # Acceptable values are:
1962
+ # - "`monday`"
1963
+ # - "`tuesday`"
1964
+ # - "`wednesday`"
1965
+ # - "`thursday`"
1966
+ # - "`friday`"
1967
+ # - "`saturday`"
1968
+ # - "`sunday`"
1884
1969
  # Corresponds to the JSON property `weekday`
1885
1970
  # @return [String]
1886
1971
  attr_accessor :weekday
@@ -1910,18 +1995,31 @@ module Google
1910
1995
  # Delimiter for the separation of values in a delimiter-separated values feed.
1911
1996
  # If not specified, the delimiter will be auto-detected. Ignored for non-DSV
1912
1997
  # data feeds.
1998
+ # Acceptable values are:
1999
+ # - "`pipe`"
2000
+ # - "`tab`"
2001
+ # - "`tilde`"
1913
2002
  # Corresponds to the JSON property `columnDelimiter`
1914
2003
  # @return [String]
1915
2004
  attr_accessor :column_delimiter
1916
2005
 
1917
2006
  # Character encoding scheme of the data feed. If not specified, the encoding
1918
2007
  # will be auto-detected.
2008
+ # Acceptable values are:
2009
+ # - "`latin-1`"
2010
+ # - "`utf-16be`"
2011
+ # - "`utf-16le`"
2012
+ # - "`utf-8`"
2013
+ # - "`windows-1252`"
1919
2014
  # Corresponds to the JSON property `fileEncoding`
1920
2015
  # @return [String]
1921
2016
  attr_accessor :file_encoding
1922
2017
 
1923
2018
  # Specifies how double quotes are interpreted. If not specified, the mode will
1924
2019
  # be auto-detected. Ignored for non-DSV data feeds.
2020
+ # Acceptable values are:
2021
+ # - "`normal character`"
2022
+ # - "`value quoting`"
1925
2023
  # Corresponds to the JSON property `quotingMode`
1926
2024
  # @return [String]
1927
2025
  attr_accessor :quoting_mode
@@ -1969,8 +2067,8 @@ module Google
1969
2067
  # @return [Fixnum]
1970
2068
  attr_accessor :items_valid
1971
2069
 
1972
- # Identifies what kind of resource this is. Value: the fixed string "content#
1973
- # datafeedStatus".
2070
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
2071
+ # datafeedStatus`"
1974
2072
  # Corresponds to the JSON property `kind`
1975
2073
  # @return [String]
1976
2074
  attr_accessor :kind
@@ -1986,6 +2084,13 @@ module Google
1986
2084
  attr_accessor :last_upload_date
1987
2085
 
1988
2086
  # The processing status of the feed.
2087
+ # Acceptable values are:
2088
+ # - "`"`failure`": The feed could not be processed or all items had errors.`"
2089
+ # - "`in progress`": The feed is being processed.
2090
+ # - "`none`": The feed has not yet been processed. For example, a feed that has
2091
+ # never been uploaded will have this processing status.
2092
+ # - "`success`": The feed was processed successfully, though some items might
2093
+ # have had errors.
1989
2094
  # Corresponds to the JSON property `processingStatus`
1990
2095
  # @return [String]
1991
2096
  attr_accessor :processing_status
@@ -2100,13 +2205,18 @@ module Google
2100
2205
 
2101
2206
  # The list of destinations to include for this target (corresponds to checked
2102
2207
  # check boxes in Merchant Center). Default destinations are always included
2103
- # unless provided in excludedDestinations.
2208
+ # unless provided in `excludedDestinations`.
2209
+ # List of supported destinations (if available to the account):
2210
+ # - DisplayAds
2211
+ # - Shopping
2212
+ # - ShoppingActions
2213
+ # - SurfacesAcrossGoogle
2104
2214
  # Corresponds to the JSON property `includedDestinations`
2105
2215
  # @return [Array<String>]
2106
2216
  attr_accessor :included_destinations
2107
2217
 
2108
2218
  # The two-letter ISO 639-1 language of the items in the feed. Must be a valid
2109
- # language for targets[].country.
2219
+ # language for `targets[].country`.
2110
2220
  # Corresponds to the JSON property `language`
2111
2221
  # @return [String]
2112
2222
  attr_accessor :language
@@ -2167,7 +2277,13 @@ module Google
2167
2277
  # @return [Fixnum]
2168
2278
  attr_accessor :merchant_id
2169
2279
 
2170
- #
2280
+ # The method of the batch entry.
2281
+ # Acceptable values are:
2282
+ # - "`delete`"
2283
+ # - "`fetchNow`"
2284
+ # - "`get`"
2285
+ # - "`insert`"
2286
+ # - "`update`"
2171
2287
  # Corresponds to the JSON property `method`
2172
2288
  # @return [String]
2173
2289
  attr_accessor :request_method
@@ -2347,7 +2463,9 @@ module Google
2347
2463
  # @return [Fixnum]
2348
2464
  attr_accessor :merchant_id
2349
2465
 
2350
- #
2466
+ # The method of the batch entry.
2467
+ # Acceptable values are:
2468
+ # - "`get`"
2351
2469
  # Corresponds to the JSON property `method`
2352
2470
  # @return [String]
2353
2471
  attr_accessor :request_method
@@ -2480,15 +2598,15 @@ module Google
2480
2598
  attr_accessor :holiday_cutoffs
2481
2599
 
2482
2600
  # Maximum number of business days spent before an order is shipped. 0 means same
2483
- # day shipped, 1 means next day shipped. Must be greater than or equal to
2484
- # minHandlingTimeInDays.
2601
+ # day shipped, 1 means next day shipped. Must be greater than or equal to `
2602
+ # minHandlingTimeInDays`.
2485
2603
  # Corresponds to the JSON property `maxHandlingTimeInDays`
2486
2604
  # @return [Fixnum]
2487
2605
  attr_accessor :max_handling_time_in_days
2488
2606
 
2489
2607
  # Maximum number of business days that is spent in transit. 0 means same day
2490
- # delivery, 1 means next day delivery. Must be greater than or equal to
2491
- # minTransitTimeInDays.
2608
+ # delivery, 1 means next day delivery. Must be greater than or equal to `
2609
+ # minTransitTimeInDays`.
2492
2610
  # Corresponds to the JSON property `maxTransitTimeInDays`
2493
2611
  # @return [Fixnum]
2494
2612
  attr_accessor :max_transit_time_in_days
@@ -2500,8 +2618,8 @@ module Google
2500
2618
  attr_accessor :min_handling_time_in_days
2501
2619
 
2502
2620
  # Minimum number of business days that is spent in transit. 0 means same day
2503
- # delivery, 1 means next day delivery. Either `min,max`TransitTimeInDays or
2504
- # transitTimeTable must be set, but not both.
2621
+ # delivery, 1 means next day delivery. Either ``min,max`TransitTimeInDays` or `
2622
+ # transitTimeTable` must be set, but not both.
2505
2623
  # Corresponds to the JSON property `minTransitTimeInDays`
2506
2624
  # @return [Fixnum]
2507
2625
  attr_accessor :min_transit_time_in_days
@@ -2513,8 +2631,8 @@ module Google
2513
2631
  attr_accessor :transit_business_day_config
2514
2632
 
2515
2633
  # Transit time table, number of business days spent in transit based on row and
2516
- # column dimensions. Either `min,max`TransitTimeInDays or transitTimeTable can
2517
- # be set, but not both.
2634
+ # column dimensions. Either ``min,max`TransitTimeInDays` or `transitTimeTable`
2635
+ # can be set, but not both.
2518
2636
  # Corresponds to the JSON property `transitTimeTable`
2519
2637
  # @return [Google::Apis::ContentV2::TransitTable]
2520
2638
  attr_accessor :transit_time_table
@@ -2572,7 +2690,7 @@ module Google
2572
2690
  class Errors
2573
2691
  include Google::Apis::Core::Hashable
2574
2692
 
2575
- # The HTTP status of the first error in errors.
2693
+ # The HTTP status of the first error in `errors`.
2576
2694
  # Corresponds to the JSON property `code`
2577
2695
  # @return [Fixnum]
2578
2696
  attr_accessor :code
@@ -2582,7 +2700,7 @@ module Google
2582
2700
  # @return [Array<Google::Apis::ContentV2::Error>]
2583
2701
  attr_accessor :errors
2584
2702
 
2585
- # The message of the first error in errors.
2703
+ # The message of the first error in `errors`.
2586
2704
  # Corresponds to the JSON property `message`
2587
2705
  # @return [String]
2588
2706
  attr_accessor :message
@@ -2603,7 +2721,7 @@ module Google
2603
2721
  class GmbAccounts
2604
2722
  include Google::Apis::Core::Hashable
2605
2723
 
2606
- # The ID of the account.
2724
+ # The ID of the Merchant Center account.
2607
2725
  # Corresponds to the JSON property `accountId`
2608
2726
  # @return [Fixnum]
2609
2727
  attr_accessor :account_id
@@ -2661,8 +2779,8 @@ module Google
2661
2779
  end
2662
2780
  end
2663
2781
 
2664
- # A non-empty list of row or column headers for a table. Exactly one of prices,
2665
- # weights, numItems, postalCodeGroupNames, or location must be set.
2782
+ # A non-empty list of row or column headers for a table. Exactly one of `prices`,
2783
+ # `weights`, `numItems`, `postalCodeGroupNames`, or `location` must be set.
2666
2784
  class Headers
2667
2785
  include Google::Apis::Core::Hashable
2668
2786
 
@@ -2672,36 +2790,36 @@ module Google
2672
2790
  # @return [Array<Google::Apis::ContentV2::LocationIdSet>]
2673
2791
  attr_accessor :locations
2674
2792
 
2675
- # A list of inclusive number of items upper bounds. The last value can be "
2676
- # infinity". For example ["10", "50", "infinity"] represents the headers "<= 10
2677
- # items", " 50 items". Must be non-empty. Can only be set if all other fields
2793
+ # A list of inclusive number of items upper bounds. The last value can be `"
2794
+ # infinity"`. For example `["10", "50", "infinity"]` represents the headers "<=
2795
+ # 10 items", " 50 items". Must be non-empty. Can only be set if all other fields
2678
2796
  # are not set.
2679
2797
  # Corresponds to the JSON property `numberOfItems`
2680
2798
  # @return [Array<String>]
2681
2799
  attr_accessor :number_of_items
2682
2800
 
2683
- # A list of postal group names. The last value can be "all other locations".
2684
- # Example: ["zone 1", "zone 2", "all other locations"]. The referred postal code
2685
- # groups must match the delivery country of the service. Must be non-empty. Can
2686
- # only be set if all other fields are not set.
2801
+ # A list of postal group names. The last value can be `"all other locations"`.
2802
+ # Example: `["zone 1", "zone 2", "all other locations"]`. The referred postal
2803
+ # code groups must match the delivery country of the service. Must be non-empty.
2804
+ # Can only be set if all other fields are not set.
2687
2805
  # Corresponds to the JSON property `postalCodeGroupNames`
2688
2806
  # @return [Array<String>]
2689
2807
  attr_accessor :postal_code_group_names
2690
2808
 
2691
- # A list of inclusive order price upper bounds. The last price's value can be "
2692
- # infinity". For example [`"value": "10", "currency": "USD"`, `"value": "500", "
2693
- # currency": "USD"`, `"value": "infinity", "currency": "USD"`] represents the
2809
+ # A list of inclusive order price upper bounds. The last price's value can be `"
2810
+ # infinity"`. For example `[`"value": "10", "currency": "USD"`, `"value": "500",
2811
+ # "currency": "USD"`, `"value": "infinity", "currency": "USD"`]` represents the
2694
2812
  # headers "<= $10", " $500". All prices within a service must have the same
2695
2813
  # currency. Must be non-empty. Can only be set if all other fields are not set.
2696
2814
  # Corresponds to the JSON property `prices`
2697
2815
  # @return [Array<Google::Apis::ContentV2::Price>]
2698
2816
  attr_accessor :prices
2699
2817
 
2700
- # A list of inclusive order weight upper bounds. The last weight's value can be "
2701
- # infinity". For example [`"value": "10", "unit": "kg"`, `"value": "50", "unit":
2702
- # "kg"`, `"value": "infinity", "unit": "kg"`] represents the headers "<= 10kg", "
2703
- # 50kg". All weights within a service must have the same unit. Must be non-
2704
- # empty. Can only be set if all other fields are not set.
2818
+ # A list of inclusive order weight upper bounds. The last weight's value can be `
2819
+ # "infinity"`. For example `[`"value": "10", "unit": "kg"`, `"value": "50", "
2820
+ # unit": "kg"`, `"value": "infinity", "unit": "kg"`]` represents the headers "<=
2821
+ # 10kg", " 50kg". All weights within a service must have the same unit. Must be
2822
+ # non-empty. Can only be set if all other fields are not set.
2705
2823
  # Corresponds to the JSON property `weights`
2706
2824
  # @return [Array<Google::Apis::ContentV2::Weight>]
2707
2825
  attr_accessor :weights
@@ -2805,6 +2923,15 @@ module Google
2805
2923
  attr_accessor :id
2806
2924
 
2807
2925
  # The holiday type. Always present.
2926
+ # Acceptable values are:
2927
+ # - "`Christmas`"
2928
+ # - "`Easter`"
2929
+ # - "`Father's Day`"
2930
+ # - "`Halloween`"
2931
+ # - "`Independence Day (USA)`"
2932
+ # - "`Mother's Day`"
2933
+ # - "`Thanksgiving`"
2934
+ # - "`Valentine's Day`"
2808
2935
  # Corresponds to the JSON property `type`
2809
2936
  # @return [String]
2810
2937
  attr_accessor :type
@@ -2849,11 +2976,15 @@ module Google
2849
2976
  end
2850
2977
  end
2851
2978
 
2852
- #
2979
+ # (== resource_for v2.inventory ==)
2853
2980
  class Inventory
2854
2981
  include Google::Apis::Core::Hashable
2855
2982
 
2856
2983
  # The availability of the product.
2984
+ # Acceptable values are:
2985
+ # - "`in stock`"
2986
+ # - "`out of stock`"
2987
+ # - "`preorder`"
2857
2988
  # Corresponds to the JSON property `availability`
2858
2989
  # @return [String]
2859
2990
  attr_accessor :availability
@@ -2898,8 +3029,8 @@ module Google
2898
3029
  # @return [String]
2899
3030
  attr_accessor :instore_product_location
2900
3031
 
2901
- # Identifies what kind of resource this is. Value: the fixed string "content#
2902
- # inventory".
3032
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
3033
+ # inventory`"
2903
3034
  # Corresponds to the JSON property `kind`
2904
3035
  # @return [String]
2905
3036
  attr_accessor :kind
@@ -2909,10 +3040,10 @@ module Google
2909
3040
  # @return [Google::Apis::ContentV2::LoyaltyPoints]
2910
3041
  attr_accessor :loyalty_points
2911
3042
 
2912
- # Store pickup information. Only supported for local inventory. Not setting
2913
- # pickup means "don't update" while setting it to the empty value (`` in JSON)
2914
- # means "delete". Otherwise, pickupMethod and pickupSla must be set together,
2915
- # unless pickupMethod is "not supported".
3043
+ # Store pickup information. Only supported for local inventory. Not setting `
3044
+ # pickup` means "don't update" while setting it to the empty value (```` in JSON)
3045
+ # means "delete". Otherwise, `pickupMethod` and `pickupSla` must be set
3046
+ # together, unless `pickupMethod` is "not supported".
2916
3047
  # Corresponds to the JSON property `pickup`
2917
3048
  # @return [Google::Apis::ContentV2::InventoryPickup]
2918
3049
  attr_accessor :pickup
@@ -2928,7 +3059,7 @@ module Google
2928
3059
  # @return [Fixnum]
2929
3060
  attr_accessor :quantity
2930
3061
 
2931
- # The sale price of the product. Mandatory if sale_price_effective_date is
3062
+ # The sale price of the product. Mandatory if `sale_price_effective_date` is
2932
3063
  # defined.
2933
3064
  # Corresponds to the JSON property `salePrice`
2934
3065
  # @return [Google::Apis::ContentV2::Price]
@@ -2999,7 +3130,7 @@ module Google
2999
3130
  # @return [Fixnum]
3000
3131
  attr_accessor :batch_id
3001
3132
 
3002
- # Price and availability of the product.
3133
+ # (== resource_for v2.inventory ==)
3003
3134
  # Corresponds to the JSON property `inventory`
3004
3135
  # @return [Google::Apis::ContentV2::Inventory]
3005
3136
  attr_accessor :inventory
@@ -3014,7 +3145,7 @@ module Google
3014
3145
  # @return [String]
3015
3146
  attr_accessor :product_id
3016
3147
 
3017
- # The code of the store for which to update price and availability. Use online
3148
+ # The code of the store for which to update price and availability. Use `online`
3018
3149
  # to update price and availability of an online product.
3019
3150
  # Corresponds to the JSON property `storeCode`
3020
3151
  # @return [String]
@@ -3074,8 +3205,8 @@ module Google
3074
3205
  # @return [Google::Apis::ContentV2::Errors]
3075
3206
  attr_accessor :errors
3076
3207
 
3077
- # Identifies what kind of resource this is. Value: the fixed string "content#
3078
- # inventoryCustomBatchResponseEntry".
3208
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
3209
+ # inventoryCustomBatchResponseEntry`"
3079
3210
  # Corresponds to the JSON property `kind`
3080
3211
  # @return [String]
3081
3212
  attr_accessor :kind
@@ -3099,14 +3230,30 @@ module Google
3099
3230
  # Whether store pickup is available for this offer and whether the pickup option
3100
3231
  # should be shown as buy, reserve, or not supported. Only supported for local
3101
3232
  # inventory. Unless the value is "not supported", must be submitted together
3102
- # with pickupSla.
3233
+ # with `pickupSla`.
3234
+ # Acceptable values are:
3235
+ # - "`buy`"
3236
+ # - "`not supported`"
3237
+ # - "`reserve`"
3238
+ # - "`ship to store`"
3103
3239
  # Corresponds to the JSON property `pickupMethod`
3104
3240
  # @return [String]
3105
3241
  attr_accessor :pickup_method
3106
3242
 
3107
3243
  # The expected date that an order will be ready for pickup, relative to when the
3108
3244
  # order is placed. Only supported for local inventory. Must be submitted
3109
- # together with pickupMethod.
3245
+ # together with `pickupMethod`.
3246
+ # Acceptable values are:
3247
+ # - "`five day`"
3248
+ # - "`four day`"
3249
+ # - "`multi day`"
3250
+ # - "`multi week`"
3251
+ # - "`next day`"
3252
+ # - "`same day`"
3253
+ # - "`seven day`"
3254
+ # - "`six day`"
3255
+ # - "`three day`"
3256
+ # - "`two day`"
3110
3257
  # Corresponds to the JSON property `pickupSla`
3111
3258
  # @return [String]
3112
3259
  attr_accessor :pickup_sla
@@ -3127,6 +3274,10 @@ module Google
3127
3274
  include Google::Apis::Core::Hashable
3128
3275
 
3129
3276
  # The availability of the product.
3277
+ # Acceptable values are:
3278
+ # - "`in stock`"
3279
+ # - "`out of stock`"
3280
+ # - "`preorder`"
3130
3281
  # Corresponds to the JSON property `availability`
3131
3282
  # @return [String]
3132
3283
  attr_accessor :availability
@@ -3176,10 +3327,10 @@ module Google
3176
3327
  # @return [Google::Apis::ContentV2::LoyaltyPoints]
3177
3328
  attr_accessor :loyalty_points
3178
3329
 
3179
- # Store pickup information. Only supported for local inventory. Not setting
3180
- # pickup means "don't update" while setting it to the empty value (`` in JSON)
3181
- # means "delete". Otherwise, pickupMethod and pickupSla must be set together,
3182
- # unless pickupMethod is "not supported".
3330
+ # Store pickup information. Only supported for local inventory. Not setting `
3331
+ # pickup` means "don't update" while setting it to the empty value (```` in JSON)
3332
+ # means "delete". Otherwise, `pickupMethod` and `pickupSla` must be set
3333
+ # together, unless `pickupMethod` is "not supported".
3183
3334
  # Corresponds to the JSON property `pickup`
3184
3335
  # @return [Google::Apis::ContentV2::InventoryPickup]
3185
3336
  attr_accessor :pickup
@@ -3195,7 +3346,7 @@ module Google
3195
3346
  # @return [Fixnum]
3196
3347
  attr_accessor :quantity
3197
3348
 
3198
- # The sale price of the product. Mandatory if sale_price_effective_date is
3349
+ # The sale price of the product. Mandatory if `sale_price_effective_date` is
3199
3350
  # defined.
3200
3351
  # Corresponds to the JSON property `salePrice`
3201
3352
  # @return [Google::Apis::ContentV2::Price]
@@ -3316,6 +3467,8 @@ module Google
3316
3467
  attr_accessor :total_amount
3317
3468
 
3318
3469
  # [required] Type of the additional charge.
3470
+ # Acceptable values are:
3471
+ # - "`shipping`"
3319
3472
  # Corresponds to the JSON property `type`
3320
3473
  # @return [String]
3321
3474
  attr_accessor :type
@@ -3336,6 +3489,10 @@ module Google
3336
3489
  include Google::Apis::Core::Hashable
3337
3490
 
3338
3491
  # The status of the verification process for the About page.
3492
+ # Acceptable values are:
3493
+ # - "`active`"
3494
+ # - "`inactive`"
3495
+ # - "`pending`"
3339
3496
  # Corresponds to the JSON property `status`
3340
3497
  # @return [String]
3341
3498
  attr_accessor :status
@@ -3365,7 +3522,7 @@ module Google
3365
3522
  # @return [Google::Apis::ContentV2::LiaAboutPageSettings]
3366
3523
  attr_accessor :about
3367
3524
 
3368
- # CLDR country code (e.g. "US").
3525
+ # Required. CLDR country code (e.g. "US").
3369
3526
  # Corresponds to the JSON property `country`
3370
3527
  # @return [String]
3371
3528
  attr_accessor :country
@@ -3428,11 +3585,19 @@ module Google
3428
3585
  attr_accessor :inventory_verification_contact_name
3429
3586
 
3430
3587
  # The status of the verification contact.
3588
+ # Acceptable values are:
3589
+ # - "`active`"
3590
+ # - "`inactive`"
3591
+ # - "`pending`"
3431
3592
  # Corresponds to the JSON property `inventoryVerificationContactStatus`
3432
3593
  # @return [String]
3433
3594
  attr_accessor :inventory_verification_contact_status
3434
3595
 
3435
3596
  # The status of the inventory verification process.
3597
+ # Acceptable values are:
3598
+ # - "`active`"
3599
+ # - "`inactive`"
3600
+ # - "`pending`"
3436
3601
  # Corresponds to the JSON property `status`
3437
3602
  # @return [String]
3438
3603
  attr_accessor :status
@@ -3460,6 +3625,10 @@ module Google
3460
3625
  attr_accessor :shipping_cost_policy_url
3461
3626
 
3462
3627
  # The status of the ?On display to order? feature.
3628
+ # Acceptable values are:
3629
+ # - "`active`"
3630
+ # - "`inactive`"
3631
+ # - "`pending`"
3463
3632
  # Corresponds to the JSON property `status`
3464
3633
  # @return [String]
3465
3634
  attr_accessor :status
@@ -3516,8 +3685,8 @@ module Google
3516
3685
  # @return [Array<Google::Apis::ContentV2::LiaCountrySettings>]
3517
3686
  attr_accessor :country_settings
3518
3687
 
3519
- # Identifies what kind of resource this is. Value: the fixed string "content#
3520
- # liaSettings".
3688
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
3689
+ # liaSettings`"
3521
3690
  # Corresponds to the JSON property `kind`
3522
3691
  # @return [String]
3523
3692
  attr_accessor :kind
@@ -3557,7 +3726,7 @@ module Google
3557
3726
  class LiasettingsCustomBatchRequestEntry
3558
3727
  include Google::Apis::Core::Hashable
3559
3728
 
3560
- # The ID of the account for which to get/update account shipping settings.
3729
+ # The ID of the account for which to get/update account LIA settings.
3561
3730
  # Corresponds to the JSON property `accountId`
3562
3731
  # @return [Fixnum]
3563
3732
  attr_accessor :account_id
@@ -3600,7 +3769,14 @@ module Google
3600
3769
  # @return [Fixnum]
3601
3770
  attr_accessor :merchant_id
3602
3771
 
3603
- #
3772
+ # The method of the batch entry.
3773
+ # Acceptable values are:
3774
+ # - "`get`"
3775
+ # - "`getAccessibleGmbAccounts`"
3776
+ # - "`requestGmbAccess`"
3777
+ # - "`requestInventoryVerification`"
3778
+ # - "`setInventoryVerificationContact`"
3779
+ # - "`update`"
3604
3780
  # Corresponds to the JSON property `method`
3605
3781
  # @return [String]
3606
3782
  attr_accessor :method_prop
@@ -3680,8 +3856,8 @@ module Google
3680
3856
  # @return [Google::Apis::ContentV2::GmbAccounts]
3681
3857
  attr_accessor :gmb_accounts
3682
3858
 
3683
- # Identifies what kind of resource this is. Value: the fixed string "content#
3684
- # liasettingsCustomBatchResponseEntry".
3859
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
3860
+ # liasettingsCustomBatchResponseEntry`"
3685
3861
  # Corresponds to the JSON property `kind`
3686
3862
  # @return [String]
3687
3863
  attr_accessor :kind
@@ -3716,7 +3892,7 @@ module Google
3716
3892
  class LiasettingsGetAccessibleGmbAccountsResponse
3717
3893
  include Google::Apis::Core::Hashable
3718
3894
 
3719
- # The ID of the account.
3895
+ # The ID of the Merchant Center account.
3720
3896
  # Corresponds to the JSON property `accountId`
3721
3897
  # @return [Fixnum]
3722
3898
  attr_accessor :account_id
@@ -3935,36 +4111,37 @@ module Google
3935
4111
  end
3936
4112
  end
3937
4113
 
3938
- #
4114
+ # Order return. Production access (all methods) requires the order manager role.
4115
+ # Sandbox access does not.
3939
4116
  class MerchantOrderReturn
3940
4117
  include Google::Apis::Core::Hashable
3941
4118
 
3942
- #
4119
+ # The date of creation of the return, in ISO 8601 format.
3943
4120
  # Corresponds to the JSON property `creationDate`
3944
4121
  # @return [String]
3945
4122
  attr_accessor :creation_date
3946
4123
 
3947
- #
4124
+ # Merchant defined order ID.
3948
4125
  # Corresponds to the JSON property `merchantOrderId`
3949
4126
  # @return [String]
3950
4127
  attr_accessor :merchant_order_id
3951
4128
 
3952
- #
4129
+ # Google order ID.
3953
4130
  # Corresponds to the JSON property `orderId`
3954
4131
  # @return [String]
3955
4132
  attr_accessor :order_id
3956
4133
 
3957
- #
4134
+ # Order return ID generated by Google.
3958
4135
  # Corresponds to the JSON property `orderReturnId`
3959
4136
  # @return [String]
3960
4137
  attr_accessor :order_return_id
3961
4138
 
3962
- #
4139
+ # Items of the return.
3963
4140
  # Corresponds to the JSON property `returnItems`
3964
4141
  # @return [Array<Google::Apis::ContentV2::MerchantOrderReturnItem>]
3965
4142
  attr_accessor :return_items
3966
4143
 
3967
- #
4144
+ # Shipments of the return.
3968
4145
  # Corresponds to the JSON property `returnShipments`
3969
4146
  # @return [Array<Google::Apis::ContentV2::ReturnShipment>]
3970
4147
  attr_accessor :return_shipments
@@ -3988,32 +4165,39 @@ module Google
3988
4165
  class MerchantOrderReturnItem
3989
4166
  include Google::Apis::Core::Hashable
3990
4167
 
3991
- #
4168
+ # The reason that the customer chooses to return an item.
3992
4169
  # Corresponds to the JSON property `customerReturnReason`
3993
4170
  # @return [Google::Apis::ContentV2::CustomerReturnReason]
3994
4171
  attr_accessor :customer_return_reason
3995
4172
 
3996
- #
4173
+ # Product level item ID. If the returned items are of the same product, they
4174
+ # will have the same ID.
3997
4175
  # Corresponds to the JSON property `itemId`
3998
4176
  # @return [String]
3999
4177
  attr_accessor :item_id
4000
4178
 
4001
- #
4179
+ # The reason that merchant chooses to accept a return item.
4002
4180
  # Corresponds to the JSON property `merchantReturnReason`
4003
4181
  # @return [Google::Apis::ContentV2::RefundReason]
4004
4182
  attr_accessor :merchant_return_reason
4005
4183
 
4006
- #
4184
+ # Product data from the time of the order placement.
4007
4185
  # Corresponds to the JSON property `product`
4008
4186
  # @return [Google::Apis::ContentV2::OrderLineItemProduct]
4009
4187
  attr_accessor :product
4010
4188
 
4011
- #
4189
+ # IDs of the return shipments that this return item belongs to.
4012
4190
  # Corresponds to the JSON property `returnShipmentIds`
4013
4191
  # @return [Array<String>]
4014
4192
  attr_accessor :return_shipment_ids
4015
4193
 
4016
- #
4194
+ # State of the item.
4195
+ # Acceptable values are:
4196
+ # - "`canceled`"
4197
+ # - "`new`"
4198
+ # - "`received`"
4199
+ # - "`refunded`"
4200
+ # - "`rejected`"
4017
4201
  # Corresponds to the JSON property `state`
4018
4202
  # @return [String]
4019
4203
  attr_accessor :state
@@ -4033,7 +4217,56 @@ module Google
4033
4217
  end
4034
4218
  end
4035
4219
 
4036
- # Order. All methods require the order manager role.
4220
+ #
4221
+ class MinimumOrderValueTable
4222
+ include Google::Apis::Core::Hashable
4223
+
4224
+ #
4225
+ # Corresponds to the JSON property `storeCodeSetWithMovs`
4226
+ # @return [Array<Google::Apis::ContentV2::MinimumOrderValueTableStoreCodeSetWithMov>]
4227
+ attr_accessor :store_code_set_with_movs
4228
+
4229
+ def initialize(**args)
4230
+ update!(**args)
4231
+ end
4232
+
4233
+ # Update properties of this object
4234
+ def update!(**args)
4235
+ @store_code_set_with_movs = args[:store_code_set_with_movs] if args.key?(:store_code_set_with_movs)
4236
+ end
4237
+ end
4238
+
4239
+ # A list of store code sets sharing the same minimum order value. At least two
4240
+ # sets are required and the last one must be empty, which signifies 'MOV for all
4241
+ # other stores'. Each store code can only appear once across all the sets. All
4242
+ # prices within a service must have the same currency.
4243
+ class MinimumOrderValueTableStoreCodeSetWithMov
4244
+ include Google::Apis::Core::Hashable
4245
+
4246
+ # A list of unique store codes or empty for the catch all.
4247
+ # Corresponds to the JSON property `storeCodes`
4248
+ # @return [Array<String>]
4249
+ attr_accessor :store_codes
4250
+
4251
+ # The minimum order value for the given stores.
4252
+ # Corresponds to the JSON property `value`
4253
+ # @return [Google::Apis::ContentV2::Price]
4254
+ attr_accessor :value
4255
+
4256
+ def initialize(**args)
4257
+ update!(**args)
4258
+ end
4259
+
4260
+ # Update properties of this object
4261
+ def update!(**args)
4262
+ @store_codes = args[:store_codes] if args.key?(:store_codes)
4263
+ @value = args[:value] if args.key?(:value)
4264
+ end
4265
+ end
4266
+
4267
+ # Order. Production access (all methods) requires the order manager role.
4268
+ # Sandbox access does not. (== resource_for v2.orders ==) (== resource_for v2.1.
4269
+ # orders ==)
4037
4270
  class Order
4038
4271
  include Google::Apis::Core::Hashable
4039
4272
 
@@ -4044,6 +4277,9 @@ module Google
4044
4277
  alias_method :acknowledged?, :acknowledged
4045
4278
 
4046
4279
  # Deprecated.
4280
+ # Acceptable values are:
4281
+ # - "`googleExpress`"
4282
+ # - "`purchasesOnGoogle`"
4047
4283
  # Corresponds to the JSON property `channelType`
4048
4284
  # @return [String]
4049
4285
  attr_accessor :channel_type
@@ -4053,7 +4289,7 @@ module Google
4053
4289
  # @return [Google::Apis::ContentV2::OrderCustomer]
4054
4290
  attr_accessor :customer
4055
4291
 
4056
- # Delivery details for shipments of type delivery.
4292
+ # Delivery details for shipments of type `delivery`.
4057
4293
  # Corresponds to the JSON property `deliveryDetails`
4058
4294
  # @return [Google::Apis::ContentV2::OrderDeliveryDetails]
4059
4295
  attr_accessor :delivery_details
@@ -4063,8 +4299,8 @@ module Google
4063
4299
  # @return [String]
4064
4300
  attr_accessor :id
4065
4301
 
4066
- # Identifies what kind of resource this is. Value: the fixed string "content#
4067
- # order".
4302
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
4303
+ # order`"
4068
4304
  # Corresponds to the JSON property `kind`
4069
4305
  # @return [String]
4070
4306
  attr_accessor :kind
@@ -4097,11 +4333,16 @@ module Google
4097
4333
  attr_accessor :payment_method
4098
4334
 
4099
4335
  # The status of the payment.
4336
+ # Acceptable values are:
4337
+ # - "`paymentCaptured`"
4338
+ # - "`paymentRejected`"
4339
+ # - "`paymentSecured`"
4340
+ # - "`pendingAuthorization`"
4100
4341
  # Corresponds to the JSON property `paymentStatus`
4101
4342
  # @return [String]
4102
4343
  attr_accessor :payment_status
4103
4344
 
4104
- # Pickup details for shipments of type pickup.
4345
+ # Pickup details for shipments of type `pickup`.
4105
4346
  # Corresponds to the JSON property `pickupDetails`
4106
4347
  # @return [Google::Apis::ContentV2::OrderPickupDetails]
4107
4348
  attr_accessor :pickup_details
@@ -4111,8 +4352,24 @@ module Google
4111
4352
  # @return [String]
4112
4353
  attr_accessor :placed_date
4113
4354
 
4114
- # The details of the merchant provided promotions applied to the order. More
4115
- # details about the program are here.
4355
+ # The details of the merchant provided promotions applied to the order.
4356
+ # To determine which promotions apply to which products, check the `Promotions[].
4357
+ # Benefits[].OfferIds` field against the `LineItems[].Product.OfferId` field for
4358
+ # each promotion. If a promotion is applied to more than 1 `offerId`, divide the
4359
+ # discount value by the number of affected offers to determine how much discount
4360
+ # to apply to each `offerId`.
4361
+ # Examples:
4362
+ # - To calculate the line item level discount for a single specific item: For
4363
+ # each promotion, subtract the `Promotions[].Benefits[].Discount.value` amount
4364
+ # from the `LineItems[].Price.value`.
4365
+ # - To calculate the line item level discount for multiple quantity of a
4366
+ # specific item: For each promotion, divide the `Promotions[].Benefits[].
4367
+ # Discount.value` by the quantity of products and substract it from `LineItems[].
4368
+ # Product.Price.value` for each quantity item.
4369
+ # Only 1 promotion can be applied to an offerId in a given order. To refund an
4370
+ # item which had a promotion applied to it, make sure to refund the amount after
4371
+ # first subtracting the promotion discount from the item price.
4372
+ # More details about the program are here.
4116
4373
  # Corresponds to the JSON property `promotions`
4117
4374
  # @return [Array<Google::Apis::ContentV2::OrderLegacyPromotion>]
4118
4375
  attr_accessor :promotions
@@ -4138,16 +4395,36 @@ module Google
4138
4395
  attr_accessor :shipping_cost_tax
4139
4396
 
4140
4397
  # Deprecated. Shipping details are provided with line items instead.
4398
+ # Acceptable values are:
4399
+ # - "`economy`"
4400
+ # - "`expedited`"
4401
+ # - "`oneDay`"
4402
+ # - "`sameDay`"
4403
+ # - "`standard`"
4404
+ # - "`twoDay`"
4141
4405
  # Corresponds to the JSON property `shippingOption`
4142
4406
  # @return [String]
4143
4407
  attr_accessor :shipping_option
4144
4408
 
4145
4409
  # The status of the order.
4410
+ # Acceptable values are:
4411
+ # - "`canceled`"
4412
+ # - "`delivered`"
4413
+ # - "`inProgress`"
4414
+ # - "`partiallyDelivered`"
4415
+ # - "`partiallyReturned`"
4416
+ # - "`partiallyShipped`"
4417
+ # - "`pendingShipment`"
4418
+ # - "`returned`"
4419
+ # - "`shipped`"
4146
4420
  # Corresponds to the JSON property `status`
4147
4421
  # @return [String]
4148
4422
  attr_accessor :status
4149
4423
 
4150
4424
  # The party responsible for collecting and remitting taxes.
4425
+ # Acceptable values are:
4426
+ # - "`marketplaceFacilitator`"
4427
+ # - "`merchant`"
4151
4428
  # Corresponds to the JSON property `taxCollector`
4152
4429
  # @return [String]
4153
4430
  attr_accessor :tax_collector
@@ -4257,6 +4534,13 @@ module Google
4257
4534
  include Google::Apis::Core::Hashable
4258
4535
 
4259
4536
  # The actor that created the cancellation.
4537
+ # Acceptable values are:
4538
+ # - "`customer`"
4539
+ # - "`googleBot`"
4540
+ # - "`googleCustomerService`"
4541
+ # - "`googlePayments`"
4542
+ # - "`googleSabre`"
4543
+ # - "`merchant`"
4260
4544
  # Corresponds to the JSON property `actor`
4261
4545
  # @return [String]
4262
4546
  attr_accessor :actor
@@ -4271,9 +4555,38 @@ module Google
4271
4555
  # @return [Fixnum]
4272
4556
  attr_accessor :quantity
4273
4557
 
4274
- # The reason for the cancellation. Orders that are cancelled with a noInventory
4558
+ # The reason for the cancellation. Orders that are canceled with a noInventory
4275
4559
  # reason will lead to the removal of the product from Shopping Actions until you
4276
4560
  # make an update to that product. This will not affect your Shopping ads.
4561
+ # Acceptable values are:
4562
+ # - "`autoPostInternal`"
4563
+ # - "`autoPostInvalidBillingAddress`"
4564
+ # - "`autoPostNoInventory`"
4565
+ # - "`autoPostPriceError`"
4566
+ # - "`autoPostUndeliverableShippingAddress`"
4567
+ # - "`couponAbuse`"
4568
+ # - "`customerCanceled`"
4569
+ # - "`customerInitiatedCancel`"
4570
+ # - "`customerSupportRequested`"
4571
+ # - "`failToPushOrderGoogleError`"
4572
+ # - "`failToPushOrderMerchantError`"
4573
+ # - "`failToPushOrderMerchantFulfillmentError`"
4574
+ # - "`failToPushOrderToMerchant`"
4575
+ # - "`failToPushOrderToMerchantOutOfStock`"
4576
+ # - "`invalidCoupon`"
4577
+ # - "`malformedShippingAddress`"
4578
+ # - "`merchantDidNotShipOnTime`"
4579
+ # - "`noInventory`"
4580
+ # - "`orderTimeout`"
4581
+ # - "`other`"
4582
+ # - "`paymentAbuse`"
4583
+ # - "`paymentDeclined`"
4584
+ # - "`priceError`"
4585
+ # - "`returnRefundAbuse`"
4586
+ # - "`shippingPriceError`"
4587
+ # - "`taxError`"
4588
+ # - "`undeliverableShippingAddress`"
4589
+ # - "`unsupportedPoBoxAddress`"
4277
4590
  # Corresponds to the JSON property `reason`
4278
4591
  # @return [String]
4279
4592
  attr_accessor :reason
@@ -4317,8 +4630,10 @@ module Google
4317
4630
  # @return [String]
4318
4631
  attr_accessor :full_name
4319
4632
 
4320
- # Email address for receiving merchant issued value-added tax or invoice
4321
- # documentation of this order.
4633
+ # Email address for the merchant to send value-added tax or invoice
4634
+ # documentation of the order. Only the last document sent is made available to
4635
+ # the customer. For more information, see About automated VAT invoicing for
4636
+ # Shopping Actions.
4322
4637
  # Corresponds to the JSON property `invoiceReceivingEmail`
4323
4638
  # @return [String]
4324
4639
  attr_accessor :invoice_receiving_email
@@ -4351,9 +4666,12 @@ module Google
4351
4666
 
4352
4667
  # Last known customer selection regarding marketing preferences. In certain
4353
4668
  # cases this selection might not be known, so this field would be empty. If a
4354
- # customer selected granted in their most recent order, they can be subscribed
4355
- # to marketing emails. Customers who have chosen denied must not be subscribed,
4669
+ # customer selected `granted` in their most recent order, they can be subscribed
4670
+ # to marketing emails. Customers who have chosen `denied` must not be subscribed,
4356
4671
  # or must be unsubscribed if already opted-in.
4672
+ # Acceptable values are:
4673
+ # - "`denied`"
4674
+ # - "`granted`"
4357
4675
  # Corresponds to the JSON property `explicitMarketingPreference`
4358
4676
  # @return [String]
4359
4677
  attr_accessor :explicit_marketing_preference
@@ -4365,8 +4683,8 @@ module Google
4365
4683
  attr_accessor :last_updated_timestamp
4366
4684
 
4367
4685
  # Email address that can be used for marketing purposes. The field may be empty
4368
- # even if explicitMarketingPreference is 'granted'. This happens when retrieving
4369
- # an old order from the customer who deleted their account.
4686
+ # even if `explicitMarketingPreference` is 'granted'. This happens when
4687
+ # retrieving an old order from the customer who deleted their account.
4370
4688
  # Corresponds to the JSON property `marketingEmailAddress`
4371
4689
  # @return [String]
4372
4690
  attr_accessor :marketing_email_address
@@ -4445,11 +4763,16 @@ module Google
4445
4763
  attr_accessor :long_title
4446
4764
 
4447
4765
  # Whether the promotion is applicable to all products or only specific products.
4766
+ # Acceptable values are:
4767
+ # - "`allProducts`"
4768
+ # - "`specificProducts`"
4448
4769
  # Corresponds to the JSON property `productApplicability`
4449
4770
  # @return [String]
4450
4771
  attr_accessor :product_applicability
4451
4772
 
4452
4773
  # Indicates that the promotion is valid online.
4774
+ # Acceptable values are:
4775
+ # - "`online`"
4453
4776
  # Corresponds to the JSON property `redemptionChannel`
4454
4777
  # @return [String]
4455
4778
  attr_accessor :redemption_channel
@@ -4487,6 +4810,21 @@ module Google
4487
4810
 
4488
4811
  # Further describes the benefit of the promotion. Note that we will expand on
4489
4812
  # this enumeration as we support new promotion sub-types.
4813
+ # Acceptable values are:
4814
+ # - "`buyMGetMoneyOff`"
4815
+ # - "`buyMGetNMoneyOff`"
4816
+ # - "`buyMGetNPercentOff`"
4817
+ # - "`buyMGetPercentOff`"
4818
+ # - "`freeGift`"
4819
+ # - "`freeGiftWithItemId`"
4820
+ # - "`freeGiftWithValue`"
4821
+ # - "`freeOvernightShipping`"
4822
+ # - "`freeShipping`"
4823
+ # - "`freeTwoDayShipping`"
4824
+ # - "`moneyOff`"
4825
+ # - "`percentageOff`"
4826
+ # - "`rewardPoints`"
4827
+ # - "`salePrice`"
4490
4828
  # Corresponds to the JSON property `subType`
4491
4829
  # @return [String]
4492
4830
  attr_accessor :sub_type
@@ -4498,6 +4836,9 @@ module Google
4498
4836
 
4499
4837
  # Describes whether the promotion applies to products (e.g. 20% off) or to
4500
4838
  # shipping (e.g. Free Shipping).
4839
+ # Acceptable values are:
4840
+ # - "`product`"
4841
+ # - "`shipping`"
4501
4842
  # Corresponds to the JSON property `type`
4502
4843
  # @return [String]
4503
4844
  attr_accessor :type
@@ -4639,11 +4980,18 @@ module Google
4639
4980
  attr_accessor :brand
4640
4981
 
4641
4982
  # The item's channel (online or local).
4983
+ # Acceptable values are:
4984
+ # - "`local`"
4985
+ # - "`online`"
4642
4986
  # Corresponds to the JSON property `channel`
4643
4987
  # @return [String]
4644
4988
  attr_accessor :channel
4645
4989
 
4646
4990
  # Condition or state of the item.
4991
+ # Acceptable values are:
4992
+ # - "`new`"
4993
+ # - "`refurbished`"
4994
+ # - "`used`"
4647
4995
  # Corresponds to the JSON property `condition`
4648
4996
  # @return [String]
4649
4997
  attr_accessor :condition
@@ -4794,18 +5142,18 @@ module Google
4794
5142
  class OrderLineItemReturnInfo
4795
5143
  include Google::Apis::Core::Hashable
4796
5144
 
4797
- # How many days later the item can be returned.
5145
+ # Required. How many days later the item can be returned.
4798
5146
  # Corresponds to the JSON property `daysToReturn`
4799
5147
  # @return [Fixnum]
4800
5148
  attr_accessor :days_to_return
4801
5149
 
4802
- # Whether the item is returnable.
5150
+ # Required. Whether the item is returnable.
4803
5151
  # Corresponds to the JSON property `isReturnable`
4804
5152
  # @return [Boolean]
4805
5153
  attr_accessor :is_returnable
4806
5154
  alias_method :is_returnable?, :is_returnable
4807
5155
 
4808
- # URL of the item return policy.
5156
+ # Required. URL of the item return policy.
4809
5157
  # Corresponds to the JSON property `policyUrl`
4810
5158
  # @return [String]
4811
5159
  attr_accessor :policy_url
@@ -4826,23 +5174,26 @@ module Google
4826
5174
  class OrderLineItemShippingDetails
4827
5175
  include Google::Apis::Core::Hashable
4828
5176
 
4829
- # The delivery by date, in ISO 8601 format.
5177
+ # Required. The delivery by date, in ISO 8601 format.
4830
5178
  # Corresponds to the JSON property `deliverByDate`
4831
5179
  # @return [String]
4832
5180
  attr_accessor :deliver_by_date
4833
5181
 
4834
- # Details of the shipping method.
5182
+ # Required. Details of the shipping method.
4835
5183
  # Corresponds to the JSON property `method`
4836
5184
  # @return [Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod]
4837
5185
  attr_accessor :method_prop
4838
5186
 
4839
- # The ship by date, in ISO 8601 format.
5187
+ # Required. The ship by date, in ISO 8601 format.
4840
5188
  # Corresponds to the JSON property `shipByDate`
4841
5189
  # @return [String]
4842
5190
  attr_accessor :ship_by_date
4843
5191
 
4844
- # Type of shipment. Indicates whether deliveryDetails or pickupDetails is
5192
+ # Type of shipment. Indicates whether `deliveryDetails` or `pickupDetails` is
4845
5193
  # applicable for this shipment.
5194
+ # Acceptable values are:
5195
+ # - "`delivery`"
5196
+ # - "`pickup`"
4846
5197
  # Corresponds to the JSON property `type`
4847
5198
  # @return [String]
4848
5199
  attr_accessor :type
@@ -4864,23 +5215,23 @@ module Google
4864
5215
  class OrderLineItemShippingDetailsMethod
4865
5216
  include Google::Apis::Core::Hashable
4866
5217
 
4867
- # The carrier for the shipping. Optional. See shipments[].carrier for a list of
4868
- # acceptable values.
5218
+ # The carrier for the shipping. Optional. See `shipments[].carrier` for a list
5219
+ # of acceptable values.
4869
5220
  # Corresponds to the JSON property `carrier`
4870
5221
  # @return [String]
4871
5222
  attr_accessor :carrier
4872
5223
 
4873
- # Maximum transit time.
5224
+ # Required. Maximum transit time.
4874
5225
  # Corresponds to the JSON property `maxDaysInTransit`
4875
5226
  # @return [Fixnum]
4876
5227
  attr_accessor :max_days_in_transit
4877
5228
 
4878
- # The name of the shipping method.
5229
+ # Required. The name of the shipping method.
4879
5230
  # Corresponds to the JSON property `methodName`
4880
5231
  # @return [String]
4881
5232
  attr_accessor :method_name
4882
5233
 
4883
- # Minimum transit time.
5234
+ # Required. Minimum transit time.
4884
5235
  # Corresponds to the JSON property `minDaysInTransit`
4885
5236
  # @return [Fixnum]
4886
5237
  attr_accessor :min_days_in_transit
@@ -4956,13 +5307,13 @@ module Google
4956
5307
 
4957
5308
  # The type of instrument.
4958
5309
  # Acceptable values are:
4959
- # - "AMEX"
4960
- # - "DISCOVER"
4961
- # - "JCB"
4962
- # - "MASTERCARD"
4963
- # - "UNIONPAY"
4964
- # - "VISA"
4965
- # - ""
5310
+ # - "`AMEX`"
5311
+ # - "`DISCOVER`"
5312
+ # - "`JCB`"
5313
+ # - "`MASTERCARD`"
5314
+ # - "`UNIONPAY`"
5315
+ # - "`VISA`"
5316
+ # - "``"
4966
5317
  # Corresponds to the JSON property `type`
4967
5318
  # @return [String]
4968
5319
  attr_accessor :type
@@ -4986,8 +5337,8 @@ module Google
4986
5337
  class OrderPickupDetails
4987
5338
  include Google::Apis::Core::Hashable
4988
5339
 
4989
- # Address of the pickup location where the shipment should be sent. Note that
4990
- # recipientName in the address is the name of the business at the pickup
5340
+ # Address of the pickup location where the shipment should be sent. Note that `
5341
+ # recipientName` in the address is the name of the business at the pickup
4991
5342
  # location.
4992
5343
  # Corresponds to the JSON property `address`
4993
5344
  # @return [Google::Apis::ContentV2::OrderAddress]
@@ -5045,6 +5396,13 @@ module Google
5045
5396
  include Google::Apis::Core::Hashable
5046
5397
 
5047
5398
  # The actor that created the refund.
5399
+ # Acceptable values are:
5400
+ # - "`customer`"
5401
+ # - "`googleBot`"
5402
+ # - "`googleCustomerService`"
5403
+ # - "`googlePayments`"
5404
+ # - "`googleSabre`"
5405
+ # - "`merchant`"
5048
5406
  # Corresponds to the JSON property `actor`
5049
5407
  # @return [String]
5050
5408
  attr_accessor :actor
@@ -5060,6 +5418,51 @@ module Google
5060
5418
  attr_accessor :creation_date
5061
5419
 
5062
5420
  # The reason for the refund.
5421
+ # Acceptable values are:
5422
+ # - "`adjustment`"
5423
+ # - "`autoPostInternal`"
5424
+ # - "`autoPostInvalidBillingAddress`"
5425
+ # - "`autoPostNoInventory`"
5426
+ # - "`autoPostPriceError`"
5427
+ # - "`autoPostUndeliverableShippingAddress`"
5428
+ # - "`couponAbuse`"
5429
+ # - "`courtesyAdjustment`"
5430
+ # - "`customerCanceled`"
5431
+ # - "`customerDiscretionaryReturn`"
5432
+ # - "`customerInitiatedMerchantCancel`"
5433
+ # - "`customerSupportRequested`"
5434
+ # - "`deliveredLateByCarrier`"
5435
+ # - "`deliveredTooLate`"
5436
+ # - "`expiredItem`"
5437
+ # - "`failToPushOrderGoogleError`"
5438
+ # - "`failToPushOrderMerchantError`"
5439
+ # - "`failToPushOrderMerchantFulfillmentError`"
5440
+ # - "`failToPushOrderToMerchant`"
5441
+ # - "`failToPushOrderToMerchantOutOfStock`"
5442
+ # - "`feeAdjustment`"
5443
+ # - "`invalidCoupon`"
5444
+ # - "`lateShipmentCredit`"
5445
+ # - "`malformedShippingAddress`"
5446
+ # - "`merchantDidNotShipOnTime`"
5447
+ # - "`noInventory`"
5448
+ # - "`orderTimeout`"
5449
+ # - "`other`"
5450
+ # - "`paymentAbuse`"
5451
+ # - "`paymentDeclined`"
5452
+ # - "`priceAdjustment`"
5453
+ # - "`priceError`"
5454
+ # - "`productArrivedDamaged`"
5455
+ # - "`productNotAsDescribed`"
5456
+ # - "`promoReallocation`"
5457
+ # - "`qualityNotAsExpected`"
5458
+ # - "`returnRefundAbuse`"
5459
+ # - "`shippingCostAdjustment`"
5460
+ # - "`shippingPriceError`"
5461
+ # - "`taxAdjustment`"
5462
+ # - "`taxError`"
5463
+ # - "`undeliverableShippingAddress`"
5464
+ # - "`unsupportedPoBoxAddress`"
5465
+ # - "`wrongProductShipped`"
5063
5466
  # Corresponds to the JSON property `reason`
5064
5467
  # @return [String]
5065
5468
  attr_accessor :reason
@@ -5083,7 +5486,8 @@ module Google
5083
5486
  end
5084
5487
  end
5085
5488
 
5086
- # Order disbursement. All methods require the payment analyst role.
5489
+ # Order disbursement. All methods require the payment analyst role. (==
5490
+ # resource_for v2.orderreports ==) (== resource_for v2.1.orderreports ==)
5087
5491
  class OrderReportDisbursement
5088
5492
  include Google::Apis::Core::Hashable
5089
5493
 
@@ -5204,6 +5608,13 @@ module Google
5204
5608
  include Google::Apis::Core::Hashable
5205
5609
 
5206
5610
  # The actor that created the refund.
5611
+ # Acceptable values are:
5612
+ # - "`customer`"
5613
+ # - "`googleBot`"
5614
+ # - "`googleCustomerService`"
5615
+ # - "`googlePayments`"
5616
+ # - "`googleSabre`"
5617
+ # - "`merchant`"
5207
5618
  # Corresponds to the JSON property `actor`
5208
5619
  # @return [String]
5209
5620
  attr_accessor :actor
@@ -5219,6 +5630,20 @@ module Google
5219
5630
  attr_accessor :quantity
5220
5631
 
5221
5632
  # The reason for the return.
5633
+ # Acceptable values are:
5634
+ # - "`customerDiscretionaryReturn`"
5635
+ # - "`customerInitiatedMerchantCancel`"
5636
+ # - "`deliveredTooLate`"
5637
+ # - "`expiredItem`"
5638
+ # - "`invalidCoupon`"
5639
+ # - "`malformedShippingAddress`"
5640
+ # - "`other`"
5641
+ # - "`productArrivedDamaged`"
5642
+ # - "`productNotAsDescribed`"
5643
+ # - "`qualityNotAsExpected`"
5644
+ # - "`undeliverableShippingAddress`"
5645
+ # - "`unsupportedPoBoxAddress`"
5646
+ # - "`wrongProductShipped`"
5222
5647
  # Corresponds to the JSON property `reason`
5223
5648
  # @return [String]
5224
5649
  attr_accessor :reason
@@ -5247,33 +5672,49 @@ module Google
5247
5672
  include Google::Apis::Core::Hashable
5248
5673
 
5249
5674
  # The carrier handling the shipment.
5250
- # Acceptable values for US are:
5251
- # - "gsx"
5252
- # - "ups"
5253
- # - "usps"
5254
- # - "fedex"
5255
- # - "dhl"
5256
- # - "ecourier"
5257
- # - "cxt"
5258
- # - "google"
5259
- # - "ontrac"
5260
- # - "emsy"
5261
- # - "ont"
5262
- # - "deliv"
5263
- # - "dynamex"
5264
- # - "lasership"
5265
- # - "mpx"
5266
- # - "uds"
5267
- # - "efw"
5268
- # Acceptable values for FR are:
5269
- # - "colissimo"
5270
- # - "chronopost"
5271
- # - "gls"
5272
- # - "dpd"
5273
- # - "bpost"
5274
- # - "colis prive"
5275
- # - "boxtal"
5276
- # - "geodis"
5675
+ # For supported carriers, Google includes the carrier name and tracking URL in
5676
+ # emails to customers. For select supported carriers, Google also automatically
5677
+ # updates the shipment status based on the provided shipment ID. Note: You can
5678
+ # also use unsupported carriers, but emails to customers will not include the
5679
+ # carrier name or tracking URL, and there will be no automatic order status
5680
+ # updates.
5681
+ # Supported carriers for US are:
5682
+ # - "`ups`" (United Parcel Service) automatic status updates
5683
+ # - "`usps`" (United States Postal Service) automatic status updates
5684
+ # - "`fedex`" (FedEx) automatic status updates
5685
+ # - "`dhl`" (DHL eCommerce) automatic status updates (US only)
5686
+ # - "`ontrac`" (OnTrac) automatic status updates
5687
+ # - "`dhl express`" (DHL Express)
5688
+ # - "`deliv`" (Deliv)
5689
+ # - "`dynamex`" (TForce)
5690
+ # - "`lasership`" (LaserShip)
5691
+ # - "`mpx`" (Military Parcel Xpress)
5692
+ # - "`uds`" (United Delivery Service)
5693
+ # - "`efw`" (Estes Forwarding Worldwide)
5694
+ # - "`jd logistics`" (JD Logistics)
5695
+ # - "`yunexpress`" (YunExpress)
5696
+ # - "`china post`" (China Post)
5697
+ # - "`china ems`" (China Post Express Mail Service)
5698
+ # - "`singapore post`" (Singapore Post)
5699
+ # - "`pos malaysia`" (Pos Malaysia)
5700
+ # - "`postnl`" (PostNL)
5701
+ # - "`ptt`" (PTT Turkish Post)
5702
+ # - "`eub`" (ePacket)
5703
+ # - "`chukou1`" (Chukou1 Logistics)
5704
+ # Supported carriers for FR are:
5705
+ # - "`la poste`" (La Poste) automatic status updates
5706
+ # - "`colissimo`" (Colissimo by La Poste) automatic status updates
5707
+ # - "`ups`" (United Parcel Service) automatic status updates
5708
+ # - "`chronopost`" (Chronopost by La Poste)
5709
+ # - "`gls`" (General Logistics Systems France)
5710
+ # - "`dpd`" (DPD Group by GeoPost)
5711
+ # - "`bpost`" (Belgian Post Group)
5712
+ # - "`colis prive`" (Colis Privé)
5713
+ # - "`boxtal`" (Boxtal)
5714
+ # - "`geodis`" (GEODIS)
5715
+ # - "`tnt`" (TNT)
5716
+ # - "`db schenker`" (DB Schenker)
5717
+ # - "`aramex`" (Aramex)
5277
5718
  # Corresponds to the JSON property `carrier`
5278
5719
  # @return [String]
5279
5720
  attr_accessor :carrier
@@ -5284,7 +5725,7 @@ module Google
5284
5725
  attr_accessor :creation_date
5285
5726
 
5286
5727
  # Date on which the shipment has been delivered, in ISO 8601 format. Present
5287
- # only if status is delivered
5728
+ # only if `status` is `delivered`
5288
5729
  # Corresponds to the JSON property `deliveryDate`
5289
5730
  # @return [String]
5290
5731
  attr_accessor :delivery_date
@@ -5300,6 +5741,11 @@ module Google
5300
5741
  attr_accessor :line_items
5301
5742
 
5302
5743
  # The status of the shipment.
5744
+ # Acceptable values are:
5745
+ # - "`delivered`"
5746
+ # - "`readyForPickup`"
5747
+ # - "`shipped`"
5748
+ # - "`undeliverable`"
5303
5749
  # Corresponds to the JSON property `status`
5304
5750
  # @return [String]
5305
5751
  attr_accessor :status
@@ -5329,8 +5775,8 @@ module Google
5329
5775
  class OrderShipmentLineItemShipment
5330
5776
  include Google::Apis::Core::Hashable
5331
5777
 
5332
- # The ID of the line item that is shipped. Either lineItemId or productId is
5333
- # required.
5778
+ # The ID of the line item that is shipped. This value is assigned by Google when
5779
+ # an order is created. Either lineItemId or productId is required.
5334
5780
  # Corresponds to the JSON property `lineItemId`
5335
5781
  # @return [String]
5336
5782
  attr_accessor :line_item_id
@@ -5383,8 +5829,8 @@ module Google
5383
5829
  # @return [String]
5384
5830
  attr_accessor :operation_id
5385
5831
 
5386
- # [required] ID of the shipment group. It is assigned by the merchant in the
5387
- # shipLineItems method and is used to group multiple line items that have the
5832
+ # [required] ID of the shipment group. It is assigned by the merchant in the `
5833
+ # shipLineItems` method and is used to group multiple line items that have the
5388
5834
  # same kind of shipping charges.
5389
5835
  # Corresponds to the JSON property `shipmentGroupId`
5390
5836
  # @return [String]
@@ -5409,6 +5855,9 @@ module Google
5409
5855
  include Google::Apis::Core::Hashable
5410
5856
 
5411
5857
  # The status of the execution.
5858
+ # Acceptable values are:
5859
+ # - "`duplicate`"
5860
+ # - "`executed`"
5412
5861
  # Corresponds to the JSON property `executionStatus`
5413
5862
  # @return [String]
5414
5863
  attr_accessor :execution_status
@@ -5445,14 +5894,15 @@ module Google
5445
5894
  # @return [String]
5446
5895
  attr_accessor :operation_id
5447
5896
 
5448
- # Option to create a refund-only invoice. Exactly one of refundOnlyOption or
5449
- # returnOption must be provided.
5897
+ # Option to create a refund-only invoice. Exactly one of `refundOnlyOption` or `
5898
+ # returnOption` must be provided.
5450
5899
  # Corresponds to the JSON property `refundOnlyOption`
5451
5900
  # @return [Google::Apis::ContentV2::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption]
5452
5901
  attr_accessor :refund_only_option
5453
5902
 
5454
5903
  # Option to create an invoice for a refund and mark all items within the invoice
5455
- # as returned. Exactly one of refundOnlyOption or returnOption must be provided.
5904
+ # as returned. Exactly one of `refundOnlyOption` or `returnOption` must be
5905
+ # provided.
5456
5906
  # Corresponds to the JSON property `returnOption`
5457
5907
  # @return [Google::Apis::ContentV2::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption]
5458
5908
  attr_accessor :return_option
@@ -5481,6 +5931,9 @@ module Google
5481
5931
  include Google::Apis::Core::Hashable
5482
5932
 
5483
5933
  # The status of the execution.
5934
+ # Acceptable values are:
5935
+ # - "`duplicate`"
5936
+ # - "`executed`"
5484
5937
  # Corresponds to the JSON property `executionStatus`
5485
5938
  # @return [String]
5486
5939
  attr_accessor :execution_status
@@ -5512,6 +5965,51 @@ module Google
5512
5965
  attr_accessor :description
5513
5966
 
5514
5967
  # [required] Reason for the refund.
5968
+ # Acceptable values are:
5969
+ # - "`adjustment`"
5970
+ # - "`autoPostInternal`"
5971
+ # - "`autoPostInvalidBillingAddress`"
5972
+ # - "`autoPostNoInventory`"
5973
+ # - "`autoPostPriceError`"
5974
+ # - "`autoPostUndeliverableShippingAddress`"
5975
+ # - "`couponAbuse`"
5976
+ # - "`courtesyAdjustment`"
5977
+ # - "`customerCanceled`"
5978
+ # - "`customerDiscretionaryReturn`"
5979
+ # - "`customerInitiatedMerchantCancel`"
5980
+ # - "`customerSupportRequested`"
5981
+ # - "`deliveredLateByCarrier`"
5982
+ # - "`deliveredTooLate`"
5983
+ # - "`expiredItem`"
5984
+ # - "`failToPushOrderGoogleError`"
5985
+ # - "`failToPushOrderMerchantError`"
5986
+ # - "`failToPushOrderMerchantFulfillmentError`"
5987
+ # - "`failToPushOrderToMerchant`"
5988
+ # - "`failToPushOrderToMerchantOutOfStock`"
5989
+ # - "`feeAdjustment`"
5990
+ # - "`invalidCoupon`"
5991
+ # - "`lateShipmentCredit`"
5992
+ # - "`malformedShippingAddress`"
5993
+ # - "`merchantDidNotShipOnTime`"
5994
+ # - "`noInventory`"
5995
+ # - "`orderTimeout`"
5996
+ # - "`other`"
5997
+ # - "`paymentAbuse`"
5998
+ # - "`paymentDeclined`"
5999
+ # - "`priceAdjustment`"
6000
+ # - "`priceError`"
6001
+ # - "`productArrivedDamaged`"
6002
+ # - "`productNotAsDescribed`"
6003
+ # - "`promoReallocation`"
6004
+ # - "`qualityNotAsExpected`"
6005
+ # - "`returnRefundAbuse`"
6006
+ # - "`shippingCostAdjustment`"
6007
+ # - "`shippingPriceError`"
6008
+ # - "`taxAdjustment`"
6009
+ # - "`taxError`"
6010
+ # - "`undeliverableShippingAddress`"
6011
+ # - "`unsupportedPoBoxAddress`"
6012
+ # - "`wrongProductShipped`"
5515
6013
  # Corresponds to the JSON property `reason`
5516
6014
  # @return [String]
5517
6015
  attr_accessor :reason
@@ -5537,6 +6035,20 @@ module Google
5537
6035
  attr_accessor :description
5538
6036
 
5539
6037
  # [required] Reason for the return.
6038
+ # Acceptable values are:
6039
+ # - "`customerDiscretionaryReturn`"
6040
+ # - "`customerInitiatedMerchantCancel`"
6041
+ # - "`deliveredTooLate`"
6042
+ # - "`expiredItem`"
6043
+ # - "`invalidCoupon`"
6044
+ # - "`malformedShippingAddress`"
6045
+ # - "`other`"
6046
+ # - "`productArrivedDamaged`"
6047
+ # - "`productNotAsDescribed`"
6048
+ # - "`qualityNotAsExpected`"
6049
+ # - "`undeliverableShippingAddress`"
6050
+ # - "`unsupportedPoBoxAddress`"
6051
+ # - "`wrongProductShipped`"
5540
6052
  # Corresponds to the JSON property `reason`
5541
6053
  # @return [String]
5542
6054
  attr_accessor :reason
@@ -5552,216 +6064,6 @@ module Google
5552
6064
  end
5553
6065
  end
5554
6066
 
5555
- #
5556
- class OrderpaymentsNotifyAuthApprovedRequest
5557
- include Google::Apis::Core::Hashable
5558
-
5559
- # Authorized amount for pre-tax charge on user's credit card.
5560
- # Corresponds to the JSON property `authAmountPretax`
5561
- # @return [Google::Apis::ContentV2::Price]
5562
- attr_accessor :auth_amount_pretax
5563
-
5564
- # Authorized amount for tax charge on user's credit card.
5565
- # Corresponds to the JSON property `authAmountTax`
5566
- # @return [Google::Apis::ContentV2::Price]
5567
- attr_accessor :auth_amount_tax
5568
-
5569
- def initialize(**args)
5570
- update!(**args)
5571
- end
5572
-
5573
- # Update properties of this object
5574
- def update!(**args)
5575
- @auth_amount_pretax = args[:auth_amount_pretax] if args.key?(:auth_amount_pretax)
5576
- @auth_amount_tax = args[:auth_amount_tax] if args.key?(:auth_amount_tax)
5577
- end
5578
- end
5579
-
5580
- #
5581
- class OrderpaymentsNotifyAuthApprovedResponse
5582
- include Google::Apis::Core::Hashable
5583
-
5584
- # The status of the execution.
5585
- # Corresponds to the JSON property `executionStatus`
5586
- # @return [String]
5587
- attr_accessor :execution_status
5588
-
5589
- # Identifies what kind of resource this is. Value: the fixed string "content#
5590
- # orderpaymentsNotifyAuthApprovedResponse".
5591
- # Corresponds to the JSON property `kind`
5592
- # @return [String]
5593
- attr_accessor :kind
5594
-
5595
- def initialize(**args)
5596
- update!(**args)
5597
- end
5598
-
5599
- # Update properties of this object
5600
- def update!(**args)
5601
- @execution_status = args[:execution_status] if args.key?(:execution_status)
5602
- @kind = args[:kind] if args.key?(:kind)
5603
- end
5604
- end
5605
-
5606
- #
5607
- class OrderpaymentsNotifyAuthDeclinedRequest
5608
- include Google::Apis::Core::Hashable
5609
-
5610
- # Reason why payment authorization was declined.
5611
- # Corresponds to the JSON property `declineReason`
5612
- # @return [String]
5613
- attr_accessor :decline_reason
5614
-
5615
- def initialize(**args)
5616
- update!(**args)
5617
- end
5618
-
5619
- # Update properties of this object
5620
- def update!(**args)
5621
- @decline_reason = args[:decline_reason] if args.key?(:decline_reason)
5622
- end
5623
- end
5624
-
5625
- #
5626
- class OrderpaymentsNotifyAuthDeclinedResponse
5627
- include Google::Apis::Core::Hashable
5628
-
5629
- # The status of the execution.
5630
- # Corresponds to the JSON property `executionStatus`
5631
- # @return [String]
5632
- attr_accessor :execution_status
5633
-
5634
- # Identifies what kind of resource this is. Value: the fixed string "content#
5635
- # orderpaymentsNotifyAuthDeclinedResponse".
5636
- # Corresponds to the JSON property `kind`
5637
- # @return [String]
5638
- attr_accessor :kind
5639
-
5640
- def initialize(**args)
5641
- update!(**args)
5642
- end
5643
-
5644
- # Update properties of this object
5645
- def update!(**args)
5646
- @execution_status = args[:execution_status] if args.key?(:execution_status)
5647
- @kind = args[:kind] if args.key?(:kind)
5648
- end
5649
- end
5650
-
5651
- #
5652
- class OrderpaymentsNotifyChargeRequest
5653
- include Google::Apis::Core::Hashable
5654
-
5655
- # Whether charge was successful.
5656
- # Corresponds to the JSON property `chargeState`
5657
- # @return [String]
5658
- attr_accessor :charge_state
5659
-
5660
- # Deprecated. Please use invoiceIds instead.
5661
- # Corresponds to the JSON property `invoiceId`
5662
- # @return [String]
5663
- attr_accessor :invoice_id
5664
-
5665
- # Invoice IDs from the orderinvoices service that correspond to the charge.
5666
- # Corresponds to the JSON property `invoiceIds`
5667
- # @return [Array<String>]
5668
- attr_accessor :invoice_ids
5669
-
5670
- def initialize(**args)
5671
- update!(**args)
5672
- end
5673
-
5674
- # Update properties of this object
5675
- def update!(**args)
5676
- @charge_state = args[:charge_state] if args.key?(:charge_state)
5677
- @invoice_id = args[:invoice_id] if args.key?(:invoice_id)
5678
- @invoice_ids = args[:invoice_ids] if args.key?(:invoice_ids)
5679
- end
5680
- end
5681
-
5682
- #
5683
- class OrderpaymentsNotifyChargeResponse
5684
- include Google::Apis::Core::Hashable
5685
-
5686
- # The status of the execution.
5687
- # Corresponds to the JSON property `executionStatus`
5688
- # @return [String]
5689
- attr_accessor :execution_status
5690
-
5691
- # Identifies what kind of resource this is. Value: the fixed string "content#
5692
- # orderpaymentsNotifyChargeResponse".
5693
- # Corresponds to the JSON property `kind`
5694
- # @return [String]
5695
- attr_accessor :kind
5696
-
5697
- def initialize(**args)
5698
- update!(**args)
5699
- end
5700
-
5701
- # Update properties of this object
5702
- def update!(**args)
5703
- @execution_status = args[:execution_status] if args.key?(:execution_status)
5704
- @kind = args[:kind] if args.key?(:kind)
5705
- end
5706
- end
5707
-
5708
- #
5709
- class OrderpaymentsNotifyRefundRequest
5710
- include Google::Apis::Core::Hashable
5711
-
5712
- # Deprecated. Please use invoiceIds instead.
5713
- # Corresponds to the JSON property `invoiceId`
5714
- # @return [String]
5715
- attr_accessor :invoice_id
5716
-
5717
- # Invoice IDs from the orderinvoices service that correspond to the refund.
5718
- # Corresponds to the JSON property `invoiceIds`
5719
- # @return [Array<String>]
5720
- attr_accessor :invoice_ids
5721
-
5722
- # Whether refund was successful.
5723
- # Corresponds to the JSON property `refundState`
5724
- # @return [String]
5725
- attr_accessor :refund_state
5726
-
5727
- def initialize(**args)
5728
- update!(**args)
5729
- end
5730
-
5731
- # Update properties of this object
5732
- def update!(**args)
5733
- @invoice_id = args[:invoice_id] if args.key?(:invoice_id)
5734
- @invoice_ids = args[:invoice_ids] if args.key?(:invoice_ids)
5735
- @refund_state = args[:refund_state] if args.key?(:refund_state)
5736
- end
5737
- end
5738
-
5739
- #
5740
- class OrderpaymentsNotifyRefundResponse
5741
- include Google::Apis::Core::Hashable
5742
-
5743
- # The status of the execution.
5744
- # Corresponds to the JSON property `executionStatus`
5745
- # @return [String]
5746
- attr_accessor :execution_status
5747
-
5748
- # Identifies what kind of resource this is. Value: the fixed string "content#
5749
- # orderpaymentsNotifyRefundResponse".
5750
- # Corresponds to the JSON property `kind`
5751
- # @return [String]
5752
- attr_accessor :kind
5753
-
5754
- def initialize(**args)
5755
- update!(**args)
5756
- end
5757
-
5758
- # Update properties of this object
5759
- def update!(**args)
5760
- @execution_status = args[:execution_status] if args.key?(:execution_status)
5761
- @kind = args[:kind] if args.key?(:kind)
5762
- end
5763
- end
5764
-
5765
6067
  #
5766
6068
  class OrderreportsListDisbursementsResponse
5767
6069
  include Google::Apis::Core::Hashable
@@ -5882,6 +6184,9 @@ module Google
5882
6184
  include Google::Apis::Core::Hashable
5883
6185
 
5884
6186
  # The status of the execution.
6187
+ # Acceptable values are:
6188
+ # - "`duplicate`"
6189
+ # - "`executed`"
5885
6190
  # Corresponds to the JSON property `executionStatus`
5886
6191
  # @return [String]
5887
6192
  attr_accessor :execution_status
@@ -5968,6 +6273,17 @@ module Google
5968
6273
  attr_accessor :quantity
5969
6274
 
5970
6275
  # The reason for the cancellation.
6276
+ # Acceptable values are:
6277
+ # - "`customerInitiatedCancel`"
6278
+ # - "`invalidCoupon`"
6279
+ # - "`malformedShippingAddress`"
6280
+ # - "`noInventory`"
6281
+ # - "`other`"
6282
+ # - "`priceError`"
6283
+ # - "`shippingPriceError`"
6284
+ # - "`taxError`"
6285
+ # - "`undeliverableShippingAddress`"
6286
+ # - "`unsupportedPoBoxAddress`"
5971
6287
  # Corresponds to the JSON property `reason`
5972
6288
  # @return [String]
5973
6289
  attr_accessor :reason
@@ -6000,6 +6316,9 @@ module Google
6000
6316
  include Google::Apis::Core::Hashable
6001
6317
 
6002
6318
  # The status of the execution.
6319
+ # Acceptable values are:
6320
+ # - "`duplicate`"
6321
+ # - "`executed`"
6003
6322
  # Corresponds to the JSON property `executionStatus`
6004
6323
  # @return [String]
6005
6324
  attr_accessor :execution_status
@@ -6031,6 +6350,17 @@ module Google
6031
6350
  attr_accessor :operation_id
6032
6351
 
6033
6352
  # The reason for the cancellation.
6353
+ # Acceptable values are:
6354
+ # - "`customerInitiatedCancel`"
6355
+ # - "`invalidCoupon`"
6356
+ # - "`malformedShippingAddress`"
6357
+ # - "`noInventory`"
6358
+ # - "`other`"
6359
+ # - "`priceError`"
6360
+ # - "`shippingPriceError`"
6361
+ # - "`taxError`"
6362
+ # - "`undeliverableShippingAddress`"
6363
+ # - "`unsupportedPoBoxAddress`"
6034
6364
  # Corresponds to the JSON property `reason`
6035
6365
  # @return [String]
6036
6366
  attr_accessor :reason
@@ -6057,6 +6387,9 @@ module Google
6057
6387
  include Google::Apis::Core::Hashable
6058
6388
 
6059
6389
  # The status of the execution.
6390
+ # Acceptable values are:
6391
+ # - "`duplicate`"
6392
+ # - "`executed`"
6060
6393
  # Corresponds to the JSON property `executionStatus`
6061
6394
  # @return [String]
6062
6395
  attr_accessor :execution_status
@@ -6083,6 +6416,10 @@ module Google
6083
6416
  include Google::Apis::Core::Hashable
6084
6417
 
6085
6418
  # The reason for the cancellation.
6419
+ # Acceptable values are:
6420
+ # - "`changedMind`"
6421
+ # - "`orderedWrongItem`"
6422
+ # - "`other`"
6086
6423
  # Corresponds to the JSON property `reason`
6087
6424
  # @return [String]
6088
6425
  attr_accessor :reason
@@ -6122,18 +6459,24 @@ module Google
6122
6459
  include Google::Apis::Core::Hashable
6123
6460
 
6124
6461
  # The CLDR territory code of the country of the test order to create. Affects
6125
- # the currency and addresses of orders created via template_name, or the
6126
- # addresses of orders created via test_order.
6462
+ # the currency and addresses of orders created via `template_name`, or the
6463
+ # addresses of orders created via `test_order`.
6127
6464
  # Acceptable values are:
6128
- # - "US"
6129
- # - "FR" Defaults to US.
6465
+ # - "`US`"
6466
+ # - "`FR`" Defaults to `US`.
6130
6467
  # Corresponds to the JSON property `country`
6131
6468
  # @return [String]
6132
6469
  attr_accessor :country
6133
6470
 
6134
- # The test order template to use. Specify as an alternative to testOrder as a
6471
+ # The test order template to use. Specify as an alternative to `testOrder` as a
6135
6472
  # shortcut for retrieving a template and then creating an order using that
6136
6473
  # template.
6474
+ # Acceptable values are:
6475
+ # - "`template1`"
6476
+ # - "`template1a`"
6477
+ # - "`template1b`"
6478
+ # - "`template2`"
6479
+ # - "`template3`"
6137
6480
  # Corresponds to the JSON property `templateName`
6138
6481
  # @return [String]
6139
6482
  attr_accessor :template_name
@@ -6254,17 +6597,17 @@ module Google
6254
6597
  # @return [Fixnum]
6255
6598
  attr_accessor :batch_id
6256
6599
 
6257
- # Required for cancel method.
6600
+ # Required for `cancel` method.
6258
6601
  # Corresponds to the JSON property `cancel`
6259
6602
  # @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancel]
6260
6603
  attr_accessor :cancel
6261
6604
 
6262
- # Required for cancelLineItem method.
6605
+ # Required for `cancelLineItem` method.
6263
6606
  # Corresponds to the JSON property `cancelLineItem`
6264
6607
  # @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancelLineItem]
6265
6608
  attr_accessor :cancel_line_item
6266
6609
 
6267
- # Required for inStoreReturnLineItem method.
6610
+ # Required for `inStoreReturnLineItem` method.
6268
6611
  # Corresponds to the JSON property `inStoreRefundLineItem`
6269
6612
  # @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryInStoreRefundLineItem]
6270
6613
  attr_accessor :in_store_refund_line_item
@@ -6274,64 +6617,80 @@ module Google
6274
6617
  # @return [Fixnum]
6275
6618
  attr_accessor :merchant_id
6276
6619
 
6277
- # The merchant order ID. Required for updateMerchantOrderId and
6278
- # getByMerchantOrderId methods.
6620
+ # The merchant order ID. Required for `updateMerchantOrderId` and `
6621
+ # getByMerchantOrderId` methods.
6279
6622
  # Corresponds to the JSON property `merchantOrderId`
6280
6623
  # @return [String]
6281
6624
  attr_accessor :merchant_order_id
6282
6625
 
6283
- # The method to apply.
6626
+ # The method of the batch entry.
6627
+ # Acceptable values are:
6628
+ # - "`acknowledge`"
6629
+ # - "`cancel`"
6630
+ # - "`cancelLineItem`"
6631
+ # - "`get`"
6632
+ # - "`getByMerchantOrderId`"
6633
+ # - "`inStoreRefundLineItem`"
6634
+ # - "`refund`"
6635
+ # - "`rejectReturnLineItem`"
6636
+ # - "`returnLineItem`"
6637
+ # - "`returnRefundLineItem`"
6638
+ # - "`setLineItemMetadata`"
6639
+ # - "`shipLineItems`"
6640
+ # - "`updateLineItemShippingDetails`"
6641
+ # - "`updateMerchantOrderId`"
6642
+ # - "`updateShipment`"
6284
6643
  # Corresponds to the JSON property `method`
6285
6644
  # @return [String]
6286
6645
  attr_accessor :method_prop
6287
6646
 
6288
6647
  # The ID of the operation. Unique across all operations for a given order.
6289
- # Required for all methods beside get and getByMerchantOrderId.
6648
+ # Required for all methods beside `get` and `getByMerchantOrderId`.
6290
6649
  # Corresponds to the JSON property `operationId`
6291
6650
  # @return [String]
6292
6651
  attr_accessor :operation_id
6293
6652
 
6294
- # The ID of the order. Required for all methods beside getByMerchantOrderId.
6653
+ # The ID of the order. Required for all methods beside `getByMerchantOrderId`.
6295
6654
  # Corresponds to the JSON property `orderId`
6296
6655
  # @return [String]
6297
6656
  attr_accessor :order_id
6298
6657
 
6299
- # Required for refund method.
6658
+ # Required for `refund` method.
6300
6659
  # Corresponds to the JSON property `refund`
6301
6660
  # @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryRefund]
6302
6661
  attr_accessor :refund
6303
6662
 
6304
- # Required for rejectReturnLineItem method.
6663
+ # Required for `rejectReturnLineItem` method.
6305
6664
  # Corresponds to the JSON property `rejectReturnLineItem`
6306
6665
  # @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryRejectReturnLineItem]
6307
6666
  attr_accessor :reject_return_line_item
6308
6667
 
6309
- # Required for returnLineItem method.
6668
+ # Required for `returnLineItem` method.
6310
6669
  # Corresponds to the JSON property `returnLineItem`
6311
6670
  # @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnLineItem]
6312
6671
  attr_accessor :return_line_item
6313
6672
 
6314
- # Required for returnRefundLineItem method.
6673
+ # Required for `returnRefundLineItem` method.
6315
6674
  # Corresponds to the JSON property `returnRefundLineItem`
6316
6675
  # @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnRefundLineItem]
6317
6676
  attr_accessor :return_refund_line_item
6318
6677
 
6319
- # Required for setLineItemMetadata method.
6678
+ # Required for `setLineItemMetadata` method.
6320
6679
  # Corresponds to the JSON property `setLineItemMetadata`
6321
6680
  # @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntrySetLineItemMetadata]
6322
6681
  attr_accessor :set_line_item_metadata
6323
6682
 
6324
- # Required for shipLineItems method.
6683
+ # Required for `shipLineItems` method.
6325
6684
  # Corresponds to the JSON property `shipLineItems`
6326
6685
  # @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItems]
6327
6686
  attr_accessor :ship_line_items
6328
6687
 
6329
- # Required for updateLineItemShippingDate method.
6688
+ # Required for `updateLineItemShippingDate` method.
6330
6689
  # Corresponds to the JSON property `updateLineItemShippingDetails`
6331
6690
  # @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateLineItemShippingDetails]
6332
6691
  attr_accessor :update_line_item_shipping_details
6333
6692
 
6334
- # Required for updateShipment method.
6693
+ # Required for `updateShipment` method.
6335
6694
  # Corresponds to the JSON property `updateShipment`
6336
6695
  # @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateShipment]
6337
6696
  attr_accessor :update_shipment
@@ -6367,6 +6726,17 @@ module Google
6367
6726
  include Google::Apis::Core::Hashable
6368
6727
 
6369
6728
  # The reason for the cancellation.
6729
+ # Acceptable values are:
6730
+ # - "`customerInitiatedCancel`"
6731
+ # - "`invalidCoupon`"
6732
+ # - "`malformedShippingAddress`"
6733
+ # - "`noInventory`"
6734
+ # - "`other`"
6735
+ # - "`priceError`"
6736
+ # - "`shippingPriceError`"
6737
+ # - "`taxError`"
6738
+ # - "`undeliverableShippingAddress`"
6739
+ # - "`unsupportedPoBoxAddress`"
6370
6740
  # Corresponds to the JSON property `reason`
6371
6741
  # @return [String]
6372
6742
  attr_accessor :reason
@@ -6427,6 +6797,17 @@ module Google
6427
6797
  attr_accessor :quantity
6428
6798
 
6429
6799
  # The reason for the cancellation.
6800
+ # Acceptable values are:
6801
+ # - "`customerInitiatedCancel`"
6802
+ # - "`invalidCoupon`"
6803
+ # - "`malformedShippingAddress`"
6804
+ # - "`noInventory`"
6805
+ # - "`other`"
6806
+ # - "`priceError`"
6807
+ # - "`shippingPriceError`"
6808
+ # - "`taxError`"
6809
+ # - "`undeliverableShippingAddress`"
6810
+ # - "`unsupportedPoBoxAddress`"
6430
6811
  # Corresponds to the JSON property `reason`
6431
6812
  # @return [String]
6432
6813
  attr_accessor :reason
@@ -6509,6 +6890,20 @@ module Google
6509
6890
  attr_accessor :quantity
6510
6891
 
6511
6892
  # The reason for the return.
6893
+ # Acceptable values are:
6894
+ # - "`customerDiscretionaryReturn`"
6895
+ # - "`customerInitiatedMerchantCancel`"
6896
+ # - "`deliveredTooLate`"
6897
+ # - "`expiredItem`"
6898
+ # - "`invalidCoupon`"
6899
+ # - "`malformedShippingAddress`"
6900
+ # - "`other`"
6901
+ # - "`productArrivedDamaged`"
6902
+ # - "`productNotAsDescribed`"
6903
+ # - "`qualityNotAsExpected`"
6904
+ # - "`undeliverableShippingAddress`"
6905
+ # - "`unsupportedPoBoxAddress`"
6906
+ # - "`wrongProductShipped`"
6512
6907
  # Corresponds to the JSON property `reason`
6513
6908
  # @return [String]
6514
6909
  attr_accessor :reason
@@ -6555,6 +6950,23 @@ module Google
6555
6950
  attr_accessor :amount_tax
6556
6951
 
6557
6952
  # The reason for the refund.
6953
+ # Acceptable values are:
6954
+ # - "`adjustment`"
6955
+ # - "`courtesyAdjustment`"
6956
+ # - "`customerCanceled`"
6957
+ # - "`customerDiscretionaryReturn`"
6958
+ # - "`deliveredLateByCarrier`"
6959
+ # - "`feeAdjustment`"
6960
+ # - "`lateShipmentCredit`"
6961
+ # - "`noInventory`"
6962
+ # - "`other`"
6963
+ # - "`priceError`"
6964
+ # - "`productArrivedDamaged`"
6965
+ # - "`productNotAsDescribed`"
6966
+ # - "`shippingCostAdjustment`"
6967
+ # - "`taxAdjustment`"
6968
+ # - "`undeliverableShippingAddress`"
6969
+ # - "`wrongProductShipped`"
6558
6970
  # Corresponds to the JSON property `reason`
6559
6971
  # @return [String]
6560
6972
  attr_accessor :reason
@@ -6599,6 +7011,12 @@ module Google
6599
7011
  attr_accessor :quantity
6600
7012
 
6601
7013
  # The reason for the return.
7014
+ # Acceptable values are:
7015
+ # - "`damagedOrUsed`"
7016
+ # - "`missingComponent`"
7017
+ # - "`notEligible`"
7018
+ # - "`other`"
7019
+ # - "`outOfReturnWindow`"
6602
7020
  # Corresponds to the JSON property `reason`
6603
7021
  # @return [String]
6604
7022
  attr_accessor :reason
@@ -6643,6 +7061,20 @@ module Google
6643
7061
  attr_accessor :quantity
6644
7062
 
6645
7063
  # The reason for the return.
7064
+ # Acceptable values are:
7065
+ # - "`customerDiscretionaryReturn`"
7066
+ # - "`customerInitiatedMerchantCancel`"
7067
+ # - "`deliveredTooLate`"
7068
+ # - "`expiredItem`"
7069
+ # - "`invalidCoupon`"
7070
+ # - "`malformedShippingAddress`"
7071
+ # - "`other`"
7072
+ # - "`productArrivedDamaged`"
7073
+ # - "`productNotAsDescribed`"
7074
+ # - "`qualityNotAsExpected`"
7075
+ # - "`undeliverableShippingAddress`"
7076
+ # - "`unsupportedPoBoxAddress`"
7077
+ # - "`wrongProductShipped`"
6646
7078
  # Corresponds to the JSON property `reason`
6647
7079
  # @return [String]
6648
7080
  attr_accessor :reason
@@ -6700,6 +7132,20 @@ module Google
6700
7132
  attr_accessor :quantity
6701
7133
 
6702
7134
  # The reason for the return.
7135
+ # Acceptable values are:
7136
+ # - "`customerDiscretionaryReturn`"
7137
+ # - "`customerInitiatedMerchantCancel`"
7138
+ # - "`deliveredTooLate`"
7139
+ # - "`expiredItem`"
7140
+ # - "`invalidCoupon`"
7141
+ # - "`malformedShippingAddress`"
7142
+ # - "`other`"
7143
+ # - "`productArrivedDamaged`"
7144
+ # - "`productNotAsDescribed`"
7145
+ # - "`qualityNotAsExpected`"
7146
+ # - "`undeliverableShippingAddress`"
7147
+ # - "`unsupportedPoBoxAddress`"
7148
+ # - "`wrongProductShipped`"
6703
7149
  # Corresponds to the JSON property `reason`
6704
7150
  # @return [String]
6705
7151
  attr_accessor :reason
@@ -6763,8 +7209,8 @@ module Google
6763
7209
  include Google::Apis::Core::Hashable
6764
7210
 
6765
7211
  # Deprecated. Please use shipmentInfo instead. The carrier handling the shipment.
6766
- # See shipments[].carrier in the Orders resource representation for a list of
6767
- # acceptable values.
7212
+ # See `shipments[].carrier` in the Orders resource representation for a list
7213
+ # of acceptable values.
6768
7214
  # Corresponds to the JSON property `carrier`
6769
7215
  # @return [String]
6770
7216
  attr_accessor :carrier
@@ -6815,14 +7261,14 @@ module Google
6815
7261
  class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
6816
7262
  include Google::Apis::Core::Hashable
6817
7263
 
6818
- # The carrier handling the shipment. See shipments[].carrier in the Orders
7264
+ # The carrier handling the shipment. See `shipments[].carrier` in the Orders
6819
7265
  # resource representation for a list of acceptable values.
6820
7266
  # Corresponds to the JSON property `carrier`
6821
7267
  # @return [String]
6822
7268
  attr_accessor :carrier
6823
7269
 
6824
- # The ID of the shipment. This is assigned by the merchant and is unique to each
6825
- # shipment.
7270
+ # Required. The ID of the shipment. This is assigned by the merchant and is
7271
+ # unique to each shipment.
6826
7272
  # Corresponds to the JSON property `shipmentId`
6827
7273
  # @return [String]
6828
7274
  attr_accessor :shipment_id
@@ -6893,14 +7339,15 @@ module Google
6893
7339
  class OrdersCustomBatchRequestEntryUpdateShipment
6894
7340
  include Google::Apis::Core::Hashable
6895
7341
 
6896
- # The carrier handling the shipment. Not updated if missing. See shipments[].
6897
- # carrier in the Orders resource representation for a list of acceptable values.
7342
+ # The carrier handling the shipment. Not updated if missing. See `shipments[].
7343
+ # carrier` in the Orders resource representation for a list of acceptable
7344
+ # values.
6898
7345
  # Corresponds to the JSON property `carrier`
6899
7346
  # @return [String]
6900
7347
  attr_accessor :carrier
6901
7348
 
6902
7349
  # Date on which the shipment has been delivered, in ISO 8601 format. Optional
6903
- # and can be provided only if status is delivered.
7350
+ # and can be provided only if `status` is `delivered`.
6904
7351
  # Corresponds to the JSON property `deliveryDate`
6905
7352
  # @return [String]
6906
7353
  attr_accessor :delivery_date
@@ -6911,6 +7358,9 @@ module Google
6911
7358
  attr_accessor :shipment_id
6912
7359
 
6913
7360
  # New status for the shipment. Not updated if missing.
7361
+ # Acceptable values are:
7362
+ # - "`delivered`"
7363
+ # - "`undeliverable`"
6914
7364
  # Corresponds to the JSON property `status`
6915
7365
  # @return [String]
6916
7366
  attr_accessor :status
@@ -6976,18 +7426,24 @@ module Google
6976
7426
 
6977
7427
  # The status of the execution. Only defined if
6978
7428
  # - the request was successful; and
6979
- # - the method is not get, getByMerchantOrderId, or one of the test methods.
7429
+ # - the method is not `get`, `getByMerchantOrderId`, or one of the test methods.
7430
+ #
7431
+ # Acceptable values are:
7432
+ # - "`duplicate`"
7433
+ # - "`executed`"
6980
7434
  # Corresponds to the JSON property `executionStatus`
6981
7435
  # @return [String]
6982
7436
  attr_accessor :execution_status
6983
7437
 
6984
- # Identifies what kind of resource this is. Value: the fixed string "content#
6985
- # ordersCustomBatchResponseEntry".
7438
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
7439
+ # ordersCustomBatchResponseEntry`"
6986
7440
  # Corresponds to the JSON property `kind`
6987
7441
  # @return [String]
6988
7442
  attr_accessor :kind
6989
7443
 
6990
- # Order. All methods require the order manager role.
7444
+ # Order. Production access (all methods) requires the order manager role.
7445
+ # Sandbox access does not. (== resource_for v2.orders ==) (== resource_for v2.1.
7446
+ # orders ==)
6991
7447
  # Corresponds to the JSON property `order`
6992
7448
  # @return [Google::Apis::ContentV2::Order]
6993
7449
  attr_accessor :order
@@ -7016,7 +7472,9 @@ module Google
7016
7472
  # @return [String]
7017
7473
  attr_accessor :kind
7018
7474
 
7019
- # Order. All methods require the order manager role.
7475
+ # Order. Production access (all methods) requires the order manager role.
7476
+ # Sandbox access does not. (== resource_for v2.orders ==) (== resource_for v2.1.
7477
+ # orders ==)
7020
7478
  # Corresponds to the JSON property `order`
7021
7479
  # @return [Google::Apis::ContentV2::Order]
7022
7480
  attr_accessor :order
@@ -7094,6 +7552,20 @@ module Google
7094
7552
  attr_accessor :quantity
7095
7553
 
7096
7554
  # The reason for the return.
7555
+ # Acceptable values are:
7556
+ # - "`customerDiscretionaryReturn`"
7557
+ # - "`customerInitiatedMerchantCancel`"
7558
+ # - "`deliveredTooLate`"
7559
+ # - "`expiredItem`"
7560
+ # - "`invalidCoupon`"
7561
+ # - "`malformedShippingAddress`"
7562
+ # - "`other`"
7563
+ # - "`productArrivedDamaged`"
7564
+ # - "`productNotAsDescribed`"
7565
+ # - "`qualityNotAsExpected`"
7566
+ # - "`undeliverableShippingAddress`"
7567
+ # - "`unsupportedPoBoxAddress`"
7568
+ # - "`wrongProductShipped`"
7097
7569
  # Corresponds to the JSON property `reason`
7098
7570
  # @return [String]
7099
7571
  attr_accessor :reason
@@ -7125,6 +7597,9 @@ module Google
7125
7597
  include Google::Apis::Core::Hashable
7126
7598
 
7127
7599
  # The status of the execution.
7600
+ # Acceptable values are:
7601
+ # - "`duplicate`"
7602
+ # - "`executed`"
7128
7603
  # Corresponds to the JSON property `executionStatus`
7129
7604
  # @return [String]
7130
7605
  attr_accessor :execution_status
@@ -7204,6 +7679,23 @@ module Google
7204
7679
  attr_accessor :operation_id
7205
7680
 
7206
7681
  # The reason for the refund.
7682
+ # Acceptable values are:
7683
+ # - "`adjustment`"
7684
+ # - "`courtesyAdjustment`"
7685
+ # - "`customerCanceled`"
7686
+ # - "`customerDiscretionaryReturn`"
7687
+ # - "`deliveredLateByCarrier`"
7688
+ # - "`feeAdjustment`"
7689
+ # - "`lateShipmentCredit`"
7690
+ # - "`noInventory`"
7691
+ # - "`other`"
7692
+ # - "`priceError`"
7693
+ # - "`productArrivedDamaged`"
7694
+ # - "`productNotAsDescribed`"
7695
+ # - "`shippingCostAdjustment`"
7696
+ # - "`taxAdjustment`"
7697
+ # - "`undeliverableShippingAddress`"
7698
+ # - "`wrongProductShipped`"
7207
7699
  # Corresponds to the JSON property `reason`
7208
7700
  # @return [String]
7209
7701
  attr_accessor :reason
@@ -7233,6 +7725,9 @@ module Google
7233
7725
  include Google::Apis::Core::Hashable
7234
7726
 
7235
7727
  # The status of the execution.
7728
+ # Acceptable values are:
7729
+ # - "`duplicate`"
7730
+ # - "`executed`"
7236
7731
  # Corresponds to the JSON property `executionStatus`
7237
7732
  # @return [String]
7238
7733
  attr_accessor :execution_status
@@ -7280,6 +7775,12 @@ module Google
7280
7775
  attr_accessor :quantity
7281
7776
 
7282
7777
  # The reason for the return.
7778
+ # Acceptable values are:
7779
+ # - "`damagedOrUsed`"
7780
+ # - "`missingComponent`"
7781
+ # - "`notEligible`"
7782
+ # - "`other`"
7783
+ # - "`outOfReturnWindow`"
7283
7784
  # Corresponds to the JSON property `reason`
7284
7785
  # @return [String]
7285
7786
  attr_accessor :reason
@@ -7309,6 +7810,9 @@ module Google
7309
7810
  include Google::Apis::Core::Hashable
7310
7811
 
7311
7812
  # The status of the execution.
7813
+ # Acceptable values are:
7814
+ # - "`duplicate`"
7815
+ # - "`executed`"
7312
7816
  # Corresponds to the JSON property `executionStatus`
7313
7817
  # @return [String]
7314
7818
  attr_accessor :execution_status
@@ -7356,6 +7860,20 @@ module Google
7356
7860
  attr_accessor :quantity
7357
7861
 
7358
7862
  # The reason for the return.
7863
+ # Acceptable values are:
7864
+ # - "`customerDiscretionaryReturn`"
7865
+ # - "`customerInitiatedMerchantCancel`"
7866
+ # - "`deliveredTooLate`"
7867
+ # - "`expiredItem`"
7868
+ # - "`invalidCoupon`"
7869
+ # - "`malformedShippingAddress`"
7870
+ # - "`other`"
7871
+ # - "`productArrivedDamaged`"
7872
+ # - "`productNotAsDescribed`"
7873
+ # - "`qualityNotAsExpected`"
7874
+ # - "`undeliverableShippingAddress`"
7875
+ # - "`unsupportedPoBoxAddress`"
7876
+ # - "`wrongProductShipped`"
7359
7877
  # Corresponds to the JSON property `reason`
7360
7878
  # @return [String]
7361
7879
  attr_accessor :reason
@@ -7385,6 +7903,9 @@ module Google
7385
7903
  include Google::Apis::Core::Hashable
7386
7904
 
7387
7905
  # The status of the execution.
7906
+ # Acceptable values are:
7907
+ # - "`duplicate`"
7908
+ # - "`executed`"
7388
7909
  # Corresponds to the JSON property `executionStatus`
7389
7910
  # @return [String]
7390
7911
  attr_accessor :execution_status
@@ -7445,6 +7966,20 @@ module Google
7445
7966
  attr_accessor :quantity
7446
7967
 
7447
7968
  # The reason for the return.
7969
+ # Acceptable values are:
7970
+ # - "`customerDiscretionaryReturn`"
7971
+ # - "`customerInitiatedMerchantCancel`"
7972
+ # - "`deliveredTooLate`"
7973
+ # - "`expiredItem`"
7974
+ # - "`invalidCoupon`"
7975
+ # - "`malformedShippingAddress`"
7976
+ # - "`other`"
7977
+ # - "`productArrivedDamaged`"
7978
+ # - "`productNotAsDescribed`"
7979
+ # - "`qualityNotAsExpected`"
7980
+ # - "`undeliverableShippingAddress`"
7981
+ # - "`unsupportedPoBoxAddress`"
7982
+ # - "`wrongProductShipped`"
7448
7983
  # Corresponds to the JSON property `reason`
7449
7984
  # @return [String]
7450
7985
  attr_accessor :reason
@@ -7476,6 +8011,9 @@ module Google
7476
8011
  include Google::Apis::Core::Hashable
7477
8012
 
7478
8013
  # The status of the execution.
8014
+ # Acceptable values are:
8015
+ # - "`duplicate`"
8016
+ # - "`executed`"
7479
8017
  # Corresponds to the JSON property `executionStatus`
7480
8018
  # @return [String]
7481
8019
  attr_accessor :execution_status
@@ -7541,6 +8079,9 @@ module Google
7541
8079
  include Google::Apis::Core::Hashable
7542
8080
 
7543
8081
  # The status of the execution.
8082
+ # Acceptable values are:
8083
+ # - "`duplicate`"
8084
+ # - "`executed`"
7544
8085
  # Corresponds to the JSON property `executionStatus`
7545
8086
  # @return [String]
7546
8087
  attr_accessor :execution_status
@@ -7567,8 +8108,8 @@ module Google
7567
8108
  include Google::Apis::Core::Hashable
7568
8109
 
7569
8110
  # Deprecated. Please use shipmentInfo instead. The carrier handling the shipment.
7570
- # See shipments[].carrier in the Orders resource representation for a list of
7571
- # acceptable values.
8111
+ # See `shipments[].carrier` in the Orders resource representation for a list
8112
+ # of acceptable values.
7572
8113
  # Corresponds to the JSON property `carrier`
7573
8114
  # @return [String]
7574
8115
  attr_accessor :carrier
@@ -7626,6 +8167,9 @@ module Google
7626
8167
  include Google::Apis::Core::Hashable
7627
8168
 
7628
8169
  # The status of the execution.
8170
+ # Acceptable values are:
8171
+ # - "`duplicate`"
8172
+ # - "`executed`"
7629
8173
  # Corresponds to the JSON property `executionStatus`
7630
8174
  # @return [String]
7631
8175
  attr_accessor :execution_status
@@ -7703,6 +8247,9 @@ module Google
7703
8247
  include Google::Apis::Core::Hashable
7704
8248
 
7705
8249
  # The status of the execution.
8250
+ # Acceptable values are:
8251
+ # - "`duplicate`"
8252
+ # - "`executed`"
7706
8253
  # Corresponds to the JSON property `executionStatus`
7707
8254
  # @return [String]
7708
8255
  attr_accessor :execution_status
@@ -7754,6 +8301,9 @@ module Google
7754
8301
  include Google::Apis::Core::Hashable
7755
8302
 
7756
8303
  # The status of the execution.
8304
+ # Acceptable values are:
8305
+ # - "`duplicate`"
8306
+ # - "`executed`"
7757
8307
  # Corresponds to the JSON property `executionStatus`
7758
8308
  # @return [String]
7759
8309
  attr_accessor :execution_status
@@ -7779,14 +8329,15 @@ module Google
7779
8329
  class OrdersUpdateShipmentRequest
7780
8330
  include Google::Apis::Core::Hashable
7781
8331
 
7782
- # The carrier handling the shipment. Not updated if missing. See shipments[].
7783
- # carrier in the Orders resource representation for a list of acceptable values.
8332
+ # The carrier handling the shipment. Not updated if missing. See `shipments[].
8333
+ # carrier` in the Orders resource representation for a list of acceptable
8334
+ # values.
7784
8335
  # Corresponds to the JSON property `carrier`
7785
8336
  # @return [String]
7786
8337
  attr_accessor :carrier
7787
8338
 
7788
8339
  # Date on which the shipment has been delivered, in ISO 8601 format. Optional
7789
- # and can be provided only if status is delivered.
8340
+ # and can be provided only if `status` is `delivered`.
7790
8341
  # Corresponds to the JSON property `deliveryDate`
7791
8342
  # @return [String]
7792
8343
  attr_accessor :delivery_date
@@ -7802,6 +8353,9 @@ module Google
7802
8353
  attr_accessor :shipment_id
7803
8354
 
7804
8355
  # New status for the shipment. Not updated if missing.
8356
+ # Acceptable values are:
8357
+ # - "`delivered`"
8358
+ # - "`undeliverable`"
7805
8359
  # Corresponds to the JSON property `status`
7806
8360
  # @return [String]
7807
8361
  attr_accessor :status
@@ -7831,6 +8385,9 @@ module Google
7831
8385
  include Google::Apis::Core::Hashable
7832
8386
 
7833
8387
  # The status of the execution.
8388
+ # Acceptable values are:
8389
+ # - "`duplicate`"
8390
+ # - "`executed`"
7834
8391
  # Corresponds to the JSON property `executionStatus`
7835
8392
  # @return [String]
7836
8393
  attr_accessor :execution_status
@@ -7852,6 +8409,62 @@ module Google
7852
8409
  end
7853
8410
  end
7854
8411
 
8412
+ #
8413
+ class PickupCarrierService
8414
+ include Google::Apis::Core::Hashable
8415
+
8416
+ # The name of the pickup carrier (e.g., `"UPS"`). Required.
8417
+ # Corresponds to the JSON property `carrierName`
8418
+ # @return [String]
8419
+ attr_accessor :carrier_name
8420
+
8421
+ # The name of the pickup service (e.g., `"Access point"`). Required.
8422
+ # Corresponds to the JSON property `serviceName`
8423
+ # @return [String]
8424
+ attr_accessor :service_name
8425
+
8426
+ def initialize(**args)
8427
+ update!(**args)
8428
+ end
8429
+
8430
+ # Update properties of this object
8431
+ def update!(**args)
8432
+ @carrier_name = args[:carrier_name] if args.key?(:carrier_name)
8433
+ @service_name = args[:service_name] if args.key?(:service_name)
8434
+ end
8435
+ end
8436
+
8437
+ #
8438
+ class PickupServicesPickupService
8439
+ include Google::Apis::Core::Hashable
8440
+
8441
+ # The name of the carrier (e.g., `"UPS"`). Always present.
8442
+ # Corresponds to the JSON property `carrierName`
8443
+ # @return [String]
8444
+ attr_accessor :carrier_name
8445
+
8446
+ # The CLDR country code of the carrier (e.g., "US"). Always present.
8447
+ # Corresponds to the JSON property `country`
8448
+ # @return [String]
8449
+ attr_accessor :country
8450
+
8451
+ # The name of the pickup service (e.g., `"Access point"`). Always present.
8452
+ # Corresponds to the JSON property `serviceName`
8453
+ # @return [String]
8454
+ attr_accessor :service_name
8455
+
8456
+ def initialize(**args)
8457
+ update!(**args)
8458
+ end
8459
+
8460
+ # Update properties of this object
8461
+ def update!(**args)
8462
+ @carrier_name = args[:carrier_name] if args.key?(:carrier_name)
8463
+ @country = args[:country] if args.key?(:country)
8464
+ @service_name = args[:service_name] if args.key?(:service_name)
8465
+ end
8466
+ end
8467
+
7855
8468
  #
7856
8469
  class PosCustomBatchRequest
7857
8470
  include Google::Apis::Core::Hashable
@@ -7890,7 +8503,13 @@ module Google
7890
8503
  # @return [Fixnum]
7891
8504
  attr_accessor :merchant_id
7892
8505
 
7893
- #
8506
+ # The method of the batch entry.
8507
+ # Acceptable values are:
8508
+ # - "`delete`"
8509
+ # - "`get`"
8510
+ # - "`insert`"
8511
+ # - "`inventory`"
8512
+ # - "`sale`"
7894
8513
  # Corresponds to the JSON property `method`
7895
8514
  # @return [String]
7896
8515
  attr_accessor :method_prop
@@ -7905,7 +8524,7 @@ module Google
7905
8524
  # @return [Google::Apis::ContentV2::PosStore]
7906
8525
  attr_accessor :store
7907
8526
 
7908
- # The store code. Set this only if the method is delete or get.
8527
+ # The store code. Set this only if the method is `delete` or `get`.
7909
8528
  # Corresponds to the JSON property `storeCode`
7910
8529
  # @return [String]
7911
8530
  attr_accessor :store_code
@@ -7977,8 +8596,8 @@ module Google
7977
8596
  # @return [Google::Apis::ContentV2::PosInventory]
7978
8597
  attr_accessor :inventory
7979
8598
 
7980
- # Identifies what kind of resource this is. Value: the fixed string "content#
7981
- # posCustomBatchResponseEntry".
8599
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8600
+ # posCustomBatchResponseEntry`"
7982
8601
  # Corresponds to the JSON property `kind`
7983
8602
  # @return [String]
7984
8603
  attr_accessor :kind
@@ -8068,7 +8687,7 @@ module Google
8068
8687
  class PosInventory
8069
8688
  include Google::Apis::Core::Hashable
8070
8689
 
8071
- # The two-letter ISO 639-1 language code for the item.
8690
+ # Required. The two-letter ISO 639-1 language code for the item.
8072
8691
  # Corresponds to the JSON property `contentLanguage`
8073
8692
  # @return [String]
8074
8693
  attr_accessor :content_language
@@ -8078,39 +8697,39 @@ module Google
8078
8697
  # @return [String]
8079
8698
  attr_accessor :gtin
8080
8699
 
8081
- # A unique identifier for the item.
8700
+ # Required. A unique identifier for the item.
8082
8701
  # Corresponds to the JSON property `itemId`
8083
8702
  # @return [String]
8084
8703
  attr_accessor :item_id
8085
8704
 
8086
- # Identifies what kind of resource this is. Value: the fixed string "content#
8087
- # posInventory".
8705
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8706
+ # posInventory`"
8088
8707
  # Corresponds to the JSON property `kind`
8089
8708
  # @return [String]
8090
8709
  attr_accessor :kind
8091
8710
 
8092
- # The current price of the item.
8711
+ # Required. The current price of the item.
8093
8712
  # Corresponds to the JSON property `price`
8094
8713
  # @return [Google::Apis::ContentV2::Price]
8095
8714
  attr_accessor :price
8096
8715
 
8097
- # The available quantity of the item.
8716
+ # Required. The available quantity of the item.
8098
8717
  # Corresponds to the JSON property `quantity`
8099
8718
  # @return [Fixnum]
8100
8719
  attr_accessor :quantity
8101
8720
 
8102
- # The identifier of the merchant's store. Either a storeCode inserted via the
8103
- # API or the code of the store in Google My Business.
8721
+ # Required. The identifier of the merchant's store. Either a `storeCode`
8722
+ # inserted via the API or the code of the store in Google My Business.
8104
8723
  # Corresponds to the JSON property `storeCode`
8105
8724
  # @return [String]
8106
8725
  attr_accessor :store_code
8107
8726
 
8108
- # The CLDR territory code for the item.
8727
+ # Required. The CLDR territory code for the item.
8109
8728
  # Corresponds to the JSON property `targetCountry`
8110
8729
  # @return [String]
8111
8730
  attr_accessor :target_country
8112
8731
 
8113
- # The inventory timestamp, in ISO 8601 format.
8732
+ # Required. The inventory timestamp, in ISO 8601 format.
8114
8733
  # Corresponds to the JSON property `timestamp`
8115
8734
  # @return [String]
8116
8735
  attr_accessor :timestamp
@@ -8137,7 +8756,7 @@ module Google
8137
8756
  class PosInventoryRequest
8138
8757
  include Google::Apis::Core::Hashable
8139
8758
 
8140
- # The two-letter ISO 639-1 language code for the item.
8759
+ # Required. The two-letter ISO 639-1 language code for the item.
8141
8760
  # Corresponds to the JSON property `contentLanguage`
8142
8761
  # @return [String]
8143
8762
  attr_accessor :content_language
@@ -8147,33 +8766,33 @@ module Google
8147
8766
  # @return [String]
8148
8767
  attr_accessor :gtin
8149
8768
 
8150
- # A unique identifier for the item.
8769
+ # Required. A unique identifier for the item.
8151
8770
  # Corresponds to the JSON property `itemId`
8152
8771
  # @return [String]
8153
8772
  attr_accessor :item_id
8154
8773
 
8155
- # The current price of the item.
8774
+ # Required. The current price of the item.
8156
8775
  # Corresponds to the JSON property `price`
8157
8776
  # @return [Google::Apis::ContentV2::Price]
8158
8777
  attr_accessor :price
8159
8778
 
8160
- # The available quantity of the item.
8779
+ # Required. The available quantity of the item.
8161
8780
  # Corresponds to the JSON property `quantity`
8162
8781
  # @return [Fixnum]
8163
8782
  attr_accessor :quantity
8164
8783
 
8165
- # The identifier of the merchant's store. Either a storeCode inserted via the
8166
- # API or the code of the store in Google My Business.
8784
+ # Required. The identifier of the merchant's store. Either a `storeCode`
8785
+ # inserted via the API or the code of the store in Google My Business.
8167
8786
  # Corresponds to the JSON property `storeCode`
8168
8787
  # @return [String]
8169
8788
  attr_accessor :store_code
8170
8789
 
8171
- # The CLDR territory code for the item.
8790
+ # Required. The CLDR territory code for the item.
8172
8791
  # Corresponds to the JSON property `targetCountry`
8173
8792
  # @return [String]
8174
8793
  attr_accessor :target_country
8175
8794
 
8176
- # The inventory timestamp, in ISO 8601 format.
8795
+ # Required. The inventory timestamp, in ISO 8601 format.
8177
8796
  # Corresponds to the JSON property `timestamp`
8178
8797
  # @return [String]
8179
8798
  attr_accessor :timestamp
@@ -8199,7 +8818,7 @@ module Google
8199
8818
  class PosInventoryResponse
8200
8819
  include Google::Apis::Core::Hashable
8201
8820
 
8202
- # The two-letter ISO 639-1 language code for the item.
8821
+ # Required. The two-letter ISO 639-1 language code for the item.
8203
8822
  # Corresponds to the JSON property `contentLanguage`
8204
8823
  # @return [String]
8205
8824
  attr_accessor :content_language
@@ -8209,7 +8828,7 @@ module Google
8209
8828
  # @return [String]
8210
8829
  attr_accessor :gtin
8211
8830
 
8212
- # A unique identifier for the item.
8831
+ # Required. A unique identifier for the item.
8213
8832
  # Corresponds to the JSON property `itemId`
8214
8833
  # @return [String]
8215
8834
  attr_accessor :item_id
@@ -8220,28 +8839,28 @@ module Google
8220
8839
  # @return [String]
8221
8840
  attr_accessor :kind
8222
8841
 
8223
- # The current price of the item.
8842
+ # Required. The current price of the item.
8224
8843
  # Corresponds to the JSON property `price`
8225
8844
  # @return [Google::Apis::ContentV2::Price]
8226
8845
  attr_accessor :price
8227
8846
 
8228
- # The available quantity of the item.
8847
+ # Required. The available quantity of the item.
8229
8848
  # Corresponds to the JSON property `quantity`
8230
8849
  # @return [Fixnum]
8231
8850
  attr_accessor :quantity
8232
8851
 
8233
- # The identifier of the merchant's store. Either a storeCode inserted via the
8234
- # API or the code of the store in Google My Business.
8852
+ # Required. The identifier of the merchant's store. Either a `storeCode`
8853
+ # inserted via the API or the code of the store in Google My Business.
8235
8854
  # Corresponds to the JSON property `storeCode`
8236
8855
  # @return [String]
8237
8856
  attr_accessor :store_code
8238
8857
 
8239
- # The CLDR territory code for the item.
8858
+ # Required. The CLDR territory code for the item.
8240
8859
  # Corresponds to the JSON property `targetCountry`
8241
8860
  # @return [String]
8242
8861
  attr_accessor :target_country
8243
8862
 
8244
- # The inventory timestamp, in ISO 8601 format.
8863
+ # Required. The inventory timestamp, in ISO 8601 format.
8245
8864
  # Corresponds to the JSON property `timestamp`
8246
8865
  # @return [String]
8247
8866
  attr_accessor :timestamp
@@ -8294,7 +8913,7 @@ module Google
8294
8913
  class PosSale
8295
8914
  include Google::Apis::Core::Hashable
8296
8915
 
8297
- # The two-letter ISO 639-1 language code for the item.
8916
+ # Required. The two-letter ISO 639-1 language code for the item.
8298
8917
  # Corresponds to the JSON property `contentLanguage`
8299
8918
  # @return [String]
8300
8919
  attr_accessor :content_language
@@ -8304,23 +8923,24 @@ module Google
8304
8923
  # @return [String]
8305
8924
  attr_accessor :gtin
8306
8925
 
8307
- # A unique identifier for the item.
8926
+ # Required. A unique identifier for the item.
8308
8927
  # Corresponds to the JSON property `itemId`
8309
8928
  # @return [String]
8310
8929
  attr_accessor :item_id
8311
8930
 
8312
- # Identifies what kind of resource this is. Value: the fixed string "content#
8313
- # posSale".
8931
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
8932
+ # posSale`"
8314
8933
  # Corresponds to the JSON property `kind`
8315
8934
  # @return [String]
8316
8935
  attr_accessor :kind
8317
8936
 
8318
- # The price of the item.
8937
+ # Required. The price of the item.
8319
8938
  # Corresponds to the JSON property `price`
8320
8939
  # @return [Google::Apis::ContentV2::Price]
8321
8940
  attr_accessor :price
8322
8941
 
8323
- # The relative change of the available quantity. Negative for items returned.
8942
+ # Required. The relative change of the available quantity. Negative for items
8943
+ # returned.
8324
8944
  # Corresponds to the JSON property `quantity`
8325
8945
  # @return [Fixnum]
8326
8946
  attr_accessor :quantity
@@ -8330,18 +8950,18 @@ module Google
8330
8950
  # @return [String]
8331
8951
  attr_accessor :sale_id
8332
8952
 
8333
- # The identifier of the merchant's store. Either a storeCode inserted via the
8334
- # API or the code of the store in Google My Business.
8953
+ # Required. The identifier of the merchant's store. Either a `storeCode`
8954
+ # inserted via the API or the code of the store in Google My Business.
8335
8955
  # Corresponds to the JSON property `storeCode`
8336
8956
  # @return [String]
8337
8957
  attr_accessor :store_code
8338
8958
 
8339
- # The CLDR territory code for the item.
8959
+ # Required. The CLDR territory code for the item.
8340
8960
  # Corresponds to the JSON property `targetCountry`
8341
8961
  # @return [String]
8342
8962
  attr_accessor :target_country
8343
8963
 
8344
- # The inventory timestamp, in ISO 8601 format.
8964
+ # Required. The inventory timestamp, in ISO 8601 format.
8345
8965
  # Corresponds to the JSON property `timestamp`
8346
8966
  # @return [String]
8347
8967
  attr_accessor :timestamp
@@ -8369,7 +8989,7 @@ module Google
8369
8989
  class PosSaleRequest
8370
8990
  include Google::Apis::Core::Hashable
8371
8991
 
8372
- # The two-letter ISO 639-1 language code for the item.
8992
+ # Required. The two-letter ISO 639-1 language code for the item.
8373
8993
  # Corresponds to the JSON property `contentLanguage`
8374
8994
  # @return [String]
8375
8995
  attr_accessor :content_language
@@ -8379,17 +8999,18 @@ module Google
8379
8999
  # @return [String]
8380
9000
  attr_accessor :gtin
8381
9001
 
8382
- # A unique identifier for the item.
9002
+ # Required. A unique identifier for the item.
8383
9003
  # Corresponds to the JSON property `itemId`
8384
9004
  # @return [String]
8385
9005
  attr_accessor :item_id
8386
9006
 
8387
- # The price of the item.
9007
+ # Required. The price of the item.
8388
9008
  # Corresponds to the JSON property `price`
8389
9009
  # @return [Google::Apis::ContentV2::Price]
8390
9010
  attr_accessor :price
8391
9011
 
8392
- # The relative change of the available quantity. Negative for items returned.
9012
+ # Required. The relative change of the available quantity. Negative for items
9013
+ # returned.
8393
9014
  # Corresponds to the JSON property `quantity`
8394
9015
  # @return [Fixnum]
8395
9016
  attr_accessor :quantity
@@ -8399,18 +9020,18 @@ module Google
8399
9020
  # @return [String]
8400
9021
  attr_accessor :sale_id
8401
9022
 
8402
- # The identifier of the merchant's store. Either a storeCode inserted via the
8403
- # API or the code of the store in Google My Business.
9023
+ # Required. The identifier of the merchant's store. Either a `storeCode`
9024
+ # inserted via the API or the code of the store in Google My Business.
8404
9025
  # Corresponds to the JSON property `storeCode`
8405
9026
  # @return [String]
8406
9027
  attr_accessor :store_code
8407
9028
 
8408
- # The CLDR territory code for the item.
9029
+ # Required. The CLDR territory code for the item.
8409
9030
  # Corresponds to the JSON property `targetCountry`
8410
9031
  # @return [String]
8411
9032
  attr_accessor :target_country
8412
9033
 
8413
- # The inventory timestamp, in ISO 8601 format.
9034
+ # Required. The inventory timestamp, in ISO 8601 format.
8414
9035
  # Corresponds to the JSON property `timestamp`
8415
9036
  # @return [String]
8416
9037
  attr_accessor :timestamp
@@ -8437,7 +9058,7 @@ module Google
8437
9058
  class PosSaleResponse
8438
9059
  include Google::Apis::Core::Hashable
8439
9060
 
8440
- # The two-letter ISO 639-1 language code for the item.
9061
+ # Required. The two-letter ISO 639-1 language code for the item.
8441
9062
  # Corresponds to the JSON property `contentLanguage`
8442
9063
  # @return [String]
8443
9064
  attr_accessor :content_language
@@ -8447,7 +9068,7 @@ module Google
8447
9068
  # @return [String]
8448
9069
  attr_accessor :gtin
8449
9070
 
8450
- # A unique identifier for the item.
9071
+ # Required. A unique identifier for the item.
8451
9072
  # Corresponds to the JSON property `itemId`
8452
9073
  # @return [String]
8453
9074
  attr_accessor :item_id
@@ -8458,12 +9079,13 @@ module Google
8458
9079
  # @return [String]
8459
9080
  attr_accessor :kind
8460
9081
 
8461
- # The price of the item.
9082
+ # Required. The price of the item.
8462
9083
  # Corresponds to the JSON property `price`
8463
9084
  # @return [Google::Apis::ContentV2::Price]
8464
9085
  attr_accessor :price
8465
9086
 
8466
- # The relative change of the available quantity. Negative for items returned.
9087
+ # Required. The relative change of the available quantity. Negative for items
9088
+ # returned.
8467
9089
  # Corresponds to the JSON property `quantity`
8468
9090
  # @return [Fixnum]
8469
9091
  attr_accessor :quantity
@@ -8473,18 +9095,18 @@ module Google
8473
9095
  # @return [String]
8474
9096
  attr_accessor :sale_id
8475
9097
 
8476
- # The identifier of the merchant's store. Either a storeCode inserted via the
8477
- # API or the code of the store in Google My Business.
9098
+ # Required. The identifier of the merchant's store. Either a `storeCode`
9099
+ # inserted via the API or the code of the store in Google My Business.
8478
9100
  # Corresponds to the JSON property `storeCode`
8479
9101
  # @return [String]
8480
9102
  attr_accessor :store_code
8481
9103
 
8482
- # The CLDR territory code for the item.
9104
+ # Required. The CLDR territory code for the item.
8483
9105
  # Corresponds to the JSON property `targetCountry`
8484
9106
  # @return [String]
8485
9107
  attr_accessor :target_country
8486
9108
 
8487
- # The inventory timestamp, in ISO 8601 format.
9109
+ # Required. The inventory timestamp, in ISO 8601 format.
8488
9110
  # Corresponds to the JSON property `timestamp`
8489
9111
  # @return [String]
8490
9112
  attr_accessor :timestamp
@@ -8512,18 +9134,18 @@ module Google
8512
9134
  class PosStore
8513
9135
  include Google::Apis::Core::Hashable
8514
9136
 
8515
- # Identifies what kind of resource this is. Value: the fixed string "content#
8516
- # posStore".
9137
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
9138
+ # posStore`"
8517
9139
  # Corresponds to the JSON property `kind`
8518
9140
  # @return [String]
8519
9141
  attr_accessor :kind
8520
9142
 
8521
- # The street address of the store.
9143
+ # Required. The street address of the store.
8522
9144
  # Corresponds to the JSON property `storeAddress`
8523
9145
  # @return [String]
8524
9146
  attr_accessor :store_address
8525
9147
 
8526
- # A store identifier that is unique for the given merchant.
9148
+ # Required. A store identifier that is unique for the given merchant.
8527
9149
  # Corresponds to the JSON property `storeCode`
8528
9150
  # @return [String]
8529
9151
  attr_accessor :store_code
@@ -8576,20 +9198,20 @@ module Google
8576
9198
  class PostalCodeRange
8577
9199
  include Google::Apis::Core::Hashable
8578
9200
 
8579
- # A postal code or a pattern of the form prefix* denoting the inclusive lower
8580
- # bound of the range defining the area. Examples values: "94108", "9410*", "9*".
8581
- # Required.
9201
+ # A postal code or a pattern of the form `prefix*` denoting the inclusive lower
9202
+ # bound of the range defining the area. Examples values: `"94108"`, `"9410*"`, `"
9203
+ # 9*"`. Required.
8582
9204
  # Corresponds to the JSON property `postalCodeRangeBegin`
8583
9205
  # @return [String]
8584
9206
  attr_accessor :postal_code_range_begin
8585
9207
 
8586
- # A postal code or a pattern of the form prefix* denoting the inclusive upper
8587
- # bound of the range defining the area. It must have the same length as
8588
- # postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then
8589
- # postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a
8590
- # pattern then postalCodeRangeEnd must be a pattern with the same prefix length.
8591
- # Optional: if not set, then the area is defined as being all the postal codes
8592
- # matching postalCodeRangeBegin.
9208
+ # A postal code or a pattern of the form `prefix*` denoting the inclusive upper
9209
+ # bound of the range defining the area. It must have the same length as `
9210
+ # postalCodeRangeBegin`: if `postalCodeRangeBegin` is a postal code then `
9211
+ # postalCodeRangeEnd` must be a postal code too; if `postalCodeRangeBegin` is a
9212
+ # pattern then `postalCodeRangeEnd` must be a pattern with the same prefix
9213
+ # length. Optional: if not set, then the area is defined as being all the postal
9214
+ # codes matching `postalCodeRangeBegin`.
8593
9215
  # Corresponds to the JSON property `postalCodeRangeEnd`
8594
9216
  # @return [String]
8595
9217
  attr_accessor :postal_code_range_end
@@ -8630,6 +9252,11 @@ module Google
8630
9252
  end
8631
9253
  end
8632
9254
 
9255
+ # Required product attributes are primarily defined by the products data
9256
+ # specification. See the Products Data Specification Help Center article for
9257
+ # information.
9258
+ # Some attributes are country-specific, so make sure you select the appropriate
9259
+ # country in the drop-down selector at the top of the page.
8633
9260
  # Product data. After inserting, updating, or deleting a product, it may take
8634
9261
  # several minutes before changes take effect.
8635
9262
  class Product
@@ -8669,6 +9296,13 @@ module Google
8669
9296
  attr_accessor :adwords_redirect
8670
9297
 
8671
9298
  # Target age group of the item.
9299
+ # Acceptable values are:
9300
+ # - "`adult`"
9301
+ # - "`infant`"
9302
+ # - "`kids`"
9303
+ # - "`newborn`"
9304
+ # - "`toddler`"
9305
+ # - "`youngAdult`"
8672
9306
  # Corresponds to the JSON property `ageGroup`
8673
9307
  # @return [String]
8674
9308
  attr_accessor :age_group
@@ -8679,6 +9313,10 @@ module Google
8679
9313
  attr_accessor :aspects
8680
9314
 
8681
9315
  # Availability status of the item.
9316
+ # Acceptable values are:
9317
+ # - "`in stock`"
9318
+ # - "`out of stock`"
9319
+ # - "`preorder`"
8682
9320
  # Corresponds to the JSON property `availability`
8683
9321
  # @return [String]
8684
9322
  attr_accessor :availability
@@ -8694,7 +9332,10 @@ module Google
8694
9332
  # @return [String]
8695
9333
  attr_accessor :brand
8696
9334
 
8697
- # The item's channel (online or local).
9335
+ # Required. The item's channel (online or local).
9336
+ # Acceptable values are:
9337
+ # - "`local`"
9338
+ # - "`online`"
8698
9339
  # Corresponds to the JSON property `channel`
8699
9340
  # @return [String]
8700
9341
  attr_accessor :channel
@@ -8705,11 +9346,14 @@ module Google
8705
9346
  attr_accessor :color
8706
9347
 
8707
9348
  # Condition or state of the item.
9349
+ # Acceptable values are:
9350
+ # - "`local`"
9351
+ # - "`online`"
8708
9352
  # Corresponds to the JSON property `condition`
8709
9353
  # @return [String]
8710
9354
  attr_accessor :condition
8711
9355
 
8712
- # The two-letter ISO 639-1 language code for the item.
9356
+ # Required. The two-letter ISO 639-1 language code for the item.
8713
9357
  # Corresponds to the JSON property `contentLanguage`
8714
9358
  # @return [String]
8715
9359
  attr_accessor :content_language
@@ -8721,8 +9365,9 @@ module Google
8721
9365
 
8722
9366
  # A list of custom (merchant-provided) attributes. It can also be used for
8723
9367
  # submitting any attribute of the feed specification in its generic form (e.g., `
8724
- # "name": "size type", "value": "regular" `). This is useful for submitting
8725
- # attributes not explicitly exposed by the API.
9368
+ # ` "name": "size type", "value": "regular" ``). This is useful for submitting
9369
+ # attributes not explicitly exposed by the API, such as additional attributes
9370
+ # used for Shopping Actions.
8726
9371
  # Corresponds to the JSON property `customAttributes`
8727
9372
  # @return [Array<Google::Apis::ContentV2::CustomAttribute>]
8728
9373
  attr_accessor :custom_attributes
@@ -8793,19 +9438,34 @@ module Google
8793
9438
  attr_accessor :display_ads_value
8794
9439
 
8795
9440
  # The energy efficiency class as defined in EU directive 2010/30/EU.
9441
+ # Acceptable values are:
9442
+ # - "`A`"
9443
+ # - "`A+`"
9444
+ # - "`A++`"
9445
+ # - "`A+++`"
9446
+ # - "`B`"
9447
+ # - "`C`"
9448
+ # - "`D`"
9449
+ # - "`E`"
9450
+ # - "`F`"
9451
+ # - "`G`"
8796
9452
  # Corresponds to the JSON property `energyEfficiencyClass`
8797
9453
  # @return [String]
8798
9454
  attr_accessor :energy_efficiency_class
8799
9455
 
8800
9456
  # Date on which the item should expire, as specified upon insertion, in ISO 8601
8801
- # format. The actual expiration date in Google Shopping is exposed in
8802
- # productstatuses as googleExpirationDate and might be earlier if expirationDate
8803
- # is too far in the future.
9457
+ # format. The actual expiration date in Google Shopping is exposed in `
9458
+ # productstatuses` as `googleExpirationDate` and might be earlier if `
9459
+ # expirationDate` is too far in the future.
8804
9460
  # Corresponds to the JSON property `expirationDate`
8805
9461
  # @return [String]
8806
9462
  attr_accessor :expiration_date
8807
9463
 
8808
9464
  # Target gender of the item.
9465
+ # Acceptable values are:
9466
+ # - "`female`"
9467
+ # - "`male`"
9468
+ # - "`unisex`"
8809
9469
  # Corresponds to the JSON property `gender`
8810
9470
  # @return [String]
8811
9471
  attr_accessor :gender
@@ -8821,7 +9481,7 @@ module Google
8821
9481
  attr_accessor :gtin
8822
9482
 
8823
9483
  # The REST ID of the product. Content API methods that operate on products take
8824
- # this as their productId parameter.
9484
+ # this as their `productId` parameter.
8825
9485
  # The REST ID for a product is of the form channel:contentLanguage:targetCountry:
8826
9486
  # offerId.
8827
9487
  # Corresponds to the JSON property `id`
@@ -8858,8 +9518,8 @@ module Google
8858
9518
  # @return [String]
8859
9519
  attr_accessor :item_group_id
8860
9520
 
8861
- # Identifies what kind of resource this is. Value: the fixed string "content#
8862
- # product".
9521
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
9522
+ # product`"
8863
9523
  # Corresponds to the JSON property `kind`
8864
9524
  # @return [String]
8865
9525
  attr_accessor :kind
@@ -8880,6 +9540,17 @@ module Google
8880
9540
  attr_accessor :material
8881
9541
 
8882
9542
  # The energy efficiency class as defined in EU directive 2010/30/EU.
9543
+ # Acceptable values are:
9544
+ # - "`A`"
9545
+ # - "`A+`"
9546
+ # - "`A++`"
9547
+ # - "`A+++`"
9548
+ # - "`B`"
9549
+ # - "`C`"
9550
+ # - "`D`"
9551
+ # - "`E`"
9552
+ # - "`F`"
9553
+ # - "`G`"
8883
9554
  # Corresponds to the JSON property `maxEnergyEfficiencyClass`
8884
9555
  # @return [String]
8885
9556
  attr_accessor :max_energy_efficiency_class
@@ -8890,6 +9561,17 @@ module Google
8890
9561
  attr_accessor :max_handling_time
8891
9562
 
8892
9563
  # The energy efficiency class as defined in EU directive 2010/30/EU.
9564
+ # Acceptable values are:
9565
+ # - "`A`"
9566
+ # - "`A+`"
9567
+ # - "`A++`"
9568
+ # - "`A+++`"
9569
+ # - "`B`"
9570
+ # - "`C`"
9571
+ # - "`D`"
9572
+ # - "`E`"
9573
+ # - "`F`"
9574
+ # - "`G`"
8893
9575
  # Corresponds to the JSON property `minEnergyEfficiencyClass`
8894
9576
  # @return [String]
8895
9577
  attr_accessor :min_energy_efficiency_class
@@ -8914,8 +9596,8 @@ module Google
8914
9596
  # @return [Fixnum]
8915
9597
  attr_accessor :multipack
8916
9598
 
8917
- # A unique identifier for the item. Leading and trailing whitespaces are
8918
- # stripped and multiple whitespaces are replaced by a single whitespace upon
9599
+ # Required. A unique identifier for the item. Leading and trailing whitespaces
9600
+ # are stripped and multiple whitespaces are replaced by a single whitespace upon
8919
9601
  # submission. Only valid unicode characters are accepted. See the products feed
8920
9602
  # specification for details.
8921
9603
  # Note: Content API methods that operate on products take the REST ID of the
@@ -8924,7 +9606,7 @@ module Google
8924
9606
  # @return [String]
8925
9607
  attr_accessor :offer_id
8926
9608
 
8927
- # Deprecated. Whether an item is available for purchase only online.
9609
+ # Deprecated.
8928
9610
  # Corresponds to the JSON property `onlineOnly`
8929
9611
  # @return [Boolean]
8930
9612
  attr_accessor :online_only
@@ -8998,26 +9680,51 @@ module Google
8998
9680
  attr_accessor :shipping_width
8999
9681
 
9000
9682
  # System in which the size is specified. Recommended for apparel items.
9683
+ # Acceptable values are:
9684
+ # - "`AU`"
9685
+ # - "`BR`"
9686
+ # - "`CN`"
9687
+ # - "`DE`"
9688
+ # - "`EU`"
9689
+ # - "`FR`"
9690
+ # - "`IT`"
9691
+ # - "`JP`"
9692
+ # - "`MEX`"
9693
+ # - "`UK`"
9694
+ # - "`US`"
9001
9695
  # Corresponds to the JSON property `sizeSystem`
9002
9696
  # @return [String]
9003
9697
  attr_accessor :size_system
9004
9698
 
9005
9699
  # The cut of the item. Recommended for apparel items.
9700
+ # Acceptable values are:
9701
+ # - "`big and tall`"
9702
+ # - "`maternity`"
9703
+ # - "`oversize`"
9704
+ # - "`petite`"
9705
+ # - "`plus`"
9706
+ # - "`regular`"
9006
9707
  # Corresponds to the JSON property `sizeType`
9007
9708
  # @return [String]
9008
9709
  attr_accessor :size_type
9009
9710
 
9010
- # Size of the item.
9711
+ # Size of the item. Only one value is allowed. For variants with different sizes,
9712
+ # insert a separate product for each size with the same `itemGroupId` value (
9713
+ # see size definition).
9011
9714
  # Corresponds to the JSON property `sizes`
9012
9715
  # @return [Array<String>]
9013
9716
  attr_accessor :sizes
9014
9717
 
9015
9718
  # The source of the offer, i.e., how the offer was created.
9719
+ # Acceptable values are:
9720
+ # - "`api`"
9721
+ # - "`crawl`"
9722
+ # - "`feed`"
9016
9723
  # Corresponds to the JSON property `source`
9017
9724
  # @return [String]
9018
9725
  attr_accessor :source
9019
9726
 
9020
- # The CLDR territory code for the item.
9727
+ # Required. The CLDR territory code for the item.
9021
9728
  # Corresponds to the JSON property `targetCountry`
9022
9729
  # @return [String]
9023
9730
  attr_accessor :target_country
@@ -9175,17 +9882,17 @@ module Google
9175
9882
  class ProductAspect
9176
9883
  include Google::Apis::Core::Hashable
9177
9884
 
9178
- # The name of the aspect.
9885
+ # Deprecated.
9179
9886
  # Corresponds to the JSON property `aspectName`
9180
9887
  # @return [String]
9181
9888
  attr_accessor :aspect_name
9182
9889
 
9183
- # The name of the destination. Leave out to apply to all destinations.
9890
+ # Deprecated.
9184
9891
  # Corresponds to the JSON property `destinationName`
9185
9892
  # @return [String]
9186
9893
  attr_accessor :destination_name
9187
9894
 
9188
- # Whether the aspect is required, excluded or should be validated.
9895
+ # Deprecated.
9189
9896
  # Corresponds to the JSON property `intention`
9190
9897
  # @return [String]
9191
9898
  attr_accessor :intention
@@ -9212,6 +9919,11 @@ module Google
9212
9919
  attr_accessor :destination_name
9213
9920
 
9214
9921
  # Whether the destination is required, excluded or should be validated.
9922
+ # Acceptable values are:
9923
+ # - "`default`"
9924
+ # - "`excluded`"
9925
+ # - "`optional`"
9926
+ # - "`required`"
9215
9927
  # Corresponds to the JSON property `intention`
9216
9928
  # @return [String]
9217
9929
  attr_accessor :intention
@@ -9366,8 +10078,8 @@ module Google
9366
10078
  # @return [Array<Google::Apis::ContentV2::ProductStatusItemLevelIssue>]
9367
10079
  attr_accessor :item_level_issues
9368
10080
 
9369
- # Identifies what kind of resource this is. Value: the fixed string "content#
9370
- # productStatus".
10081
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
10082
+ # productStatus`"
9371
10083
  # Corresponds to the JSON property `kind`
9372
10084
  # @return [String]
9373
10085
  attr_accessor :kind
@@ -9382,6 +10094,11 @@ module Google
9382
10094
  # @return [String]
9383
10095
  attr_accessor :link
9384
10096
 
10097
+ # Required product attributes are primarily defined by the products data
10098
+ # specification. See the Products Data Specification Help Center article for
10099
+ # information.
10100
+ # Some attributes are country-specific, so make sure you select the appropriate
10101
+ # country in the drop-down selector at the top of the page.
9385
10102
  # Product data. After inserting, updating, or deleting a product, it may take
9386
10103
  # several minutes before changes take effect.
9387
10104
  # Corresponds to the JSON property `product`
@@ -9496,6 +10213,9 @@ module Google
9496
10213
  alias_method :approval_pending?, :approval_pending
9497
10214
 
9498
10215
  # The destination's approval status.
10216
+ # Acceptable values are:
10217
+ # - "`approved`"
10218
+ # - "`disapproved`"
9499
10219
  # Corresponds to the JSON property `approvalStatus`
9500
10220
  # @return [String]
9501
10221
  attr_accessor :approval_status
@@ -9506,6 +10226,11 @@ module Google
9506
10226
  attr_accessor :destination
9507
10227
 
9508
10228
  # Provided for backward compatibility only. Always set to "required".
10229
+ # Acceptable values are:
10230
+ # - "`default`"
10231
+ # - "`excluded`"
10232
+ # - "`optional`"
10233
+ # - "`required`"
9509
10234
  # Corresponds to the JSON property `intention`
9510
10235
  # @return [String]
9511
10236
  attr_accessor :intention
@@ -9720,19 +10445,28 @@ module Google
9720
10445
  # @return [Fixnum]
9721
10446
  attr_accessor :merchant_id
9722
10447
 
9723
- #
10448
+ # The method of the batch entry.
10449
+ # Acceptable values are:
10450
+ # - "`delete`"
10451
+ # - "`get`"
10452
+ # - "`insert`"
9724
10453
  # Corresponds to the JSON property `method`
9725
10454
  # @return [String]
9726
10455
  attr_accessor :request_method
9727
10456
 
10457
+ # Required product attributes are primarily defined by the products data
10458
+ # specification. See the Products Data Specification Help Center article for
10459
+ # information.
10460
+ # Some attributes are country-specific, so make sure you select the appropriate
10461
+ # country in the drop-down selector at the top of the page.
9728
10462
  # Product data. After inserting, updating, or deleting a product, it may take
9729
10463
  # several minutes before changes take effect.
9730
10464
  # Corresponds to the JSON property `product`
9731
10465
  # @return [Google::Apis::ContentV2::Product]
9732
10466
  attr_accessor :product
9733
10467
 
9734
- # The ID of the product to get or delete. Only defined if the method is get or
9735
- # delete.
10468
+ # The ID of the product to get or delete. Only defined if the method is `get` or
10469
+ # `delete`.
9736
10470
  # Corresponds to the JSON property `productId`
9737
10471
  # @return [String]
9738
10472
  attr_accessor :product_id
@@ -9791,12 +10525,17 @@ module Google
9791
10525
  # @return [Google::Apis::ContentV2::Errors]
9792
10526
  attr_accessor :errors
9793
10527
 
9794
- # Identifies what kind of resource this is. Value: the fixed string "content#
9795
- # productsCustomBatchResponseEntry".
10528
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
10529
+ # productsCustomBatchResponseEntry`"
9796
10530
  # Corresponds to the JSON property `kind`
9797
10531
  # @return [String]
9798
10532
  attr_accessor :kind
9799
10533
 
10534
+ # Required product attributes are primarily defined by the products data
10535
+ # specification. See the Products Data Specification Help Center article for
10536
+ # information.
10537
+ # Some attributes are country-specific, so make sure you select the appropriate
10538
+ # country in the drop-down selector at the top of the page.
9800
10539
  # Product data. After inserting, updating, or deleting a product, it may take
9801
10540
  # several minutes before changes take effect.
9802
10541
  # Corresponds to the JSON property `product`
@@ -9893,7 +10632,9 @@ module Google
9893
10632
  # @return [Fixnum]
9894
10633
  attr_accessor :merchant_id
9895
10634
 
9896
- #
10635
+ # The method of the batch entry.
10636
+ # Acceptable values are:
10637
+ # - "`get`"
9897
10638
  # Corresponds to the JSON property `method`
9898
10639
  # @return [String]
9899
10640
  attr_accessor :request_method
@@ -9958,8 +10699,8 @@ module Google
9958
10699
  # @return [Google::Apis::ContentV2::Errors]
9959
10700
  attr_accessor :errors
9960
10701
 
9961
- # Identifies what kind of resource this is. Value: the fixed string "content#
9962
- # productstatusesCustomBatchResponseEntry".
10702
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
10703
+ # productstatusesCustomBatchResponseEntry`"
9963
10704
  # Corresponds to the JSON property `kind`
9964
10705
  # @return [String]
9965
10706
  attr_accessor :kind
@@ -10053,13 +10794,14 @@ module Google
10053
10794
  # @return [Array<String>]
10054
10795
  attr_accessor :applicable_shipping_labels
10055
10796
 
10056
- # A list of carrier rates that can be referred to by mainTable or singleValue.
10797
+ # A list of carrier rates that can be referred to by `mainTable` or `singleValue`
10798
+ # .
10057
10799
  # Corresponds to the JSON property `carrierRates`
10058
10800
  # @return [Array<Google::Apis::ContentV2::CarrierRate>]
10059
10801
  attr_accessor :carrier_rates
10060
10802
 
10061
- # A table defining the rate group, when singleValue is not expressive enough.
10062
- # Can only be set if singleValue is not set.
10803
+ # A table defining the rate group, when `singleValue` is not expressive enough.
10804
+ # Can only be set if `singleValue` is not set.
10063
10805
  # Corresponds to the JSON property `mainTable`
10064
10806
  # @return [Google::Apis::ContentV2::Table]
10065
10807
  attr_accessor :main_table
@@ -10071,14 +10813,14 @@ module Google
10071
10813
  attr_accessor :name
10072
10814
 
10073
10815
  # The single value of a rate group or the value of a rate group table's cell.
10074
- # Exactly one of noShipping, flatRate, pricePercentage, carrierRateName,
10075
- # subtableName must be set.
10816
+ # Exactly one of `noShipping`, `flatRate`, `pricePercentage`, `carrierRateName`,
10817
+ # `subtableName` must be set.
10076
10818
  # Corresponds to the JSON property `singleValue`
10077
10819
  # @return [Google::Apis::ContentV2::Value]
10078
10820
  attr_accessor :single_value
10079
10821
 
10080
- # A list of subtables referred to by mainTable. Can only be set if mainTable is
10081
- # set.
10822
+ # A list of subtables referred to by `mainTable`. Can only be set if `mainTable`
10823
+ # is set.
10082
10824
  # Corresponds to the JSON property `subtables`
10083
10825
  # @return [Array<Google::Apis::ContentV2::Table>]
10084
10826
  attr_accessor :subtables
@@ -10102,12 +10844,57 @@ module Google
10102
10844
  class RefundReason
10103
10845
  include Google::Apis::Core::Hashable
10104
10846
 
10105
- #
10847
+ # Description of the reason.
10106
10848
  # Corresponds to the JSON property `description`
10107
10849
  # @return [String]
10108
10850
  attr_accessor :description
10109
10851
 
10110
- #
10852
+ # Code of the refund reason.
10853
+ # Acceptable values are:
10854
+ # - "`adjustment`"
10855
+ # - "`autoPostInternal`"
10856
+ # - "`autoPostInvalidBillingAddress`"
10857
+ # - "`autoPostNoInventory`"
10858
+ # - "`autoPostPriceError`"
10859
+ # - "`autoPostUndeliverableShippingAddress`"
10860
+ # - "`couponAbuse`"
10861
+ # - "`courtesyAdjustment`"
10862
+ # - "`customerCanceled`"
10863
+ # - "`customerDiscretionaryReturn`"
10864
+ # - "`customerInitiatedMerchantCancel`"
10865
+ # - "`customerSupportRequested`"
10866
+ # - "`deliveredLateByCarrier`"
10867
+ # - "`deliveredTooLate`"
10868
+ # - "`expiredItem`"
10869
+ # - "`failToPushOrderGoogleError`"
10870
+ # - "`failToPushOrderMerchantError`"
10871
+ # - "`failToPushOrderMerchantFulfillmentError`"
10872
+ # - "`failToPushOrderToMerchant`"
10873
+ # - "`failToPushOrderToMerchantOutOfStock`"
10874
+ # - "`feeAdjustment`"
10875
+ # - "`invalidCoupon`"
10876
+ # - "`lateShipmentCredit`"
10877
+ # - "`malformedShippingAddress`"
10878
+ # - "`merchantDidNotShipOnTime`"
10879
+ # - "`noInventory`"
10880
+ # - "`orderTimeout`"
10881
+ # - "`other`"
10882
+ # - "`paymentAbuse`"
10883
+ # - "`paymentDeclined`"
10884
+ # - "`priceAdjustment`"
10885
+ # - "`priceError`"
10886
+ # - "`productArrivedDamaged`"
10887
+ # - "`productNotAsDescribed`"
10888
+ # - "`promoReallocation`"
10889
+ # - "`qualityNotAsExpected`"
10890
+ # - "`returnRefundAbuse`"
10891
+ # - "`shippingCostAdjustment`"
10892
+ # - "`shippingPriceError`"
10893
+ # - "`taxAdjustment`"
10894
+ # - "`taxError`"
10895
+ # - "`undeliverableShippingAddress`"
10896
+ # - "`unsupportedPoBoxAddress`"
10897
+ # - "`wrongProductShipped`"
10111
10898
  # Corresponds to the JSON property `reasonCode`
10112
10899
  # @return [String]
10113
10900
  attr_accessor :reason_code
@@ -10127,37 +10914,47 @@ module Google
10127
10914
  class ReturnShipment
10128
10915
  include Google::Apis::Core::Hashable
10129
10916
 
10130
- #
10917
+ # The date of creation of the shipment, in ISO 8601 format.
10131
10918
  # Corresponds to the JSON property `creationDate`
10132
10919
  # @return [String]
10133
10920
  attr_accessor :creation_date
10134
10921
 
10135
- #
10922
+ # The date of delivery of the shipment, in ISO 8601 format.
10136
10923
  # Corresponds to the JSON property `deliveryDate`
10137
10924
  # @return [String]
10138
10925
  attr_accessor :delivery_date
10139
10926
 
10140
- #
10927
+ # Type of the return method.
10928
+ # Acceptable values are:
10929
+ # - "`byMail`"
10930
+ # - "`contactCustomerSupport`"
10931
+ # - "`returnless`"
10141
10932
  # Corresponds to the JSON property `returnMethodType`
10142
10933
  # @return [String]
10143
10934
  attr_accessor :return_method_type
10144
10935
 
10145
- #
10936
+ # Shipment ID generated by Google.
10146
10937
  # Corresponds to the JSON property `shipmentId`
10147
10938
  # @return [String]
10148
10939
  attr_accessor :shipment_id
10149
10940
 
10150
- #
10941
+ # Tracking information of the shipment. One return shipment might be handled by
10942
+ # several shipping carriers sequentially.
10151
10943
  # Corresponds to the JSON property `shipmentTrackingInfos`
10152
10944
  # @return [Array<Google::Apis::ContentV2::ShipmentTrackingInfo>]
10153
10945
  attr_accessor :shipment_tracking_infos
10154
10946
 
10155
- #
10947
+ # The date of shipping of the shipment, in ISO 8601 format.
10156
10948
  # Corresponds to the JSON property `shippingDate`
10157
10949
  # @return [String]
10158
10950
  attr_accessor :shipping_date
10159
10951
 
10160
- #
10952
+ # State of the shipment.
10953
+ # Acceptable values are:
10954
+ # - "`completed`"
10955
+ # - "`new`"
10956
+ # - "`shipped`"
10957
+ # - "`undeliverable`"
10161
10958
  # Corresponds to the JSON property `state`
10162
10959
  # @return [String]
10163
10960
  attr_accessor :state
@@ -10182,8 +10979,8 @@ module Google
10182
10979
  class Row
10183
10980
  include Google::Apis::Core::Hashable
10184
10981
 
10185
- # The list of cells that constitute the row. Must have the same length as
10186
- # columnHeaders for two-dimensional tables, a length of 1 for one-dimensional
10982
+ # The list of cells that constitute the row. Must have the same length as `
10983
+ # columnHeaders` for two-dimensional tables, a length of 1 for one-dimensional
10187
10984
  # tables. Required.
10188
10985
  # Corresponds to the JSON property `cells`
10189
10986
  # @return [Array<Google::Apis::ContentV2::Value>]
@@ -10227,29 +11024,54 @@ module Google
10227
11024
  attr_accessor :delivery_time
10228
11025
 
10229
11026
  # Eligibility for this service.
11027
+ # Acceptable values are:
11028
+ # - "`All scenarios`"
11029
+ # - "`All scenarios except Shopping Actions`"
11030
+ # - "`Shopping Actions`"
10230
11031
  # Corresponds to the JSON property `eligibility`
10231
11032
  # @return [String]
10232
11033
  attr_accessor :eligibility
10233
11034
 
10234
11035
  # Minimum order value for this service. If set, indicates that customers will
10235
11036
  # have to spend at least this amount. All prices within a service must have the
10236
- # same currency.
11037
+ # same currency. Cannot be set together with minimum_order_value_table.
10237
11038
  # Corresponds to the JSON property `minimumOrderValue`
10238
11039
  # @return [Google::Apis::ContentV2::Price]
10239
11040
  attr_accessor :minimum_order_value
10240
11041
 
11042
+ # Table of per store minimum order values for the pickup fulfillment type.
11043
+ # Cannot be set together with minimum_order_value.
11044
+ # Corresponds to the JSON property `minimumOrderValueTable`
11045
+ # @return [Google::Apis::ContentV2::MinimumOrderValueTable]
11046
+ attr_accessor :minimum_order_value_table
11047
+
10241
11048
  # Free-form name of the service. Must be unique within target account. Required.
10242
11049
  # Corresponds to the JSON property `name`
10243
11050
  # @return [String]
10244
11051
  attr_accessor :name
10245
11052
 
11053
+ # The carrier-service pair delivering items to collection points. The list of
11054
+ # supported pickup services can be retrieved via the `getSupportedPickupServices`
11055
+ # method. Required if and only if the service delivery type is `pickup`.
11056
+ # Corresponds to the JSON property `pickupService`
11057
+ # @return [Google::Apis::ContentV2::PickupCarrierService]
11058
+ attr_accessor :pickup_service
11059
+
10246
11060
  # Shipping rate group definitions. Only the last one is allowed to have an empty
10247
- # applicableShippingLabels, which means "everything else". The other
10248
- # applicableShippingLabels must not overlap.
11061
+ # `applicableShippingLabels`, which means "everything else". The other `
11062
+ # applicableShippingLabels` must not overlap.
10249
11063
  # Corresponds to the JSON property `rateGroups`
10250
11064
  # @return [Array<Google::Apis::ContentV2::RateGroup>]
10251
11065
  attr_accessor :rate_groups
10252
11066
 
11067
+ # Type of locations this service ships orders to.
11068
+ # Acceptable values are:
11069
+ # - "`delivery`"
11070
+ # - "`pickup`"
11071
+ # Corresponds to the JSON property `shipmentType`
11072
+ # @return [String]
11073
+ attr_accessor :shipment_type
11074
+
10253
11075
  def initialize(**args)
10254
11076
  update!(**args)
10255
11077
  end
@@ -10262,8 +11084,11 @@ module Google
10262
11084
  @delivery_time = args[:delivery_time] if args.key?(:delivery_time)
10263
11085
  @eligibility = args[:eligibility] if args.key?(:eligibility)
10264
11086
  @minimum_order_value = args[:minimum_order_value] if args.key?(:minimum_order_value)
11087
+ @minimum_order_value_table = args[:minimum_order_value_table] if args.key?(:minimum_order_value_table)
10265
11088
  @name = args[:name] if args.key?(:name)
11089
+ @pickup_service = args[:pickup_service] if args.key?(:pickup_service)
10266
11090
  @rate_groups = args[:rate_groups] if args.key?(:rate_groups)
11091
+ @shipment_type = args[:shipment_type] if args.key?(:shipment_type)
10267
11092
  end
10268
11093
  end
10269
11094
 
@@ -10281,8 +11106,8 @@ module Google
10281
11106
  # @return [Array<Google::Apis::ContentV2::ShipmentInvoiceLineItemInvoice>]
10282
11107
  attr_accessor :line_item_invoices
10283
11108
 
10284
- # [required] ID of the shipment group. It is assigned by the merchant in the
10285
- # shipLineItems method and is used to group multiple line items that have the
11109
+ # [required] ID of the shipment group. It is assigned by the merchant in the `
11110
+ # shipLineItems` method and is used to group multiple line items that have the
10286
11111
  # same kind of shipping charges.
10287
11112
  # Corresponds to the JSON property `shipmentGroupId`
10288
11113
  # @return [String]
@@ -10345,12 +11170,43 @@ module Google
10345
11170
  class ShipmentTrackingInfo
10346
11171
  include Google::Apis::Core::Hashable
10347
11172
 
10348
- #
11173
+ # The shipping carrier that handles the package.
11174
+ # Acceptable values are:
11175
+ # - "`boxtal`"
11176
+ # - "`bpost`"
11177
+ # - "`chronopost`"
11178
+ # - "`colisPrive`"
11179
+ # - "`colissimo`"
11180
+ # - "`cxt`"
11181
+ # - "`deliv`"
11182
+ # - "`dhl`"
11183
+ # - "`dpd`"
11184
+ # - "`dynamex`"
11185
+ # - "`eCourier`"
11186
+ # - "`easypost`"
11187
+ # - "`efw`"
11188
+ # - "`fedex`"
11189
+ # - "`fedexSmartpost`"
11190
+ # - "`geodis`"
11191
+ # - "`gls`"
11192
+ # - "`googleCourier`"
11193
+ # - "`gsx`"
11194
+ # - "`jdLogistics`"
11195
+ # - "`laPoste`"
11196
+ # - "`lasership`"
11197
+ # - "`manual`"
11198
+ # - "`mpx`"
11199
+ # - "`onTrac`"
11200
+ # - "`other`"
11201
+ # - "`tnt`"
11202
+ # - "`uds`"
11203
+ # - "`ups`"
11204
+ # - "`usps`"
10349
11205
  # Corresponds to the JSON property `carrier`
10350
11206
  # @return [String]
10351
11207
  attr_accessor :carrier
10352
11208
 
10353
- #
11209
+ # The tracking number for the package.
10354
11210
  # Corresponds to the JSON property `trackingNumber`
10355
11211
  # @return [String]
10356
11212
  attr_accessor :tracking_number
@@ -10377,7 +11233,7 @@ module Google
10377
11233
  # @return [Fixnum]
10378
11234
  attr_accessor :account_id
10379
11235
 
10380
- # A list of postal code groups that can be referred to in services. Optional.
11236
+ # A list of postal code groups that can be referred to in `services`. Optional.
10381
11237
  # Corresponds to the JSON property `postalCodeGroups`
10382
11238
  # @return [Array<Google::Apis::ContentV2::PostalCodeGroup>]
10383
11239
  attr_accessor :postal_code_groups
@@ -10437,7 +11293,10 @@ module Google
10437
11293
  # @return [Fixnum]
10438
11294
  attr_accessor :merchant_id
10439
11295
 
10440
- #
11296
+ # The method of the batch entry.
11297
+ # Acceptable values are:
11298
+ # - "`get`"
11299
+ # - "`update`"
10441
11300
  # Corresponds to the JSON property `method`
10442
11301
  # @return [String]
10443
11302
  attr_accessor :method_prop
@@ -10502,8 +11361,8 @@ module Google
10502
11361
  # @return [Google::Apis::ContentV2::Errors]
10503
11362
  attr_accessor :errors
10504
11363
 
10505
- # Identifies what kind of resource this is. Value: the fixed string "content#
10506
- # shippingsettingsCustomBatchResponseEntry".
11364
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
11365
+ # shippingsettingsCustomBatchResponseEntry`"
10507
11366
  # Corresponds to the JSON property `kind`
10508
11367
  # @return [String]
10509
11368
  attr_accessor :kind
@@ -10579,6 +11438,32 @@ module Google
10579
11438
  end
10580
11439
  end
10581
11440
 
11441
+ #
11442
+ class ShippingsettingsGetSupportedPickupServicesResponse
11443
+ include Google::Apis::Core::Hashable
11444
+
11445
+ # Identifies what kind of resource this is. Value: the fixed string "content#
11446
+ # shippingsettingsGetSupportedPickupServicesResponse".
11447
+ # Corresponds to the JSON property `kind`
11448
+ # @return [String]
11449
+ attr_accessor :kind
11450
+
11451
+ # A list of supported pickup services. May be empty.
11452
+ # Corresponds to the JSON property `pickupServices`
11453
+ # @return [Array<Google::Apis::ContentV2::PickupServicesPickupService>]
11454
+ attr_accessor :pickup_services
11455
+
11456
+ def initialize(**args)
11457
+ update!(**args)
11458
+ end
11459
+
11460
+ # Update properties of this object
11461
+ def update!(**args)
11462
+ @kind = args[:kind] if args.key?(:kind)
11463
+ @pickup_services = args[:pickup_services] if args.key?(:pickup_services)
11464
+ end
11465
+ end
11466
+
10582
11467
  #
10583
11468
  class ShippingsettingsListResponse
10584
11469
  include Google::Apis::Core::Hashable
@@ -10615,8 +11500,8 @@ module Google
10615
11500
  class Table
10616
11501
  include Google::Apis::Core::Hashable
10617
11502
 
10618
- # A non-empty list of row or column headers for a table. Exactly one of prices,
10619
- # weights, numItems, postalCodeGroupNames, or location must be set.
11503
+ # A non-empty list of row or column headers for a table. Exactly one of `prices`,
11504
+ # `weights`, `numItems`, `postalCodeGroupNames`, or `location` must be set.
10620
11505
  # Corresponds to the JSON property `columnHeaders`
10621
11506
  # @return [Google::Apis::ContentV2::Headers]
10622
11507
  attr_accessor :column_headers
@@ -10626,14 +11511,14 @@ module Google
10626
11511
  # @return [String]
10627
11512
  attr_accessor :name
10628
11513
 
10629
- # A non-empty list of row or column headers for a table. Exactly one of prices,
10630
- # weights, numItems, postalCodeGroupNames, or location must be set.
11514
+ # A non-empty list of row or column headers for a table. Exactly one of `prices`,
11515
+ # `weights`, `numItems`, `postalCodeGroupNames`, or `location` must be set.
10631
11516
  # Corresponds to the JSON property `rowHeaders`
10632
11517
  # @return [Google::Apis::ContentV2::Headers]
10633
11518
  attr_accessor :row_headers
10634
11519
 
10635
- # The list of rows that constitute the table. Must have the same length as
10636
- # rowHeaders. Required.
11520
+ # The list of rows that constitute the table. Must have the same length as `
11521
+ # rowHeaders`. Required.
10637
11522
  # Corresponds to the JSON property `rows`
10638
11523
  # @return [Array<Google::Apis::ContentV2::Row>]
10639
11524
  attr_accessor :rows
@@ -10655,7 +11540,7 @@ module Google
10655
11540
  class TestOrder
10656
11541
  include Google::Apis::Core::Hashable
10657
11542
 
10658
- # The details of the customer who placed the order.
11543
+ # Required. The details of the customer who placed the order.
10659
11544
  # Corresponds to the JSON property `customer`
10660
11545
  # @return [Google::Apis::ContentV2::TestOrderCustomer]
10661
11546
  attr_accessor :customer
@@ -10666,19 +11551,18 @@ module Google
10666
11551
  attr_accessor :enable_orderinvoices
10667
11552
  alias_method :enable_orderinvoices?, :enable_orderinvoices
10668
11553
 
10669
- # Identifies what kind of resource this is. Value: the fixed string "content#
10670
- # testOrder".
11554
+ # Identifies what kind of resource this is. Value: the fixed string "`content#
11555
+ # testOrder`"
10671
11556
  # Corresponds to the JSON property `kind`
10672
11557
  # @return [String]
10673
11558
  attr_accessor :kind
10674
11559
 
10675
- # Line items that are ordered. At least one line item must be provided.
11560
+ # Required. Line items that are ordered. At least one line item must be provided.
10676
11561
  # Corresponds to the JSON property `lineItems`
10677
11562
  # @return [Array<Google::Apis::ContentV2::TestOrderLineItem>]
10678
11563
  attr_accessor :line_items
10679
11564
 
10680
- # Determines if test order must be pulled by merchant or pushed to merchant via
10681
- # push integration.
11565
+ # Restricted. Do not use.
10682
11566
  # Corresponds to the JSON property `notificationMode`
10683
11567
  # @return [String]
10684
11568
  attr_accessor :notification_mode
@@ -10688,13 +11572,22 @@ module Google
10688
11572
  # @return [Google::Apis::ContentV2::TestOrderPaymentMethod]
10689
11573
  attr_accessor :payment_method
10690
11574
 
10691
- # Identifier of one of the predefined delivery addresses for the delivery.
11575
+ # Required. Identifier of one of the predefined delivery addresses for the
11576
+ # delivery.
11577
+ # Acceptable values are:
11578
+ # - "`dwight`"
11579
+ # - "`jim`"
11580
+ # - "`pam`"
10692
11581
  # Corresponds to the JSON property `predefinedDeliveryAddress`
10693
11582
  # @return [String]
10694
11583
  attr_accessor :predefined_delivery_address
10695
11584
 
10696
11585
  # Identifier of one of the predefined pickup details. Required for orders
10697
- # containing line items with shipping type pickup.
11586
+ # containing line items with shipping type `pickup`.
11587
+ # Acceptable values are:
11588
+ # - "`dwight`"
11589
+ # - "`jim`"
11590
+ # - "`pam`"
10698
11591
  # Corresponds to the JSON property `predefinedPickupDetails`
10699
11592
  # @return [String]
10700
11593
  attr_accessor :predefined_pickup_details
@@ -10704,10 +11597,10 @@ module Google
10704
11597
  # @return [Array<Google::Apis::ContentV2::OrderLegacyPromotion>]
10705
11598
  attr_accessor :promotions
10706
11599
 
10707
- # The price of shipping for all items. Shipping tax is automatically calculated
10708
- # for orders where marketplace facilitator tax laws are applicable. Otherwise,
10709
- # tax settings from Merchant Center are applied. Note that shipping is not taxed
10710
- # in certain states.
11600
+ # Required. The price of shipping for all items. Shipping tax is automatically
11601
+ # calculated for orders where marketplace facilitator tax laws are applicable.
11602
+ # Otherwise, tax settings from Merchant Center are applied. Note that shipping
11603
+ # is not taxed in certain states.
10711
11604
  # Corresponds to the JSON property `shippingCost`
10712
11605
  # @return [Google::Apis::ContentV2::Price]
10713
11606
  attr_accessor :shipping_cost
@@ -10717,7 +11610,14 @@ module Google
10717
11610
  # @return [Google::Apis::ContentV2::Price]
10718
11611
  attr_accessor :shipping_cost_tax
10719
11612
 
10720
- # The requested shipping option.
11613
+ # Required. The requested shipping option.
11614
+ # Acceptable values are:
11615
+ # - "`economy`"
11616
+ # - "`expedited`"
11617
+ # - "`oneDay`"
11618
+ # - "`sameDay`"
11619
+ # - "`standard`"
11620
+ # - "`twoDay`"
10721
11621
  # Corresponds to the JSON property `shippingOption`
10722
11622
  # @return [String]
10723
11623
  attr_accessor :shipping_option
@@ -10747,7 +11647,11 @@ module Google
10747
11647
  class TestOrderCustomer
10748
11648
  include Google::Apis::Core::Hashable
10749
11649
 
10750
- # Email address of the customer.
11650
+ # Required. Email address of the customer.
11651
+ # Acceptable values are:
11652
+ # - "`pog.dwight.schrute@gmail.com`"
11653
+ # - "`pog.jim.halpert@gmail.com`"
11654
+ # - "`penpog.pam.beesly@gmail.comding`"
10751
11655
  # Corresponds to the JSON property `email`
10752
11656
  # @return [String]
10753
11657
  attr_accessor :email
@@ -10787,6 +11691,9 @@ module Google
10787
11691
 
10788
11692
  # Last know user use selection regards marketing preferences. In certain cases
10789
11693
  # selection might not be known, so this field would be empty.
11694
+ # Acceptable values are:
11695
+ # - "`denied`"
11696
+ # - "`granted`"
10790
11697
  # Corresponds to the JSON property `explicitMarketingPreference`
10791
11698
  # @return [String]
10792
11699
  attr_accessor :explicit_marketing_preference
@@ -10812,22 +11719,22 @@ module Google
10812
11719
  class TestOrderLineItem
10813
11720
  include Google::Apis::Core::Hashable
10814
11721
 
10815
- # Product data from the time of the order placement.
11722
+ # Required. Product data from the time of the order placement.
10816
11723
  # Corresponds to the JSON property `product`
10817
11724
  # @return [Google::Apis::ContentV2::TestOrderLineItemProduct]
10818
11725
  attr_accessor :product
10819
11726
 
10820
- # Number of items ordered.
11727
+ # Required. Number of items ordered.
10821
11728
  # Corresponds to the JSON property `quantityOrdered`
10822
11729
  # @return [Fixnum]
10823
11730
  attr_accessor :quantity_ordered
10824
11731
 
10825
- # Details of the return policy for the line item.
11732
+ # Required. Details of the return policy for the line item.
10826
11733
  # Corresponds to the JSON property `returnInfo`
10827
11734
  # @return [Google::Apis::ContentV2::OrderLineItemReturnInfo]
10828
11735
  attr_accessor :return_info
10829
11736
 
10830
- # Details of the requested shipping for the line item.
11737
+ # Required. Details of the requested shipping for the line item.
10831
11738
  # Corresponds to the JSON property `shippingDetails`
10832
11739
  # @return [Google::Apis::ContentV2::OrderLineItemShippingDetails]
10833
11740
  attr_accessor :shipping_details
@@ -10855,22 +11762,29 @@ module Google
10855
11762
  class TestOrderLineItemProduct
10856
11763
  include Google::Apis::Core::Hashable
10857
11764
 
10858
- # Brand of the item.
11765
+ # Required. Brand of the item.
10859
11766
  # Corresponds to the JSON property `brand`
10860
11767
  # @return [String]
10861
11768
  attr_accessor :brand
10862
11769
 
10863
11770
  # Deprecated.
11771
+ # Acceptable values are:
11772
+ # - "`online`"
10864
11773
  # Corresponds to the JSON property `channel`
10865
11774
  # @return [String]
10866
11775
  attr_accessor :channel
10867
11776
 
10868
- # Condition or state of the item.
11777
+ # Required. Condition or state of the item.
11778
+ # Acceptable values are:
11779
+ # - "`new`"
10869
11780
  # Corresponds to the JSON property `condition`
10870
11781
  # @return [String]
10871
11782
  attr_accessor :condition
10872
11783
 
10873
- # The two-letter ISO 639-1 language code for the item.
11784
+ # Required. The two-letter ISO 639-1 language code for the item.
11785
+ # Acceptable values are:
11786
+ # - "`en`"
11787
+ # - "`fr`"
10874
11788
  # Corresponds to the JSON property `contentLanguage`
10875
11789
  # @return [String]
10876
11790
  attr_accessor :content_language
@@ -10885,7 +11799,7 @@ module Google
10885
11799
  # @return [String]
10886
11800
  attr_accessor :gtin
10887
11801
 
10888
- # URL of an image of the item.
11802
+ # Required. URL of an image of the item.
10889
11803
  # Corresponds to the JSON property `imageLink`
10890
11804
  # @return [String]
10891
11805
  attr_accessor :image_link
@@ -10900,24 +11814,24 @@ module Google
10900
11814
  # @return [String]
10901
11815
  attr_accessor :mpn
10902
11816
 
10903
- # An identifier of the item.
11817
+ # Required. An identifier of the item.
10904
11818
  # Corresponds to the JSON property `offerId`
10905
11819
  # @return [String]
10906
11820
  attr_accessor :offer_id
10907
11821
 
10908
- # The price for the product. Tax is automatically calculated for orders where
10909
- # marketplace facilitator tax laws are applicable. Otherwise, tax settings from
10910
- # Merchant Center are applied.
11822
+ # Required. The price for the product. Tax is automatically calculated for
11823
+ # orders where marketplace facilitator tax laws are applicable. Otherwise, tax
11824
+ # settings from Merchant Center are applied.
10911
11825
  # Corresponds to the JSON property `price`
10912
11826
  # @return [Google::Apis::ContentV2::Price]
10913
11827
  attr_accessor :price
10914
11828
 
10915
- # The CLDR territory code of the target country of the product.
11829
+ # Required. The CLDR territory code of the target country of the product.
10916
11830
  # Corresponds to the JSON property `targetCountry`
10917
11831
  # @return [String]
10918
11832
  attr_accessor :target_country
10919
11833
 
10920
- # The title of the product.
11834
+ # Required. The title of the product.
10921
11835
  # Corresponds to the JSON property `title`
10922
11836
  # @return [String]
10923
11837
  attr_accessor :title
@@ -10970,12 +11884,21 @@ module Google
10970
11884
  attr_accessor :last_four_digits
10971
11885
 
10972
11886
  # The billing address.
11887
+ # Acceptable values are:
11888
+ # - "`dwight`"
11889
+ # - "`jim`"
11890
+ # - "`pam`"
10973
11891
  # Corresponds to the JSON property `predefinedBillingAddress`
10974
11892
  # @return [String]
10975
11893
  attr_accessor :predefined_billing_address
10976
11894
 
10977
11895
  # The type of instrument. Note that real orders might have different values than
10978
- # the four values accepted by createTestOrder.
11896
+ # the four values accepted by `createTestOrder`.
11897
+ # Acceptable values are:
11898
+ # - "`AMEX`"
11899
+ # - "`DISCOVER`"
11900
+ # - "`MASTERCARD`"
11901
+ # - "`VISA`"
10979
11902
  # Corresponds to the JSON property `type`
10980
11903
  # @return [String]
10981
11904
  attr_accessor :type
@@ -10998,9 +11921,9 @@ module Google
10998
11921
  class TransitTable
10999
11922
  include Google::Apis::Core::Hashable
11000
11923
 
11001
- # A list of postal group names. The last value can be "all other locations".
11002
- # Example: ["zone 1", "zone 2", "all other locations"]. The referred postal code
11003
- # groups must match the delivery country of the service.
11924
+ # A list of postal group names. The last value can be `"all other locations"`.
11925
+ # Example: `["zone 1", "zone 2", "all other locations"]`. The referred postal
11926
+ # code groups must match the delivery country of the service.
11004
11927
  # Corresponds to the JSON property `postalCodeGroupNames`
11005
11928
  # @return [Array<String>]
11006
11929
  attr_accessor :postal_code_group_names
@@ -11010,8 +11933,8 @@ module Google
11010
11933
  # @return [Array<Google::Apis::ContentV2::TransitTableTransitTimeRow>]
11011
11934
  attr_accessor :rows
11012
11935
 
11013
- # A list of transit time labels. The last value can be "all other labels".
11014
- # Example: ["food", "electronics", "all other labels"].
11936
+ # A list of transit time labels. The last value can be `"all other labels"`.
11937
+ # Example: `["food", "electronics", "all other labels"]`.
11015
11938
  # Corresponds to the JSON property `transitTimeLabels`
11016
11939
  # @return [Array<String>]
11017
11940
  attr_accessor :transit_time_labels
@@ -11051,7 +11974,7 @@ module Google
11051
11974
  class TransitTableTransitTimeRowTransitTimeValue
11052
11975
  include Google::Apis::Core::Hashable
11053
11976
 
11054
- # Must be greater than or equal to minTransitTimeInDays.
11977
+ # Must be greater than or equal to `minTransitTimeInDays`.
11055
11978
  # Corresponds to the JSON property `maxTransitTimeInDays`
11056
11979
  # @return [Fixnum]
11057
11980
  attr_accessor :max_transit_time_in_days
@@ -11125,6 +12048,8 @@ module Google
11125
12048
  attr_accessor :additional_charge_promotions
11126
12049
 
11127
12050
  # [required] Type of the additional charge.
12051
+ # Acceptable values are:
12052
+ # - "`shipping`"
11128
12053
  # Corresponds to the JSON property `type`
11129
12054
  # @return [String]
11130
12055
  attr_accessor :type
@@ -11150,13 +12075,17 @@ module Google
11150
12075
  # @return [Google::Apis::ContentV2::Price]
11151
12076
  attr_accessor :tax_amount
11152
12077
 
11153
- # Optional name of the tax type. This should only be provided if taxType is
11154
- # otherFeeTax.
12078
+ # Optional name of the tax type. This should only be provided if `taxType` is `
12079
+ # otherFeeTax`.
11155
12080
  # Corresponds to the JSON property `taxName`
11156
12081
  # @return [String]
11157
12082
  attr_accessor :tax_name
11158
12083
 
11159
12084
  # [required] Type of the tax.
12085
+ # Acceptable values are:
12086
+ # - "`otherFee`"
12087
+ # - "`otherFeeTax`"
12088
+ # - "`sales`"
11160
12089
  # Corresponds to the JSON property `taxType`
11161
12090
  # @return [String]
11162
12091
  attr_accessor :tax_type
@@ -11174,8 +12103,8 @@ module Google
11174
12103
  end
11175
12104
 
11176
12105
  # The single value of a rate group or the value of a rate group table's cell.
11177
- # Exactly one of noShipping, flatRate, pricePercentage, carrierRateName,
11178
- # subtableName must be set.
12106
+ # Exactly one of `noShipping`, `flatRate`, `pricePercentage`, `carrierRateName`,
12107
+ # `subtableName` must be set.
11179
12108
  class Value
11180
12109
  include Google::Apis::Core::Hashable
11181
12110
 
@@ -11197,8 +12126,8 @@ module Google
11197
12126
  attr_accessor :no_shipping
11198
12127
  alias_method :no_shipping?, :no_shipping
11199
12128
 
11200
- # A percentage of the price represented as a number in decimal notation (e.g., "
11201
- # 5.4"). Can only be set if all other fields are not set.
12129
+ # A percentage of the price represented as a number in decimal notation (e.g., `"
12130
+ # 5.4"`). Can only be set if all other fields are not set.
11202
12131
  # Corresponds to the JSON property `pricePercentage`
11203
12132
  # @return [String]
11204
12133
  attr_accessor :price_percentage
@@ -11227,12 +12156,15 @@ module Google
11227
12156
  class Weight
11228
12157
  include Google::Apis::Core::Hashable
11229
12158
 
11230
- # The weight unit.
12159
+ # Required. The weight unit.
12160
+ # Acceptable values are:
12161
+ # - "`kg`"
12162
+ # - "`lb`"
11231
12163
  # Corresponds to the JSON property `unit`
11232
12164
  # @return [String]
11233
12165
  attr_accessor :unit
11234
12166
 
11235
- # The weight represented as a number.
12167
+ # Required. The weight represented as a number.
11236
12168
  # Corresponds to the JSON property `value`
11237
12169
  # @return [String]
11238
12170
  attr_accessor :value