google-api-client 0.46.2 → 0.51.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (556) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +79 -0
  3. data/.kokoro/trampoline.sh +0 -0
  4. data/CHANGELOG.md +736 -192
  5. data/Gemfile +1 -0
  6. data/Rakefile +31 -3
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
  9. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  10. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
  14. data/generated/google/apis/admob_v1.rb +4 -1
  15. data/generated/google/apis/admob_v1/service.rb +4 -0
  16. data/generated/google/apis/admob_v1beta.rb +38 -0
  17. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  18. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  19. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  20. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  21. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +13 -12
  22. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +28 -12
  23. data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
  24. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +263 -69
  25. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +52 -14
  26. data/generated/google/apis/analyticsdata_v1alpha/service.rb +44 -33
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  30. data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
  31. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  32. data/generated/google/apis/androidmanagement_v1/classes.rb +98 -30
  33. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  34. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
  36. data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
  37. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  38. data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
  39. data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
  40. data/generated/google/apis/apigee_v1.rb +1 -1
  41. data/generated/google/apis/apigee_v1/classes.rb +378 -138
  42. data/generated/google/apis/apigee_v1/representations.rb +109 -18
  43. data/generated/google/apis/apigee_v1/service.rb +674 -56
  44. data/generated/google/apis/appengine_v1beta.rb +1 -1
  45. data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
  46. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  47. data/generated/google/apis/area120tables_v1alpha1.rb +49 -0
  48. data/generated/google/apis/area120tables_v1alpha1/classes.rb +481 -0
  49. data/generated/google/apis/area120tables_v1alpha1/representations.rb +279 -0
  50. data/generated/google/apis/area120tables_v1alpha1/service.rb +448 -0
  51. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  52. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -7
  53. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
  54. data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
  55. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
  56. data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
  57. data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
  58. data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
  59. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +69 -137
  60. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +29 -87
  61. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
  62. data/generated/google/apis/bigquery_v2.rb +1 -1
  63. data/generated/google/apis/bigquery_v2/classes.rb +78 -0
  64. data/generated/google/apis/bigquery_v2/representations.rb +34 -0
  65. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  66. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
  67. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
  68. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  69. data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
  70. data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
  71. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  72. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
  73. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  74. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  75. data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -9
  76. data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
  77. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  78. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +4 -10
  79. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
  80. data/generated/google/apis/books_v1.rb +1 -1
  81. data/generated/google/apis/books_v1/service.rb +52 -52
  82. data/generated/google/apis/calendar_v3.rb +1 -1
  83. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  84. data/generated/google/apis/chat_v1.rb +1 -1
  85. data/generated/google/apis/chat_v1/classes.rb +7 -0
  86. data/generated/google/apis/chat_v1/representations.rb +1 -0
  87. data/generated/google/apis/chat_v1/service.rb +176 -0
  88. data/generated/google/apis/cloudasset_v1.rb +1 -1
  89. data/generated/google/apis/cloudasset_v1/classes.rb +1125 -0
  90. data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
  91. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  92. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  93. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  95. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  96. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  97. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  98. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  99. data/generated/google/apis/cloudbuild_v1/classes.rb +3 -2
  100. data/generated/google/apis/cloudbuild_v1/service.rb +11 -3
  101. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  102. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  103. data/generated/google/apis/cloudidentity_v1/service.rb +15 -7
  104. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  105. data/generated/google/apis/cloudidentity_v1beta1/service.rb +37 -21
  106. data/generated/google/apis/cloudiot_v1.rb +1 -1
  107. data/generated/google/apis/cloudiot_v1/classes.rb +0 -7
  108. data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
  109. data/generated/google/apis/cloudkms_v1.rb +1 -1
  110. data/generated/google/apis/cloudkms_v1/classes.rb +1 -2
  111. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  112. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
  113. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
  114. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
  116. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
  117. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
  119. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
  120. data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
  121. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  122. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
  123. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
  124. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
  125. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  126. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
  127. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  128. data/generated/google/apis/cloudtasks_v2/classes.rb +0 -7
  129. data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
  130. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  131. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -7
  132. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
  133. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
  134. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  135. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -7
  136. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
  137. data/generated/google/apis/composer_v1.rb +1 -1
  138. data/generated/google/apis/composer_v1/classes.rb +123 -0
  139. data/generated/google/apis/composer_v1/representations.rb +49 -0
  140. data/generated/google/apis/composer_v1/service.rb +19 -15
  141. data/generated/google/apis/composer_v1beta1.rb +1 -1
  142. data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
  143. data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
  144. data/generated/google/apis/composer_v1beta1/service.rb +39 -1
  145. data/generated/google/apis/compute_v1.rb +1 -1
  146. data/generated/google/apis/compute_v1/classes.rb +289 -31
  147. data/generated/google/apis/compute_v1/representations.rb +44 -0
  148. data/generated/google/apis/compute_v1/service.rb +695 -545
  149. data/generated/google/apis/container_v1beta1.rb +1 -1
  150. data/generated/google/apis/container_v1beta1/classes.rb +29 -0
  151. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  152. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  153. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -7
  154. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
  155. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  156. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -8
  157. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
  158. data/generated/google/apis/content_v2.rb +3 -4
  159. data/generated/google/apis/content_v2/classes.rb +514 -1222
  160. data/generated/google/apis/content_v2/service.rb +380 -651
  161. data/generated/google/apis/content_v2_1.rb +3 -4
  162. data/generated/google/apis/content_v2_1/classes.rb +1522 -1062
  163. data/generated/google/apis/content_v2_1/representations.rb +420 -0
  164. data/generated/google/apis/content_v2_1/service.rb +1127 -809
  165. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  166. data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -17
  167. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -1
  168. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  169. data/generated/google/apis/dataflow_v1b3/classes.rb +29 -1
  170. data/generated/google/apis/dataflow_v1b3/representations.rb +5 -0
  171. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  172. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  173. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  174. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  175. data/generated/google/apis/datamigration_v1beta1.rb +34 -0
  176. data/generated/google/apis/datamigration_v1beta1/classes.rb +1670 -0
  177. data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -0
  178. data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
  179. data/generated/google/apis/dataproc_v1.rb +1 -1
  180. data/generated/google/apis/dataproc_v1/classes.rb +95 -12
  181. data/generated/google/apis/dataproc_v1/representations.rb +23 -1
  182. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  183. data/generated/google/apis/dataproc_v1beta2/classes.rb +63 -12
  184. data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -1
  185. data/generated/google/apis/datastore_v1.rb +1 -1
  186. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  187. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  188. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  189. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  190. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  191. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  192. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  193. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  194. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  195. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  196. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  197. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  198. data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
  199. data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
  200. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  201. data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
  202. data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
  203. data/generated/google/apis/dialogflow_v2.rb +1 -1
  204. data/generated/google/apis/dialogflow_v2/classes.rb +19 -387
  205. data/generated/google/apis/dialogflow_v2/representations.rb +1 -212
  206. data/generated/google/apis/dialogflow_v2/service.rb +12 -4
  207. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  208. data/generated/google/apis/dialogflow_v2beta1/classes.rb +17 -390
  209. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -212
  210. data/generated/google/apis/dialogflow_v2beta1/service.rb +510 -40
  211. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  212. data/generated/google/apis/dialogflow_v3beta1/classes.rb +76 -387
  213. data/generated/google/apis/dialogflow_v3beta1/representations.rb +20 -212
  214. data/generated/google/apis/dialogflow_v3beta1/service.rb +11 -3
  215. data/generated/google/apis/displayvideo_v1.rb +1 -1
  216. data/generated/google/apis/displayvideo_v1/classes.rb +306 -34
  217. data/generated/google/apis/displayvideo_v1/representations.rb +122 -0
  218. data/generated/google/apis/displayvideo_v1/service.rb +342 -38
  219. data/generated/google/apis/dlp_v2.rb +1 -1
  220. data/generated/google/apis/dlp_v2/classes.rb +35 -29
  221. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  222. data/generated/google/apis/dns_v1.rb +2 -2
  223. data/generated/google/apis/dns_v1/classes.rb +6 -0
  224. data/generated/google/apis/dns_v1/representations.rb +1 -0
  225. data/generated/google/apis/dns_v1/service.rb +1 -1
  226. data/generated/google/apis/dns_v1beta2.rb +2 -2
  227. data/generated/google/apis/dns_v1beta2/classes.rb +20 -1
  228. data/generated/google/apis/dns_v1beta2/representations.rb +13 -0
  229. data/generated/google/apis/dns_v1beta2/service.rb +177 -1
  230. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  231. data/generated/google/apis/domains_v1beta1.rb +1 -1
  232. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  233. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +3 -2
  234. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  235. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -2
  236. data/generated/google/apis/drive_v2.rb +1 -1
  237. data/generated/google/apis/drive_v2/classes.rb +24 -21
  238. data/generated/google/apis/drive_v2/service.rb +26 -58
  239. data/generated/google/apis/drive_v3.rb +1 -1
  240. data/generated/google/apis/drive_v3/classes.rb +12 -8
  241. data/generated/google/apis/drive_v3/service.rb +14 -30
  242. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  243. data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
  244. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  245. data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
  246. data/generated/google/apis/file_v1.rb +1 -1
  247. data/generated/google/apis/file_v1/classes.rb +505 -4
  248. data/generated/google/apis/file_v1/representations.rb +203 -0
  249. data/generated/google/apis/file_v1/service.rb +229 -1
  250. data/generated/google/apis/file_v1beta1.rb +1 -1
  251. data/generated/google/apis/file_v1beta1/classes.rb +346 -6
  252. data/generated/google/apis/file_v1beta1/representations.rb +149 -0
  253. data/generated/google/apis/file_v1beta1/service.rb +6 -2
  254. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  255. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  256. data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
  257. data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
  258. data/generated/google/apis/{displayvideo_v1dev → firebasedatabase_v1beta}/representations.rb +26 -16
  259. data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
  260. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  261. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  262. data/generated/google/apis/firestore_v1.rb +1 -1
  263. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  264. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  265. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  266. data/generated/google/apis/games_v1.rb +1 -1
  267. data/generated/google/apis/games_v1/classes.rb +353 -0
  268. data/generated/google/apis/games_v1/representations.rb +145 -0
  269. data/generated/google/apis/games_v1/service.rb +67 -0
  270. data/generated/google/apis/gameservices_v1.rb +1 -1
  271. data/generated/google/apis/gameservices_v1/classes.rb +1 -2
  272. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  273. data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
  274. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  275. data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
  276. data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
  277. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  278. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
  279. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
  280. data/generated/google/apis/healthcare_v1.rb +1 -1
  281. data/generated/google/apis/healthcare_v1/classes.rb +24 -17
  282. data/generated/google/apis/healthcare_v1/representations.rb +1 -0
  283. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  284. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  285. data/generated/google/apis/healthcare_v1beta1/classes.rb +361 -57
  286. data/generated/google/apis/healthcare_v1beta1/representations.rb +150 -18
  287. data/generated/google/apis/healthcare_v1beta1/service.rb +91 -13
  288. data/generated/google/apis/iam_v1.rb +2 -5
  289. data/generated/google/apis/iam_v1/classes.rb +109 -11
  290. data/generated/google/apis/iam_v1/representations.rb +33 -1
  291. data/generated/google/apis/iam_v1/service.rb +63 -4
  292. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  293. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  294. data/generated/google/apis/iap_v1.rb +1 -1
  295. data/generated/google/apis/iap_v1/classes.rb +1 -13
  296. data/generated/google/apis/iap_v1/representations.rb +0 -1
  297. data/generated/google/apis/iap_v1beta1.rb +1 -1
  298. data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
  299. data/generated/google/apis/jobs_v3.rb +1 -1
  300. data/generated/google/apis/jobs_v3/classes.rb +9 -807
  301. data/generated/google/apis/jobs_v3/representations.rb +0 -272
  302. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  303. data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
  304. data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
  305. data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
  306. data/generated/google/apis/jobs_v4/classes.rb +2699 -0
  307. data/generated/google/apis/jobs_v4/representations.rb +934 -0
  308. data/generated/google/apis/jobs_v4/service.rb +903 -0
  309. data/generated/google/apis/licensing_v1.rb +1 -1
  310. data/generated/google/apis/licensing_v1/classes.rb +26 -8
  311. data/generated/google/apis/licensing_v1/representations.rb +12 -0
  312. data/generated/google/apis/licensing_v1/service.rb +34 -31
  313. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  314. data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
  315. data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
  316. data/generated/google/apis/localservices_v1.rb +1 -1
  317. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  318. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  319. data/generated/google/apis/logging_v2.rb +1 -1
  320. data/generated/google/apis/logging_v2/classes.rb +191 -14
  321. data/generated/google/apis/logging_v2/representations.rb +77 -0
  322. data/generated/google/apis/logging_v2/service.rb +446 -25
  323. data/generated/google/apis/managedidentities_v1.rb +1 -1
  324. data/generated/google/apis/managedidentities_v1/classes.rb +361 -16
  325. data/generated/google/apis/managedidentities_v1/representations.rb +149 -1
  326. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  327. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +363 -17
  328. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -1
  329. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  330. data/generated/google/apis/managedidentities_v1beta1/classes.rb +349 -12
  331. data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -1
  332. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  333. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  334. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  335. data/generated/google/apis/ml_v1.rb +1 -1
  336. data/generated/google/apis/ml_v1/classes.rb +272 -84
  337. data/generated/google/apis/ml_v1/representations.rb +43 -1
  338. data/generated/google/apis/ml_v1/service.rb +35 -0
  339. data/generated/google/apis/monitoring_v3.rb +1 -1
  340. data/generated/google/apis/monitoring_v3/classes.rb +16 -9
  341. data/generated/google/apis/monitoring_v3/service.rb +55 -5
  342. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  343. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
  344. data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
  345. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  346. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
  347. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
  348. data/generated/google/apis/notebooks_v1.rb +34 -0
  349. data/generated/google/apis/notebooks_v1/classes.rb +1455 -0
  350. data/generated/google/apis/notebooks_v1/representations.rb +580 -0
  351. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  352. data/generated/google/apis/osconfig_v1.rb +1 -1
  353. data/generated/google/apis/osconfig_v1/classes.rb +419 -0
  354. data/generated/google/apis/osconfig_v1/representations.rb +168 -0
  355. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  356. data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
  357. data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
  358. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  359. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
  360. data/generated/google/apis/people_v1.rb +1 -1
  361. data/generated/google/apis/people_v1/classes.rb +10 -6
  362. data/generated/google/apis/people_v1/service.rb +21 -18
  363. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  364. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  365. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  366. data/generated/google/apis/privateca_v1beta1.rb +36 -0
  367. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  368. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  369. data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
  370. data/generated/google/apis/pubsub_v1.rb +1 -1
  371. data/generated/google/apis/pubsub_v1/classes.rb +0 -7
  372. data/generated/google/apis/pubsub_v1/representations.rb +0 -1
  373. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  374. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  375. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -7
  376. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
  377. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  378. data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
  379. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  380. data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
  381. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  382. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  383. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  384. data/generated/google/apis/recommender_v1.rb +1 -1
  385. data/generated/google/apis/recommender_v1/classes.rb +3 -3
  386. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  387. data/generated/google/apis/recommender_v1beta1/classes.rb +3 -3
  388. data/generated/google/apis/redis_v1.rb +1 -1
  389. data/generated/google/apis/redis_v1/classes.rb +86 -0
  390. data/generated/google/apis/redis_v1/representations.rb +34 -0
  391. data/generated/google/apis/redis_v1/service.rb +34 -0
  392. data/generated/google/apis/redis_v1beta1.rb +1 -1
  393. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  394. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  395. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  396. data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
  397. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
  398. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  399. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
  400. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
  401. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  402. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
  403. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
  404. data/generated/google/apis/reseller_v1.rb +4 -4
  405. data/generated/google/apis/reseller_v1/service.rb +5 -5
  406. data/generated/google/apis/run_v1.rb +1 -1
  407. data/generated/google/apis/run_v1/classes.rb +2 -1
  408. data/generated/google/apis/run_v1alpha1.rb +1 -1
  409. data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
  410. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  411. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
  412. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  413. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  414. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  415. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  416. data/generated/google/apis/secretmanager_v1.rb +1 -1
  417. data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
  418. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  419. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  420. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
  421. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  422. data/generated/google/apis/securitycenter_v1.rb +1 -1
  423. data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
  424. data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
  425. data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
  426. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  427. data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
  428. data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
  429. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  430. data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
  431. data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
  432. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  433. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -64
  434. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  435. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  436. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +6 -64
  437. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  438. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  439. data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
  440. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  441. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  442. data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
  443. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  444. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  445. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -13
  446. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
  447. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  448. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -64
  449. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
  450. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  451. data/generated/google/apis/servicenetworking_v1/classes.rb +156 -64
  452. data/generated/google/apis/servicenetworking_v1/representations.rb +62 -15
  453. data/generated/google/apis/servicenetworking_v1/service.rb +80 -0
  454. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  455. data/generated/google/apis/servicenetworking_v1beta/classes.rb +69 -64
  456. data/generated/google/apis/servicenetworking_v1beta/representations.rb +29 -15
  457. data/generated/google/apis/serviceusage_v1.rb +1 -1
  458. data/generated/google/apis/serviceusage_v1/classes.rb +6 -64
  459. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  460. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  461. data/generated/google/apis/serviceusage_v1beta1/classes.rb +36 -64
  462. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
  463. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  464. data/generated/google/apis/sheets_v4.rb +1 -1
  465. data/generated/google/apis/sheets_v4/classes.rb +332 -7
  466. data/generated/google/apis/sheets_v4/representations.rb +102 -0
  467. data/generated/google/apis/slides_v1.rb +1 -1
  468. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  469. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
  470. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
  471. data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
  472. data/generated/google/apis/spanner_v1.rb +1 -1
  473. data/generated/google/apis/spanner_v1/classes.rb +10 -8
  474. data/generated/google/apis/spanner_v1/representations.rb +1 -1
  475. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  476. data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
  477. data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
  478. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  479. data/generated/google/apis/sqladmin_v1beta4/classes.rb +118 -11
  480. data/generated/google/apis/sqladmin_v1beta4/representations.rb +37 -0
  481. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  482. data/generated/google/apis/storage_v1.rb +1 -1
  483. data/generated/google/apis/storage_v1/classes.rb +7 -0
  484. data/generated/google/apis/storage_v1/representations.rb +1 -0
  485. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  486. data/generated/google/apis/storagetransfer_v1/classes.rb +72 -50
  487. data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
  488. data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
  489. data/generated/google/apis/tagmanager_v2.rb +1 -1
  490. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  491. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  492. data/generated/google/apis/testing_v1.rb +1 -1
  493. data/generated/google/apis/testing_v1/classes.rb +45 -33
  494. data/generated/google/apis/testing_v1/representations.rb +1 -0
  495. data/generated/google/apis/testing_v1/service.rb +4 -4
  496. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  497. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  498. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  499. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  500. data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
  501. data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
  502. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  503. data/generated/google/apis/translate_v3.rb +1 -1
  504. data/generated/google/apis/translate_v3/classes.rb +2 -1
  505. data/generated/google/apis/translate_v3beta1.rb +1 -1
  506. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  507. data/generated/google/apis/vault_v1.rb +1 -1
  508. data/generated/google/apis/vault_v1/classes.rb +76 -0
  509. data/generated/google/apis/vault_v1/representations.rb +45 -0
  510. data/generated/google/apis/vectortile_v1.rb +1 -1
  511. data/generated/google/apis/vectortile_v1/classes.rb +59 -4
  512. data/generated/google/apis/vectortile_v1/representations.rb +19 -0
  513. data/generated/google/apis/videointelligence_v1.rb +1 -1
  514. data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
  515. data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
  516. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  517. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  518. data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
  519. data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
  520. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  521. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
  522. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
  523. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  524. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
  525. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
  526. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  527. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
  528. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
  529. data/generated/google/apis/vision_v1.rb +1 -1
  530. data/generated/google/apis/vision_v1/classes.rb +16 -16
  531. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  532. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  533. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  534. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  535. data/generated/google/apis/youtube_v3.rb +1 -1
  536. data/generated/google/apis/youtube_v3/classes.rb +2 -2
  537. data/generated/google/apis/youtube_v3/service.rb +6 -6
  538. data/google-api-client.gemspec +25 -25
  539. data/lib/google/apis/core/http_command.rb +2 -1
  540. data/lib/google/apis/options.rb +8 -5
  541. data/lib/google/apis/version.rb +1 -1
  542. metadata +53 -24
  543. data/generated/google/apis/displayvideo_v1beta.rb +0 -38
  544. data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
  545. data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
  546. data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
  547. data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
  548. data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
  549. data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
  550. data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
  551. data/generated/google/apis/displayvideo_v1dev.rb +0 -38
  552. data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
  553. data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
  554. data/generated/google/apis/jobs_v2/classes.rb +0 -4012
  555. data/generated/google/apis/jobs_v2/representations.rb +0 -1396
  556. data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -20,13 +20,12 @@ module Google
20
20
  module Apis
21
21
  # Content API for Shopping
22
22
  #
23
- # Manages product items, inventory, and Merchant Center accounts for Google
24
- # Shopping.
23
+ # Manage your product listings and accounts for Google Shopping
25
24
  #
26
- # @see https://developers.google.com/shopping-content
25
+ # @see https://developers.google.com/shopping-content/v2/
27
26
  module ContentV2_1
28
27
  VERSION = 'V2_1'
29
- REVISION = '20201015'
28
+ REVISION = '20201113'
30
29
 
31
30
  # Manage your product listings and accounts for Google Shopping
32
31
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -185,15 +185,13 @@ module Google
185
185
  # Status of the link between this Merchant Center account and the Ads account.
186
186
  # Upon retrieval, it represents the actual status of the link and can be either `
187
187
  # active` if it was approved in Google Ads or `pending` if it's pending approval.
188
- # Upon insertion, it represents the intended status of the link. Re-uploading a
189
- # link with status `active` when it's still pending or with status `pending`
188
+ # Upon insertion, it represents the *intended* status of the link. Re-uploading
189
+ # a link with status `active` when it's still pending or with status `pending`
190
190
  # when it's already active will have no effect: the status will remain unchanged.
191
191
  # Re-uploading a link with deprecated status `inactive` is equivalent to not
192
192
  # submitting the link at all and will delete the link if it was active or cancel
193
- # the link request if it was pending.
194
- # Acceptable values are:
195
- # - "`active`"
196
- # - "`pending`"
193
+ # the link request if it was pending. Acceptable values are: - "`active`" - "`
194
+ # pending`"
197
195
  # Corresponds to the JSON property `status`
198
196
  # @return [String]
199
197
  attr_accessor :status
@@ -289,9 +287,7 @@ module Google
289
287
  attr_accessor :gmb_email
290
288
 
291
289
  # Status of the link between this Merchant Center account and the GMB account.
292
- # Acceptable values are:
293
- # - "`active`"
294
- # - "`pending`"
290
+ # Acceptable values are: - "`active`" - "`pending`"
295
291
  # Corresponds to the JSON property `status`
296
292
  # @return [String]
297
293
  attr_accessor :status
@@ -334,6 +330,43 @@ module Google
334
330
  end
335
331
  end
336
332
 
333
+ # Label assigned by CSS domain or CSS group to one of its sub-accounts.
334
+ class AccountLabel
335
+ include Google::Apis::Core::Hashable
336
+
337
+ # Output only. Immutable. The ID of account this label belongs to.
338
+ # Corresponds to the JSON property `accountId`
339
+ # @return [Fixnum]
340
+ attr_accessor :account_id
341
+
342
+ # Description for this label.
343
+ # Corresponds to the JSON property `description`
344
+ # @return [String]
345
+ attr_accessor :description
346
+
347
+ # Output only. Immutable. The ID of the label.
348
+ # Corresponds to the JSON property `labelId`
349
+ # @return [Fixnum]
350
+ attr_accessor :label_id
351
+
352
+ # The display name of this label.
353
+ # Corresponds to the JSON property `name`
354
+ # @return [String]
355
+ attr_accessor :name
356
+
357
+ def initialize(**args)
358
+ update!(**args)
359
+ end
360
+
361
+ # Update properties of this object
362
+ def update!(**args)
363
+ @account_id = args[:account_id] if args.key?(:account_id)
364
+ @description = args[:description] if args.key?(:description)
365
+ @label_id = args[:label_id] if args.key?(:label_id)
366
+ @name = args[:name] if args.key?(:name)
367
+ end
368
+ end
369
+
337
370
  # The status of an account, i.e., information about its products, which is
338
371
  # computed offline and not returned immediately at insertion time.
339
372
  class AccountStatus
@@ -411,11 +444,8 @@ module Google
411
444
  # @return [String]
412
445
  attr_accessor :id
413
446
 
414
- # Severity of the issue.
415
- # Acceptable values are:
416
- # - "`critical`"
417
- # - "`error`"
418
- # - "`suggestion`"
447
+ # Severity of the issue. Acceptable values are: - "`critical`" - "`error`" - "`
448
+ # suggestion`"
419
449
  # Corresponds to the JSON property `severity`
420
450
  # @return [String]
421
451
  attr_accessor :severity
@@ -506,10 +536,8 @@ module Google
506
536
  class AccountStatusProducts
507
537
  include Google::Apis::Core::Hashable
508
538
 
509
- # The channel the data applies to.
510
- # Acceptable values are:
511
- # - "`local`"
512
- # - "`online`"
539
+ # The channel the data applies to. Acceptable values are: - "`local`" - "`online`
540
+ # "
513
541
  # Corresponds to the JSON property `channel`
514
542
  # @return [String]
515
543
  attr_accessor :channel
@@ -724,7 +752,7 @@ module Google
724
752
  # Status of the link between this Merchant Center account and the YouTube
725
753
  # channel. Upon retrieval, it represents the actual status of the link and can
726
754
  # be either `active` if it was approved in YT Creator Studio or `pending` if it'
727
- # s pending approval. Upon insertion, it represents the intended status of the
755
+ # s pending approval. Upon insertion, it represents the *intended* status of the
728
756
  # link. Re-uploading a link with status `active` when it's still pending or with
729
757
  # status `pending` when it's already active will have no effect: the status will
730
758
  # remain unchanged. Re-uploading a link with deprecated status `inactive` is
@@ -749,11 +777,10 @@ module Google
749
777
  class AccountsAuthInfoResponse
750
778
  include Google::Apis::Core::Hashable
751
779
 
752
- # The account identifiers corresponding to the authenticated user.
753
- # - For an individual account: only the merchant ID is defined
754
- # - For an aggregator: only the aggregator ID is defined
755
- # - For a subaccount of an MCA: both the merchant ID and the aggregator ID are
756
- # defined.
780
+ # The account identifiers corresponding to the authenticated user. - For an
781
+ # individual account: only the merchant ID is defined - For an aggregator: only
782
+ # the aggregator ID is defined - For a subaccount of an MCA: both the merchant
783
+ # ID and the aggregator ID are defined.
757
784
  # Corresponds to the JSON property `accountIdentifiers`
758
785
  # @return [Array<Google::Apis::ContentV2_1::AccountIdentifier>]
759
786
  attr_accessor :account_identifiers
@@ -857,14 +884,8 @@ module Google
857
884
  # @return [Fixnum]
858
885
  attr_accessor :merchant_id
859
886
 
860
- # The method of the batch entry.
861
- # Acceptable values are:
862
- # - "`claimWebsite`"
863
- # - "`delete`"
864
- # - "`get`"
865
- # - "`insert`"
866
- # - "`link`"
867
- # - "`update`"
887
+ # The method of the batch entry. Acceptable values are: - "`claimWebsite`" - "`
888
+ # delete`" - "`get`" - "`insert`" - "`link`" - "`update`"
868
889
  # Corresponds to the JSON property `method`
869
890
  # @return [String]
870
891
  attr_accessor :method_prop
@@ -905,19 +926,14 @@ module Google
905
926
  include Google::Apis::Core::Hashable
906
927
 
907
928
  # Action to perform for this link. The `"request"` action is only available to
908
- # select merchants.
909
- # Acceptable values are:
910
- # - "`approve`"
911
- # - "`remove`"
912
- # - "`request`"
929
+ # select merchants. Acceptable values are: - "`approve`" - "`remove`" - "`
930
+ # request`"
913
931
  # Corresponds to the JSON property `action`
914
932
  # @return [String]
915
933
  attr_accessor :action
916
934
 
917
- # Type of the link between the two accounts.
918
- # Acceptable values are:
919
- # - "`channelPartner`"
920
- # - "`eCommercePlatform`"
935
+ # Type of the link between the two accounts. Acceptable values are: - "`
936
+ # channelPartner`" - "`eCommercePlatform`"
921
937
  # Corresponds to the JSON property `linkType`
922
938
  # @return [String]
923
939
  attr_accessor :link_type
@@ -1016,19 +1032,14 @@ module Google
1016
1032
  include Google::Apis::Core::Hashable
1017
1033
 
1018
1034
  # Action to perform for this link. The `"request"` action is only available to
1019
- # select merchants.
1020
- # Acceptable values are:
1021
- # - "`approve`"
1022
- # - "`remove`"
1023
- # - "`request`"
1035
+ # select merchants. Acceptable values are: - "`approve`" - "`remove`" - "`
1036
+ # request`"
1024
1037
  # Corresponds to the JSON property `action`
1025
1038
  # @return [String]
1026
1039
  attr_accessor :action
1027
1040
 
1028
- # Type of the link between the two accounts.
1029
- # Acceptable values are:
1030
- # - "`channelPartner`"
1031
- # - "`eCommercePlatform`"
1041
+ # Type of the link between the two accounts. Acceptable values are: - "`
1042
+ # channelPartner`" - "`eCommercePlatform`"
1032
1043
  # Corresponds to the JSON property `linkType`
1033
1044
  # @return [String]
1034
1045
  attr_accessor :link_type
@@ -1223,9 +1234,7 @@ module Google
1223
1234
  # @return [Fixnum]
1224
1235
  attr_accessor :merchant_id
1225
1236
 
1226
- # The method of the batch entry.
1227
- # Acceptable values are:
1228
- # - "`get`"
1237
+ # The method of the batch entry. Acceptable values are: - "`get`"
1229
1238
  # Corresponds to the JSON property `method`
1230
1239
  # @return [String]
1231
1240
  attr_accessor :method_prop
@@ -1377,10 +1386,7 @@ module Google
1377
1386
  # @return [Fixnum]
1378
1387
  attr_accessor :merchant_id
1379
1388
 
1380
- # The method of the batch entry.
1381
- # Acceptable values are:
1382
- # - "`get`"
1383
- # - "`update`"
1389
+ # The method of the batch entry. Acceptable values are: - "`get`" - "`update`"
1384
1390
  # Corresponds to the JSON property `method`
1385
1391
  # @return [String]
1386
1392
  attr_accessor :method_prop
@@ -1628,6 +1634,58 @@ module Google
1628
1634
  end
1629
1635
  end
1630
1636
 
1637
+ # Information about CSS domain.
1638
+ class Css
1639
+ include Google::Apis::Core::Hashable
1640
+
1641
+ # Output only. Immutable. The CSS domain ID.
1642
+ # Corresponds to the JSON property `cssDomainId`
1643
+ # @return [Fixnum]
1644
+ attr_accessor :css_domain_id
1645
+
1646
+ # Output only. Immutable. The ID of the CSS group this CSS domain is affiliated
1647
+ # with. Only populated for CSS group users.
1648
+ # Corresponds to the JSON property `cssGroupId`
1649
+ # @return [Fixnum]
1650
+ attr_accessor :css_group_id
1651
+
1652
+ # Output only. Immutable. The CSS domain's display name, used when space is
1653
+ # constrained.
1654
+ # Corresponds to the JSON property `displayName`
1655
+ # @return [String]
1656
+ attr_accessor :display_name
1657
+
1658
+ # Output only. Immutable. The CSS domain's full name.
1659
+ # Corresponds to the JSON property `fullName`
1660
+ # @return [String]
1661
+ attr_accessor :full_name
1662
+
1663
+ # Output only. Immutable. The CSS domain's homepage.
1664
+ # Corresponds to the JSON property `homepageUri`
1665
+ # @return [String]
1666
+ attr_accessor :homepage_uri
1667
+
1668
+ # A list of label IDs that are assigned to this CSS domain by its CSS group.
1669
+ # Only populated for CSS group users.
1670
+ # Corresponds to the JSON property `labelIds`
1671
+ # @return [Array<Fixnum>]
1672
+ attr_accessor :label_ids
1673
+
1674
+ def initialize(**args)
1675
+ update!(**args)
1676
+ end
1677
+
1678
+ # Update properties of this object
1679
+ def update!(**args)
1680
+ @css_domain_id = args[:css_domain_id] if args.key?(:css_domain_id)
1681
+ @css_group_id = args[:css_group_id] if args.key?(:css_group_id)
1682
+ @display_name = args[:display_name] if args.key?(:display_name)
1683
+ @full_name = args[:full_name] if args.key?(:full_name)
1684
+ @homepage_uri = args[:homepage_uri] if args.key?(:homepage_uri)
1685
+ @label_ids = args[:label_ids] if args.key?(:label_ids)
1686
+ end
1687
+ end
1688
+
1631
1689
  #
1632
1690
  class CustomAttribute
1633
1691
  include Google::Apis::Core::Hashable
@@ -1670,22 +1728,11 @@ module Google
1670
1728
  # @return [String]
1671
1729
  attr_accessor :description
1672
1730
 
1673
- # Code of the return reason.
1674
- # Acceptable values are:
1675
- # - "`betterPriceFound`"
1676
- # - "`changedMind`"
1677
- # - "`damagedOrDefectiveItem`"
1678
- # - "`didNotMatchDescription`"
1679
- # - "`doesNotFit`"
1680
- # - "`expiredItem`"
1681
- # - "`incorrectItemReceived`"
1682
- # - "`noLongerNeeded`"
1683
- # - "`notSpecified`"
1684
- # - "`orderedWrongItem`"
1685
- # - "`other`"
1686
- # - "`qualityNotExpected`"
1687
- # - "`receivedTooLate`"
1688
- # - "`undeliverable`"
1731
+ # Code of the return reason. Acceptable values are: - "`betterPriceFound`" - "`
1732
+ # changedMind`" - "`damagedOrDefectiveItem`" - "`didNotMatchDescription`" - "`
1733
+ # doesNotFit`" - "`expiredItem`" - "`incorrectItemReceived`" - "`noLongerNeeded`"
1734
+ # - "`notSpecified`" - "`orderedWrongItem`" - "`other`" - "`qualityNotExpected`"
1735
+ # - "`receivedTooLate`" - "`undeliverable`"
1689
1736
  # Corresponds to the JSON property `reasonCode`
1690
1737
  # @return [String]
1691
1738
  attr_accessor :reason_code
@@ -1746,11 +1793,8 @@ module Google
1746
1793
  attr_accessor :attribute_language
1747
1794
 
1748
1795
  # Required. The type of data feed. For product inventory feeds, only feeds for
1749
- # local stores, not online stores, are supported.
1750
- # Acceptable values are:
1751
- # - "`local products`"
1752
- # - "`product inventory`"
1753
- # - "`products`"
1796
+ # local stores, not online stores, are supported. Acceptable values are: - "`
1797
+ # local products`" - "`product inventory`" - "`products`"
1754
1798
  # Corresponds to the JSON property `contentType`
1755
1799
  # @return [String]
1756
1800
  attr_accessor :content_type
@@ -1863,15 +1907,9 @@ module Google
1863
1907
  # @return [String]
1864
1908
  attr_accessor :username
1865
1909
 
1866
- # The day of the week the feed file should be fetched.
1867
- # Acceptable values are:
1868
- # - "`monday`"
1869
- # - "`tuesday`"
1870
- # - "`wednesday`"
1871
- # - "`thursday`"
1872
- # - "`friday`"
1873
- # - "`saturday`"
1874
- # - "`sunday`"
1910
+ # The day of the week the feed file should be fetched. Acceptable values are: - "
1911
+ # `monday`" - "`tuesday`" - "`wednesday`" - "`thursday`" - "`friday`" - "`
1912
+ # saturday`" - "`sunday`"
1875
1913
  # Corresponds to the JSON property `weekday`
1876
1914
  # @return [String]
1877
1915
  attr_accessor :weekday
@@ -1900,32 +1938,21 @@ module Google
1900
1938
 
1901
1939
  # Delimiter for the separation of values in a delimiter-separated values feed.
1902
1940
  # If not specified, the delimiter will be auto-detected. Ignored for non-DSV
1903
- # data feeds.
1904
- # Acceptable values are:
1905
- # - "`pipe`"
1906
- # - "`tab`"
1907
- # - "`tilde`"
1941
+ # data feeds. Acceptable values are: - "`pipe`" - "`tab`" - "`tilde`"
1908
1942
  # Corresponds to the JSON property `columnDelimiter`
1909
1943
  # @return [String]
1910
1944
  attr_accessor :column_delimiter
1911
1945
 
1912
1946
  # Character encoding scheme of the data feed. If not specified, the encoding
1913
- # will be auto-detected.
1914
- # Acceptable values are:
1915
- # - "`latin-1`"
1916
- # - "`utf-16be`"
1917
- # - "`utf-16le`"
1918
- # - "`utf-8`"
1919
- # - "`windows-1252`"
1947
+ # will be auto-detected. Acceptable values are: - "`latin-1`" - "`utf-16be`" - "`
1948
+ # utf-16le`" - "`utf-8`" - "`windows-1252`"
1920
1949
  # Corresponds to the JSON property `fileEncoding`
1921
1950
  # @return [String]
1922
1951
  attr_accessor :file_encoding
1923
1952
 
1924
1953
  # Specifies how double quotes are interpreted. If not specified, the mode will
1925
- # be auto-detected. Ignored for non-DSV data feeds.
1926
- # Acceptable values are:
1927
- # - "`normal character`"
1928
- # - "`value quoting`"
1954
+ # be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - "`
1955
+ # normal character`" - "`value quoting`"
1929
1956
  # Corresponds to the JSON property `quotingMode`
1930
1957
  # @return [String]
1931
1958
  attr_accessor :quoting_mode
@@ -1947,7 +1974,7 @@ module Google
1947
1974
  class DatafeedStatus
1948
1975
  include Google::Apis::Core::Hashable
1949
1976
 
1950
- # The country for which the status is reported, represented as a CLDR territory
1977
+ # The country for which the status is reported, represented as a CLDR territory
1951
1978
  # code.
1952
1979
  # Corresponds to the JSON property `country`
1953
1980
  # @return [String]
@@ -1989,12 +2016,10 @@ module Google
1989
2016
  # @return [String]
1990
2017
  attr_accessor :last_upload_date
1991
2018
 
1992
- # The processing status of the feed.
1993
- # Acceptable values are:
1994
- # - "`"`failure`": The feed could not be processed or all items had errors.`"
1995
- # - "`in progress`": The feed is being processed.
1996
- # - "`none`": The feed has not yet been processed. For example, a feed that has
1997
- # never been uploaded will have this processing status.
2019
+ # The processing status of the feed. Acceptable values are: - "`"`failure`": The
2020
+ # feed could not be processed or all items had errors.`" - "`in progress`": The
2021
+ # feed is being processed. - "`none`": The feed has not yet been processed. For
2022
+ # example, a feed that has never been uploaded will have this processing status.
1998
2023
  # - "`success`": The feed was processed successfully, though some items might
1999
2024
  # have had errors.
2000
2025
  # Corresponds to the JSON property `processingStatus`
@@ -2098,7 +2123,7 @@ module Google
2098
2123
  include Google::Apis::Core::Hashable
2099
2124
 
2100
2125
  # The country where the items in the feed will be included in the search index,
2101
- # represented as a CLDR territory code.
2126
+ # represented as a CLDR territory code.
2102
2127
  # Corresponds to the JSON property `country`
2103
2128
  # @return [String]
2104
2129
  attr_accessor :country
@@ -2111,12 +2136,9 @@ module Google
2111
2136
 
2112
2137
  # The list of destinations to include for this target (corresponds to checked
2113
2138
  # check boxes in Merchant Center). Default destinations are always included
2114
- # unless provided in `excludedDestinations`.
2115
- # List of supported destinations (if available to the account):
2116
- # - DisplayAds
2117
- # - Shopping
2118
- # - ShoppingActions
2119
- # - SurfacesAcrossGoogle
2139
+ # unless provided in `excludedDestinations`. List of supported destinations (if
2140
+ # available to the account): - DisplayAds - Shopping - ShoppingActions -
2141
+ # SurfacesAcrossGoogle
2120
2142
  # Corresponds to the JSON property `includedDestinations`
2121
2143
  # @return [Array<String>]
2122
2144
  attr_accessor :included_destinations
@@ -2183,13 +2205,8 @@ module Google
2183
2205
  # @return [Fixnum]
2184
2206
  attr_accessor :merchant_id
2185
2207
 
2186
- # The method of the batch entry.
2187
- # Acceptable values are:
2188
- # - "`delete`"
2189
- # - "`fetchNow`"
2190
- # - "`get`"
2191
- # - "`insert`"
2192
- # - "`update`"
2208
+ # The method of the batch entry. Acceptable values are: - "`delete`" - "`
2209
+ # fetchNow`" - "`get`" - "`insert`" - "`update`"
2193
2210
  # Corresponds to the JSON property `method`
2194
2211
  # @return [String]
2195
2212
  attr_accessor :method_prop
@@ -2369,9 +2386,7 @@ module Google
2369
2386
  # @return [Fixnum]
2370
2387
  attr_accessor :merchant_id
2371
2388
 
2372
- # The method of the batch entry.
2373
- # Acceptable values are:
2374
- # - "`get`"
2389
+ # The method of the batch entry. Acceptable values are: - "`get`"
2375
2390
  # Corresponds to the JSON property `method`
2376
2391
  # @return [String]
2377
2392
  attr_accessor :method_prop
@@ -2481,6 +2496,91 @@ module Google
2481
2496
  end
2482
2497
  end
2483
2498
 
2499
+ # Represents civil time (or occasionally physical time). This type can represent
2500
+ # a civil time in one of a few possible ways: * When utc_offset is set and
2501
+ # time_zone is unset: a civil time on a calendar day with a particular offset
2502
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
2503
+ # calendar day in a particular time zone. * When neither time_zone nor
2504
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
2505
+ # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
2506
+ # considered not to have a specific year. month and day must have valid, non-
2507
+ # zero values. This type may also be used to represent a physical time if all
2508
+ # the date and time fields are set and either case of the `time_offset` oneof is
2509
+ # set. Consider using `Timestamp` message for physical time instead. If your use
2510
+ # case also would like to store the user's timezone, that can be done in another
2511
+ # field. This type is more flexible than some applications may want. Make sure
2512
+ # to document and validate your application's limitations.
2513
+ class DateTime
2514
+ include Google::Apis::Core::Hashable
2515
+
2516
+ # Required. Day of month. Must be from 1 to 31 and valid for the year and month.
2517
+ # Corresponds to the JSON property `day`
2518
+ # @return [Fixnum]
2519
+ attr_accessor :day
2520
+
2521
+ # Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may
2522
+ # choose to allow the value "24:00:00" for scenarios like business closing time.
2523
+ # Corresponds to the JSON property `hours`
2524
+ # @return [Fixnum]
2525
+ attr_accessor :hours
2526
+
2527
+ # Required. Minutes of hour of day. Must be from 0 to 59.
2528
+ # Corresponds to the JSON property `minutes`
2529
+ # @return [Fixnum]
2530
+ attr_accessor :minutes
2531
+
2532
+ # Required. Month of year. Must be from 1 to 12.
2533
+ # Corresponds to the JSON property `month`
2534
+ # @return [Fixnum]
2535
+ attr_accessor :month
2536
+
2537
+ # Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2538
+ # Corresponds to the JSON property `nanos`
2539
+ # @return [Fixnum]
2540
+ attr_accessor :nanos
2541
+
2542
+ # Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
2543
+ # API may allow the value 60 if it allows leap-seconds.
2544
+ # Corresponds to the JSON property `seconds`
2545
+ # @return [Fixnum]
2546
+ attr_accessor :seconds
2547
+
2548
+ # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
2549
+ # time-zones).
2550
+ # Corresponds to the JSON property `timeZone`
2551
+ # @return [Google::Apis::ContentV2_1::TimeZone]
2552
+ attr_accessor :time_zone
2553
+
2554
+ # UTC offset. Must be whole seconds, between -18 hours and +18 hours. For
2555
+ # example, a UTC offset of -4:00 would be represented as ` seconds: -14400 `.
2556
+ # Corresponds to the JSON property `utcOffset`
2557
+ # @return [String]
2558
+ attr_accessor :utc_offset
2559
+
2560
+ # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime
2561
+ # without a year.
2562
+ # Corresponds to the JSON property `year`
2563
+ # @return [Fixnum]
2564
+ attr_accessor :year
2565
+
2566
+ def initialize(**args)
2567
+ update!(**args)
2568
+ end
2569
+
2570
+ # Update properties of this object
2571
+ def update!(**args)
2572
+ @day = args[:day] if args.key?(:day)
2573
+ @hours = args[:hours] if args.key?(:hours)
2574
+ @minutes = args[:minutes] if args.key?(:minutes)
2575
+ @month = args[:month] if args.key?(:month)
2576
+ @nanos = args[:nanos] if args.key?(:nanos)
2577
+ @seconds = args[:seconds] if args.key?(:seconds)
2578
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
2579
+ @utc_offset = args[:utc_offset] if args.key?(:utc_offset)
2580
+ @year = args[:year] if args.key?(:year)
2581
+ end
2582
+ end
2583
+
2484
2584
  #
2485
2585
  class DeliveryTime
2486
2586
  include Google::Apis::Core::Hashable
@@ -2698,8 +2798,8 @@ module Google
2698
2798
 
2699
2799
  # A list of inclusive number of items upper bounds. The last value can be `"
2700
2800
  # infinity"`. For example `["10", "50", "infinity"]` represents the headers "<=
2701
- # 10 items", " 50 items". Must be non-empty. Can only be set if all other fields
2702
- # are not set.
2801
+ # 10 items", "<= 50 items", and "> 50 items". Must be non-empty. Can only be set
2802
+ # if all other fields are not set.
2703
2803
  # Corresponds to the JSON property `numberOfItems`
2704
2804
  # @return [Array<String>]
2705
2805
  attr_accessor :number_of_items
@@ -2715,8 +2815,9 @@ module Google
2715
2815
  # A list of inclusive order price upper bounds. The last price's value can be `"
2716
2816
  # infinity"`. For example `[`"value": "10", "currency": "USD"`, `"value": "500",
2717
2817
  # "currency": "USD"`, `"value": "infinity", "currency": "USD"`]` represents the
2718
- # headers "<= $10", " $500". All prices within a service must have the same
2719
- # currency. Must be non-empty. Can only be set if all other fields are not set.
2818
+ # headers "<= $10", "<= $500", and "> $500". All prices within a service must
2819
+ # have the same currency. Must be non-empty. Can only be set if all other fields
2820
+ # are not set.
2720
2821
  # Corresponds to the JSON property `prices`
2721
2822
  # @return [Array<Google::Apis::ContentV2_1::Price>]
2722
2823
  attr_accessor :prices
@@ -2724,8 +2825,8 @@ module Google
2724
2825
  # A list of inclusive order weight upper bounds. The last weight's value can be `
2725
2826
  # "infinity"`. For example `[`"value": "10", "unit": "kg"`, `"value": "50", "
2726
2827
  # unit": "kg"`, `"value": "infinity", "unit": "kg"`]` represents the headers "<=
2727
- # 10kg", " 50kg". All weights within a service must have the same unit. Must be
2728
- # non-empty. Can only be set if all other fields are not set.
2828
+ # 10kg", "<= 50kg", and "> 50kg". All weights within a service must have the
2829
+ # same unit. Must be non-empty. Can only be set if all other fields are not set.
2729
2830
  # Corresponds to the JSON property `weights`
2730
2831
  # @return [Array<Google::Apis::ContentV2_1::Weight>]
2731
2832
  attr_accessor :weights
@@ -2762,7 +2863,7 @@ module Google
2762
2863
  attr_accessor :deadline_hour
2763
2864
 
2764
2865
  # Timezone identifier for the deadline hour. A list of identifiers can be found
2765
- # in the AdWords API documentation. E.g. "Europe/Zurich". Required.
2866
+ # in the AdWords API documentation. E.g. "Europe/Zurich". Required.
2766
2867
  # Corresponds to the JSON property `deadlineTimezone`
2767
2868
  # @return [String]
2768
2869
  attr_accessor :deadline_timezone
@@ -2828,16 +2929,9 @@ module Google
2828
2929
  # @return [String]
2829
2930
  attr_accessor :id
2830
2931
 
2831
- # The holiday type. Always present.
2832
- # Acceptable values are:
2833
- # - "`Christmas`"
2834
- # - "`Easter`"
2835
- # - "`Father's Day`"
2836
- # - "`Halloween`"
2837
- # - "`Independence Day (USA)`"
2838
- # - "`Mother's Day`"
2839
- # - "`Thanksgiving`"
2840
- # - "`Valentine's Day`"
2932
+ # The holiday type. Always present. Acceptable values are: - "`Christmas`" - "`
2933
+ # Easter`" - "`Father's Day`" - "`Halloween`" - "`Independence Day (USA)`" - "`
2934
+ # Mother's Day`" - "`Thanksgiving`" - "`Valentine's Day`"
2841
2935
  # Corresponds to the JSON property `type`
2842
2936
  # @return [String]
2843
2937
  attr_accessor :type
@@ -2916,9 +3010,8 @@ module Google
2916
3010
  # @return [Google::Apis::ContentV2_1::Amount]
2917
3011
  attr_accessor :total_amount
2918
3012
 
2919
- # [required] Type of the additional charge.
2920
- # Acceptable values are:
2921
- # - "`shipping`"
3013
+ # [required] Type of the additional charge. Acceptable values are: - "`shipping`"
3014
+ #
2922
3015
  # Corresponds to the JSON property `type`
2923
3016
  # @return [String]
2924
3017
  attr_accessor :type
@@ -2934,15 +3027,31 @@ module Google
2934
3027
  end
2935
3028
  end
2936
3029
 
3030
+ # The IDs of labels that should be assigned to the CSS domain.
3031
+ class LabelIds
3032
+ include Google::Apis::Core::Hashable
3033
+
3034
+ # The list of label IDs.
3035
+ # Corresponds to the JSON property `labelIds`
3036
+ # @return [Array<Fixnum>]
3037
+ attr_accessor :label_ids
3038
+
3039
+ def initialize(**args)
3040
+ update!(**args)
3041
+ end
3042
+
3043
+ # Update properties of this object
3044
+ def update!(**args)
3045
+ @label_ids = args[:label_ids] if args.key?(:label_ids)
3046
+ end
3047
+ end
3048
+
2937
3049
  #
2938
3050
  class LiaAboutPageSettings
2939
3051
  include Google::Apis::Core::Hashable
2940
3052
 
2941
- # The status of the verification process for the About page.
2942
- # Acceptable values are:
2943
- # - "`active`"
2944
- # - "`inactive`"
2945
- # - "`pending`"
3053
+ # The status of the verification process for the About page. Acceptable values
3054
+ # are: - "`active`" - "`inactive`" - "`pending`"
2946
3055
  # Corresponds to the JSON property `status`
2947
3056
  # @return [String]
2948
3057
  attr_accessor :status
@@ -3034,20 +3143,14 @@ module Google
3034
3143
  # @return [String]
3035
3144
  attr_accessor :inventory_verification_contact_name
3036
3145
 
3037
- # The status of the verification contact.
3038
- # Acceptable values are:
3039
- # - "`active`"
3040
- # - "`inactive`"
3041
- # - "`pending`"
3146
+ # The status of the verification contact. Acceptable values are: - "`active`" - "
3147
+ # `inactive`" - "`pending`"
3042
3148
  # Corresponds to the JSON property `inventoryVerificationContactStatus`
3043
3149
  # @return [String]
3044
3150
  attr_accessor :inventory_verification_contact_status
3045
3151
 
3046
- # The status of the inventory verification process.
3047
- # Acceptable values are:
3048
- # - "`active`"
3049
- # - "`inactive`"
3050
- # - "`pending`"
3152
+ # The status of the inventory verification process. Acceptable values are: - "`
3153
+ # active`" - "`inactive`" - "`pending`"
3051
3154
  # Corresponds to the JSON property `status`
3052
3155
  # @return [String]
3053
3156
  attr_accessor :status
@@ -3074,11 +3177,8 @@ module Google
3074
3177
  # @return [String]
3075
3178
  attr_accessor :shipping_cost_policy_url
3076
3179
 
3077
- # The status of the ?On display to order? feature.
3078
- # Acceptable values are:
3079
- # - "`active`"
3080
- # - "`inactive`"
3081
- # - "`pending`"
3180
+ # The status of the ?On display to order? feature. Acceptable values are: - "`
3181
+ # active`" - "`inactive`" - "`pending`"
3082
3182
  # Corresponds to the JSON property `status`
3083
3183
  # @return [String]
3084
3184
  attr_accessor :status
@@ -3219,14 +3319,10 @@ module Google
3219
3319
  # @return [Fixnum]
3220
3320
  attr_accessor :merchant_id
3221
3321
 
3222
- # The method of the batch entry.
3223
- # Acceptable values are:
3224
- # - "`get`"
3225
- # - "`getAccessibleGmbAccounts`"
3226
- # - "`requestGmbAccess`"
3227
- # - "`requestInventoryVerification`"
3228
- # - "`setInventoryVerificationContact`"
3229
- # - "`update`"
3322
+ # The method of the batch entry. Acceptable values are: - "`get`" - "`
3323
+ # getAccessibleGmbAccounts`" - "`requestGmbAccess`" - "`
3324
+ # requestInventoryVerification`" - "`setInventoryVerificationContact`" - "`
3325
+ # update`"
3230
3326
  # Corresponds to the JSON property `method`
3231
3327
  # @return [String]
3232
3328
  attr_accessor :method_prop
@@ -3512,20 +3608,15 @@ module Google
3512
3608
  class LinkService
3513
3609
  include Google::Apis::Core::Hashable
3514
3610
 
3515
- # Service provided to or by the linked account.
3516
- # Acceptable values are:
3517
- # - "`shoppingActionsOrderManagement`"
3518
- # - "`shoppingActionsProductManagement`"
3519
- # - "`shoppingAdsProductManagement`"
3611
+ # Service provided to or by the linked account. Acceptable values are: - "`
3612
+ # shoppingActionsOrderManagement`" - "`shoppingActionsProductManagement`" - "`
3613
+ # shoppingAdsProductManagement`"
3520
3614
  # Corresponds to the JSON property `service`
3521
3615
  # @return [String]
3522
3616
  attr_accessor :service
3523
3617
 
3524
- # Status of the link
3525
- # Acceptable values are:
3526
- # - "`active`"
3527
- # - "`inactive`"
3528
- # - "`pending`"
3618
+ # Status of the link Acceptable values are: - "`active`" - "`inactive`" - "`
3619
+ # pending`"
3529
3620
  # Corresponds to the JSON property `status`
3530
3621
  # @return [String]
3531
3622
  attr_accessor :status
@@ -3566,6 +3657,110 @@ module Google
3566
3657
  end
3567
3658
  end
3568
3659
 
3660
+ # Response message for the `ListAccountLabels` method.
3661
+ class ListAccountLabelsResponse
3662
+ include Google::Apis::Core::Hashable
3663
+
3664
+ # The labels from the specified account.
3665
+ # Corresponds to the JSON property `accountLabels`
3666
+ # @return [Array<Google::Apis::ContentV2_1::AccountLabel>]
3667
+ attr_accessor :account_labels
3668
+
3669
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
3670
+ # field is omitted, there are no subsequent pages.
3671
+ # Corresponds to the JSON property `nextPageToken`
3672
+ # @return [String]
3673
+ attr_accessor :next_page_token
3674
+
3675
+ def initialize(**args)
3676
+ update!(**args)
3677
+ end
3678
+
3679
+ # Update properties of this object
3680
+ def update!(**args)
3681
+ @account_labels = args[:account_labels] if args.key?(:account_labels)
3682
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3683
+ end
3684
+ end
3685
+
3686
+ # The response message for the `ListCsses` method
3687
+ class ListCssesResponse
3688
+ include Google::Apis::Core::Hashable
3689
+
3690
+ # The CSS domains affiliated with the specified CSS group.
3691
+ # Corresponds to the JSON property `csses`
3692
+ # @return [Array<Google::Apis::ContentV2_1::Css>]
3693
+ attr_accessor :csses
3694
+
3695
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
3696
+ # field is omitted, there are no subsequent pages.
3697
+ # Corresponds to the JSON property `nextPageToken`
3698
+ # @return [String]
3699
+ attr_accessor :next_page_token
3700
+
3701
+ def initialize(**args)
3702
+ update!(**args)
3703
+ end
3704
+
3705
+ # Update properties of this object
3706
+ def update!(**args)
3707
+ @csses = args[:csses] if args.key?(:csses)
3708
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3709
+ end
3710
+ end
3711
+
3712
+ # Response message for the `ListRegions` method.
3713
+ class ListRegionsResponse
3714
+ include Google::Apis::Core::Hashable
3715
+
3716
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
3717
+ # field is omitted, there are no subsequent pages.
3718
+ # Corresponds to the JSON property `nextPageToken`
3719
+ # @return [String]
3720
+ attr_accessor :next_page_token
3721
+
3722
+ # The regions from the specified merchant.
3723
+ # Corresponds to the JSON property `regions`
3724
+ # @return [Array<Google::Apis::ContentV2_1::Region>]
3725
+ attr_accessor :regions
3726
+
3727
+ def initialize(**args)
3728
+ update!(**args)
3729
+ end
3730
+
3731
+ # Update properties of this object
3732
+ def update!(**args)
3733
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3734
+ @regions = args[:regions] if args.key?(:regions)
3735
+ end
3736
+ end
3737
+
3738
+ # Response message for the `ListRepricingRules` method.
3739
+ class ListRepricingRulesResponse
3740
+ include Google::Apis::Core::Hashable
3741
+
3742
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
3743
+ # field is omitted, there are no subsequent pages.
3744
+ # Corresponds to the JSON property `nextPageToken`
3745
+ # @return [String]
3746
+ attr_accessor :next_page_token
3747
+
3748
+ # The rules from the specified merchant.
3749
+ # Corresponds to the JSON property `repricingRules`
3750
+ # @return [Array<Google::Apis::ContentV2_1::RepricingRule>]
3751
+ attr_accessor :repricing_rules
3752
+
3753
+ def initialize(**args)
3754
+ update!(**args)
3755
+ end
3756
+
3757
+ # Update properties of this object
3758
+ def update!(**args)
3759
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3760
+ @repricing_rules = args[:repricing_rules] if args.key?(:repricing_rules)
3761
+ end
3762
+ end
3763
+
3569
3764
  # Local inventory resource. For accepted attribute values, see the local product
3570
3765
  # inventory feed specification.
3571
3766
  class LocalInventory
@@ -3590,7 +3785,7 @@ module Google
3590
3785
 
3591
3786
  # Supported pickup method for this offer. Unless the value is "not supported",
3592
3787
  # this field must be submitted together with `pickupSla`. For accepted attribute
3593
- # values, see the local product inventory feed specification.
3788
+ # values, see the local product inventory feed // specification.
3594
3789
  # Corresponds to the JSON property `pickupMethod`
3595
3790
  # @return [String]
3596
3791
  attr_accessor :pickup_method
@@ -3686,9 +3881,7 @@ module Google
3686
3881
  # @return [Fixnum]
3687
3882
  attr_accessor :merchant_id
3688
3883
 
3689
- # Method of the batch request entry.
3690
- # Acceptable values are:
3691
- # - "`insert`"
3884
+ # Method of the batch request entry. Acceptable values are: - "`insert`"
3692
3885
  # Corresponds to the JSON property `method`
3693
3886
  # @return [String]
3694
3887
  attr_accessor :method_prop
@@ -3936,13 +4129,8 @@ module Google
3936
4129
  # @return [String]
3937
4130
  attr_accessor :shipment_unit_id
3938
4131
 
3939
- # State of the item.
3940
- # Acceptable values are:
3941
- # - "`canceled`"
3942
- # - "`new`"
3943
- # - "`received`"
3944
- # - "`refunded`"
3945
- # - "`rejected`"
4132
+ # State of the item. Acceptable values are: - "`canceled`" - "`new`" - "`
4133
+ # received`" - "`refunded`" - "`rejected`"
3946
4134
  # Corresponds to the JSON property `state`
3947
4135
  # @return [String]
3948
4136
  attr_accessor :state
@@ -4069,8 +4257,7 @@ module Google
4069
4257
  end
4070
4258
 
4071
4259
  # Order. Production access (all methods) requires the order manager role.
4072
- # Sandbox access does not. (== resource_for v2.orders ==) (== resource_for v2.1.
4073
- # orders ==)
4260
+ # Sandbox access does not.
4074
4261
  class Order
4075
4262
  include Google::Apis::Core::Hashable
4076
4263
 
@@ -4140,12 +4327,8 @@ module Google
4140
4327
  # @return [Google::Apis::ContentV2_1::Price]
4141
4328
  attr_accessor :net_tax_amount
4142
4329
 
4143
- # The status of the payment.
4144
- # Acceptable values are:
4145
- # - "`paymentCaptured`"
4146
- # - "`paymentRejected`"
4147
- # - "`paymentSecured`"
4148
- # - "`pendingAuthorization`"
4330
+ # The status of the payment. Acceptable values are: - "`paymentCaptured`" - "`
4331
+ # paymentRejected`" - "`paymentSecured`" - "`pendingAuthorization`"
4149
4332
  # Corresponds to the JSON property `paymentStatus`
4150
4333
  # @return [String]
4151
4334
  attr_accessor :payment_status
@@ -4160,25 +4343,22 @@ module Google
4160
4343
  # @return [String]
4161
4344
  attr_accessor :placed_date
4162
4345
 
4163
- # Promotions associated with the order.
4164
- # To determine which promotions apply to which products, check the `Promotions[].
4165
- # appliedItems[].lineItemId` field against the `LineItems[].id` field for each
4166
- # promotion. If a promotion is applied to more than 1 offerId, divide the
4167
- # discount value by the number of affected offers to determine how much discount
4168
- # to apply to each offerId.
4169
- # Examples:
4170
- # - To calculate price paid by the customer for a single line item including the
4171
- # discount: For each promotion, subtract the `LineItems[].adjustments[].
4172
- # priceAdjustment.value` amount from the `LineItems[].Price.value`.
4173
- # - To calculate price paid by the customer for a single line item including the
4174
- # discount in case of multiple quantity: For each promotion, divide the `
4346
+ # Promotions associated with the order. To determine which promotions apply to
4347
+ # which products, check the `Promotions[].appliedItems[].lineItemId` field
4348
+ # against the `LineItems[].id` field for each promotion. If a promotion is
4349
+ # applied to more than 1 offerId, divide the discount value by the number of
4350
+ # affected offers to determine how much discount to apply to each offerId.
4351
+ # Examples: 1. To calculate price paid by the customer for a single line item
4352
+ # including the discount: For each promotion, subtract the `LineItems[].
4353
+ # adjustments[].priceAdjustment.value` amount from the `LineItems[].Price.value`.
4354
+ # 2. To calculate price paid by the customer for a single line item including
4355
+ # the discount in case of multiple quantity: For each promotion, divide the `
4175
4356
  # LineItems[].adjustments[].priceAdjustment.value` by the quantity of products
4176
4357
  # then subtract the resulting value from the `LineItems[].Product.Price.value`
4177
- # for each quantity item.
4178
- # Only 1 promotion can be applied to an offerId in a given order. To refund an
4179
- # item which had a promotion applied to it, make sure to refund the amount after
4180
- # first subtracting the promotion discount from the item price.
4181
- # More details about the program are here.
4358
+ # for each quantity item. Only 1 promotion can be applied to an offerId in a
4359
+ # given order. To refund an item which had a promotion applied to it, make sure
4360
+ # to refund the amount after first subtracting the promotion discount from the
4361
+ # item price. More details about the program are here.
4182
4362
  # Corresponds to the JSON property `promotions`
4183
4363
  # @return [Array<Google::Apis::ContentV2_1::OrderPromotion>]
4184
4364
  attr_accessor :promotions
@@ -4203,25 +4383,15 @@ module Google
4203
4383
  # @return [Google::Apis::ContentV2_1::Price]
4204
4384
  attr_accessor :shipping_cost_tax
4205
4385
 
4206
- # The status of the order.
4207
- # Acceptable values are:
4208
- # - "`canceled`"
4209
- # - "`delivered`"
4210
- # - "`inProgress`"
4211
- # - "`partiallyDelivered`"
4212
- # - "`partiallyReturned`"
4213
- # - "`partiallyShipped`"
4214
- # - "`pendingShipment`"
4215
- # - "`returned`"
4216
- # - "`shipped`"
4386
+ # The status of the order. Acceptable values are: - "`canceled`" - "`delivered`"
4387
+ # - "`inProgress`" - "`partiallyDelivered`" - "`partiallyReturned`" - "`
4388
+ # partiallyShipped`" - "`pendingShipment`" - "`returned`" - "`shipped`"
4217
4389
  # Corresponds to the JSON property `status`
4218
4390
  # @return [String]
4219
4391
  attr_accessor :status
4220
4392
 
4221
- # The party responsible for collecting and remitting taxes.
4222
- # Acceptable values are:
4223
- # - "`marketplaceFacilitator`"
4224
- # - "`merchant`"
4393
+ # The party responsible for collecting and remitting taxes. Acceptable values
4394
+ # are: - "`marketplaceFacilitator`" - "`merchant`"
4225
4395
  # Corresponds to the JSON property `taxCollector`
4226
4396
  # @return [String]
4227
4397
  attr_accessor :tax_collector
@@ -4267,11 +4437,8 @@ module Google
4267
4437
  attr_accessor :country
4268
4438
 
4269
4439
  # Strings representing the lines of the printed label for mailing the order, for
4270
- # example:
4271
- # John Smith
4272
- # 1600 Amphitheatre Parkway
4273
- # Mountain View, CA, 94043
4274
- # United States
4440
+ # example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United
4441
+ # States
4275
4442
  # Corresponds to the JSON property `fullAddress`
4276
4443
  # @return [Array<String>]
4277
4444
  attr_accessor :full_address
@@ -4330,14 +4497,9 @@ module Google
4330
4497
  class OrderCancellation
4331
4498
  include Google::Apis::Core::Hashable
4332
4499
 
4333
- # The actor that created the cancellation.
4334
- # Acceptable values are:
4335
- # - "`customer`"
4336
- # - "`googleBot`"
4337
- # - "`googleCustomerService`"
4338
- # - "`googlePayments`"
4339
- # - "`googleSabre`"
4340
- # - "`merchant`"
4500
+ # The actor that created the cancellation. Acceptable values are: - "`customer`"
4501
+ # - "`googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`
4502
+ # googleSabre`" - "`merchant`"
4341
4503
  # Corresponds to the JSON property `actor`
4342
4504
  # @return [String]
4343
4505
  attr_accessor :actor
@@ -4353,37 +4515,20 @@ module Google
4353
4515
  attr_accessor :quantity
4354
4516
 
4355
4517
  # The reason for the cancellation. Orders that are canceled with a noInventory
4356
- # reason will lead to the removal of the product from Shopping Actions until you
4518
+ # reason will lead to the removal of the product from Buy on Google until you
4357
4519
  # make an update to that product. This will not affect your Shopping ads.
4358
- # Acceptable values are:
4359
- # - "`autoPostInternal`"
4360
- # - "`autoPostInvalidBillingAddress`"
4361
- # - "`autoPostNoInventory`"
4362
- # - "`autoPostPriceError`"
4363
- # - "`autoPostUndeliverableShippingAddress`"
4364
- # - "`couponAbuse`"
4365
- # - "`customerCanceled`"
4366
- # - "`customerInitiatedCancel`"
4367
- # - "`customerSupportRequested`"
4368
- # - "`failToPushOrderGoogleError`"
4369
- # - "`failToPushOrderMerchantError`"
4370
- # - "`failToPushOrderMerchantFulfillmentError`"
4371
- # - "`failToPushOrderToMerchant`"
4372
- # - "`failToPushOrderToMerchantOutOfStock`"
4373
- # - "`invalidCoupon`"
4374
- # - "`malformedShippingAddress`"
4375
- # - "`merchantDidNotShipOnTime`"
4376
- # - "`noInventory`"
4377
- # - "`orderTimeout`"
4378
- # - "`other`"
4379
- # - "`paymentAbuse`"
4380
- # - "`paymentDeclined`"
4381
- # - "`priceError`"
4382
- # - "`returnRefundAbuse`"
4383
- # - "`shippingPriceError`"
4384
- # - "`taxError`"
4385
- # - "`undeliverableShippingAddress`"
4386
- # - "`unsupportedPoBoxAddress`"
4520
+ # Acceptable values are: - "`autoPostInternal`" - "`
4521
+ # autoPostInvalidBillingAddress`" - "`autoPostNoInventory`" - "`
4522
+ # autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
4523
+ # couponAbuse`" - "`customerCanceled`" - "`customerInitiatedCancel`" - "`
4524
+ # customerSupportRequested`" - "`failToPushOrderGoogleError`" - "`
4525
+ # failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
4526
+ # "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
4527
+ # invalidCoupon`" - "`malformedShippingAddress`" - "`merchantDidNotShipOnTime`" -
4528
+ # "`noInventory`" - "`orderTimeout`" - "`other`" - "`paymentAbuse`" - "`
4529
+ # paymentDeclined`" - "`priceError`" - "`returnRefundAbuse`" - "`
4530
+ # shippingPriceError`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
4531
+ # unsupportedPoBoxAddress`"
4387
4532
  # Corresponds to the JSON property `reason`
4388
4533
  # @return [String]
4389
4534
  attr_accessor :reason
@@ -4418,8 +4563,8 @@ module Google
4418
4563
 
4419
4564
  # Email address for the merchant to send value-added tax or invoice
4420
4565
  # documentation of the order. Only the last document sent is made available to
4421
- # the customer. For more information, see About automated VAT invoicing for
4422
- # Shopping Actions.
4566
+ # the customer. For more information, see About automated VAT invoicing for Buy
4567
+ # on Google.
4423
4568
  # Corresponds to the JSON property `invoiceReceivingEmail`
4424
4569
  # @return [String]
4425
4570
  attr_accessor :invoice_receiving_email
@@ -4483,10 +4628,8 @@ module Google
4483
4628
  # cases this selection might not be known, so this field would be empty. If a
4484
4629
  # customer selected `granted` in their most recent order, they can be subscribed
4485
4630
  # to marketing emails. Customers who have chosen `denied` must not be subscribed,
4486
- # or must be unsubscribed if already opted-in.
4487
- # Acceptable values are:
4488
- # - "`denied`"
4489
- # - "`granted`"
4631
+ # or must be unsubscribed if already opted-in. Acceptable values are: - "`
4632
+ # denied`" - "`granted`"
4490
4633
  # Corresponds to the JSON property `explicitMarketingPreference`
4491
4634
  # @return [String]
4492
4635
  attr_accessor :explicit_marketing_preference
@@ -4680,9 +4823,7 @@ module Google
4680
4823
  # @return [Google::Apis::ContentV2_1::Price]
4681
4824
  attr_accessor :tax_adjustment
4682
4825
 
4683
- # Type of this adjustment.
4684
- # Acceptable values are:
4685
- # - "`promotion`"
4826
+ # Type of this adjustment. Acceptable values are: - "`promotion`"
4686
4827
  # Corresponds to the JSON property `type`
4687
4828
  # @return [String]
4688
4829
  attr_accessor :type
@@ -4708,11 +4849,8 @@ module Google
4708
4849
  # @return [String]
4709
4850
  attr_accessor :brand
4710
4851
 
4711
- # Condition or state of the item.
4712
- # Acceptable values are:
4713
- # - "`new`"
4714
- # - "`refurbished`"
4715
- # - "`used`"
4852
+ # Condition or state of the item. Acceptable values are: - "`new`" - "`
4853
+ # refurbished`" - "`used`"
4716
4854
  # Corresponds to the JSON property `condition`
4717
4855
  # @return [String]
4718
4856
  attr_accessor :condition
@@ -4767,7 +4905,7 @@ module Google
4767
4905
  # @return [String]
4768
4906
  attr_accessor :shown_image
4769
4907
 
4770
- # The CLDR territory code of the target country of the product.
4908
+ # The CLDR territory // code of the target country of the product.
4771
4909
  # Corresponds to the JSON property `targetCountry`
4772
4910
  # @return [String]
4773
4911
  attr_accessor :target_country
@@ -4916,10 +5054,8 @@ module Google
4916
5054
  attr_accessor :ship_by_date
4917
5055
 
4918
5056
  # Type of shipment. Indicates whether `deliveryDetails` or `pickupDetails` is
4919
- # applicable for this shipment.
4920
- # Acceptable values are:
4921
- # - "`delivery`"
4922
- # - "`pickup`"
5057
+ # applicable for this shipment. Acceptable values are: - "`delivery`" - "`pickup`
5058
+ # "
4923
5059
  # Corresponds to the JSON property `type`
4924
5060
  # @return [String]
4925
5061
  attr_accessor :type
@@ -5049,13 +5185,9 @@ module Google
5049
5185
  # @return [String]
5050
5186
  attr_accessor :location_id
5051
5187
 
5052
- # The pickup type of this order.
5053
- # Acceptable values are:
5054
- # - "`merchantStore`"
5055
- # - "`merchantStoreCurbside`"
5056
- # - "`merchantStoreLocker`"
5057
- # - "`thirdPartyPickupPoint`"
5058
- # - "`thirdPartyLocker`"
5188
+ # The pickup type of this order. Acceptable values are: - "`merchantStore`" - "`
5189
+ # merchantStoreCurbside`" - "`merchantStoreLocker`" - "`thirdPartyPickupPoint`" -
5190
+ # "`thirdPartyLocker`"
5059
5191
  # Corresponds to the JSON property `pickupType`
5060
5192
  # @return [String]
5061
5193
  attr_accessor :pickup_type
@@ -5123,10 +5255,7 @@ module Google
5123
5255
  attr_accessor :end_time
5124
5256
 
5125
5257
  # Required. The party funding the promotion. Only `merchant` is supported for `
5126
- # orders.createtestorder`.
5127
- # Acceptable values are:
5128
- # - "`google`"
5129
- # - "`merchant`"
5258
+ # orders.createtestorder`. Acceptable values are: - "`google`" - "`merchant`"
5130
5259
  # Corresponds to the JSON property `funder`
5131
5260
  # @return [String]
5132
5261
  attr_accessor :funder
@@ -5156,22 +5285,11 @@ module Google
5156
5285
  attr_accessor :start_time
5157
5286
 
5158
5287
  # Required. The category of the promotion. Only `moneyOff` is supported for `
5159
- # orders.createtestorder`.
5160
- # Acceptable values are:
5161
- # - "`buyMGetMoneyOff`"
5162
- # - "`buyMGetNMoneyOff`"
5163
- # - "`buyMGetNPercentOff`"
5164
- # - "`buyMGetPercentOff`"
5165
- # - "`freeGift`"
5166
- # - "`freeGiftWithItemId`"
5167
- # - "`freeGiftWithValue`"
5168
- # - "`freeShippingOvernight`"
5169
- # - "`freeShippingStandard`"
5170
- # - "`freeShippingTwoDay`"
5171
- # - "`moneyOff`"
5172
- # - "`percentOff`"
5173
- # - "`rewardPoints`"
5174
- # - "`salePrice`"
5288
+ # orders.createtestorder`. Acceptable values are: - "`buyMGetMoneyOff`" - "`
5289
+ # buyMGetNMoneyOff`" - "`buyMGetNPercentOff`" - "`buyMGetPercentOff`" - "`
5290
+ # freeGift`" - "`freeGiftWithItemId`" - "`freeGiftWithValue`" - "`
5291
+ # freeShippingOvernight`" - "`freeShippingStandard`" - "`freeShippingTwoDay`" - "
5292
+ # `moneyOff`" - "`percentOff`" - "`rewardPoints`" - "`salePrice`"
5175
5293
  # Corresponds to the JSON property `subtype`
5176
5294
  # @return [String]
5177
5295
  attr_accessor :subtype
@@ -5188,10 +5306,7 @@ module Google
5188
5306
  attr_accessor :title
5189
5307
 
5190
5308
  # Required. The scope of the promotion. Only `product` is supported for `orders.
5191
- # createtestorder`.
5192
- # Acceptable values are:
5193
- # - "`product`"
5194
- # - "`shipping`"
5309
+ # createtestorder`. Acceptable values are: - "`product`" - "`shipping`"
5195
5310
  # Corresponds to the JSON property `type`
5196
5311
  # @return [String]
5197
5312
  attr_accessor :type
@@ -5259,13 +5374,8 @@ module Google
5259
5374
  class OrderRefund
5260
5375
  include Google::Apis::Core::Hashable
5261
5376
 
5262
- # The actor that created the refund.
5263
- # Acceptable values are:
5264
- # - "`customer`"
5265
- # - "`googleBot`"
5266
- # - "`googleCustomerService`"
5267
- # - "`googlePayments`"
5268
- # - "`googleSabre`"
5377
+ # The actor that created the refund. Acceptable values are: - "`customer`" - "`
5378
+ # googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`googleSabre`"
5269
5379
  # - "`merchant`"
5270
5380
  # Corresponds to the JSON property `actor`
5271
5381
  # @return [String]
@@ -5281,52 +5391,23 @@ module Google
5281
5391
  # @return [String]
5282
5392
  attr_accessor :creation_date
5283
5393
 
5284
- # The reason for the refund.
5285
- # Acceptable values are:
5286
- # - "`adjustment`"
5287
- # - "`autoPostInternal`"
5288
- # - "`autoPostInvalidBillingAddress`"
5289
- # - "`autoPostNoInventory`"
5290
- # - "`autoPostPriceError`"
5291
- # - "`autoPostUndeliverableShippingAddress`"
5292
- # - "`couponAbuse`"
5293
- # - "`courtesyAdjustment`"
5294
- # - "`customerCanceled`"
5295
- # - "`customerDiscretionaryReturn`"
5296
- # - "`customerInitiatedMerchantCancel`"
5297
- # - "`customerSupportRequested`"
5298
- # - "`deliveredLateByCarrier`"
5299
- # - "`deliveredTooLate`"
5300
- # - "`expiredItem`"
5301
- # - "`failToPushOrderGoogleError`"
5302
- # - "`failToPushOrderMerchantError`"
5303
- # - "`failToPushOrderMerchantFulfillmentError`"
5304
- # - "`failToPushOrderToMerchant`"
5305
- # - "`failToPushOrderToMerchantOutOfStock`"
5306
- # - "`feeAdjustment`"
5307
- # - "`invalidCoupon`"
5308
- # - "`lateShipmentCredit`"
5309
- # - "`malformedShippingAddress`"
5310
- # - "`merchantDidNotShipOnTime`"
5311
- # - "`noInventory`"
5312
- # - "`orderTimeout`"
5313
- # - "`other`"
5314
- # - "`paymentAbuse`"
5315
- # - "`paymentDeclined`"
5316
- # - "`priceAdjustment`"
5317
- # - "`priceError`"
5318
- # - "`productArrivedDamaged`"
5319
- # - "`productNotAsDescribed`"
5320
- # - "`promoReallocation`"
5321
- # - "`qualityNotAsExpected`"
5322
- # - "`returnRefundAbuse`"
5323
- # - "`shippingCostAdjustment`"
5324
- # - "`shippingPriceError`"
5325
- # - "`taxAdjustment`"
5326
- # - "`taxError`"
5327
- # - "`undeliverableShippingAddress`"
5328
- # - "`unsupportedPoBoxAddress`"
5329
- # - "`wrongProductShipped`"
5394
+ # The reason for the refund. Acceptable values are: - "`adjustment`" - "`
5395
+ # autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
5396
+ # " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
5397
+ # couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
5398
+ # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
5399
+ # customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
5400
+ # - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
5401
+ # failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
5402
+ # "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
5403
+ # feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
5404
+ # malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
5405
+ # `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
5406
+ # priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
5407
+ # productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
5408
+ # returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
5409
+ # taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
5410
+ # unsupportedPoBoxAddress`" - "`wrongProductShipped`"
5330
5411
  # Corresponds to the JSON property `reason`
5331
5412
  # @return [String]
5332
5413
  attr_accessor :reason
@@ -5350,8 +5431,7 @@ module Google
5350
5431
  end
5351
5432
  end
5352
5433
 
5353
- # Order disbursement. All methods require the payment analyst role. (==
5354
- # resource_for v2.orderreports ==) (== resource_for v2.1.orderreports ==)
5434
+ # Order disbursement. All methods require the payment analyst role.
5355
5435
  class OrderReportDisbursement
5356
5436
  include Google::Apis::Core::Hashable
5357
5437
 
@@ -5465,13 +5545,8 @@ module Google
5465
5545
  class OrderReturn
5466
5546
  include Google::Apis::Core::Hashable
5467
5547
 
5468
- # The actor that created the refund.
5469
- # Acceptable values are:
5470
- # - "`customer`"
5471
- # - "`googleBot`"
5472
- # - "`googleCustomerService`"
5473
- # - "`googlePayments`"
5474
- # - "`googleSabre`"
5548
+ # The actor that created the refund. Acceptable values are: - "`customer`" - "`
5549
+ # googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`googleSabre`"
5475
5550
  # - "`merchant`"
5476
5551
  # Corresponds to the JSON property `actor`
5477
5552
  # @return [String]
@@ -5487,21 +5562,13 @@ module Google
5487
5562
  # @return [Fixnum]
5488
5563
  attr_accessor :quantity
5489
5564
 
5490
- # The reason for the return.
5491
- # Acceptable values are:
5492
- # - "`customerDiscretionaryReturn`"
5493
- # - "`customerInitiatedMerchantCancel`"
5494
- # - "`deliveredTooLate`"
5495
- # - "`expiredItem`"
5496
- # - "`invalidCoupon`"
5497
- # - "`malformedShippingAddress`"
5498
- # - "`other`"
5499
- # - "`productArrivedDamaged`"
5500
- # - "`productNotAsDescribed`"
5501
- # - "`qualityNotAsExpected`"
5502
- # - "`undeliverableShippingAddress`"
5503
- # - "`unsupportedPoBoxAddress`"
5504
- # - "`wrongProductShipped`"
5565
+ # The reason for the return. Acceptable values are: - "`
5566
+ # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
5567
+ # deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
5568
+ # malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
5569
+ # productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
5570
+ # undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
5571
+ # wrongProductShipped`"
5505
5572
  # Corresponds to the JSON property `reason`
5506
5573
  # @return [String]
5507
5574
  attr_accessor :reason
@@ -5529,59 +5596,33 @@ module Google
5529
5596
  class OrderShipment
5530
5597
  include Google::Apis::Core::Hashable
5531
5598
 
5532
- # The carrier handling the shipment.
5533
- # For supported carriers, Google includes the carrier name and tracking URL in
5534
- # emails to customers. For select supported carriers, Google also automatically
5535
- # updates the shipment status based on the provided shipment ID. Note: You can
5536
- # also use unsupported carriers, but emails to customers will not include the
5537
- # carrier name or tracking URL, and there will be no automatic order status
5538
- # updates.
5539
- # Supported carriers for US are:
5540
- # - "`ups`" (United Parcel Service) automatic status updates
5541
- # - "`usps`" (United States Postal Service) automatic status updates
5542
- # - "`fedex`" (FedEx) automatic status updates
5543
- # - "`dhl`" (DHL eCommerce) automatic status updates (US only)
5544
- # - "`ontrac`" (OnTrac) automatic status updates
5545
- # - "`dhl express`" (DHL Express)
5546
- # - "`deliv`" (Deliv)
5547
- # - "`dynamex`" (TForce)
5548
- # - "`lasership`" (LaserShip)
5549
- # - "`mpx`" (Military Parcel Xpress)
5550
- # - "`uds`" (United Delivery Service)
5551
- # - "`efw`" (Estes Forwarding Worldwide)
5552
- # - "`jd logistics`" (JD Logistics)
5553
- # - "`yunexpress`" (YunExpress)
5554
- # - "`china post`" (China Post)
5555
- # - "`china ems`" (China Post Express Mail Service)
5556
- # - "`singapore post`" (Singapore Post)
5557
- # - "`pos malaysia`" (Pos Malaysia)
5558
- # - "`postnl`" (PostNL)
5559
- # - "`ptt`" (PTT Turkish Post)
5560
- # - "`eub`" (ePacket)
5561
- # - "`chukou1`" (Chukou1 Logistics)
5562
- # - "`bestex`" (Best Express)
5563
- # - "`canada post`" (Canada Post)
5564
- # - "`purolator`" (Purolator)
5565
- # - "`canpar`" (Canpar)
5566
- # - "`india post`" (India Post)
5567
- # - "`blue dart`" (Blue Dart)
5568
- # - "`delhivery`" (Delhivery)
5569
- # - "`dtdc`" (DTDC)
5570
- # - "`tpc india`" (TPC India)
5571
- # Supported carriers for FR are:
5572
- # - "`la poste`" (La Poste) automatic status updates
5573
- # - "`colissimo`" (Colissimo by La Poste) automatic status updates
5574
- # - "`ups`" (United Parcel Service) automatic status updates
5575
- # - "`chronopost`" (Chronopost by La Poste)
5576
- # - "`gls`" (General Logistics Systems France)
5577
- # - "`dpd`" (DPD Group by GeoPost)
5578
- # - "`bpost`" (Belgian Post Group)
5579
- # - "`colis prive`" (Colis Privé)
5580
- # - "`boxtal`" (Boxtal)
5581
- # - "`geodis`" (GEODIS)
5582
- # - "`tnt`" (TNT)
5583
- # - "`db schenker`" (DB Schenker)
5584
- # - "`aramex`" (Aramex)
5599
+ # The carrier handling the shipment. For supported carriers, Google includes the
5600
+ # carrier name and tracking URL in emails to customers. For select supported
5601
+ # carriers, Google also automatically updates the shipment status based on the
5602
+ # provided shipment ID. *Note:* You can also use unsupported carriers, but
5603
+ # emails to customers will not include the carrier name or tracking URL, and
5604
+ # there will be no automatic order status updates. Supported carriers for US are:
5605
+ # - "`ups`" (United Parcel Service) *automatic status updates* - "`usps`" (
5606
+ # United States Postal Service) *automatic status updates* - "`fedex`" (FedEx) *
5607
+ # automatic status updates * - "`dhl`" (DHL eCommerce) *automatic status updates*
5608
+ # (US only) - "`ontrac`" (OnTrac) *automatic status updates * - "`dhl express`"
5609
+ # (DHL Express) - "`deliv`" (Deliv) - "`dynamex`" (TForce) - "`lasership`" (
5610
+ # LaserShip) - "`mpx`" (Military Parcel Xpress) - "`uds`" (United Delivery
5611
+ # Service) - "`efw`" (Estes Forwarding Worldwide) - "`jd logistics`" (JD
5612
+ # Logistics) - "`yunexpress`" (YunExpress) - "`china post`" (China Post) - "`
5613
+ # china ems`" (China Post Express Mail Service) - "`singapore post`" (Singapore
5614
+ # Post) - "`pos malaysia`" (Pos Malaysia) - "`postnl`" (PostNL) - "`ptt`" (PTT
5615
+ # Turkish Post) - "`eub`" (ePacket) - "`chukou1`" (Chukou1 Logistics) - "`bestex`
5616
+ # " (Best Express) - "`canada post`" (Canada Post) - "`purolator`" (Purolator) -
5617
+ # "`canpar`" (Canpar) - "`india post`" (India Post) - "`blue dart`" (Blue Dart) -
5618
+ # "`delhivery`" (Delhivery) - "`dtdc`" (DTDC) - "`tpc india`" (TPC India)
5619
+ # Supported carriers for FR are: - "`la poste`" (La Poste) *automatic status
5620
+ # updates * - "`colissimo`" (Colissimo by La Poste) *automatic status updates* -
5621
+ # "`ups`" (United Parcel Service) *automatic status updates * - "`chronopost`" (
5622
+ # Chronopost by La Poste) - "`gls`" (General Logistics Systems France) - "`dpd`"
5623
+ # (DPD Group by GeoPost) - "`bpost`" (Belgian Post Group) - "`colis prive`" (
5624
+ # Colis Privé) - "`boxtal`" (Boxtal) - "`geodis`" (GEODIS) - "`tnt`" (TNT) - "`
5625
+ # db schenker`" (DB Schenker) - "`aramex`" (Aramex)
5585
5626
  # Corresponds to the JSON property `carrier`
5586
5627
  # @return [String]
5587
5628
  attr_accessor :carrier
@@ -5617,12 +5658,8 @@ module Google
5617
5658
  # @return [String]
5618
5659
  attr_accessor :shipment_group_id
5619
5660
 
5620
- # The status of the shipment.
5621
- # Acceptable values are:
5622
- # - "`delivered`"
5623
- # - "`readyForPickup`"
5624
- # - "`shipped`"
5625
- # - "`undeliverable`"
5661
+ # The status of the shipment. Acceptable values are: - "`delivered`" - "`
5662
+ # readyForPickup`" - "`shipped`" - "`undeliverable`"
5626
5663
  # Corresponds to the JSON property `status`
5627
5664
  # @return [String]
5628
5665
  attr_accessor :status
@@ -5710,6 +5747,311 @@ module Google
5710
5747
  end
5711
5748
  end
5712
5749
 
5750
+ # Represents a merchant trade from which signals are extracted, e.g. shipping.
5751
+ class OrderTrackingSignal
5752
+ include Google::Apis::Core::Hashable
5753
+
5754
+ # The price represented as a number and currency.
5755
+ # Corresponds to the JSON property `customerShippingFee`
5756
+ # @return [Google::Apis::ContentV2_1::PriceAmount]
5757
+ attr_accessor :customer_shipping_fee
5758
+
5759
+ # Required. The delivery postal code, as a continuous string without spaces or
5760
+ # dashes, e.g. "95016".
5761
+ # Corresponds to the JSON property `deliveryPostalCode`
5762
+ # @return [String]
5763
+ attr_accessor :delivery_postal_code
5764
+
5765
+ # Required. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/
5766
+ # latest/common/main/en.xml) for the shipping destination.
5767
+ # Corresponds to the JSON property `deliveryRegionCode`
5768
+ # @return [String]
5769
+ attr_accessor :delivery_region_code
5770
+
5771
+ # Information about line items in the order.
5772
+ # Corresponds to the JSON property `lineItems`
5773
+ # @return [Array<Google::Apis::ContentV2_1::OrderTrackingSignalLineItemDetails>]
5774
+ attr_accessor :line_items
5775
+
5776
+ # The Google merchant ID of this order tracking signal. This value is optional.
5777
+ # If left unset, the caller's merchant ID is used. You must request access in
5778
+ # order to provide data on behalf of another merchant. For more information, see
5779
+ # [Submitting Order Tracking Signals](/shopping-content/guides/order-tracking-
5780
+ # signals).
5781
+ # Corresponds to the JSON property `merchantId`
5782
+ # @return [Fixnum]
5783
+ attr_accessor :merchant_id
5784
+
5785
+ # Represents civil time (or occasionally physical time). This type can represent
5786
+ # a civil time in one of a few possible ways: * When utc_offset is set and
5787
+ # time_zone is unset: a civil time on a calendar day with a particular offset
5788
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
5789
+ # calendar day in a particular time zone. * When neither time_zone nor
5790
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
5791
+ # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
5792
+ # considered not to have a specific year. month and day must have valid, non-
5793
+ # zero values. This type may also be used to represent a physical time if all
5794
+ # the date and time fields are set and either case of the `time_offset` oneof is
5795
+ # set. Consider using `Timestamp` message for physical time instead. If your use
5796
+ # case also would like to store the user's timezone, that can be done in another
5797
+ # field. This type is more flexible than some applications may want. Make sure
5798
+ # to document and validate your application's limitations.
5799
+ # Corresponds to the JSON property `orderCreatedTime`
5800
+ # @return [Google::Apis::ContentV2_1::DateTime]
5801
+ attr_accessor :order_created_time
5802
+
5803
+ # Required. The ID of the order on the merchant side.
5804
+ # Corresponds to the JSON property `orderId`
5805
+ # @return [String]
5806
+ attr_accessor :order_id
5807
+
5808
+ # Output only. The ID that uniquely identifies this order tracking signal.
5809
+ # Corresponds to the JSON property `orderTrackingSignalId`
5810
+ # @return [Fixnum]
5811
+ attr_accessor :order_tracking_signal_id
5812
+
5813
+ # The mapping of the line items to the shipment information.
5814
+ # Corresponds to the JSON property `shipmentLineItemMapping`
5815
+ # @return [Array<Google::Apis::ContentV2_1::OrderTrackingSignalShipmentLineItemMapping>]
5816
+ attr_accessor :shipment_line_item_mapping
5817
+
5818
+ # The shipping information for the order.
5819
+ # Corresponds to the JSON property `shippingInfo`
5820
+ # @return [Array<Google::Apis::ContentV2_1::OrderTrackingSignalShippingInfo>]
5821
+ attr_accessor :shipping_info
5822
+
5823
+ def initialize(**args)
5824
+ update!(**args)
5825
+ end
5826
+
5827
+ # Update properties of this object
5828
+ def update!(**args)
5829
+ @customer_shipping_fee = args[:customer_shipping_fee] if args.key?(:customer_shipping_fee)
5830
+ @delivery_postal_code = args[:delivery_postal_code] if args.key?(:delivery_postal_code)
5831
+ @delivery_region_code = args[:delivery_region_code] if args.key?(:delivery_region_code)
5832
+ @line_items = args[:line_items] if args.key?(:line_items)
5833
+ @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
5834
+ @order_created_time = args[:order_created_time] if args.key?(:order_created_time)
5835
+ @order_id = args[:order_id] if args.key?(:order_id)
5836
+ @order_tracking_signal_id = args[:order_tracking_signal_id] if args.key?(:order_tracking_signal_id)
5837
+ @shipment_line_item_mapping = args[:shipment_line_item_mapping] if args.key?(:shipment_line_item_mapping)
5838
+ @shipping_info = args[:shipping_info] if args.key?(:shipping_info)
5839
+ end
5840
+ end
5841
+
5842
+ # The line items of the order.
5843
+ class OrderTrackingSignalLineItemDetails
5844
+ include Google::Apis::Core::Hashable
5845
+
5846
+ # The Global Trade Item Number.
5847
+ # Corresponds to the JSON property `gtin`
5848
+ # @return [String]
5849
+ attr_accessor :gtin
5850
+
5851
+ # Required. The ID for this line item.
5852
+ # Corresponds to the JSON property `lineItemId`
5853
+ # @return [String]
5854
+ attr_accessor :line_item_id
5855
+
5856
+ # The manufacturer part number.
5857
+ # Corresponds to the JSON property `mpn`
5858
+ # @return [String]
5859
+ attr_accessor :mpn
5860
+
5861
+ # Required. The Content API REST ID of the product, in the form channel:
5862
+ # contentLanguage:targetCountry:offerId.
5863
+ # Corresponds to the JSON property `productId`
5864
+ # @return [String]
5865
+ attr_accessor :product_id
5866
+
5867
+ # Required. The quantity of the line item in the order.
5868
+ # Corresponds to the JSON property `quantity`
5869
+ # @return [Fixnum]
5870
+ attr_accessor :quantity
5871
+
5872
+ def initialize(**args)
5873
+ update!(**args)
5874
+ end
5875
+
5876
+ # Update properties of this object
5877
+ def update!(**args)
5878
+ @gtin = args[:gtin] if args.key?(:gtin)
5879
+ @line_item_id = args[:line_item_id] if args.key?(:line_item_id)
5880
+ @mpn = args[:mpn] if args.key?(:mpn)
5881
+ @product_id = args[:product_id] if args.key?(:product_id)
5882
+ @quantity = args[:quantity] if args.key?(:quantity)
5883
+ end
5884
+ end
5885
+
5886
+ # Represents how many items are in the shipment for the given shipment_id and
5887
+ # line_item_id.
5888
+ class OrderTrackingSignalShipmentLineItemMapping
5889
+ include Google::Apis::Core::Hashable
5890
+
5891
+ # Required. The line item ID.
5892
+ # Corresponds to the JSON property `lineItemId`
5893
+ # @return [String]
5894
+ attr_accessor :line_item_id
5895
+
5896
+ # Required. The line item quantity in the shipment.
5897
+ # Corresponds to the JSON property `quantity`
5898
+ # @return [Fixnum]
5899
+ attr_accessor :quantity
5900
+
5901
+ # Required. The shipment ID.
5902
+ # Corresponds to the JSON property `shipmentId`
5903
+ # @return [String]
5904
+ attr_accessor :shipment_id
5905
+
5906
+ def initialize(**args)
5907
+ update!(**args)
5908
+ end
5909
+
5910
+ # Update properties of this object
5911
+ def update!(**args)
5912
+ @line_item_id = args[:line_item_id] if args.key?(:line_item_id)
5913
+ @quantity = args[:quantity] if args.key?(:quantity)
5914
+ @shipment_id = args[:shipment_id] if args.key?(:shipment_id)
5915
+ end
5916
+ end
5917
+
5918
+ # The shipping information for the order.
5919
+ class OrderTrackingSignalShippingInfo
5920
+ include Google::Apis::Core::Hashable
5921
+
5922
+ # Represents civil time (or occasionally physical time). This type can represent
5923
+ # a civil time in one of a few possible ways: * When utc_offset is set and
5924
+ # time_zone is unset: a civil time on a calendar day with a particular offset
5925
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
5926
+ # calendar day in a particular time zone. * When neither time_zone nor
5927
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
5928
+ # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
5929
+ # considered not to have a specific year. month and day must have valid, non-
5930
+ # zero values. This type may also be used to represent a physical time if all
5931
+ # the date and time fields are set and either case of the `time_offset` oneof is
5932
+ # set. Consider using `Timestamp` message for physical time instead. If your use
5933
+ # case also would like to store the user's timezone, that can be done in another
5934
+ # field. This type is more flexible than some applications may want. Make sure
5935
+ # to document and validate your application's limitations.
5936
+ # Corresponds to the JSON property `actualDeliveryTime`
5937
+ # @return [Google::Apis::ContentV2_1::DateTime]
5938
+ attr_accessor :actual_delivery_time
5939
+
5940
+ # The name of the shipping carrier for the delivery. This field is required if
5941
+ # one of the following fields is absent: earliest_delivery_promise_time,
5942
+ # latest_delivery_promise_time, and actual_delivery_time.
5943
+ # Corresponds to the JSON property `carrierName`
5944
+ # @return [String]
5945
+ attr_accessor :carrier_name
5946
+
5947
+ # The service type for fulfillment, e.g., GROUND, FIRST_CLASS, etc.
5948
+ # Corresponds to the JSON property `carrierServiceName`
5949
+ # @return [String]
5950
+ attr_accessor :carrier_service_name
5951
+
5952
+ # Represents civil time (or occasionally physical time). This type can represent
5953
+ # a civil time in one of a few possible ways: * When utc_offset is set and
5954
+ # time_zone is unset: a civil time on a calendar day with a particular offset
5955
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
5956
+ # calendar day in a particular time zone. * When neither time_zone nor
5957
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
5958
+ # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
5959
+ # considered not to have a specific year. month and day must have valid, non-
5960
+ # zero values. This type may also be used to represent a physical time if all
5961
+ # the date and time fields are set and either case of the `time_offset` oneof is
5962
+ # set. Consider using `Timestamp` message for physical time instead. If your use
5963
+ # case also would like to store the user's timezone, that can be done in another
5964
+ # field. This type is more flexible than some applications may want. Make sure
5965
+ # to document and validate your application's limitations.
5966
+ # Corresponds to the JSON property `earliestDeliveryPromiseTime`
5967
+ # @return [Google::Apis::ContentV2_1::DateTime]
5968
+ attr_accessor :earliest_delivery_promise_time
5969
+
5970
+ # Represents civil time (or occasionally physical time). This type can represent
5971
+ # a civil time in one of a few possible ways: * When utc_offset is set and
5972
+ # time_zone is unset: a civil time on a calendar day with a particular offset
5973
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
5974
+ # calendar day in a particular time zone. * When neither time_zone nor
5975
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
5976
+ # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
5977
+ # considered not to have a specific year. month and day must have valid, non-
5978
+ # zero values. This type may also be used to represent a physical time if all
5979
+ # the date and time fields are set and either case of the `time_offset` oneof is
5980
+ # set. Consider using `Timestamp` message for physical time instead. If your use
5981
+ # case also would like to store the user's timezone, that can be done in another
5982
+ # field. This type is more flexible than some applications may want. Make sure
5983
+ # to document and validate your application's limitations.
5984
+ # Corresponds to the JSON property `latestDeliveryPromiseTime`
5985
+ # @return [Google::Apis::ContentV2_1::DateTime]
5986
+ attr_accessor :latest_delivery_promise_time
5987
+
5988
+ # The origin postal code, as a continuous string without spaces or dashes, e.g. "
5989
+ # 95016".
5990
+ # Corresponds to the JSON property `originPostalCode`
5991
+ # @return [String]
5992
+ attr_accessor :origin_postal_code
5993
+
5994
+ # The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/
5995
+ # common/main/en.xml) for the shipping origin.
5996
+ # Corresponds to the JSON property `originRegionCode`
5997
+ # @return [String]
5998
+ attr_accessor :origin_region_code
5999
+
6000
+ # Required. The shipment ID.
6001
+ # Corresponds to the JSON property `shipmentId`
6002
+ # @return [String]
6003
+ attr_accessor :shipment_id
6004
+
6005
+ # Represents civil time (or occasionally physical time). This type can represent
6006
+ # a civil time in one of a few possible ways: * When utc_offset is set and
6007
+ # time_zone is unset: a civil time on a calendar day with a particular offset
6008
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
6009
+ # calendar day in a particular time zone. * When neither time_zone nor
6010
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
6011
+ # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
6012
+ # considered not to have a specific year. month and day must have valid, non-
6013
+ # zero values. This type may also be used to represent a physical time if all
6014
+ # the date and time fields are set and either case of the `time_offset` oneof is
6015
+ # set. Consider using `Timestamp` message for physical time instead. If your use
6016
+ # case also would like to store the user's timezone, that can be done in another
6017
+ # field. This type is more flexible than some applications may want. Make sure
6018
+ # to document and validate your application's limitations.
6019
+ # Corresponds to the JSON property `shippedTime`
6020
+ # @return [Google::Apis::ContentV2_1::DateTime]
6021
+ attr_accessor :shipped_time
6022
+
6023
+ # The status of the shipment.
6024
+ # Corresponds to the JSON property `shippingStatus`
6025
+ # @return [String]
6026
+ attr_accessor :shipping_status
6027
+
6028
+ # The tracking ID of the shipment. This field is required if one of the
6029
+ # following fields is absent: earliest_delivery_promise_time,
6030
+ # latest_delivery_promise_time, and actual_delivery_time.
6031
+ # Corresponds to the JSON property `trackingId`
6032
+ # @return [String]
6033
+ attr_accessor :tracking_id
6034
+
6035
+ def initialize(**args)
6036
+ update!(**args)
6037
+ end
6038
+
6039
+ # Update properties of this object
6040
+ def update!(**args)
6041
+ @actual_delivery_time = args[:actual_delivery_time] if args.key?(:actual_delivery_time)
6042
+ @carrier_name = args[:carrier_name] if args.key?(:carrier_name)
6043
+ @carrier_service_name = args[:carrier_service_name] if args.key?(:carrier_service_name)
6044
+ @earliest_delivery_promise_time = args[:earliest_delivery_promise_time] if args.key?(:earliest_delivery_promise_time)
6045
+ @latest_delivery_promise_time = args[:latest_delivery_promise_time] if args.key?(:latest_delivery_promise_time)
6046
+ @origin_postal_code = args[:origin_postal_code] if args.key?(:origin_postal_code)
6047
+ @origin_region_code = args[:origin_region_code] if args.key?(:origin_region_code)
6048
+ @shipment_id = args[:shipment_id] if args.key?(:shipment_id)
6049
+ @shipped_time = args[:shipped_time] if args.key?(:shipped_time)
6050
+ @shipping_status = args[:shipping_status] if args.key?(:shipping_status)
6051
+ @tracking_id = args[:tracking_id] if args.key?(:tracking_id)
6052
+ end
6053
+ end
6054
+
5713
6055
  #
5714
6056
  class OrderinvoicesCreateChargeInvoiceRequest
5715
6057
  include Google::Apis::Core::Hashable
@@ -5760,10 +6102,8 @@ module Google
5760
6102
  class OrderinvoicesCreateChargeInvoiceResponse
5761
6103
  include Google::Apis::Core::Hashable
5762
6104
 
5763
- # The status of the execution.
5764
- # Acceptable values are:
5765
- # - "`duplicate`"
5766
- # - "`executed`"
6105
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
6106
+ # executed`"
5767
6107
  # Corresponds to the JSON property `executionStatus`
5768
6108
  # @return [String]
5769
6109
  attr_accessor :execution_status
@@ -5836,10 +6176,8 @@ module Google
5836
6176
  class OrderinvoicesCreateRefundInvoiceResponse
5837
6177
  include Google::Apis::Core::Hashable
5838
6178
 
5839
- # The status of the execution.
5840
- # Acceptable values are:
5841
- # - "`duplicate`"
5842
- # - "`executed`"
6179
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
6180
+ # executed`"
5843
6181
  # Corresponds to the JSON property `executionStatus`
5844
6182
  # @return [String]
5845
6183
  attr_accessor :execution_status
@@ -5870,52 +6208,23 @@ module Google
5870
6208
  # @return [String]
5871
6209
  attr_accessor :description
5872
6210
 
5873
- # [required] Reason for the refund.
5874
- # Acceptable values are:
5875
- # - "`adjustment`"
5876
- # - "`autoPostInternal`"
5877
- # - "`autoPostInvalidBillingAddress`"
5878
- # - "`autoPostNoInventory`"
5879
- # - "`autoPostPriceError`"
5880
- # - "`autoPostUndeliverableShippingAddress`"
5881
- # - "`couponAbuse`"
5882
- # - "`courtesyAdjustment`"
5883
- # - "`customerCanceled`"
5884
- # - "`customerDiscretionaryReturn`"
5885
- # - "`customerInitiatedMerchantCancel`"
5886
- # - "`customerSupportRequested`"
5887
- # - "`deliveredLateByCarrier`"
5888
- # - "`deliveredTooLate`"
5889
- # - "`expiredItem`"
5890
- # - "`failToPushOrderGoogleError`"
5891
- # - "`failToPushOrderMerchantError`"
5892
- # - "`failToPushOrderMerchantFulfillmentError`"
5893
- # - "`failToPushOrderToMerchant`"
5894
- # - "`failToPushOrderToMerchantOutOfStock`"
5895
- # - "`feeAdjustment`"
5896
- # - "`invalidCoupon`"
5897
- # - "`lateShipmentCredit`"
5898
- # - "`malformedShippingAddress`"
5899
- # - "`merchantDidNotShipOnTime`"
5900
- # - "`noInventory`"
5901
- # - "`orderTimeout`"
5902
- # - "`other`"
5903
- # - "`paymentAbuse`"
5904
- # - "`paymentDeclined`"
5905
- # - "`priceAdjustment`"
5906
- # - "`priceError`"
5907
- # - "`productArrivedDamaged`"
5908
- # - "`productNotAsDescribed`"
5909
- # - "`promoReallocation`"
5910
- # - "`qualityNotAsExpected`"
5911
- # - "`returnRefundAbuse`"
5912
- # - "`shippingCostAdjustment`"
5913
- # - "`shippingPriceError`"
5914
- # - "`taxAdjustment`"
5915
- # - "`taxError`"
5916
- # - "`undeliverableShippingAddress`"
5917
- # - "`unsupportedPoBoxAddress`"
5918
- # - "`wrongProductShipped`"
6211
+ # [required] Reason for the refund. Acceptable values are: - "`adjustment`" - "`
6212
+ # autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
6213
+ # " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
6214
+ # couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
6215
+ # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
6216
+ # customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
6217
+ # - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
6218
+ # failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
6219
+ # "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
6220
+ # feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
6221
+ # malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
6222
+ # `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
6223
+ # priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
6224
+ # productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
6225
+ # returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
6226
+ # taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
6227
+ # unsupportedPoBoxAddress`" - "`wrongProductShipped`"
5919
6228
  # Corresponds to the JSON property `reason`
5920
6229
  # @return [String]
5921
6230
  attr_accessor :reason
@@ -5940,21 +6249,13 @@ module Google
5940
6249
  # @return [String]
5941
6250
  attr_accessor :description
5942
6251
 
5943
- # [required] Reason for the return.
5944
- # Acceptable values are:
5945
- # - "`customerDiscretionaryReturn`"
5946
- # - "`customerInitiatedMerchantCancel`"
5947
- # - "`deliveredTooLate`"
5948
- # - "`expiredItem`"
5949
- # - "`invalidCoupon`"
5950
- # - "`malformedShippingAddress`"
5951
- # - "`other`"
5952
- # - "`productArrivedDamaged`"
5953
- # - "`productNotAsDescribed`"
5954
- # - "`qualityNotAsExpected`"
5955
- # - "`undeliverableShippingAddress`"
5956
- # - "`unsupportedPoBoxAddress`"
5957
- # - "`wrongProductShipped`"
6252
+ # [required] Reason for the return. Acceptable values are: - "`
6253
+ # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
6254
+ # deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
6255
+ # malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
6256
+ # productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
6257
+ # undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
6258
+ # wrongProductShipped`"
5958
6259
  # Corresponds to the JSON property `reason`
5959
6260
  # @return [String]
5960
6261
  attr_accessor :reason
@@ -6058,10 +6359,8 @@ module Google
6058
6359
  class OrderreturnsAcknowledgeResponse
6059
6360
  include Google::Apis::Core::Hashable
6060
6361
 
6061
- # The status of the execution.
6062
- # Acceptable values are:
6063
- # - "`duplicate`"
6064
- # - "`executed`"
6362
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
6363
+ # executed`"
6065
6364
  # Corresponds to the JSON property `executionStatus`
6066
6365
  # @return [String]
6067
6366
  attr_accessor :execution_status
@@ -6124,10 +6423,8 @@ module Google
6124
6423
  class OrderreturnsCreateOrderReturnResponse
6125
6424
  include Google::Apis::Core::Hashable
6126
6425
 
6127
- # The status of the execution.
6128
- # Acceptable values are:
6129
- # - "`duplicate`"
6130
- # - "`executed`"
6426
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
6427
+ # executed`"
6131
6428
  # Corresponds to the JSON property `executionStatus`
6132
6429
  # @return [String]
6133
6430
  attr_accessor :execution_status
@@ -6284,10 +6581,8 @@ module Google
6284
6581
  class OrderreturnsProcessResponse
6285
6582
  include Google::Apis::Core::Hashable
6286
6583
 
6287
- # The status of the execution.
6288
- # Acceptable values are:
6289
- # - "`duplicate`"
6290
- # - "`executed`"
6584
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
6585
+ # executed`"
6291
6586
  # Corresponds to the JSON property `executionStatus`
6292
6587
  # @return [String]
6293
6588
  attr_accessor :execution_status
@@ -6437,10 +6732,8 @@ module Google
6437
6732
  class OrdersAcknowledgeResponse
6438
6733
  include Google::Apis::Core::Hashable
6439
6734
 
6440
- # The status of the execution.
6441
- # Acceptable values are:
6442
- # - "`duplicate`"
6443
- # - "`executed`"
6735
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
6736
+ # executed`"
6444
6737
  # Corresponds to the JSON property `executionStatus`
6445
6738
  # @return [String]
6446
6739
  attr_accessor :execution_status
@@ -6507,18 +6800,10 @@ module Google
6507
6800
  # @return [Fixnum]
6508
6801
  attr_accessor :quantity
6509
6802
 
6510
- # The reason for the cancellation.
6511
- # Acceptable values are:
6512
- # - "`customerInitiatedCancel`"
6513
- # - "`invalidCoupon`"
6514
- # - "`malformedShippingAddress`"
6515
- # - "`noInventory`"
6516
- # - "`other`"
6517
- # - "`priceError`"
6518
- # - "`shippingPriceError`"
6519
- # - "`taxError`"
6520
- # - "`undeliverableShippingAddress`"
6521
- # - "`unsupportedPoBoxAddress`"
6803
+ # The reason for the cancellation. Acceptable values are: - "`
6804
+ # customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
6805
+ # "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
6806
+ # taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
6522
6807
  # Corresponds to the JSON property `reason`
6523
6808
  # @return [String]
6524
6809
  attr_accessor :reason
@@ -6547,10 +6832,8 @@ module Google
6547
6832
  class OrdersCancelLineItemResponse
6548
6833
  include Google::Apis::Core::Hashable
6549
6834
 
6550
- # The status of the execution.
6551
- # Acceptable values are:
6552
- # - "`duplicate`"
6553
- # - "`executed`"
6835
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
6836
+ # executed`"
6554
6837
  # Corresponds to the JSON property `executionStatus`
6555
6838
  # @return [String]
6556
6839
  attr_accessor :execution_status
@@ -6581,18 +6864,10 @@ module Google
6581
6864
  # @return [String]
6582
6865
  attr_accessor :operation_id
6583
6866
 
6584
- # The reason for the cancellation.
6585
- # Acceptable values are:
6586
- # - "`customerInitiatedCancel`"
6587
- # - "`invalidCoupon`"
6588
- # - "`malformedShippingAddress`"
6589
- # - "`noInventory`"
6590
- # - "`other`"
6591
- # - "`priceError`"
6592
- # - "`shippingPriceError`"
6593
- # - "`taxError`"
6594
- # - "`undeliverableShippingAddress`"
6595
- # - "`unsupportedPoBoxAddress`"
6867
+ # The reason for the cancellation. Acceptable values are: - "`
6868
+ # customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
6869
+ # "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
6870
+ # taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
6596
6871
  # Corresponds to the JSON property `reason`
6597
6872
  # @return [String]
6598
6873
  attr_accessor :reason
@@ -6618,10 +6893,8 @@ module Google
6618
6893
  class OrdersCancelResponse
6619
6894
  include Google::Apis::Core::Hashable
6620
6895
 
6621
- # The status of the execution.
6622
- # Acceptable values are:
6623
- # - "`duplicate`"
6624
- # - "`executed`"
6896
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
6897
+ # executed`"
6625
6898
  # Corresponds to the JSON property `executionStatus`
6626
6899
  # @return [String]
6627
6900
  attr_accessor :execution_status
@@ -6647,11 +6920,8 @@ module Google
6647
6920
  class OrdersCancelTestOrderByCustomerRequest
6648
6921
  include Google::Apis::Core::Hashable
6649
6922
 
6650
- # The reason for the cancellation.
6651
- # Acceptable values are:
6652
- # - "`changedMind`"
6653
- # - "`orderedWrongItem`"
6654
- # - "`other`"
6923
+ # The reason for the cancellation. Acceptable values are: - "`changedMind`" - "`
6924
+ # orderedWrongItem`" - "`other`"
6655
6925
  # Corresponds to the JSON property `reason`
6656
6926
  # @return [String]
6657
6927
  attr_accessor :reason
@@ -6690,25 +6960,18 @@ module Google
6690
6960
  class OrdersCreateTestOrderRequest
6691
6961
  include Google::Apis::Core::Hashable
6692
6962
 
6693
- # The CLDR territory code of the country of the test order to create. Affects
6963
+ # The CLDR territory code of the country of the test order to create. Affects
6694
6964
  # the currency and addresses of orders created via `template_name`, or the
6695
- # addresses of orders created via `test_order`.
6696
- # Acceptable values are:
6697
- # - "`US`"
6698
- # - "`FR`" Defaults to `US`.
6965
+ # addresses of orders created via `test_order`. Acceptable values are: - "`US`" -
6966
+ # "`FR`" Defaults to `US`.
6699
6967
  # Corresponds to the JSON property `country`
6700
6968
  # @return [String]
6701
6969
  attr_accessor :country
6702
6970
 
6703
6971
  # The test order template to use. Specify as an alternative to `testOrder` as a
6704
6972
  # shortcut for retrieving a template and then creating an order using that
6705
- # template.
6706
- # Acceptable values are:
6707
- # - "`template1`"
6708
- # - "`template1a`"
6709
- # - "`template1b`"
6710
- # - "`template2`"
6711
- # - "`template3`"
6973
+ # template. Acceptable values are: - "`template1`" - "`template1a`" - "`
6974
+ # template1b`" - "`template2`" - "`template3`"
6712
6975
  # Corresponds to the JSON property `templateName`
6713
6976
  # @return [String]
6714
6977
  attr_accessor :template_name
@@ -6907,7 +7170,7 @@ module Google
6907
7170
  class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
6908
7171
  include Google::Apis::Core::Hashable
6909
7172
 
6910
- # The carrier handling the shipment. See `shipments[].carrier` in the Orders
7173
+ # The carrier handling the shipment. See `shipments[].carrier` in the Orders
6911
7174
  # resource representation for a list of acceptable values.
6912
7175
  # Corresponds to the JSON property `carrier`
6913
7176
  # @return [String]
@@ -6947,8 +7210,7 @@ module Google
6947
7210
  attr_accessor :kind
6948
7211
 
6949
7212
  # Order. Production access (all methods) requires the order manager role.
6950
- # Sandbox access does not. (== resource_for v2.orders ==) (== resource_for v2.1.
6951
- # orders ==)
7213
+ # Sandbox access does not.
6952
7214
  # Corresponds to the JSON property `order`
6953
7215
  # @return [Google::Apis::ContentV2_1::Order]
6954
7216
  attr_accessor :order
@@ -7021,21 +7283,13 @@ module Google
7021
7283
  # @return [Fixnum]
7022
7284
  attr_accessor :quantity
7023
7285
 
7024
- # The reason for the return.
7025
- # Acceptable values are:
7026
- # - "`customerDiscretionaryReturn`"
7027
- # - "`customerInitiatedMerchantCancel`"
7028
- # - "`deliveredTooLate`"
7029
- # - "`expiredItem`"
7030
- # - "`invalidCoupon`"
7031
- # - "`malformedShippingAddress`"
7032
- # - "`other`"
7033
- # - "`productArrivedDamaged`"
7034
- # - "`productNotAsDescribed`"
7035
- # - "`qualityNotAsExpected`"
7036
- # - "`undeliverableShippingAddress`"
7037
- # - "`unsupportedPoBoxAddress`"
7038
- # - "`wrongProductShipped`"
7286
+ # The reason for the return. Acceptable values are: - "`
7287
+ # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
7288
+ # deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
7289
+ # malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
7290
+ # productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
7291
+ # undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
7292
+ # wrongProductShipped`"
7039
7293
  # Corresponds to the JSON property `reason`
7040
7294
  # @return [String]
7041
7295
  attr_accessor :reason
@@ -7071,10 +7325,8 @@ module Google
7071
7325
  class OrdersInStoreRefundLineItemResponse
7072
7326
  include Google::Apis::Core::Hashable
7073
7327
 
7074
- # The status of the execution.
7075
- # Acceptable values are:
7076
- # - "`duplicate`"
7077
- # - "`executed`"
7328
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
7329
+ # executed`"
7078
7330
  # Corresponds to the JSON property `executionStatus`
7079
7331
  # @return [String]
7080
7332
  attr_accessor :execution_status
@@ -7143,22 +7395,12 @@ module Google
7143
7395
  # @return [String]
7144
7396
  attr_accessor :operation_id
7145
7397
 
7146
- # The reason for the refund.
7147
- # Acceptable values are:
7148
- # - "`shippingCostAdjustment`"
7149
- # - "`priceAdjustment`"
7150
- # - "`taxAdjustment`"
7151
- # - "`feeAdjustment`"
7152
- # - "`courtesyAdjustment`"
7153
- # - "`adjustment`"
7154
- # - "`customerCancelled`"
7155
- # - "`noInventory`"
7156
- # - "`productNotAsDescribed`"
7157
- # - "`undeliverableShippingAddress`"
7158
- # - "`wrongProductShipped`"
7159
- # - "`lateShipmentCredit`"
7160
- # - "`deliveredLateByCarrier`"
7161
- # - "`productArrivedDamaged`"
7398
+ # The reason for the refund. Acceptable values are: - "`shippingCostAdjustment`"
7399
+ # - "`priceAdjustment`" - "`taxAdjustment`" - "`feeAdjustment`" - "`
7400
+ # courtesyAdjustment`" - "`adjustment`" - "`customerCancelled`" - "`noInventory`"
7401
+ # - "`productNotAsDescribed`" - "`undeliverableShippingAddress`" - "`
7402
+ # wrongProductShipped`" - "`lateShipmentCredit`" - "`deliveredLateByCarrier`" - "
7403
+ # `productArrivedDamaged`"
7162
7404
  # Corresponds to the JSON property `reason`
7163
7405
  # @return [String]
7164
7406
  attr_accessor :reason
@@ -7192,10 +7434,8 @@ module Google
7192
7434
  class OrdersRefundItemResponse
7193
7435
  include Google::Apis::Core::Hashable
7194
7436
 
7195
- # The status of the execution.
7196
- # Acceptable values are:
7197
- # - "`duplicate`"
7198
- # - "`executed`"
7437
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
7438
+ # executed`"
7199
7439
  # Corresponds to the JSON property `executionStatus`
7200
7440
  # @return [String]
7201
7441
  attr_accessor :execution_status
@@ -7239,10 +7479,8 @@ module Google
7239
7479
  # @return [String]
7240
7480
  attr_accessor :operation_id
7241
7481
 
7242
- # The reason for the refund.
7243
- # Acceptable values are:
7244
- # - "`courtesyAdjustment`"
7245
- # - "`other`"
7482
+ # The reason for the refund. Acceptable values are: - "`courtesyAdjustment`" - "`
7483
+ # other`"
7246
7484
  # Corresponds to the JSON property `reason`
7247
7485
  # @return [String]
7248
7486
  attr_accessor :reason
@@ -7270,10 +7508,8 @@ module Google
7270
7508
  class OrdersRefundOrderResponse
7271
7509
  include Google::Apis::Core::Hashable
7272
7510
 
7273
- # The status of the execution.
7274
- # Acceptable values are:
7275
- # - "`duplicate`"
7276
- # - "`executed`"
7511
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
7512
+ # executed`"
7277
7513
  # Corresponds to the JSON property `executionStatus`
7278
7514
  # @return [String]
7279
7515
  attr_accessor :execution_status
@@ -7320,13 +7556,8 @@ module Google
7320
7556
  # @return [Fixnum]
7321
7557
  attr_accessor :quantity
7322
7558
 
7323
- # The reason for the return.
7324
- # Acceptable values are:
7325
- # - "`damagedOrUsed`"
7326
- # - "`missingComponent`"
7327
- # - "`notEligible`"
7328
- # - "`other`"
7329
- # - "`outOfReturnWindow`"
7559
+ # The reason for the return. Acceptable values are: - "`damagedOrUsed`" - "`
7560
+ # missingComponent`" - "`notEligible`" - "`other`" - "`outOfReturnWindow`"
7330
7561
  # Corresponds to the JSON property `reason`
7331
7562
  # @return [String]
7332
7563
  attr_accessor :reason
@@ -7355,10 +7586,8 @@ module Google
7355
7586
  class OrdersRejectReturnLineItemResponse
7356
7587
  include Google::Apis::Core::Hashable
7357
7588
 
7358
- # The status of the execution.
7359
- # Acceptable values are:
7360
- # - "`duplicate`"
7361
- # - "`executed`"
7589
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
7590
+ # executed`"
7362
7591
  # Corresponds to the JSON property `executionStatus`
7363
7592
  # @return [String]
7364
7593
  attr_accessor :execution_status
@@ -7411,21 +7640,13 @@ module Google
7411
7640
  # @return [Fixnum]
7412
7641
  attr_accessor :quantity
7413
7642
 
7414
- # The reason for the return.
7415
- # Acceptable values are:
7416
- # - "`customerDiscretionaryReturn`"
7417
- # - "`customerInitiatedMerchantCancel`"
7418
- # - "`deliveredTooLate`"
7419
- # - "`expiredItem`"
7420
- # - "`invalidCoupon`"
7421
- # - "`malformedShippingAddress`"
7422
- # - "`other`"
7423
- # - "`productArrivedDamaged`"
7424
- # - "`productNotAsDescribed`"
7425
- # - "`qualityNotAsExpected`"
7426
- # - "`undeliverableShippingAddress`"
7427
- # - "`unsupportedPoBoxAddress`"
7428
- # - "`wrongProductShipped`"
7643
+ # The reason for the return. Acceptable values are: - "`
7644
+ # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
7645
+ # deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
7646
+ # malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
7647
+ # productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
7648
+ # undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
7649
+ # wrongProductShipped`"
7429
7650
  # Corresponds to the JSON property `reason`
7430
7651
  # @return [String]
7431
7652
  attr_accessor :reason
@@ -7462,10 +7683,8 @@ module Google
7462
7683
  class OrdersReturnRefundLineItemResponse
7463
7684
  include Google::Apis::Core::Hashable
7464
7685
 
7465
- # The status of the execution.
7466
- # Acceptable values are:
7467
- # - "`duplicate`"
7468
- # - "`executed`"
7686
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
7687
+ # executed`"
7469
7688
  # Corresponds to the JSON property `executionStatus`
7470
7689
  # @return [String]
7471
7690
  attr_accessor :execution_status
@@ -7530,10 +7749,8 @@ module Google
7530
7749
  class OrdersSetLineItemMetadataResponse
7531
7750
  include Google::Apis::Core::Hashable
7532
7751
 
7533
- # The status of the execution.
7534
- # Acceptable values are:
7535
- # - "`duplicate`"
7536
- # - "`executed`"
7752
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
7753
+ # executed`"
7537
7754
  # Corresponds to the JSON property `executionStatus`
7538
7755
  # @return [String]
7539
7756
  attr_accessor :execution_status
@@ -7598,10 +7815,8 @@ module Google
7598
7815
  class OrdersShipLineItemsResponse
7599
7816
  include Google::Apis::Core::Hashable
7600
7817
 
7601
- # The status of the execution.
7602
- # Acceptable values are:
7603
- # - "`duplicate`"
7604
- # - "`executed`"
7818
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
7819
+ # executed`"
7605
7820
  # Corresponds to the JSON property `executionStatus`
7606
7821
  # @return [String]
7607
7822
  attr_accessor :execution_status
@@ -7628,9 +7843,8 @@ module Google
7628
7843
  include Google::Apis::Core::Hashable
7629
7844
 
7630
7845
  # Updated delivery by date, in ISO 8601 format. If not specified only ship by
7631
- # date is updated.
7632
- # Provided date should be within 1 year timeframe and can not be a date in the
7633
- # past.
7846
+ # date is updated. Provided date should be within 1 year timeframe and can not
7847
+ # be a date in the past.
7634
7848
  # Corresponds to the JSON property `deliverByDate`
7635
7849
  # @return [String]
7636
7850
  attr_accessor :deliver_by_date
@@ -7653,9 +7867,8 @@ module Google
7653
7867
  attr_accessor :product_id
7654
7868
 
7655
7869
  # Updated ship by date, in ISO 8601 format. If not specified only deliver by
7656
- # date is updated.
7657
- # Provided date should be within 1 year timeframe and can not be a date in the
7658
- # past.
7870
+ # date is updated. Provided date should be within 1 year timeframe and can not
7871
+ # be a date in the past.
7659
7872
  # Corresponds to the JSON property `shipByDate`
7660
7873
  # @return [String]
7661
7874
  attr_accessor :ship_by_date
@@ -7678,10 +7891,8 @@ module Google
7678
7891
  class OrdersUpdateLineItemShippingDetailsResponse
7679
7892
  include Google::Apis::Core::Hashable
7680
7893
 
7681
- # The status of the execution.
7682
- # Acceptable values are:
7683
- # - "`duplicate`"
7684
- # - "`executed`"
7894
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
7895
+ # executed`"
7685
7896
  # Corresponds to the JSON property `executionStatus`
7686
7897
  # @return [String]
7687
7898
  attr_accessor :execution_status
@@ -7732,10 +7943,8 @@ module Google
7732
7943
  class OrdersUpdateMerchantOrderIdResponse
7733
7944
  include Google::Apis::Core::Hashable
7734
7945
 
7735
- # The status of the execution.
7736
- # Acceptable values are:
7737
- # - "`duplicate`"
7738
- # - "`executed`"
7946
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
7947
+ # executed`"
7739
7948
  # Corresponds to the JSON property `executionStatus`
7740
7949
  # @return [String]
7741
7950
  attr_accessor :execution_status
@@ -7762,8 +7971,7 @@ module Google
7762
7971
  include Google::Apis::Core::Hashable
7763
7972
 
7764
7973
  # The carrier handling the shipment. Not updated if missing. See `shipments[].
7765
- # carrier` in the Orders resource representation for a list of acceptable
7766
- # values.
7974
+ # carrier` in the Orders resource representation for a list of acceptable values.
7767
7975
  # Corresponds to the JSON property `carrier`
7768
7976
  # @return [String]
7769
7977
  attr_accessor :carrier
@@ -7797,11 +8005,8 @@ module Google
7797
8005
  # @return [String]
7798
8006
  attr_accessor :shipment_id
7799
8007
 
7800
- # New status for the shipment. Not updated if missing.
7801
- # Acceptable values are:
7802
- # - "`delivered`"
7803
- # - "`undeliverable`"
7804
- # - "`readyForPickup`"
8008
+ # New status for the shipment. Not updated if missing. Acceptable values are: - "
8009
+ # `delivered`" - "`undeliverable`" - "`readyForPickup`"
7805
8010
  # Corresponds to the JSON property `status`
7806
8011
  # @return [String]
7807
8012
  attr_accessor :status
@@ -7839,10 +8044,8 @@ module Google
7839
8044
  class OrdersUpdateShipmentResponse
7840
8045
  include Google::Apis::Core::Hashable
7841
8046
 
7842
- # The status of the execution.
7843
- # Acceptable values are:
7844
- # - "`duplicate`"
7845
- # - "`executed`"
8047
+ # The status of the execution. Acceptable values are: - "`duplicate`" - "`
8048
+ # executed`"
7846
8049
  # Corresponds to the JSON property `executionStatus`
7847
8050
  # @return [String]
7848
8051
  attr_accessor :execution_status
@@ -7958,13 +8161,8 @@ module Google
7958
8161
  # @return [Fixnum]
7959
8162
  attr_accessor :merchant_id
7960
8163
 
7961
- # The method of the batch entry.
7962
- # Acceptable values are:
7963
- # - "`delete`"
7964
- # - "`get`"
7965
- # - "`insert`"
7966
- # - "`inventory`"
7967
- # - "`sale`"
8164
+ # The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" -
8165
+ # "`insert`" - "`inventory`" - "`sale`"
7968
8166
  # Corresponds to the JSON property `method`
7969
8167
  # @return [String]
7970
8168
  attr_accessor :method_prop
@@ -7979,7 +8177,7 @@ module Google
7979
8177
  # @return [Google::Apis::ContentV2_1::PosStore]
7980
8178
  attr_accessor :store
7981
8179
 
7982
- # The store code. Set this only if the method is `delete` or `get`.
8180
+ # The store code. This should be set only if the method is `delete` or `get`.
7983
8181
  # Corresponds to the JSON property `storeCode`
7984
8182
  # @return [String]
7985
8183
  attr_accessor :store_code
@@ -8707,13 +8905,37 @@ module Google
8707
8905
  end
8708
8906
  end
8709
8907
 
8908
+ # The price represented as a number and currency.
8909
+ class PriceAmount
8910
+ include Google::Apis::Core::Hashable
8911
+
8912
+ # The currency of the price.
8913
+ # Corresponds to the JSON property `currency`
8914
+ # @return [String]
8915
+ attr_accessor :currency
8916
+
8917
+ # The price represented as a number.
8918
+ # Corresponds to the JSON property `value`
8919
+ # @return [String]
8920
+ attr_accessor :value
8921
+
8922
+ def initialize(**args)
8923
+ update!(**args)
8924
+ end
8925
+
8926
+ # Update properties of this object
8927
+ def update!(**args)
8928
+ @currency = args[:currency] if args.key?(:currency)
8929
+ @value = args[:value] if args.key?(:value)
8930
+ end
8931
+ end
8932
+
8710
8933
  # Required product attributes are primarily defined by the products data
8711
- # specification. See the Products Data Specification Help Center article for
8712
- # information.
8713
- # Some attributes are country-specific, so make sure you select the appropriate
8714
- # country in the drop-down selector at the top of the page.
8715
- # Product data. After inserting, updating, or deleting a product, it may take
8716
- # several minutes before changes take effect.
8934
+ # specification. See the Products Data Specification Help Center article for
8935
+ # information. Some attributes are country-specific, so make sure you select the
8936
+ # appropriate country in the drop-down selector at the top of the page. Product
8937
+ # data. After inserting, updating, or deleting a product, it may take several
8938
+ # minutes before changes take effect.
8717
8939
  class Product
8718
8940
  include Google::Apis::Core::Hashable
8719
8941
 
@@ -8738,7 +8960,7 @@ module Google
8738
8960
  # @return [String]
8739
8961
  attr_accessor :ads_redirect
8740
8962
 
8741
- # Set to true if the item is targeted towards adults.
8963
+ # Should be set to true if the item is targeted towards adults.
8742
8964
  # Corresponds to the JSON property `adult`
8743
8965
  # @return [Boolean]
8744
8966
  attr_accessor :adult
@@ -8770,10 +8992,8 @@ module Google
8770
8992
  # @return [String]
8771
8993
  attr_accessor :canonical_link
8772
8994
 
8773
- # Required. The item's channel (online or local).
8774
- # Acceptable values are:
8775
- # - "`local`"
8776
- # - "`online`"
8995
+ # Required. The item's channel (online or local). Acceptable values are: - "`
8996
+ # local`" - "`online`"
8777
8997
  # Corresponds to the JSON property `channel`
8778
8998
  # @return [String]
8779
8999
  attr_accessor :channel
@@ -8802,7 +9022,7 @@ module Google
8802
9022
  # submitting any attribute of the feed specification in its generic form (e.g., `
8803
9023
  # ` "name": "size type", "value": "regular" ``). This is useful for submitting
8804
9024
  # attributes not explicitly exposed by the API, such as additional attributes
8805
- # used for Shopping Actions.
9025
+ # used for Buy on Google (formerly known as Shopping Actions).
8806
9026
  # Corresponds to the JSON property `customAttributes`
8807
9027
  # @return [Array<Google::Apis::ContentV2_1::CustomAttribute>]
8808
9028
  attr_accessor :custom_attributes
@@ -8897,9 +9117,8 @@ module Google
8897
9117
  attr_accessor :gtin
8898
9118
 
8899
9119
  # The REST ID of the product. Content API methods that operate on products take
8900
- # this as their `productId` parameter.
8901
- # The REST ID for a product is of the form channel:contentLanguage:targetCountry:
8902
- # offerId.
9120
+ # this as their `productId` parameter. The REST ID for a product is of the form
9121
+ # channel:contentLanguage: targetCountry: offerId.
8903
9122
  # Corresponds to the JSON property `id`
8904
9123
  # @return [String]
8905
9124
  attr_accessor :id
@@ -9000,9 +9219,8 @@ module Google
9000
9219
  # Required. A unique identifier for the item. Leading and trailing whitespaces
9001
9220
  # are stripped and multiple whitespaces are replaced by a single whitespace upon
9002
9221
  # submission. Only valid unicode characters are accepted. See the products feed
9003
- # specification for details.
9004
- # Note: Content API methods that operate on products take the REST ID of the
9005
- # product, not this identifier.
9222
+ # specification for details. *Note:* Content API methods that operate on
9223
+ # products take the REST ID of the product, *not* this identifier.
9006
9224
  # Corresponds to the JSON property `offerId`
9007
9225
  # @return [String]
9008
9226
  attr_accessor :offer_id
@@ -9042,7 +9260,7 @@ module Google
9042
9260
  # @return [Google::Apis::ContentV2_1::Price]
9043
9261
  attr_accessor :sale_price
9044
9262
 
9045
- # Date range during which the item is on sale (see products data specification).
9263
+ # Date range during which the item is on sale (see products data specification ).
9046
9264
  # Corresponds to the JSON property `salePriceEffectiveDate`
9047
9265
  # @return [String]
9048
9266
  attr_accessor :sale_price_effective_date
@@ -9108,11 +9326,8 @@ module Google
9108
9326
  # @return [Array<String>]
9109
9327
  attr_accessor :sizes
9110
9328
 
9111
- # The source of the offer, i.e., how the offer was created.
9112
- # Acceptable values are:
9113
- # - "`api`"
9114
- # - "`crawl`"
9115
- # - "`feed`"
9329
+ # The source of the offer, i.e., how the offer was created. Acceptable values
9330
+ # are: - "`api`" - "`crawl`" - "`feed`"
9116
9331
  # Corresponds to the JSON property `source`
9117
9332
  # @return [String]
9118
9333
  attr_accessor :source
@@ -9662,7 +9877,7 @@ module Google
9662
9877
  # @return [String]
9663
9878
  attr_accessor :region
9664
9879
 
9665
- # Set to true if tax is charged on shipping.
9880
+ # Should be set to true if tax is charged on shipping.
9666
9881
  # Corresponds to the JSON property `taxShip`
9667
9882
  # @return [Boolean]
9668
9883
  attr_accessor :tax_ship
@@ -9771,22 +9986,18 @@ module Google
9771
9986
  # @return [Fixnum]
9772
9987
  attr_accessor :merchant_id
9773
9988
 
9774
- # The method of the batch entry.
9775
- # Acceptable values are:
9776
- # - "`delete`"
9777
- # - "`get`"
9778
- # - "`insert`"
9989
+ # The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" -
9990
+ # "`insert`"
9779
9991
  # Corresponds to the JSON property `method`
9780
9992
  # @return [String]
9781
9993
  attr_accessor :method_prop
9782
9994
 
9783
9995
  # Required product attributes are primarily defined by the products data
9784
- # specification. See the Products Data Specification Help Center article for
9785
- # information.
9786
- # Some attributes are country-specific, so make sure you select the appropriate
9787
- # country in the drop-down selector at the top of the page.
9788
- # Product data. After inserting, updating, or deleting a product, it may take
9789
- # several minutes before changes take effect.
9996
+ # specification. See the Products Data Specification Help Center article for
9997
+ # information. Some attributes are country-specific, so make sure you select the
9998
+ # appropriate country in the drop-down selector at the top of the page. Product
9999
+ # data. After inserting, updating, or deleting a product, it may take several
10000
+ # minutes before changes take effect.
9790
10001
  # Corresponds to the JSON property `product`
9791
10002
  # @return [Google::Apis::ContentV2_1::Product]
9792
10003
  attr_accessor :product
@@ -9859,12 +10070,11 @@ module Google
9859
10070
  attr_accessor :kind
9860
10071
 
9861
10072
  # Required product attributes are primarily defined by the products data
9862
- # specification. See the Products Data Specification Help Center article for
9863
- # information.
9864
- # Some attributes are country-specific, so make sure you select the appropriate
9865
- # country in the drop-down selector at the top of the page.
9866
- # Product data. After inserting, updating, or deleting a product, it may take
9867
- # several minutes before changes take effect.
10073
+ # specification. See the Products Data Specification Help Center article for
10074
+ # information. Some attributes are country-specific, so make sure you select the
10075
+ # appropriate country in the drop-down selector at the top of the page. Product
10076
+ # data. After inserting, updating, or deleting a product, it may take several
10077
+ # minutes before changes take effect.
9868
10078
  # Corresponds to the JSON property `product`
9869
10079
  # @return [Google::Apis::ContentV2_1::Product]
9870
10080
  attr_accessor :product
@@ -9959,9 +10169,7 @@ module Google
9959
10169
  # @return [Fixnum]
9960
10170
  attr_accessor :merchant_id
9961
10171
 
9962
- # The method of the batch entry.
9963
- # Acceptable values are:
9964
- # - "`get`"
10172
+ # The method of the batch entry. Acceptable values are: - "`get`"
9965
10173
  # Corresponds to the JSON property `method`
9966
10174
  # @return [String]
9967
10175
  attr_accessor :method_prop
@@ -10084,8 +10292,7 @@ module Google
10084
10292
  end
10085
10293
 
10086
10294
  # Settings for Pub/Sub notifications, all methods require that the caller is a
10087
- # direct user of the merchant center account. (== resource_for v2.1.
10088
- # pubsubnotificationsettings ==)
10295
+ # direct user of the merchant center account.
10089
10296
  class PubsubNotificationSettings
10090
10297
  include Google::Apis::Core::Hashable
10091
10298
 
@@ -10100,9 +10307,7 @@ module Google
10100
10307
  # @return [String]
10101
10308
  attr_accessor :kind
10102
10309
 
10103
- # List of event types.
10104
- # Acceptable values are:
10105
- # - "`orderPendingShipment`"
10310
+ # List of event types. Acceptable values are: - "`orderPendingShipment`"
10106
10311
  # Corresponds to the JSON property `registeredEvents`
10107
10312
  # @return [Array<String>]
10108
10313
  attr_accessor :registered_events
@@ -10186,52 +10391,23 @@ module Google
10186
10391
  # @return [String]
10187
10392
  attr_accessor :description
10188
10393
 
10189
- # Code of the refund reason.
10190
- # Acceptable values are:
10191
- # - "`adjustment`"
10192
- # - "`autoPostInternal`"
10193
- # - "`autoPostInvalidBillingAddress`"
10194
- # - "`autoPostNoInventory`"
10195
- # - "`autoPostPriceError`"
10196
- # - "`autoPostUndeliverableShippingAddress`"
10197
- # - "`couponAbuse`"
10198
- # - "`courtesyAdjustment`"
10199
- # - "`customerCanceled`"
10200
- # - "`customerDiscretionaryReturn`"
10201
- # - "`customerInitiatedMerchantCancel`"
10202
- # - "`customerSupportRequested`"
10203
- # - "`deliveredLateByCarrier`"
10204
- # - "`deliveredTooLate`"
10205
- # - "`expiredItem`"
10206
- # - "`failToPushOrderGoogleError`"
10207
- # - "`failToPushOrderMerchantError`"
10208
- # - "`failToPushOrderMerchantFulfillmentError`"
10209
- # - "`failToPushOrderToMerchant`"
10210
- # - "`failToPushOrderToMerchantOutOfStock`"
10211
- # - "`feeAdjustment`"
10212
- # - "`invalidCoupon`"
10213
- # - "`lateShipmentCredit`"
10214
- # - "`malformedShippingAddress`"
10215
- # - "`merchantDidNotShipOnTime`"
10216
- # - "`noInventory`"
10217
- # - "`orderTimeout`"
10218
- # - "`other`"
10219
- # - "`paymentAbuse`"
10220
- # - "`paymentDeclined`"
10221
- # - "`priceAdjustment`"
10222
- # - "`priceError`"
10223
- # - "`productArrivedDamaged`"
10224
- # - "`productNotAsDescribed`"
10225
- # - "`promoReallocation`"
10226
- # - "`qualityNotAsExpected`"
10227
- # - "`returnRefundAbuse`"
10228
- # - "`shippingCostAdjustment`"
10229
- # - "`shippingPriceError`"
10230
- # - "`taxAdjustment`"
10231
- # - "`taxError`"
10232
- # - "`undeliverableShippingAddress`"
10233
- # - "`unsupportedPoBoxAddress`"
10234
- # - "`wrongProductShipped`"
10394
+ # Code of the refund reason. Acceptable values are: - "`adjustment`" - "`
10395
+ # autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
10396
+ # " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
10397
+ # couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
10398
+ # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
10399
+ # customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
10400
+ # - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
10401
+ # failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
10402
+ # "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
10403
+ # feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
10404
+ # malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
10405
+ # `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
10406
+ # priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
10407
+ # productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
10408
+ # returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
10409
+ # taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
10410
+ # unsupportedPoBoxAddress`" - "`wrongProductShipped`"
10235
10411
  # Corresponds to the JSON property `reasonCode`
10236
10412
  # @return [String]
10237
10413
  attr_accessor :reason_code
@@ -10247,6 +10423,151 @@ module Google
10247
10423
  end
10248
10424
  end
10249
10425
 
10426
+ # Represents a geographic region that you can use as a target with both the `
10427
+ # RegionalInventory` and `ShippingSettings` services. You can define regions as
10428
+ # collections of either postal codes or, in some countries, using predefined
10429
+ # geotargets.
10430
+ class Region
10431
+ include Google::Apis::Core::Hashable
10432
+
10433
+ # The display name of the region.
10434
+ # Corresponds to the JSON property `displayName`
10435
+ # @return [String]
10436
+ attr_accessor :display_name
10437
+
10438
+ # A list of geotargets that defines the region area.
10439
+ # Corresponds to the JSON property `geotargetArea`
10440
+ # @return [Google::Apis::ContentV2_1::RegionGeoTargetArea]
10441
+ attr_accessor :geotarget_area
10442
+
10443
+ # Output only. Immutable. Merchant that owns the region.
10444
+ # Corresponds to the JSON property `merchantId`
10445
+ # @return [Fixnum]
10446
+ attr_accessor :merchant_id
10447
+
10448
+ # A list of postal codes that defines the region area. Note: All regions defined
10449
+ # using postal codes are accessible via the account's `ShippingSettings.
10450
+ # postalCodeGroups` resource.
10451
+ # Corresponds to the JSON property `postalCodeArea`
10452
+ # @return [Google::Apis::ContentV2_1::RegionPostalCodeArea]
10453
+ attr_accessor :postal_code_area
10454
+
10455
+ # Output only. Immutable. The ID uniquely identifying each region.
10456
+ # Corresponds to the JSON property `regionId`
10457
+ # @return [String]
10458
+ attr_accessor :region_id
10459
+
10460
+ # Output only. Indicates if the region is eligible to use in the Regional
10461
+ # Inventory configuration.
10462
+ # Corresponds to the JSON property `regionalInventoryEligible`
10463
+ # @return [Boolean]
10464
+ attr_accessor :regional_inventory_eligible
10465
+ alias_method :regional_inventory_eligible?, :regional_inventory_eligible
10466
+
10467
+ # Output only. Indicates if the region is eligible to use in the Shipping
10468
+ # Services configuration.
10469
+ # Corresponds to the JSON property `shippingEligible`
10470
+ # @return [Boolean]
10471
+ attr_accessor :shipping_eligible
10472
+ alias_method :shipping_eligible?, :shipping_eligible
10473
+
10474
+ def initialize(**args)
10475
+ update!(**args)
10476
+ end
10477
+
10478
+ # Update properties of this object
10479
+ def update!(**args)
10480
+ @display_name = args[:display_name] if args.key?(:display_name)
10481
+ @geotarget_area = args[:geotarget_area] if args.key?(:geotarget_area)
10482
+ @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
10483
+ @postal_code_area = args[:postal_code_area] if args.key?(:postal_code_area)
10484
+ @region_id = args[:region_id] if args.key?(:region_id)
10485
+ @regional_inventory_eligible = args[:regional_inventory_eligible] if args.key?(:regional_inventory_eligible)
10486
+ @shipping_eligible = args[:shipping_eligible] if args.key?(:shipping_eligible)
10487
+ end
10488
+ end
10489
+
10490
+ # A list of geotargets that defines the region area.
10491
+ class RegionGeoTargetArea
10492
+ include Google::Apis::Core::Hashable
10493
+
10494
+ # Required. A non-empty list of [location IDs](https://developers.google.com/
10495
+ # adwords/api/docs/appendix/geotargeting). They must all be of the same location
10496
+ # type (e.g., state).
10497
+ # Corresponds to the JSON property `geotargetCriteriaIds`
10498
+ # @return [Array<Fixnum>]
10499
+ attr_accessor :geotarget_criteria_ids
10500
+
10501
+ def initialize(**args)
10502
+ update!(**args)
10503
+ end
10504
+
10505
+ # Update properties of this object
10506
+ def update!(**args)
10507
+ @geotarget_criteria_ids = args[:geotarget_criteria_ids] if args.key?(:geotarget_criteria_ids)
10508
+ end
10509
+ end
10510
+
10511
+ # A list of postal codes that defines the region area. Note: All regions defined
10512
+ # using postal codes are accessible via the account's `ShippingSettings.
10513
+ # postalCodeGroups` resource.
10514
+ class RegionPostalCodeArea
10515
+ include Google::Apis::Core::Hashable
10516
+
10517
+ # Required. A range of postal codes.
10518
+ # Corresponds to the JSON property `postalCodes`
10519
+ # @return [Array<Google::Apis::ContentV2_1::RegionPostalCodeAreaPostalCodeRange>]
10520
+ attr_accessor :postal_codes
10521
+
10522
+ # Required. CLDR territory code or the country the postal code group applies to.
10523
+ # Corresponds to the JSON property `regionCode`
10524
+ # @return [String]
10525
+ attr_accessor :region_code
10526
+
10527
+ def initialize(**args)
10528
+ update!(**args)
10529
+ end
10530
+
10531
+ # Update properties of this object
10532
+ def update!(**args)
10533
+ @postal_codes = args[:postal_codes] if args.key?(:postal_codes)
10534
+ @region_code = args[:region_code] if args.key?(:region_code)
10535
+ end
10536
+ end
10537
+
10538
+ # A range of postal codes that defines the region area.
10539
+ class RegionPostalCodeAreaPostalCodeRange
10540
+ include Google::Apis::Core::Hashable
10541
+
10542
+ # Required. A postal code or a pattern of the form prefix* denoting the
10543
+ # inclusive lower bound of the range defining the area. Examples values: "94108",
10544
+ # "9410*", "9*".
10545
+ # Corresponds to the JSON property `begin`
10546
+ # @return [String]
10547
+ attr_accessor :begin
10548
+
10549
+ # Optional. A postal code or a pattern of the form prefix* denoting the
10550
+ # inclusive upper bound of the range defining the area. It must have the same
10551
+ # length as postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then
10552
+ # postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a
10553
+ # pattern then postalCodeRangeEnd must be a pattern with the same prefix length.
10554
+ # Optional: if not set, then the area is defined as being all the postal codes
10555
+ # matching postalCodeRangeBegin.
10556
+ # Corresponds to the JSON property `end`
10557
+ # @return [String]
10558
+ attr_accessor :end
10559
+
10560
+ def initialize(**args)
10561
+ update!(**args)
10562
+ end
10563
+
10564
+ # Update properties of this object
10565
+ def update!(**args)
10566
+ @begin = args[:begin] if args.key?(:begin)
10567
+ @end = args[:end] if args.key?(:end)
10568
+ end
10569
+ end
10570
+
10250
10571
  # Regional inventory resource. contains the regional name and all attributes
10251
10572
  # which are overridden for the specified region.
10252
10573
  class RegionalInventory
@@ -10340,9 +10661,7 @@ module Google
10340
10661
  # @return [Fixnum]
10341
10662
  attr_accessor :merchant_id
10342
10663
 
10343
- # Method of the batch request entry.
10344
- # Acceptable values are:
10345
- # - "`insert`"
10664
+ # Method of the batch request entry. Acceptable values are: - "`insert`"
10346
10665
  # Corresponds to the JSON property `method`
10347
10666
  # @return [String]
10348
10667
  attr_accessor :method_prop
@@ -10437,6 +10756,276 @@ module Google
10437
10756
  end
10438
10757
  end
10439
10758
 
10759
+ # Represents a repricing rule. A repricing rule is used by shopping serving to
10760
+ # adjust transactable offer prices if conditions are met. Next ID: 24
10761
+ class RepricingRule
10762
+ include Google::Apis::Core::Hashable
10763
+
10764
+ # Required. Immutable. CLDR country code (e.g. "US").
10765
+ # Corresponds to the JSON property `countryCode`
10766
+ # @return [String]
10767
+ attr_accessor :country_code
10768
+
10769
+ # Required. Time period when the rule should take effect.
10770
+ # Corresponds to the JSON property `effectiveTimePeriod`
10771
+ # @return [Google::Apis::ContentV2_1::RepricingRuleEffectiveTime]
10772
+ attr_accessor :effective_time_period
10773
+
10774
+ # Matcher that specifies eligible offers. When the USE_FEED_ATTRIBUTE option is
10775
+ # selected, only the repricing_rule_id attribute on the product feed is used to
10776
+ # specify offer-rule mapping. When the CUSTOM_FILTER option is selected, only
10777
+ # the *_matcher fields are used to filter the offers for offer-rule mapping. If
10778
+ # the CUSTOM_FILTER option is selected, an offer needs to satisfy each custom
10779
+ # filter matcher to be eligible for a rule. Size limit: the sum of the number of
10780
+ # entries in all the matchers should not exceed 20. For example, there can be 15
10781
+ # product ids and 5 brands, but not 10 product ids and 11 brands.
10782
+ # Corresponds to the JSON property `eligibleOfferMatcher`
10783
+ # @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcher]
10784
+ attr_accessor :eligible_offer_matcher
10785
+
10786
+ # Required. Immutable. The two-letter ISO 639-1 language code associated with
10787
+ # the repricing rule.
10788
+ # Corresponds to the JSON property `languageCode`
10789
+ # @return [String]
10790
+ attr_accessor :language_code
10791
+
10792
+ # Output only. Immutable. Merchant that owns the repricing rule.
10793
+ # Corresponds to the JSON property `merchantId`
10794
+ # @return [Fixnum]
10795
+ attr_accessor :merchant_id
10796
+
10797
+ # Represents whether a rule is paused. A paused rule will behave like a non-
10798
+ # paused rule within CRUD operations, with the major difference that a paused
10799
+ # rule will not be evaluated and will have no effect on offers.
10800
+ # Corresponds to the JSON property `paused`
10801
+ # @return [Boolean]
10802
+ attr_accessor :paused
10803
+ alias_method :paused?, :paused
10804
+
10805
+ # Definition of a rule restriction. At least one of the following needs to be
10806
+ # true: (1) use_auto_pricing_min_price is true (2) floor.price_delta exists (3)
10807
+ # floor.percentage_delta exists If floor.price_delta and floor.percentage_delta
10808
+ # are both set on a rule, the highest value will be chosen by the Repricer. In
10809
+ # other words, for a product with a price of $50, if the `floor.percentage_delta`
10810
+ # is "-10" and the floor.price_delta is "-12", the offer price will only be
10811
+ # lowered $5 (10% lower than the original offer price).
10812
+ # Corresponds to the JSON property `restriction`
10813
+ # @return [Google::Apis::ContentV2_1::RepricingRuleRestriction]
10814
+ attr_accessor :restriction
10815
+
10816
+ # Output only. Immutable. The ID to uniquely identify each repricing rule.
10817
+ # Corresponds to the JSON property `ruleId`
10818
+ # @return [String]
10819
+ attr_accessor :rule_id
10820
+
10821
+ # The title for the rule.
10822
+ # Corresponds to the JSON property `title`
10823
+ # @return [String]
10824
+ attr_accessor :title
10825
+
10826
+ # Required. Immutable. The type of the rule.
10827
+ # Corresponds to the JSON property `type`
10828
+ # @return [String]
10829
+ attr_accessor :type
10830
+
10831
+ def initialize(**args)
10832
+ update!(**args)
10833
+ end
10834
+
10835
+ # Update properties of this object
10836
+ def update!(**args)
10837
+ @country_code = args[:country_code] if args.key?(:country_code)
10838
+ @effective_time_period = args[:effective_time_period] if args.key?(:effective_time_period)
10839
+ @eligible_offer_matcher = args[:eligible_offer_matcher] if args.key?(:eligible_offer_matcher)
10840
+ @language_code = args[:language_code] if args.key?(:language_code)
10841
+ @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
10842
+ @paused = args[:paused] if args.key?(:paused)
10843
+ @restriction = args[:restriction] if args.key?(:restriction)
10844
+ @rule_id = args[:rule_id] if args.key?(:rule_id)
10845
+ @title = args[:title] if args.key?(:title)
10846
+ @type = args[:type] if args.key?(:type)
10847
+ end
10848
+ end
10849
+
10850
+ #
10851
+ class RepricingRuleEffectiveTime
10852
+ include Google::Apis::Core::Hashable
10853
+
10854
+ # A list of fixed time periods combined with OR. The maximum number of entries
10855
+ # is limited to 5.
10856
+ # Corresponds to the JSON property `fixedTimePeriods`
10857
+ # @return [Array<Google::Apis::ContentV2_1::RepricingRuleEffectiveTimeFixedTimePeriod>]
10858
+ attr_accessor :fixed_time_periods
10859
+
10860
+ def initialize(**args)
10861
+ update!(**args)
10862
+ end
10863
+
10864
+ # Update properties of this object
10865
+ def update!(**args)
10866
+ @fixed_time_periods = args[:fixed_time_periods] if args.key?(:fixed_time_periods)
10867
+ end
10868
+ end
10869
+
10870
+ # Definition of a fixed time period.
10871
+ class RepricingRuleEffectiveTimeFixedTimePeriod
10872
+ include Google::Apis::Core::Hashable
10873
+
10874
+ # The end time (exclusive) of the period. It can only be hour granularity.
10875
+ # Corresponds to the JSON property `endTime`
10876
+ # @return [String]
10877
+ attr_accessor :end_time
10878
+
10879
+ # The start time (inclusive) of the period. It can only be hour granularity.
10880
+ # Corresponds to the JSON property `startTime`
10881
+ # @return [String]
10882
+ attr_accessor :start_time
10883
+
10884
+ def initialize(**args)
10885
+ update!(**args)
10886
+ end
10887
+
10888
+ # Update properties of this object
10889
+ def update!(**args)
10890
+ @end_time = args[:end_time] if args.key?(:end_time)
10891
+ @start_time = args[:start_time] if args.key?(:start_time)
10892
+ end
10893
+ end
10894
+
10895
+ # Matcher that specifies eligible offers. When the USE_FEED_ATTRIBUTE option is
10896
+ # selected, only the repricing_rule_id attribute on the product feed is used to
10897
+ # specify offer-rule mapping. When the CUSTOM_FILTER option is selected, only
10898
+ # the *_matcher fields are used to filter the offers for offer-rule mapping. If
10899
+ # the CUSTOM_FILTER option is selected, an offer needs to satisfy each custom
10900
+ # filter matcher to be eligible for a rule. Size limit: the sum of the number of
10901
+ # entries in all the matchers should not exceed 20. For example, there can be 15
10902
+ # product ids and 5 brands, but not 10 product ids and 11 brands.
10903
+ class RepricingRuleEligibleOfferMatcher
10904
+ include Google::Apis::Core::Hashable
10905
+
10906
+ # Matcher by string attributes.
10907
+ # Corresponds to the JSON property `brandMatcher`
10908
+ # @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
10909
+ attr_accessor :brand_matcher
10910
+
10911
+ # Matcher by string attributes.
10912
+ # Corresponds to the JSON property `itemGroupIdMatcher`
10913
+ # @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
10914
+ attr_accessor :item_group_id_matcher
10915
+
10916
+ # Determines whether to use the custom matchers or the product feed attribute "
10917
+ # repricing_rule_id" to specify offer-rule mapping.
10918
+ # Corresponds to the JSON property `matcherOption`
10919
+ # @return [String]
10920
+ attr_accessor :matcher_option
10921
+
10922
+ # Matcher by string attributes.
10923
+ # Corresponds to the JSON property `offerIdMatcher`
10924
+ # @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
10925
+ attr_accessor :offer_id_matcher
10926
+
10927
+ def initialize(**args)
10928
+ update!(**args)
10929
+ end
10930
+
10931
+ # Update properties of this object
10932
+ def update!(**args)
10933
+ @brand_matcher = args[:brand_matcher] if args.key?(:brand_matcher)
10934
+ @item_group_id_matcher = args[:item_group_id_matcher] if args.key?(:item_group_id_matcher)
10935
+ @matcher_option = args[:matcher_option] if args.key?(:matcher_option)
10936
+ @offer_id_matcher = args[:offer_id_matcher] if args.key?(:offer_id_matcher)
10937
+ end
10938
+ end
10939
+
10940
+ # Matcher by string attributes.
10941
+ class RepricingRuleEligibleOfferMatcherStringMatcher
10942
+ include Google::Apis::Core::Hashable
10943
+
10944
+ # String attributes, as long as such attribute of an offer is one of the string
10945
+ # attribute values, the offer is considered as passing the matcher. The string
10946
+ # matcher checks an offer for inclusivity in the string attributes, not equality.
10947
+ # Only literal string matching is supported, no regex.
10948
+ # Corresponds to the JSON property `strAttributes`
10949
+ # @return [Array<String>]
10950
+ attr_accessor :str_attributes
10951
+
10952
+ def initialize(**args)
10953
+ update!(**args)
10954
+ end
10955
+
10956
+ # Update properties of this object
10957
+ def update!(**args)
10958
+ @str_attributes = args[:str_attributes] if args.key?(:str_attributes)
10959
+ end
10960
+ end
10961
+
10962
+ # Definition of a rule restriction. At least one of the following needs to be
10963
+ # true: (1) use_auto_pricing_min_price is true (2) floor.price_delta exists (3)
10964
+ # floor.percentage_delta exists If floor.price_delta and floor.percentage_delta
10965
+ # are both set on a rule, the highest value will be chosen by the Repricer. In
10966
+ # other words, for a product with a price of $50, if the `floor.percentage_delta`
10967
+ # is "-10" and the floor.price_delta is "-12", the offer price will only be
10968
+ # lowered $5 (10% lower than the original offer price).
10969
+ class RepricingRuleRestriction
10970
+ include Google::Apis::Core::Hashable
10971
+
10972
+ # Definition of a boundary.
10973
+ # Corresponds to the JSON property `floor`
10974
+ # @return [Google::Apis::ContentV2_1::RepricingRuleRestrictionBoundary]
10975
+ attr_accessor :floor
10976
+
10977
+ # If true, use the AUTO_PRICING_MIN_PRICE offer attribute as the lower bound of
10978
+ # the rule. If use_auto_pricing_min_price is true, then only offers with `
10979
+ # AUTO_PRICING_MIN_PRICE` existing on the offer will get Repricer treatment,
10980
+ # even if a floor value is set on the rule. Also, if use_auto_pricing_min_price
10981
+ # is true, the floor restriction will be ignored.
10982
+ # Corresponds to the JSON property `useAutoPricingMinPrice`
10983
+ # @return [Boolean]
10984
+ attr_accessor :use_auto_pricing_min_price
10985
+ alias_method :use_auto_pricing_min_price?, :use_auto_pricing_min_price
10986
+
10987
+ def initialize(**args)
10988
+ update!(**args)
10989
+ end
10990
+
10991
+ # Update properties of this object
10992
+ def update!(**args)
10993
+ @floor = args[:floor] if args.key?(:floor)
10994
+ @use_auto_pricing_min_price = args[:use_auto_pricing_min_price] if args.key?(:use_auto_pricing_min_price)
10995
+ end
10996
+ end
10997
+
10998
+ # Definition of a boundary.
10999
+ class RepricingRuleRestrictionBoundary
11000
+ include Google::Apis::Core::Hashable
11001
+
11002
+ # The percentage delta relative to the offer selling price. This field is signed.
11003
+ # It must be negative in floor. When it is used in floor, it should be > -100.
11004
+ # For example, if an offer is selling at $10 and this field is -30 in floor, the
11005
+ # repricing rule only applies if the calculated new price is >= $7.
11006
+ # Corresponds to the JSON property `percentageDelta`
11007
+ # @return [Fixnum]
11008
+ attr_accessor :percentage_delta
11009
+
11010
+ # The price micros relative to the offer selling price. This field is signed. It
11011
+ # must be negative in floor. For example, if an offer is selling at $10 and this
11012
+ # field is -$2 in floor, the repricing rule only applies if the calculated new
11013
+ # price is >= $8.
11014
+ # Corresponds to the JSON property `priceDelta`
11015
+ # @return [String]
11016
+ attr_accessor :price_delta
11017
+
11018
+ def initialize(**args)
11019
+ update!(**args)
11020
+ end
11021
+
11022
+ # Update properties of this object
11023
+ def update!(**args)
11024
+ @percentage_delta = args[:percentage_delta] if args.key?(:percentage_delta)
11025
+ @price_delta = args[:price_delta] if args.key?(:price_delta)
11026
+ end
11027
+ end
11028
+
10440
11029
  # Return address resource.
10441
11030
  class ReturnAddress
10442
11031
  include Google::Apis::Core::Hashable
@@ -10630,12 +11219,8 @@ module Google
10630
11219
  # most items a minimum of 30 days is required for returns. Exceptions may be
10631
11220
  # made for electronics or non-returnable items such as food, perishables, and
10632
11221
  # living things. A policy of less than 30 days can only be applied to those
10633
- # items.
10634
- # Acceptable values are:
10635
- # - "`lastReturnDate`"
10636
- # - "`lifetimeReturns`"
10637
- # - "`noReturns`"
10638
- # - "`numberOfDaysAfterDelivery`"
11222
+ # items. Acceptable values are: - "`lastReturnDate`" - "`lifetimeReturns`" - "`
11223
+ # noReturns`" - "`numberOfDaysAfterDelivery`"
10639
11224
  # Corresponds to the JSON property `type`
10640
11225
  # @return [String]
10641
11226
  attr_accessor :type
@@ -10754,11 +11339,8 @@ module Google
10754
11339
  # @return [String]
10755
11340
  attr_accessor :delivery_date
10756
11341
 
10757
- # Type of the return method.
10758
- # Acceptable values are:
10759
- # - "`byMail`"
10760
- # - "`contactCustomerSupport`"
10761
- # - "`returnless`"
11342
+ # Type of the return method. Acceptable values are: - "`byMail`" - "`
11343
+ # contactCustomerSupport`" - "`returnless`"
10762
11344
  # Corresponds to the JSON property `returnMethodType`
10763
11345
  # @return [String]
10764
11346
  attr_accessor :return_method_type
@@ -10779,13 +11361,8 @@ module Google
10779
11361
  # @return [String]
10780
11362
  attr_accessor :shipping_date
10781
11363
 
10782
- # State of the shipment.
10783
- # Acceptable values are:
10784
- # - "`completed`"
10785
- # - "`new`"
10786
- # - "`shipped`"
10787
- # - "`undeliverable`"
10788
- # - "`pending`"
11364
+ # State of the shipment. Acceptable values are: - "`completed`" - "`new`" - "`
11365
+ # shipped`" - "`undeliverable`" - "`pending`"
10789
11366
  # Corresponds to the JSON property `state`
10790
11367
  # @return [String]
10791
11368
  attr_accessor :state
@@ -10839,11 +11416,8 @@ module Google
10839
11416
  # @return [Fixnum]
10840
11417
  attr_accessor :merchant_id
10841
11418
 
10842
- # Method of the batch request entry.
10843
- # Acceptable values are:
10844
- # - "`delete`"
10845
- # - "`get`"
10846
- # - "`insert`"
11419
+ # Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`
11420
+ # " - "`insert`"
10847
11421
  # Corresponds to the JSON property `method`
10848
11422
  # @return [String]
10849
11423
  attr_accessor :method_prop
@@ -10853,7 +11427,8 @@ module Google
10853
11427
  # @return [Google::Apis::ContentV2_1::ReturnAddress]
10854
11428
  attr_accessor :return_address
10855
11429
 
10856
- # The return address ID. Set this only if the method is `delete` or `get`.
11430
+ # The return address ID. This should be set only if the method is `delete` or `
11431
+ # get`.
10857
11432
  # Corresponds to the JSON property `returnAddressId`
10858
11433
  # @return [String]
10859
11434
  attr_accessor :return_address_id
@@ -11001,11 +11576,8 @@ module Google
11001
11576
  # @return [Fixnum]
11002
11577
  attr_accessor :merchant_id
11003
11578
 
11004
- # Method of the batch request entry.
11005
- # Acceptable values are:
11006
- # - "`delete`"
11007
- # - "`get`"
11008
- # - "`insert`"
11579
+ # Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`
11580
+ # " - "`insert`"
11009
11581
  # Corresponds to the JSON property `method`
11010
11582
  # @return [String]
11011
11583
  attr_accessor :method_prop
@@ -11015,7 +11587,8 @@ module Google
11015
11587
  # @return [Google::Apis::ContentV2_1::ReturnPolicy]
11016
11588
  attr_accessor :return_policy
11017
11589
 
11018
- # The return policy ID. Set this only if the method is `delete` or `get`.
11590
+ # The return policy ID. This should be set only if the method is `delete` or `
11591
+ # get`.
11019
11592
  # Corresponds to the JSON property `returnPolicyId`
11020
11593
  # @return [String]
11021
11594
  attr_accessor :return_policy_id
@@ -11172,11 +11745,8 @@ module Google
11172
11745
  # @return [Google::Apis::ContentV2_1::DeliveryTime]
11173
11746
  attr_accessor :delivery_time
11174
11747
 
11175
- # Eligibility for this service.
11176
- # Acceptable values are:
11177
- # - "`All scenarios`"
11178
- # - "`All scenarios except Shopping Actions`"
11179
- # - "`Shopping Actions`"
11748
+ # Eligibility for this service. Acceptable values are: - "`All scenarios`" - "`
11749
+ # All scenarios except Shopping Actions`" - "`Shopping Actions`"
11180
11750
  # Corresponds to the JSON property `eligibility`
11181
11751
  # @return [String]
11182
11752
  attr_accessor :eligibility
@@ -11213,10 +11783,8 @@ module Google
11213
11783
  # @return [Array<Google::Apis::ContentV2_1::RateGroup>]
11214
11784
  attr_accessor :rate_groups
11215
11785
 
11216
- # Type of locations this service ships orders to.
11217
- # Acceptable values are:
11218
- # - "`delivery`"
11219
- # - "`pickup`"
11786
+ # Type of locations this service ships orders to. Acceptable values are: - "`
11787
+ # delivery`" - "`pickup`"
11220
11788
  # Corresponds to the JSON property `shipmentType`
11221
11789
  # @return [String]
11222
11790
  attr_accessor :shipment_type
@@ -11309,8 +11877,7 @@ module Google
11309
11877
  end
11310
11878
  end
11311
11879
 
11312
- # Settlement transactions give a detailed breakdown of the settlement report. (=
11313
- # = resource_for v2.1.settlementtransactions ==)
11880
+ # Settlement transactions give a detailed breakdown of the settlement report.
11314
11881
  class SettlementTransaction
11315
11882
  include Google::Apis::Core::Hashable
11316
11883
 
@@ -11357,49 +11924,21 @@ module Google
11357
11924
  # @return [Google::Apis::ContentV2_1::SettlementTransactionAmountCommission]
11358
11925
  attr_accessor :commission
11359
11926
 
11360
- # The description of the event.
11361
- # Acceptable values are:
11362
- # - "`taxWithhold`"
11363
- # - "`principal`"
11364
- # - "`principalAdjustment`"
11365
- # - "`shippingFee`"
11366
- # - "`merchantRemittedSalesTax`"
11367
- # - "`googleRemittedSalesTax`"
11368
- # - "`merchantCoupon`"
11369
- # - "`merchantCouponTax`"
11370
- # - "`merchantRemittedDisposalTax`"
11371
- # - "`googleRemittedDisposalTax`"
11372
- # - "`merchantRemittedRedemptionFee`"
11373
- # - "`googleRemittedRedemptionFee`"
11374
- # - "`eeeEcoFee`"
11375
- # - "`furnitureEcoFee`"
11376
- # - "`copyPrivateFee`"
11377
- # - "`eeeEcoFeeCommission`"
11378
- # - "`furnitureEcoFeeCommission`"
11379
- # - "`copyPrivateFeeCommission`"
11380
- # - "`principalRefund`"
11381
- # - "`principalRefundTax`"
11382
- # - "`itemCommission`"
11383
- # - "`adjustmentCommission`"
11384
- # - "`shippingFeeCommission`"
11385
- # - "`commissionRefund`"
11386
- # - "`damaged`"
11387
- # - "`damagedOrDefectiveItem`"
11388
- # - "`expiredItem`"
11389
- # - "`faultyItem`"
11390
- # - "`incorrectItemReceived`"
11391
- # - "`itemMissing`"
11392
- # - "`qualityNotExpected`"
11393
- # - "`receivedTooLate`"
11394
- # - "`storePackageMissing`"
11395
- # - "`transitPackageMissing`"
11396
- # - "`unsuccessfulDeliveryUndeliverable`"
11397
- # - "`wrongChargeInStore`"
11398
- # - "`wrongItem`"
11399
- # - "`returns`"
11400
- # - "`undeliverable`"
11401
- # - "`refundFromMerchant`"
11402
- # - "`returnLabelShippingFee`"
11927
+ # The description of the event. Acceptable values are: - "`taxWithhold`" - "`
11928
+ # principal`" - "`principalAdjustment`" - "`shippingFee`" - "`
11929
+ # merchantRemittedSalesTax`" - "`googleRemittedSalesTax`" - "`merchantCoupon`" -
11930
+ # "`merchantCouponTax`" - "`merchantRemittedDisposalTax`" - "`
11931
+ # googleRemittedDisposalTax`" - "`merchantRemittedRedemptionFee`" - "`
11932
+ # googleRemittedRedemptionFee`" - "`eeeEcoFee`" - "`furnitureEcoFee`" - "`
11933
+ # copyPrivateFee`" - "`eeeEcoFeeCommission`" - "`furnitureEcoFeeCommission`" - "`
11934
+ # copyPrivateFeeCommission`" - "`principalRefund`" - "`principalRefundTax`" - "`
11935
+ # itemCommission`" - "`adjustmentCommission`" - "`shippingFeeCommission`" - "`
11936
+ # commissionRefund`" - "`damaged`" - "`damagedOrDefectiveItem`" - "`expiredItem`"
11937
+ # - "`faultyItem`" - "`incorrectItemReceived`" - "`itemMissing`" - "`
11938
+ # qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`
11939
+ # transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
11940
+ # wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
11941
+ # refundFromMerchant`" - "`returnLabelShippingFee`"
11403
11942
  # Corresponds to the JSON property `description`
11404
11943
  # @return [String]
11405
11944
  attr_accessor :description
@@ -11409,15 +11948,9 @@ module Google
11409
11948
  # @return [Google::Apis::ContentV2_1::Price]
11410
11949
  attr_accessor :transaction_amount
11411
11950
 
11412
- # The type of the amount.
11413
- # Acceptable values are:
11414
- # - "`itemPrice`"
11415
- # - "`orderPrice`"
11416
- # - "`refund`"
11417
- # - "`earlyRefund`"
11418
- # - "`courtesyRefund`"
11419
- # - "`returnRefund`"
11420
- # - "`returnLabelShippingFeeAmount`"
11951
+ # The type of the amount. Acceptable values are: - "`itemPrice`" - "`orderPrice`"
11952
+ # - "`refund`" - "`earlyRefund`" - "`courtesyRefund`" - "`returnRefund`" - "`
11953
+ # returnLabelShippingFeeAmount`"
11421
11954
  # Corresponds to the JSON property `type`
11422
11955
  # @return [String]
11423
11956
  attr_accessor :type
@@ -11439,52 +11972,21 @@ module Google
11439
11972
  class SettlementTransactionAmountCommission
11440
11973
  include Google::Apis::Core::Hashable
11441
11974
 
11442
- # The category of the commission.
11443
- # Acceptable values are:
11444
- # - "`animalsAndPetSupplies`"
11445
- # - "`dogCatFoodAndCatLitter`"
11446
- # - "`apparelAndAccessories`"
11447
- # - "`shoesHandbagsAndSunglasses`"
11448
- # - "`costumesAndAccessories`"
11449
- # - "`jewelry`"
11450
- # - "`watches`"
11451
- # - "`hobbiesArtsAndCrafts`"
11452
- # - "`homeAndGarden`"
11453
- # - "`entertainmentCollectibles`"
11454
- # - "`collectibleCoins`"
11455
- # - "`sportsCollectibles`"
11456
- # - "`sportingGoods`"
11457
- # - "`toysAndGames`"
11458
- # - "`musicalInstruments`"
11459
- # - "`giftCards`"
11460
- # - "`babyAndToddler`"
11461
- # - "`babyFoodWipesAndDiapers`"
11462
- # - "`businessAndIndustrial`"
11463
- # - "`camerasOpticsAndPhotography`"
11464
- # - "`consumerElectronics`"
11465
- # - "`electronicsAccessories`"
11466
- # - "`personalComputers`"
11467
- # - "`videoGameConsoles`"
11468
- # - "`foodAndGrocery`"
11469
- # - "`beverages`"
11470
- # - "`tobaccoProducts`"
11471
- # - "`furniture`"
11472
- # - "`hardware`"
11473
- # - "`buildingMaterials`"
11474
- # - "`tools`"
11475
- # - "`healthAndPersonalCare`"
11476
- # - "`beauty`"
11477
- # - "`householdSupplies`"
11478
- # - "`kitchenAndDining`"
11479
- # - "`majorAppliances`"
11480
- # - "`luggageAndBags`"
11481
- # - "`media`"
11482
- # - "`officeSupplies`"
11483
- # - "`softwareAndVideoGames`"
11484
- # - "`vehiclePartsAndAccessories`"
11485
- # - "`vehicleTiresAndWheels`"
11486
- # - "`vehicles`"
11487
- # - "`everythingElse`"
11975
+ # The category of the commission. Acceptable values are: - "`
11976
+ # animalsAndPetSupplies`" - "`dogCatFoodAndCatLitter`" - "`apparelAndAccessories`
11977
+ # " - "`shoesHandbagsAndSunglasses`" - "`costumesAndAccessories`" - "`jewelry`" -
11978
+ # "`watches`" - "`hobbiesArtsAndCrafts`" - "`homeAndGarden`" - "`
11979
+ # entertainmentCollectibles`" - "`collectibleCoins`" - "`sportsCollectibles`" - "
11980
+ # `sportingGoods`" - "`toysAndGames`" - "`musicalInstruments`" - "`giftCards`" -
11981
+ # "`babyAndToddler`" - "`babyFoodWipesAndDiapers`" - "`businessAndIndustrial`" -
11982
+ # "`camerasOpticsAndPhotography`" - "`consumerElectronics`" - "`
11983
+ # electronicsAccessories`" - "`personalComputers`" - "`videoGameConsoles`" - "`
11984
+ # foodAndGrocery`" - "`beverages`" - "`tobaccoProducts`" - "`furniture`" - "`
11985
+ # hardware`" - "`buildingMaterials`" - "`tools`" - "`healthAndPersonalCare`" - "`
11986
+ # beauty`" - "`householdSupplies`" - "`kitchenAndDining`" - "`majorAppliances`" -
11987
+ # "`luggageAndBags`" - "`media`" - "`officeSupplies`" - "`softwareAndVideoGames`
11988
+ # " - "`vehiclePartsAndAccessories`" - "`vehicleTiresAndWheels`" - "`vehicles`" -
11989
+ # "`everythingElse`"
11488
11990
  # Corresponds to the JSON property `category`
11489
11991
  # @return [String]
11490
11992
  attr_accessor :category
@@ -11563,16 +12065,11 @@ module Google
11563
12065
  # @return [String]
11564
12066
  attr_accessor :post_date
11565
12067
 
11566
- # The type of the transaction that occurred.
11567
- # Acceptable values are:
11568
- # - "`order`"
11569
- # - "`reversal`"
11570
- # - "`orderRefund`"
11571
- # - "`reversalRefund`"
11572
- # - "`issueRelatedRefundAndReplacement`"
11573
- # - "`returnLabelShippingFeeTransaction`"
11574
- # - "`reversalIssueRelatedRefundAndReplacement`"
11575
- # - "`reversalReturnLabelShippingFeeTransaction`"
12068
+ # The type of the transaction that occurred. Acceptable values are: - "`order`" -
12069
+ # "`reversal`" - "`orderRefund`" - "`reversalRefund`" - "`
12070
+ # issueRelatedRefundAndReplacement`" - "`returnLabelShippingFeeTransaction`" - "`
12071
+ # reversalIssueRelatedRefundAndReplacement`" - "`
12072
+ # reversalReturnLabelShippingFeeTransaction`"
11576
12073
  # Corresponds to the JSON property `type`
11577
12074
  # @return [String]
11578
12075
  attr_accessor :type
@@ -11730,38 +12227,13 @@ module Google
11730
12227
  class ShipmentTrackingInfo
11731
12228
  include Google::Apis::Core::Hashable
11732
12229
 
11733
- # The shipping carrier that handles the package.
11734
- # Acceptable values are:
11735
- # - "`boxtal`"
11736
- # - "`bpost`"
11737
- # - "`chronopost`"
11738
- # - "`colisPrive`"
11739
- # - "`colissimo`"
11740
- # - "`cxt`"
11741
- # - "`deliv`"
11742
- # - "`dhl`"
11743
- # - "`dpd`"
11744
- # - "`dynamex`"
11745
- # - "`eCourier`"
11746
- # - "`easypost`"
11747
- # - "`efw`"
11748
- # - "`fedex`"
11749
- # - "`fedexSmartpost`"
11750
- # - "`geodis`"
11751
- # - "`gls`"
11752
- # - "`googleCourier`"
11753
- # - "`gsx`"
11754
- # - "`jdLogistics`"
11755
- # - "`laPoste`"
11756
- # - "`lasership`"
11757
- # - "`manual`"
11758
- # - "`mpx`"
11759
- # - "`onTrac`"
11760
- # - "`other`"
11761
- # - "`tnt`"
11762
- # - "`uds`"
11763
- # - "`ups`"
11764
- # - "`usps`"
12230
+ # The shipping carrier that handles the package. Acceptable values are: - "`
12231
+ # boxtal`" - "`bpost`" - "`chronopost`" - "`colisPrive`" - "`colissimo`" - "`cxt`
12232
+ # " - "`deliv`" - "`dhl`" - "`dpd`" - "`dynamex`" - "`eCourier`" - "`easypost`" -
12233
+ # "`efw`" - "`fedex`" - "`fedexSmartpost`" - "`geodis`" - "`gls`" - "`
12234
+ # googleCourier`" - "`gsx`" - "`jdLogistics`" - "`laPoste`" - "`lasership`" - "`
12235
+ # manual`" - "`mpx`" - "`onTrac`" - "`other`" - "`tnt`" - "`uds`" - "`ups`" - "`
12236
+ # usps`"
11765
12237
  # Corresponds to the JSON property `carrier`
11766
12238
  # @return [String]
11767
12239
  attr_accessor :carrier
@@ -11853,10 +12325,7 @@ module Google
11853
12325
  # @return [Fixnum]
11854
12326
  attr_accessor :merchant_id
11855
12327
 
11856
- # The method of the batch entry.
11857
- # Acceptable values are:
11858
- # - "`get`"
11859
- # - "`update`"
12328
+ # The method of the batch entry. Acceptable values are: - "`get`" - "`update`"
11860
12329
  # Corresponds to the JSON property `method`
11861
12330
  # @return [String]
11862
12331
  attr_accessor :method_prop
@@ -12132,40 +12601,28 @@ module Google
12132
12601
  # @return [Google::Apis::ContentV2_1::TestOrderPickupDetails]
12133
12602
  attr_accessor :pickup_details
12134
12603
 
12135
- # Required. The billing address.
12136
- # Acceptable values are:
12137
- # - "`dwight`"
12138
- # - "`jim`"
12139
- # - "`pam`"
12604
+ # Required. The billing address. Acceptable values are: - "`dwight`" - "`jim`" -
12605
+ # "`pam`"
12140
12606
  # Corresponds to the JSON property `predefinedBillingAddress`
12141
12607
  # @return [String]
12142
12608
  attr_accessor :predefined_billing_address
12143
12609
 
12144
12610
  # Required. Identifier of one of the predefined delivery addresses for the
12145
- # delivery.
12146
- # Acceptable values are:
12147
- # - "`dwight`"
12148
- # - "`jim`"
12149
- # - "`pam`"
12611
+ # delivery. Acceptable values are: - "`dwight`" - "`jim`" - "`pam`"
12150
12612
  # Corresponds to the JSON property `predefinedDeliveryAddress`
12151
12613
  # @return [String]
12152
12614
  attr_accessor :predefined_delivery_address
12153
12615
 
12154
- # Required. Email address of the customer.
12155
- # Acceptable values are:
12156
- # - "`pog.dwight.schrute@gmail.com`"
12157
- # - "`pog.jim.halpert@gmail.com`"
12158
- # - "`penpog.pam.beesly@gmail.comding`"
12616
+ # Required. Email address of the customer. Acceptable values are: - "`pog.dwight.
12617
+ # schrute@gmail.com`" - "`pog.jim.halpert@gmail.com`" - "`penpog.pam.beesly@
12618
+ # gmail.comding`"
12159
12619
  # Corresponds to the JSON property `predefinedEmail`
12160
12620
  # @return [String]
12161
12621
  attr_accessor :predefined_email
12162
12622
 
12163
12623
  # Identifier of one of the predefined pickup details. Required for orders
12164
- # containing line items with shipping type `pickup`.
12165
- # Acceptable values are:
12166
- # - "`dwight`"
12167
- # - "`jim`"
12168
- # - "`pam`"
12624
+ # containing line items with shipping type `pickup`. Acceptable values are: - "`
12625
+ # dwight`" - "`jim`" - "`pam`"
12169
12626
  # Corresponds to the JSON property `predefinedPickupDetails`
12170
12627
  # @return [String]
12171
12628
  attr_accessor :predefined_pickup_details
@@ -12183,14 +12640,8 @@ module Google
12183
12640
  # @return [Google::Apis::ContentV2_1::Price]
12184
12641
  attr_accessor :shipping_cost
12185
12642
 
12186
- # Required. The requested shipping option.
12187
- # Acceptable values are:
12188
- # - "`economy`"
12189
- # - "`expedited`"
12190
- # - "`oneDay`"
12191
- # - "`sameDay`"
12192
- # - "`standard`"
12193
- # - "`twoDay`"
12643
+ # Required. The requested shipping option. Acceptable values are: - "`economy`" -
12644
+ # "`expedited`" - "`oneDay`" - "`sameDay`" - "`standard`" - "`twoDay`"
12194
12645
  # Corresponds to the JSON property `shippingOption`
12195
12646
  # @return [String]
12196
12647
  attr_accessor :shipping_option
@@ -12227,11 +12678,8 @@ module Google
12227
12678
  attr_accessor :country
12228
12679
 
12229
12680
  # Strings representing the lines of the printed label for mailing the order, for
12230
- # example:
12231
- # John Smith
12232
- # 1600 Amphitheatre Parkway
12233
- # Mountain View, CA, 94043
12234
- # United States
12681
+ # example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United
12682
+ # States
12235
12683
  # Corresponds to the JSON property `fullAddress`
12236
12684
  # @return [Array<String>]
12237
12685
  attr_accessor :full_address
@@ -12357,17 +12805,13 @@ module Google
12357
12805
  # @return [String]
12358
12806
  attr_accessor :brand
12359
12807
 
12360
- # Required. Condition or state of the item.
12361
- # Acceptable values are:
12362
- # - "`new`"
12808
+ # Required. Condition or state of the item. Acceptable values are: - "`new`"
12363
12809
  # Corresponds to the JSON property `condition`
12364
12810
  # @return [String]
12365
12811
  attr_accessor :condition
12366
12812
 
12367
- # Required. The two-letter ISO 639-1 language code for the item.
12368
- # Acceptable values are:
12369
- # - "`en`"
12370
- # - "`fr`"
12813
+ # Required. The two-letter ISO 639-1 language code for the item. Acceptable
12814
+ # values are: - "`en`" - "`fr`"
12371
12815
  # Corresponds to the JSON property `contentLanguage`
12372
12816
  # @return [String]
12373
12817
  attr_accessor :content_language
@@ -12409,7 +12853,7 @@ module Google
12409
12853
  # @return [Google::Apis::ContentV2_1::Price]
12410
12854
  attr_accessor :price
12411
12855
 
12412
- # Required. The CLDR territory code of the target country of the product.
12856
+ # Required. The CLDR territory // code of the target country of the product.
12413
12857
  # Corresponds to the JSON property `targetCountry`
12414
12858
  # @return [String]
12415
12859
  attr_accessor :target_country
@@ -12460,11 +12904,8 @@ module Google
12460
12904
  # @return [Google::Apis::ContentV2_1::TestOrderAddress]
12461
12905
  attr_accessor :pickup_location_address
12462
12906
 
12463
- # Pickup location type.
12464
- # Acceptable values are:
12465
- # - "`locker`"
12466
- # - "`store`"
12467
- # - "`curbside`"
12907
+ # Pickup location type. Acceptable values are: - "`locker`" - "`store`" - "`
12908
+ # curbside`"
12468
12909
  # Corresponds to the JSON property `pickupLocationType`
12469
12910
  # @return [String]
12470
12911
  attr_accessor :pickup_location_type
@@ -12512,6 +12953,32 @@ module Google
12512
12953
  end
12513
12954
  end
12514
12955
 
12956
+ # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
12957
+ # time-zones).
12958
+ class TimeZone
12959
+ include Google::Apis::Core::Hashable
12960
+
12961
+ # IANA Time Zone Database time zone, e.g. "America/New_York".
12962
+ # Corresponds to the JSON property `id`
12963
+ # @return [String]
12964
+ attr_accessor :id
12965
+
12966
+ # Optional. IANA Time Zone Database version number, e.g. "2019a".
12967
+ # Corresponds to the JSON property `version`
12968
+ # @return [String]
12969
+ attr_accessor :version
12970
+
12971
+ def initialize(**args)
12972
+ update!(**args)
12973
+ end
12974
+
12975
+ # Update properties of this object
12976
+ def update!(**args)
12977
+ @id = args[:id] if args.key?(:id)
12978
+ @version = args[:version] if args.key?(:version)
12979
+ end
12980
+ end
12981
+
12515
12982
  #
12516
12983
  class TransitTable
12517
12984
  include Google::Apis::Core::Hashable
@@ -12632,9 +13099,8 @@ module Google
12632
13099
  # @return [Google::Apis::ContentV2_1::Amount]
12633
13100
  attr_accessor :additional_charge_amount
12634
13101
 
12635
- # [required] Type of the additional charge.
12636
- # Acceptable values are:
12637
- # - "`shipping`"
13102
+ # [required] Type of the additional charge. Acceptable values are: - "`shipping`"
13103
+ #
12638
13104
  # Corresponds to the JSON property `type`
12639
13105
  # @return [String]
12640
13106
  attr_accessor :type
@@ -12665,11 +13131,8 @@ module Google
12665
13131
  # @return [String]
12666
13132
  attr_accessor :tax_name
12667
13133
 
12668
- # [required] Type of the tax.
12669
- # Acceptable values are:
12670
- # - "`otherFee`"
12671
- # - "`otherFeeTax`"
12672
- # - "`sales`"
13134
+ # [required] Type of the tax. Acceptable values are: - "`otherFee`" - "`
13135
+ # otherFeeTax`" - "`sales`"
12673
13136
  # Corresponds to the JSON property `taxType`
12674
13137
  # @return [String]
12675
13138
  attr_accessor :tax_type
@@ -12740,10 +13203,7 @@ module Google
12740
13203
  class Weight
12741
13204
  include Google::Apis::Core::Hashable
12742
13205
 
12743
- # Required. The weight unit.
12744
- # Acceptable values are:
12745
- # - "`kg`"
12746
- # - "`lb`"
13206
+ # Required. The weight unit. Acceptable values are: - "`kg`" - "`lb`"
12747
13207
  # Corresponds to the JSON property `unit`
12748
13208
  # @return [String]
12749
13209
  attr_accessor :unit